Ask Your Question

_Student_'s profile - activity

2019-09-30 05:13:11 -0600 received badge  Student (source)
2017-08-31 22:46:06 -0600 received badge  Famous Question (source)
2016-06-15 09:22:01 -0600 received badge  Notable Question (source)
2016-02-12 12:44:39 -0600 received badge  Popular Question (source)
2015-02-09 03:41:32 -0600 received badge  Self-Learner (source)
2015-02-09 02:47:53 -0600 commented answer OpenCV Error: Bad argument (Unknown array type) in cvarrToMat

I used the same checkerboard supplied with OpenCV (I took several images of the same checkerboard from different distances , angles ,,etc ) . It was not working with me because I put more than 6 and 8 which are more than the corners (cross points) in the image . In another words , the width should be the same cross points in the width or less and the height should be the same cross points in the height .

2015-02-09 02:07:05 -0600 commented question Size of KeyPoint in Bytes

Thank you barek .

2015-02-09 01:56:25 -0600 received badge  Editor (source)
2015-02-09 01:55:15 -0600 answered a question OpenCV Error: Bad argument (Unknown array type) in cvarrToMat

The answer is :

in configuration file , we should have these values or less :

 <BoardSize_Width> 6</BoardSize_Width>
 <BoardSize_Height>8</BoardSize_Height>

these values mean how many corners (cross points ) we have in the checkerboard in the width and the height , see the the width and the height in the attached image are circled . C:\fakepath\yike4dRrT.png

2015-02-09 01:45:50 -0600 asked a question Size of KeyPoint in Bytes

Hi OpenCV Guys

I am new to OpenCV , I am dealing with KeyPoint and Mat class . I want to send objects of these two types from server to client using TCP connection , in TCP we need to know the size of the data in bytes to be sent through a socket . So far I am using total()*channels() to get the number of bytes in Mat Type .

My questions : 1- I am not sure if my using total()*channels() in Mat Type is correct . 2- How can I know the size of KeyPoint in BYTES .

I appreciate any help .

2015-01-28 02:58:25 -0600 asked a question OpenCV Error: Bad argument (Unknown array type) in cvarrToMat

Hi Everyone

I am trying to run this calibration program :

http://fossies.org/linux/opencv/sampl...

I already compiled it successfully using CMake , however , when I try to run it with a number of checkerboard snapshots (around 13 photos) to calibrate my IPhone camera : The program goes very well but gets crashed at the line # 362

Here is the output of I got in my terminal :

This is a camera calibration sample.
Usage: calibration configurationFile
Near the sample file you'll find the configuration file, which has detailed help of how to edit it.  It may be any OpenCV supported file format XML/YAML.
OpenCV Error: Bad argument (Unknown array type) in cvarrToMat, file /tmp/opencv-EKIKs8/opencv-2.4.9/modules/core/src/matrix.cpp, line 698
libc++abi.dylib: terminating with uncaught exception of type cv::Exception: /tmp/opencv-EKIKs8/opencv-2.4.9/modules/core/src/matrix.cpp:698: error: (-5) Unknown array type in function cvarrToMat

Abort trap: 6

I really appreciate any help