DXM123 / camera_calibration

Camera Calibration UI
1 stars 1 forks source link

Video input stream #18

Closed janfeitsma closed 4 months ago

janfeitsma commented 4 months ago

We can now provide an existing video. This may be useful for making test cases.

Example: ./calibration-gui.py -i test/chessboard_6x7_20240402.mp4

Observations:

  1. For some reason, the video seems to be shown in a flipped / mirrored way in the GUI, compared to the actual video. Not sure how important this bug is.
  2. The chessboard test video was created with inverted rgb/bgr, issue on my end. I tried to fix but failed, don't think this matters much.
  3. The algorithm detects the chessboard a few times, but often not... This may be an actual problem.
DXM123 commented 4 months ago

Need to allign gui with args to properly integrate later.

DXM123 commented 4 months ago

Chessboard detection is 100% successful when using below config on the video chessboard_6x7_20240402.mp4

no_of_columns: 9 no_of_rows: 6 square_size: 24.0

The flipped image is because the camera input used now flips the frame before displaying. This was needed for the camera input.