Tag Archives: openCV

Mathematical Morphology – Erosion in OpenCV

Mathematical Morphology – Erosion Erosion can be used to shrink object shapes by removing pixels from boundary. It is exact opposite of dilation (expands the object pixels). Performing erode operation on object shape results the following : Removes any small points of noise or any narrow features Reduce the size of objects ( Number of… Read More »

Insert Multiple lines of text into frame / image using OpenCV

Unfortunately, there is no direct way to insert multiple lines of text into a video frame. Only possible way is to call putText method multiple times. I wrote following methods to add four line of text on bottom right side of a video frame.

Please watch video to see how this program is working… Read More »

Opencv 3 installation on windows 10 and configure with visual studio 2012

Opencv 3 installation procedure on window 10 is as follows. Step1:Download windows version of opencv from www.opencv.org Step2: Extract into a folder Step3: Configure opencv with Visual studio Set envirenment Vairable variable name: OPENCV3_DIR value: D:\\development\opencv\build\x86\vc11 Set Path: %OPENCV_DIR%\bin Configure visual studio for opencv project C/C++ additional include directories $(OPENCV3_DIR)\..\..\include linker additional include directories $(OPENCV3_DIR)\lib Input opencv_world300d.lib… Read More »

Find difference between frames

The following openCV code will help you to check changes between two frames and display result in a window.