Ask Your Question

Unhandled exception using cvLoadIMage

asked 2013-11-27 04:33:36 -0600

I Hi everyone, I Have a web hosting and that I uploaded my files in and I am using visual studio 2010 exemple: IplImage* image = cvLoadImage("" ); but when I run my program an error appears : Error: cv::Exception at memory location 0x00... any help? I really need it ! Thank you in advance

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-11-27 04:51:53 -0600

berak gravatar image

updated 2013-11-27 05:19:31 -0600

  • you can't read urls like this (imread/cvLoadImage only accept a local path)
  • please avoid the old c-api(IplImages, cv*Functions), support for that will end soon.
  • you could try to abuse VideoCapture for this:

Mat frame;
VideoCapture cap("");
if ( cap.isOpened() );
edit flag offensive delete link more


and to use cvHaarDetectObjects .. it takes as first paramter const CvArr* Image.. ?

WaelAssaf123312 gravatar imageWaelAssaf123312 ( 2013-11-27 05:24:41 -0600 )edit

please have a look at the tutorial

berak gravatar imageberak ( 2013-11-27 05:50:43 -0600 )edit

Question Tools


Asked: 2013-11-27 04:33:36 -0600

Seen: 327 times

Last updated: Nov 27 '13