You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OpenCV Error: Assertion failed (ssize.area() > 0) in cv::resize, file ......\modules\imgproc\src\imgwarp.cpp, line 1834
Here's the VS2015 exception I get:
Unhandled exception at 0x00007FF9356B8A5C in kinectFaceTracker_debug.exe: Microsoft C++ exception: cv::Exception at memory location 0x0000000000139FE0.
It's traced to FDet.cc, somewhere at lines 88/89, within the cv::Rect FDet::Detect(cv::Mat im) function:
I'm using VS2015 - everything works well up to this point, using webcam.
Now I'm trying to using the color stream from a Kinect v2 (using Elliot Woods' ofxKinectForWindows2)
No issues displaying the Kinect's color video (1080p30), but when I try to send the ofPixels to ofxFaceTracker, it crashes.
Here's my relevant code:
In console, I get an
Here's the VS2015 exception I get:
Unhandled exception at 0x00007FF9356B8A5C in kinectFaceTracker_debug.exe: Microsoft C++ exception: cv::Exception at memory location 0x0000000000139FE0.
It's traced to FDet.cc, somewhere at lines 88/89, within the cv::Rect FDet::Detect(cv::Mat im) function:
cv::resize(gray,small_img_,cv::Size(w,h),0,0,CV_INTER_LINEAR); cv::equalizeHist(small_img_,small_img_);
In the VS variable readout, it tells me the im.cols and im.rows are both 0 - any ideas?
The text was updated successfully, but these errors were encountered: