Skip to content

Instantly share code, notes, and snippets.

@d-demirci
d-demirci / haarcascade_frontalface_alt_tree.cpp
Created August 3, 2017 21:48
OpenCv-Cuda-Ubuntu haarcascade_frontalface_alt_tree.xml accuracy
#include <iostream>
#include <vector>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/core.hpp>
#include <opencv2/videoio.hpp>
#include <opencv2/opencv.hpp>
#include <opencv2/opencv_modules.hpp>
#include <opencv2/cudaobjdetect.hpp>
#include <opencv2/cudaimgproc.hpp>
@d-demirci
d-demirci / haarcascade_frontalface_alt2.cpp
Created August 3, 2017 21:37
OpenCv-Cuda-Ubuntu haarcascade_frontalface_alt2.xml accuracy
#include <iostream>
#include <vector>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/core.hpp>
#include <opencv2/videoio.hpp>
#include <opencv2/opencv.hpp>
#include <opencv2/opencv_modules.hpp>
#include <opencv2/cudaobjdetect.hpp>
#include <opencv2/cudaimgproc.hpp>
@d-demirci
d-demirci / haarcascade_frontalface_alt.cpp
Last active August 3, 2017 21:35
OpenCv-Cuda-Ubuntu haarcascade_frontalface_alt.xml accuracy
#include <iostream>
#include <vector>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/core.hpp>
#include <opencv2/videoio.hpp>
#include <opencv2/opencv.hpp>
#include <opencv2/opencv_modules.hpp>
#include <opencv2/cudaobjdetect.hpp>
#include <opencv2/cudaimgproc.hpp>
@d-demirci
d-demirci / haarcascade_frontalface_default.cpp
Last active August 3, 2017 20:52
OpenCv-Cuda-Ubuntu default_frontal_face.xml accuracy
#include <iostream>
#include <vector>
#include <opencv2/highgui.hpp>
#include <opencv2/imgproc.hpp>
#include <opencv2/core.hpp>
#include <opencv2/videoio.hpp>
#include <opencv2/opencv.hpp>
#include <opencv2/opencv_modules.hpp>
#include <opencv2/cudaobjdetect.hpp>
#include <opencv2/cudaimgproc.hpp>
@d-demirci
d-demirci / passport.js
Created February 9, 2017 22:48 — forked from manjeshpv/passport.js
Passport.js using MySQL for Authentication with Express
// config/passport.js
// load all the things we need
var LocalStrategy = require('passport-local').Strategy;
var mysql = require('mysql');
var connection = mysql.createConnection({
host : 'localhost',
user : 'root',