Posts

Open CV: How to read message.

Image
// HellowWorldAPP.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <opencv2/opencv.hpp> using namespace cv; int main(int argc, char** argv) { // Read the image file Mat image = imread("MyPic.JPG"); imshow("test", image); waitKey(0); return 0; }

Video Examples

How to Use Background Subtraction Methods Back ground subtraction: Back ground subtraction consist of two main steps: 1. Background initialization. 2. Background update. Will generate fore ground masks: MOG MOG2 Finding distance between two curves http://answers.opencv.org/question/129819/finding-distance-between-two-curves/

OpenCV C++: Example

enum { /* 8bit, color or not */     CV_LOAD_IMAGE_UNCHANGED  =-1, /* 8bit, gray */     CV_LOAD_IMAGE_GRAYSCALE  =0, /* ?, color */     CV_LOAD_IMAGE_COLOR      =1, /* any depth, ? */     CV_LOAD_IMAGE_ANYDEPTH   =2, /* ?, any color */     CV_LOAD_IMAGE_ANYCOLOR   =4, /* ?, no rotate */     CV_LOAD_IMAGE_IGNORE_ORIENTATION  =128 };   Load and Display Image

OpenCV Introduction: Open Source Computer Vision

OpenCV (Open Source Computer Vision) is a library of programming functions mainly aimed at real-time computer vision. Originally developed by Intel , it was later supported by Willow Garage and is now maintained by Itseez. The library is cross-platform and free for use under the open-source BSD license. OpenCV Tutorial C++ OpenCV Tutorial C++ How to install and configure https://www.opencv-srf.com/2017/11/install-opencv-with-visual-studio.html **** https://opencv.org/links.html Code: https://github.com/MasteringOpenCV/code CQ Linq https://www.cppdepend.com/Doc_CQLinq_Features.aspx Introduction urls: https://docs.opencv.org/2.4/modules/core/doc/intro.html cv Namespace All the OpenCV classes and functions are placed into the cv namespace. Therefore, to access this functionality from your code, use the cv:: specifier or using namespace cv; directive: Mat : Mat is basically a class with two data parts: the matrix header (containing information such as the si...