3 ms·
> If "straight" lines are not straight that normally means the fisheye center or radius are not specified correctly or the angle is not defined correctly. Is i
by gus_massa 4y ago
> If "straight" lines are not straight that normally means the fisheye center or radius are not specified correctly or the angle is not defined correctly.
Is it possible to make the computer guess the correct value with AI? I guess a method is to identify the artificial objects like walls and doors, and assume they have straight lines. The nice curved tops of the windows may be a problem. And probably there must be a special case for circles like the clock.
- hardnose 4y agoCalibrating using known objects should be possible. Most road sign dimensions are specified in national laws, motor vehicle headlights must be a specific distance apart, etc.
- bramblerose 4y agoFor a single image, you'd need some heuristics to distinguish curved objects from camera distortions. If you have multiple frames, you can SLAM your way out of the problem (essentially, match features and solve a big fit which optimized feature positions, camera positions and camera distortions). But by far the easiest option is to just calibrate it, through https://docs.opencv.org/4.x/dc/dbb/tutorial_py_calibration.html https://docs.opencv.org/4.x/dc/dbb/tutorial_py_calibration.h... or one of the many alternative methods.