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

Rmse value is 66 #6

Open
AkhilaPerumalla123 opened this issue Aug 24, 2022 · 6 comments
Open

Rmse value is 66 #6

AkhilaPerumalla123 opened this issue Aug 24, 2022 · 6 comments

Comments

@AkhilaPerumalla123
Copy link

Hi, I captured images using 2 webcams of the same specifications simultaneously. rmse value returned when each camera is calibrated is around 0.11.
When they are setreocalibrated, the rmse value returned is around 66.

Is it a good rmse value? if not how to achieve good rmse value?

@AkhilaPerumalla123
Copy link
Author

Hi @TemugeB, Can you please help me with this?

@TemugeB
Copy link
Owner

TemugeB commented Sep 6, 2022

Hi,

Sorry for the delay. An rmse of 66 is definitely very bad. Did you make sure the calibration settings file was updated correctly? Also, when doing stereo calibration step, it is very important that you keep your hand steady. Are the calibration patterns large enough in both camera views at the same time? If the calibration pattern is too small, you will run into problems.

@AkhilaPerumalla123
Copy link
Author

I captured steady images. But, for some of the images the the direction is horizontal and for some of the images the direction is vertical.

stereo-f-2
stereo-s-2
stereo-f-6
stereo-s-6

@TemugeB
Copy link
Owner

TemugeB commented Sep 7, 2022

This is happening because your calibration pattern has equal number of rows and columns. I suggest you print out a calibration pattern that has different number of columns and rows. Or you can simply skip the frames where this is happening. The "O" in images refer to the origin of the calibration points. So the "O"s and the directions should match in both images.

Additionally, your camera is introducing too much radial distortion. To fix this, you need to call openCV's undistort function or find a camera that does not introduce radial distortion. Here is OpenCV's tutorial on how to undistort: link. It is quite simple to use.

@AkhilaPerumalla123
Copy link
Author

Hi @TemugeB,

By taking a calibration pattern with different numbers of rows and columns, I reduced it to 2.88.

Any suggestions to improve it further?

@AkhilaPerumalla123
Copy link
Author

Hi @TemugeB,

Can you mention the specifications of the camera you used to capture the pictures and videos?

It will be really helpful.

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