How do you use OpenCV to find horizontal angle and vertical angle from the center of an image to the center of a rectangular contour?
I need a turret to rotate to a certain point using a camera, so I need angles.
Are you familiar with the dot product operation? https://www.mvps.org/directx/articles...
Yes, but I don't know what that has to do with dot product.
PLEASE HELP SHAWN!
SHAWN!!! HELP!!!
It says right on that page how to get the angle from the two vectors. Have fun!
HALAYKA WALA BABU!
Yes, but what are the vectors?
I have 2 points, not vectors!
How to get the vectors?
It looks like I have to come to Saskatchewan itself to ask you!