Advertisement
Guest User

Untitled

a guest
Jun 18th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.56 KB | None | 0 0
  1. <?xml version="1.0"?>
  2. <opencv_storage>
  3. <Settings>
  4. <!-- Number of inner corners per a item row and column. (square, circle) -->
  5. <BoardSize_Width> 9</BoardSize_Width>
  6. <BoardSize_Height>6</BoardSize_Height>
  7.  
  8. <!-- The size of a square in some user defined metric system (pixel, millimeter)-->
  9. <Square_Size>2.49</Square_Size>
  10. <Square_Width>2.5</Square_Width>
  11. <Square_Height>2.5</Square_Height>
  12.  
  13. <!-- The type of input used for camera calibration. One of: CHESSBOARD CIRCLES_GRID ASYMMETRIC_CIRCLES_GRID -->
  14. <Calibrate_Pattern>"CHESSBOARD"</Calibrate_Pattern>
  15.  
  16. <!-- The input to use for calibration.
  17. To use an input camera -> give the ID of the camera, like "1"
  18. To use an input video -> give the path of the input video, like "/tmp/x.avi"
  19. To use an image list -> give the path to the XML or YAML file containing the list of the images, like "/tmp/circles_list.xml"
  20. -->
  21. <Input>"imageListTry.xml"</Input>
  22. <!-- If true (non-zero) we flip the input images around the horizontal axis.-->
  23. <Input_FlipAroundHorizontalAxis>0</Input_FlipAroundHorizontalAxis>
  24.  
  25. <!-- Time delay between frames in case of camera. -->
  26. <Input_Delay>100</Input_Delay>
  27.  
  28. <!-- How many frames to use, for calibration. -->
  29. <Calibrate_NrOfFrameToUse>12</Calibrate_NrOfFrameToUse>
  30. <!-- Consider only fy as a free parameter, the ratio fx/fy stays the same as in the input cameraMatrix.
  31. Use or not setting. 0 - False Non-Zero - True-->
  32. <Calibrate_FixAspectRatio> 0 </Calibrate_FixAspectRatio>
  33. <!-- If true (non-zero) tangential distortion coefficients are set to zeros and stay zero.-->
  34. <Calibrate_AssumeZeroTangentialDistortion>0</Calibrate_AssumeZeroTangentialDistortion>
  35. <!-- If true (non-zero) the principal point is not changed during the global optimization.-->
  36. <Calibrate_FixPrincipalPointAtTheCenter> 0 </Calibrate_FixPrincipalPointAtTheCenter>
  37.  
  38. <!-- The name of the output log file. -->
  39. <Write_outputFileName>"out_camera_data.xml"</Write_outputFileName>
  40. <!-- The name of the output log file. -->
  41. <Write_intrinsicsFileName>"intrinsics_v1p1.yml"</Write_intrinsicsFileName>
  42. <!-- If true (non-zero) we write to the output file the feature points.-->
  43. <Write_DetectedFeaturePoints>1</Write_DetectedFeaturePoints>
  44. <!-- If true (non-zero) we write to the output file the extrinsic camera parameters.-->
  45. <Write_extrinsicParameters>1</Write_extrinsicParameters>
  46. <!-- If true (non-zero) we show after calibration the undistorted images.-->
  47. <Show_UndistortedImage>1</Show_UndistortedImage>
  48.  
  49. </Settings>
  50. </opencv_storage>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement