Part Number: TDA2HV
Tool/software: TI-RTOS
Hi Sir,
I am working on tda2xx stereo cam algorithm.
i am getting this output which is not accurate.
this is my camera configuration.
please help me with this.
Thanks,
Ravi
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: TDA2HV
Tool/software: TI-RTOS
Hi Sir,
I am working on tda2xx stereo cam algorithm.
i am getting this output which is not accurate.
this is my camera configuration.
please help me with this.
Thanks,
Ravi
Hello Ravi,
It seems left and right cameras are not well rectified. Please make sure that
1) you run stereo calibration use case first. Also low-distortion cameras are recommended (I see barrel distortion for left camera input). Otherwise, calibration may not come up with correct rectification tables.
2) you connect right camera to the 1st camera port (FPD link cable) and left camera to the 2nd camera port.
3) 10 ~ 15 cm of baseline is recommended
I also put some notes in the attached documents. Please check and let me know if you have any questions.
Hi Sir,
i understood most of things. but
2) you connect right camera to the 1st camera port (FPD link cable) and left camera to the 2nd camera port.
is it necessary ?? can you please elaborate this??
Thanks,
Ravi.
hi Sir,
We are using separate deserializer for each camera. in that case what i have to do??
now i have set baseline to 10cm.
still not correct output.
Thanks.
That's the issue. Left and right camera are totally different. You have to use the same lens and sensor for both cameras. I also can see (barrel) distortion in left camera, which may affect rectification quality since stereo calibration assume there is no lens distortion.
From left and right images, you can see that rectification is quite off, i.e., one point on the left image is not on the same line on the right image. There are several reasons for that, e.g. large lens distortion, improper stereo camera setup. Can you show me auto-calibration display? When you run auto calibration, can you see selected feature points (red dots)?
If it keeps happening, I would recommend off line calibration. Also you can use public domain chart based algorithm.
For this natural image based calibration, you try to align left and right cameras well enough. Otherwise, it cannot find corresponding points (shown in red dots - you should see red dots when you select 1 and 2 from the menu.
First of all, your stereo cameras are not well aligned. For example, the right camera looks rotated (roll angle), and zoomed in. If necessary, you can try with shorter baseline between left and right. And the lens distortion may cause calibration failure.
When you collect feature points (by selecting 1 and 2 from the menu), put something in front of camera so that it can capture distinct features. But do not use checkerboard chart (or something has repeated pattern), because it can fool feature detector.
When you select 3 from the menu, it create calibration table. You can see from a console the rectification error value. This error should be around 0.2 (shouldn't be larger than 0.3)
If you continue to have the same issue, I encourage you to try offline calibration.