Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Input array is not a valid matrix in function cvPointSeqFromMat #23

Open
bear63 opened this issue Feb 6, 2017 · 2 comments
Open

Input array is not a valid matrix in function cvPointSeqFromMat #23

bear63 opened this issue Feb 6, 2017 · 2 comments

Comments

@bear63
Copy link

bear63 commented Feb 6, 2017

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

@borysknysh
Copy link

bear63, have you already resolved this issue? I've got the same problem...

@famunir
Copy link

famunir commented Jul 30, 2018

@iodapro @bear63 Was any of you able to solve or exactly probe the problem? Any kind of help will be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants