PJLab-ADG / SensorsCalibration

OpenCalib: A Multi-sensor Calibration Toolbox for Autonomous Driving
Apache License 2.0
2.29k stars 545 forks source link

Stability checking of VP's position in camera2car auto calibration algorithm #75

Open SternSu opened 1 year ago

SternSu commented 1 year ago

Hi, I have a question for camera2car auto calibration algorithm. I found that there are following words in the paper SensorX2car: Sensors-to-car calibration for autonomous driving in road scenarios: Note that the vehicle doesn’t need to travel straightly all the time. We use the stability of the position of the vanishing point as a judgment condition in our algorithm to extract useful segments.

But when I used image sequences collected in a trajectory composed of both straight part and curve part, the calibration results were pretty bad. I use the pretrained model and it works well for my images representing straight motion, so I think the problem is not in the model.

I am wondering if there are codes conducting the stability checking of VP's position as the paper says? When I was checking the code, it seems that there are no such kind of things.

Thank you very much for your help!

xiaokn commented 1 year ago

You can add the code, which is very simple. For example, when it is judged that the vanishing point changes very little, it is considered that the vehicle is walking in a straight line, and only this part is used for calibration.

SternSu commented 1 year ago

You can add the code, which is very simple. For example, when it is judged that the vanishing point changes very little, it is considered that the vehicle is walking in a straight line, and only this part is used for calibration.

Thank you for your answers, I will try to add the relevant code.