FASText
FASText copied to clipboard
Input array is not a valid matrix in function cvPointSeqFromMat
when I run python testLines.py, it gives the following error.
Loading CharCls Model from: /home/bear/Desktop/study/FASText-master/cvBoostChar.xml New instance 0 with edge threshold: 13 [[442 127 29 ..., -1 0.20491254329681396 array([388, 522, 0, 3909, 975, 464], dtype=object)] [184 201 29 ..., 30 0.0 array([124, 1, 568, 289, 274, 43], dtype=object)] [169 282 26 ..., -1 0.49110156297683716 array([533, 534, 154, 405, 1072, 3222, 1164, 2, 475, 68], dtype=object)] ..., [620 381 20 ..., -1 0.28855273127555847 array([4029], dtype=object)] [611 312 24 ..., -1 0.1930018961429596 array([4030], dtype=object)] [630 306 8 ..., -1 0.07338782399892807 array([4031], dtype=object)]] OpenCV Error: Bad argument (Input array is not a valid matrix) in cvPointSeqFromMat, file /build/opencv-SviWsf/opencv-2.4.9.1+dfsg/modules/imgproc/src/utils.cpp, line 54 terminate called after throwing an instance of 'cv::Exception' what(): /build/opencv-SviWsf/opencv-2.4.9.1+dfsg/modules/imgproc/src/utils.cpp:54: error: (-5) Input array is not a valid matrix in function cvPointSeqFromMat
bear63, have you already resolved this issue? I've got the same problem...
@iodapro @bear63 Was any of you able to solve or exactly probe the problem? Any kind of help will be appreciated.