Click here to Skip to main content
15,891,204 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hello,

I have a problem with calibration of the image from the webcam.
I do motion detection and take de degrees for turning an eye (drawing in DirectX).

I place my camera in a look down position. But it is possible that the camera don't look straight down.

Now the problem is that the image is distorted. That gives me wrong degrees. There for I need to do calibration but so far I don't succeed in it.

Can anybody helps me.

Thanks a lot
Posted
Updated 9-Nov-11 23:06pm
v2

1 solution

There is a great article here on CP that has the logic built in that you require: Realtime Webcam Sudoku Solver[^]. It's a great article by our fellow CPian Bojan Banko[^]. Look out for the step How to detect rotation.

Cheers!

—MRB
 
Share this answer
 
Comments
Hardghost 14-Nov-11 3:10am    
It doesn't help because it's for the degrees on the picture that i have but the degrees on the picture are not always the same as in real time. You stand on a place that is 30° from the monitor. But on the picture is it 45°. So my eye look at a point at 45° in place of 30°. That's what i need to solve

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900