I want to get camera angle with OpenCV

Asked 2 years ago, Updated 2 years ago, 48 views

There is a fixed camera.
This camera can change the angle.(Frequently used surveillance camera)
There are different images 1 and 2 by changing the angle with this camera.
I would like to find the angle in the X direction and the angle in the Y direction of images 1 and 2.
Is it possible to obtain an angle such as OpenCV (other than that)?

I think it's the opposite of epipolar geometry, but is there a way to find an angle?
Please let me know.

opencv

2022-09-29 22:20

1 Answers

If the same spot (e.g., nose head of the same person) can be detected from the two images, it may be possible to find the difference in camera orientation when the two images are taken, but it depends on the image taken.
If you can locate the pixel (which shows the same point), you can see from which direction the light came into the optical system, which determines the relative direction of the camera.If you have two of these information, you will be asked to differentiate the camera orientation.)

(Not possible if two images are taken with completely different camera orientation (image 1 and image 2 have nothing in common)


2022-09-29 22:20

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.