OpenCV Error : Assertion failed while calling detectMultiScale

Getting OpenCV Error : Assertion failed while calling detectMultiScale for human body detection using webcam.

Error details

Unhandled exception at 0x000007FEFD9F9E5D in BodyDetection.exe: Microsoft C++ exception: cv::Exception at memory location 0x00000000001AF470.

OpenCV Error : Assertion failed (0 <= roi.x && 0<= roi.width && roi.x + roi.width <= m.cols && 0<= roi.y && 0<= roi.height && roi.y + roi.height <= m.roys) in cv:: Mat :: Mat, file C:\builds\master_PackSlave-win64-vc12-shared\opencv\modules\core\src\matrix.cpp, line 508

I'm using visual studio 2013 with x64

Answers


This was mainly because of opencv files that i have installed. 32 bit and 64 bit is a tricky one!


Need Your Help

ASP.NET options/command generator framework?

asp.net command-line command

I want to put context-sensitive, dynamic command options on my asp.net pages.

Android application installation on an older version via eclipse

android eclipse installation android-2.3-gingerbread

I am a complete newbie to android development, though I know a thing or two about programming. I was trying to install an app that I had developed (a single .java file) in eclipse on my gingerbread...