Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cvLoadImage is C interface in OpenCv that is old interface better to go for C++ interface , you need to study some basics of OpenCv

Follow these Books

Book1

Book2

Better to use C++ interface of opencv , use imread for image load rather than cvLoadImage

Example

Mat image = imread ("image path");
imshow ("myimage" , image);

Kindly next time don't forget to update the error with question.

cvLoadImage is C interface in OpenCv that is old interface better to go for C++ interface , you need to study some basics of OpenCv

Follow these Books

Book1

Book2

Better to use C++ interface of opencv , use imread for image load rather than cvLoadImage

Example

Mat image = imread ("image path");
imshow ("myimage" , image);