lesniak43 / ProjektProgramistyczny2015

0 stars 0 forks source link

error in "warpAffine( originalROI, dstROI, warp_mat, dstROI.size() )" #1

Open XiaXuehai opened 8 years ago

XiaXuehai commented 8 years ago

I used your image to train and test.In the final path,I got an error in "warpAffine( originalROI, dstROI, warp_mat, dstROI.size() )".The error is

OpenCV Error: Assertion failed (src.cols > 0 && src.rows > 0) in warpAffine, file /Users/xxh/opencv/2.4.10/opencv-2.4.10/modules/imgproc/src/imgwarp.cpp, line 3591

So,how to fix it?

XiaXuehai commented 8 years ago

Oh,I didn't see HOW TO CREATE A WORKING AAM/POSIT in README.