Hello,
I am trying to debug the project on ICDAR 2013 dataset. When I run the project, the project exits with code 134 (interrupted by signal 6: SIGABRT) with following error
file /home/opencv-2.4.11/modules/imgproc/src/utils.cpp, line 54
terminate called after throwing an instance of 'cv::Exception'
what(): /home/opencv-2.4.11/modules/imgproc/src/utils.cpp:54: error: (-5) _Input array is not a valid matrix in function cvPointSeqFromMat
The error appears only for few images.
Simulation Setup:
- First, I tried to run the project with default parameters
int edgeThreshold = 12;
int kMin = 9;
int kMax = 11;
- Then I changed the parameters as followed:
int edgeThreshold = 13;
int kMin = 4;
int kMax = 10;
Changing the parameters solved the issue for few images. However, for some other images the same problem arose.
Can anybody help me with this?
Additional Info:
When I change int kMin = 4 and int kMax = 10, execution gives same error for different images. I think this problem occurs when "regionSet.size()==0" defined in FastTextLineDetector.cpp is null. But I have no idea that why it goes empty.
Thanks!
Hello,
I am trying to debug the project on ICDAR 2013 dataset. When I run the project, the project exits with code 134 (interrupted by signal 6: SIGABRT) with following error
file /home/opencv-2.4.11/modules/imgproc/src/utils.cpp, line 54
terminate called after throwing an instance of 'cv::Exception'
what(): /home/opencv-2.4.11/modules/imgproc/src/utils.cpp:54: error: (-5) _Input array is not a valid matrix in function cvPointSeqFromMat
The error appears only for few images.
Simulation Setup:
int edgeThreshold = 12;
int kMin = 9;
int kMax = 11;
int edgeThreshold = 13;
int kMin = 4;
int kMax = 10;
Changing the parameters solved the issue for few images. However, for some other images the same problem arose.
Can anybody help me with this?
Additional Info:
When I change int kMin = 4 and int kMax = 10, execution gives same error for different images. I think this problem occurs when "regionSet.size()==0" defined in FastTextLineDetector.cpp is null. But I have no idea that why it goes empty.
Thanks!