Skip to main content
QUICK REVIEW

[Paper Review] Deep Image Orientation Angle Detection

Subhadip Maji, Smarajit Bose|arXiv (Cornell University)|Jun 21, 2020
Advanced Neural Network ApplicationsComputer Science18 references5 citations
TL;DR

This paper proposes a deep learning approach for estimating image orientation angles from 0° to 359° using a custom loss function and transfer learning with the Xception architecture. By addressing the circular nature of angle prediction, the method achieves state-of-the-art performance, particularly outperforming prior work on fully rotated images with a mean absolute error (MAE) of 8.38° on the COCO dataset.

ABSTRACT

Estimating and rectifying the orientation angle of any image is a pretty challenging task. Initial work used the hand engineering features for this purpose, where after the invention of deep learning using convolution-based neural network showed significant improvement in this problem. However, this paper shows that the combination of CNN and a custom loss function specially designed for angles lead to a state-of-the-art results. This includes the estimation of the orientation angle of any image or document at any degree (0 to 360 degree),

Motivation & Objective

  • To address the challenge of accurately estimating arbitrary image orientation angles (0° to 359°) in natural images.
  • To overcome limitations of traditional L1 loss in angle regression, especially near the 0°/360° boundary.
  • To improve performance on fully rotated images where standard loss functions fail due to discontinuity.
  • To demonstrate that a custom loss function has a greater impact than network architecture alone on orientation estimation.
  • To provide a generalizable solution applicable to any angle-related regression task in computer vision.

Proposed method

  • Utilizes transfer learning by fine-tuning a pre-trained Xception network on the COCO dataset for image orientation estimation.
  • Adapts the Xception architecture by replacing the final classifier with a regression head consisting of three fully connected layers (512, 256, 64) followed by a single-node linear output layer.
  • Introduces a custom angle-aware loss function that computes the minimum circular difference between predicted and true angles, avoiding the discontinuity at 0°/360°.
  • Applies artificial rotation to COCO images (0° to 359°) to simulate real-world orientation variations and creates three training tasks: ±30°, ±45°, and full 360° rotation.
  • Trains models on three distinct tasks: OAD-30, OAD-45, and OAD-360, each with increasing difficulty.
  • Evaluates performance using mean absolute error (MAE) and compares results against prior methods, including Fischer et al. [6] and Wei et al. [18].

Experimental results

Research questions

  • RQ1Can a custom loss function that accounts for circular angle differences significantly improve orientation estimation accuracy compared to standard L1 loss?
  • RQ2Does using a more advanced pre-trained network like Xception over AlexNet lead to better performance in image orientation regression?
  • RQ3How does the model perform on fully rotated images (0° to 359°), where standard regression loss functions fail due to discontinuity?
  • RQ4What is the relative contribution of network architecture versus loss function design in improving orientation estimation?
  • RQ5Can the proposed method generalize to other angle regression tasks in computer vision?

Key findings

  • The proposed method achieves a mean absolute error (MAE) of 1.52° on images rotated within ±30°, significantly outperforming Fischer et al. [6] and prior methods.
  • On images rotated within ±45°, the model achieves an MAE of 1.95°, demonstrating robustness even with increased rotation range.
  • For fully rotated images (0° to 359°), the model achieves an MAE of 8.38°, which is substantially better than the 20.97° MAE of Fischer et al. [6] using the same setup.
  • Ablation studies show that the custom loss function contributes more to performance gain than network architecture, as the AlexNet with custom loss outperforms Xception with L1 loss.
  • The custom loss function is proven effective even when the network is not state-of-the-art, indicating its generalizability to other angle-related tasks.
  • Visual results show that the model successfully corrects orientation for most images, though performance degrades on ambiguous or symmetric scenes where even human judgment is uncertain.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.