Open XiaXuehai opened 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?
Oh,I didn't see HOW TO CREATE A WORKING AAM/POSIT in README.
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?