This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Unmap undesired defaults | |
const unmaps = [ | |
"sb", "sw", "ob", | |
"ow", "cp", ";cp", | |
";ap", "spa", "spb", | |
"spd", "sps", "spc", | |
"spi", "sfr", "zQ", | |
"zz", "zR", "ab", | |
"Q", "q", "ag", | |
"af", ";s", "yp", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <algorithm> | |
#include <bitset> | |
#include <complex> | |
#include <deque> | |
#include <exception> | |
#include <fstream> | |
#include <functional> | |
#include <iomanip> | |
#include <ios> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
# Written by Mark Lee (github.com/minhoolee), August 9, 2018 | |
set -e | |
# Define the directory that contains specific file structure | |
# Must be DEFECTS > SAMPLES > MODEL_IMAGES | |
test_dir=./data | |
# Define the model names |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# Install script for the latest version of OpenCV with python support and the extra modules added | |
# If installing with python, make sure to start the virtualenv before running the script | |
# Tested on Ubuntu 16.04 LTS, x64 | |
# Written by Min Hoo Lee | |
# December 28, 2016 (12/28/2016) | |
# Exit script on failure | |
set -e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# KEEP UBUNTU OR DEBIAN UP TO DATE | |
sudo apt-get -y update | |
sudo apt-get -y upgrade | |
sudo apt-get -y dist-upgrade | |
sudo apt-get -y autoremove | |
# INSTALL THE DEPENDENCIES | |
# Build tools: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# Install script for mjpg-streamer | |
# Written by Min Hoo Lee | |
# March 27, 2016 (3/27/16) | |
# Install dependencies | |
sudo apt-get install imagemagick libv4l-dev libjpeg-dev | |
git clone https://github.com/codewithpassion/mjpg-streamer.git | |
cd mjpg-streamer/mjpg-streamer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# Install script for OpenCV 3.1.0 for Ubuntu 14.04 LTS | |
# Written by Min Hoo Lee | |
# March 14, 2016 (3/14/2016) | |
echo "\nOpenCV Install Script for OpenCV 3.1.0 for Ubuntu 14.04 LTS\n" | |
# Activate all the apt-get repositories | |
echo "\nAdding all apt-get repositories\n" | |
sudo add-apt-repository main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# Install script for Grinch Kernel 21.3, CUDA 6.5, OpenCV4Tegra 21.2 for the NVIDIA Jetson TK1 | |
# Warning: This script is specific for L4T 21.4 (https://developer.nvidia.com/linux-tegra-r214) | |
# Please substitute the correct versions of the deb files and Grinch kernel for the latest version | |
# Written by Min Hoo Lee | |
# March 14, 2016 (3/14/16) | |
read -p "Have you installed the latest Grinch Kernel [y/n] " -n 1 -r | |
echo # move to a new line | |
if [[ ! $REPLY =~ ^[Yy]$ ]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# Install script for the NVIDIA Jetson TK1 | |
# Written by Min Hoo Lee | |
# January 10, 2016 (1/10/16) | |
# Make sure to not override the file "libglx.so" by updating the system | |
sudo apt-mark hold xserver-xorg-core | |
sudo apt-get update | |
sudo apt-get install git vim curl cmake g++ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
# Install script for OpenCV on the Jetson TK1 | |
# Written by Min Hoo Lee | |
# December 19, 2015 (12/19/15) | |
echo "\nOpenCV Install Script for Ubuntu\n" | |
# Activate all the apt-get repositories | |
echo "\nAdding all apt-get repositories\n" | |
sudo add-apt-repository main |
NewerOlder