Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calibration and detection #3

Open
hamedbagherii opened this issue Dec 1, 2023 · 1 comment
Open

Calibration and detection #3

hamedbagherii opened this issue Dec 1, 2023 · 1 comment

Comments

@hamedbagherii
Copy link

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

Screenshot from 2023-11-30 19-54-50

@peter-nebe
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants