Ask Your Question

Revision history [back]

How to detect angle of rotation of my target object in the image

I would like to detect the angle of rotation of my box.

I have thought about building an image classification model, which label ( 0 degrees, 45 degrees, 90 degrees, 135 degrees). However, I thought I may complicate the problem and it is hard to classify since the future is almost the same.

Here are the sample images:

  1. The first photo is a reference which rotated for 0 degrees. C:\fakepath\IMG_8310.jpg

  2. The first photo is a reference which rotated for 45 degrees.

  3. The third photo is a reference which rotated for 90 degrees. C:\fakepath\IMG_1981.jpg

  4. The fourth photo is a reference which rotated for 135 degrees. C:\fakepath\IMG_0771.jpg

Any method is appreciated! Thank you for the help!