stair-step-detector
stair-step-detector copied to clipboard
Calibration and detection
Hi,
I've tried building and running the code, specifically testing it with handmade stairs (using boxes). Unfortunately, it seems that it couldn't accurately detect the stair. I suspect this might be related to calibration issues. However, after reviewing the documentation, I couldn't find clear instructions on how to calibrate the camera. Do you have any suggestions to improve my testing, especially regarding the calibration process for detecting boxes accurately? Thanks
Without calibration, the detector cannot detect anything. It is best to use three points made of reflector foil. Enter the position of your points in world coordinates in the calibration-triangle file, in the order top left - top right - bottom right (based on the view of the calibration window). calculate-triangle is a small utility for calculating world coordinates. Example:
triangle parameters
a = 2.242
b = 2.412
c = 1.539
y3 = 0.3
z = 0.004
I'll write a calibration guide sometime, maybe "between years". I'm currently up to my neck in work.