Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem with OpenCV calibration module

I have been spending sometime to get my camera calibration working using OpenCV module as documented here. In particular, I have 2 questions regarding this issue:

  1. When using camera input by setting certain value in XML configuration file, I got it working but after the calibration, I got a worse output remapped image. Are there any configuration that I am not aware of?

    Is the following configuration important, if so, should I measure in in mm scale:

    <!-- The size of a square in some user defined metric system (pixel, millimeter)-->
    <Square_Size>50</Square_Size>
    
  2. When using image list or recorded video stream, I didn't get any working? Is there any trick, perhaps? It didn't even detect the corners in my chessboard calibration target.

Thanks in advance.

Problem with OpenCV calibration module

I have been spending sometime to get my camera calibration working using OpenCV module as documented here. In particular, I have 2 questions regarding this issue:

  1. When using camera input by setting certain value in XML configuration file, I got it working but after the calibration, I got a worse output remapped image. Are there any configuration that I am not aware of?

    Is the following configuration important, if so, should I measure in in mm scale:

    <!-- The size of a square in some user defined metric system (pixel, millimeter)-->
    <Square_Size>50</Square_Size>
    
  2. When using image list or recorded video stream, I didn't get any working? Is there any trick, perhaps? It didn't even detect the corners in my chessboard calibration target.

Thanks in advance.

Problem with OpenCV calibration module

I have been spending sometime some time to get my camera calibration working using OpenCV module as documented here. In particular, I have 2 questions regarding this issue:

  1. When using camera input by setting certain value in XML configuration file, I got it working but after the calibration, I got a worse output remapped image. Are there any configuration that I am not aware of?

    Is the following configuration important, if so, should I measure in mm scale:

    <!-- The size of a square in some user defined metric system (pixel, millimeter)-->
    <Square_Size>50</Square_Size>
    
  2. When using image list or recorded video stream, I didn't get any working? Is there any trick, perhaps? It didn't even detect the corners in my chessboard calibration target.

Thanks in advance.

Problem with OpenCV calibration module

I have been spending some time to get my camera calibration working using OpenCV module as documented here. In particular, I have 2 3 questions regarding this issue:

  1. When using camera input by setting certain value in XML configuration file, I got it working but after the calibration, I got a worse output remapped image. Are there any configuration that I am not aware of?

    Is the following configuration important, if so, should I measure in mm scale:

    <!-- The size of a square in some user defined metric system (pixel, millimeter)-->
    <Square_Size>50</Square_Size>
    
  2. When using image list or recorded video stream, I didn't get any working? Is there any trick, perhaps? It didn't even detect the corners in my chessboard calibration target.

  3. When using recorded video stream, I always get the following error:

    OpenCV Error: Parsing error (output.avi(0): Too long string or a last string w/o newline) in icvXMLSkipSpaces
    

Thanks in advance.

Problem with OpenCV calibration module

I have been spending some time to get my camera calibration working using OpenCV module as documented here. In particular, I have 3 questions regarding this issue:

  1. When using camera input by setting certain value in XML configuration file, I got it working but after the calibration, I got a worse output remapped image. Are there any configuration that I am not aware of?

    Is the following configuration important, if so, should I measure in mm scale:

    <!-- The size of a square in some user defined metric system (pixel, millimeter)-->
    <Square_Size>50</Square_Size>
    
  2. When using image list or recorded video stream, I didn't get any working? Is there any trick, perhaps? It didn't even detect the corners in my chessboard calibration target.target. When using image list, it runs the image sequences, however, without detecting corners and eventually I received the following error:

    OpenCV Error: Bad argument (Unknown array type) in cvarrToMat, file /tmp/buildd/ros-fuerte-opencv2-2.4.2-1precise-20130312-1306/modules/core/src/matrix.cpp, line 697 terminate called after throwing an instance of 'cv::Exception' what(): /tmp/buildd/ros-fuerte-opencv2-2.4.2-1precise-20130312-1306/modules/core/src/matrix.cpp:697: error: (-5) Unknown array type in function cvarrToMat

  3. When using recorded video stream, I always get the following error:

    OpenCV Error: Parsing error (output.avi(0): Too long string or a last string w/o newline) in icvXMLSkipSpaces
    

Thanks in advance.

Problem with OpenCV calibration module

I have been spending some time to get my camera calibration working using OpenCV module as documented here. In particular, I have 3 questions regarding this issue:

  1. When using camera input by setting certain value in XML configuration file, I got it working but after the calibration, I got a worse worse(than the original input) output remapped image. Are there any configuration that I am not aware of?

    Is the following configuration important, if so, should I measure in mm scale:

    <!-- The size of a square in some user defined metric system (pixel, millimeter)-->
    <Square_Size>50</Square_Size>
    
  2. When using image list or recorded video stream, I didn't get any working? Is there any trick, perhaps? It didn't even detect the corners in my chessboard calibration target. When using image list, it runs the image sequences, however, without detecting corners and eventually I received the following error:

    OpenCV Error: Bad argument (Unknown array type) in cvarrToMat, file /tmp/buildd/ros-fuerte-opencv2-2.4.2-1precise-20130312-1306/modules/core/src/matrix.cpp, line 697 terminate called after throwing an instance of 'cv::Exception' what(): /tmp/buildd/ros-fuerte-opencv2-2.4.2-1precise-20130312-1306/modules/core/src/matrix.cpp:697: error: (-5) Unknown array type in function cvarrToMat

  3. When using recorded video stream, I always get the following error:

    OpenCV Error: Parsing error (output.avi(0): Too long string or a last string w/o newline) in icvXMLSkipSpaces
    

Thanks in advance.