This file contains hidden or 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 "GL/glew.h" // include GLEW and new version of GL on Windows | |
#include "GLFW/glfw3.h" // GLFW helper library | |
#include <iostream> | |
static unsigned int CompileShader(unsigned int type, const std::string& source) | |
{ | |
unsigned int id = glCreateShader(type); | |
const char* src = source.c_str(); |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys , os , random | |
import cv, cv2 | |
import numpy as np | |
from numpy.lib.stride_tricks import as_strided | |
SURF_THRESHOLD = 500 | |
SURF_MATCH_THRESHOLD = 0.3 | |
SURF_RATIO_THRESHOLD = 0.9 |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys , os , random | |
import cv, cv2 | |
import numpy as np | |
from numpy.lib.stride_tricks import as_strided | |
SURF_THRESHOLD = 1000 | |
SURF_MATCH_THRESHOLD = 0.3 |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys , os , random | |
import cv, cv2 | |
import numpy as np | |
from numpy.lib.stride_tricks import as_strided | |
SURF_THRESHOLD = 1000 | |
SURF_MATCH_THRESHOLD = 0.4 |
This file contains hidden or 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
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import sys , os , random | |
import cv, cv2 | |
import numpy as np | |
from numpy.lib.stride_tricks import as_strided | |
SSD_THRESHOLD = 80 | |
SSD_RATIO_THRESHOLD = 0.95 | |
NCC_RATIO_THRESHOLD = 0.95 |