Skip to content

Instantly share code, notes, and snippets.

View ymuv's full-sized avatar

Moskalenko Yurii ymuv

View GitHub Profile
/**
* Program to detection motion using simple background substraction
* get 2 images [3 image - diff]
*/
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <iostream>
#define SHOW
@ymuv
ymuv / opencv_move_detect_gray.cpp
Created June 9, 2016 18:13
opencv move detect
/**
* Program to detection motion using simple background substraction
* get 2 images [3 image - diff]
*/
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/imgproc/imgproc.hpp>
#include <iostream>
//#define __SHOW__