Kokul Jose

Kokul Jose

  • 487
  • 2.9k
  • 205.9k

Rotate a boundingBox by a given angle

Oct 31 2020 6:04 PM

I'm working with output from Azure Computer Vision Read API. The output has a boundingBox and angle of the page. I need to rotate the points in boundingBox.

A sample boundingBox is :

  1. "boundingBox": [ 2.453310.69012.614710.69012.614710.81932.453310.8193 ] 

, And the angle is in degrees(-180-180).

I need to rotate the points in the bounding box in order to feel similar to the output from a page which has 0 degree.My environment is python.


Answers (1)