What is OpenCV ?

Pocket

OpenCV [OpenCV] is an open source (see http://opensource.org) computer vision l ibrary available from http://SourceForge.net/projects/opencvlibrary. h e library is written in C and C++ and runs under Linux, Windows and Mac OS X. There is active development on interfaces for Python, Ruby, Matlab, and other languages. OpenCV was designed for computational efficiency and with a … Continue reading “What is OpenCV ?”

[Solution] warning C4305: ‘initializing’ : truncation from ‘double’ to ‘float’

Pocket

VC++ Compiler throws warning C4305: ‘initializing’ : truncation from ‘double’ to ‘float’ warning when we try to declare float variable as double. Remember float M_PI = 3.1428571428571428     // This is actually double variable will throw the warning: warning C4305: ‘initializing’ : truncation from ‘double’ to ‘float’ The right way to do declare float varible is … Continue reading “[Solution] warning C4305: ‘initializing’ : truncation from ‘double’ to ‘float’”