Skip to content

How to get rectangular co-ordinates of detected text of an image #533

Discussion options

You must be logged in to vote

By multiplying the relative coords and page dimensions I got values in decimals, here I am providing you the first 5 values in format (xmin, w, ymin, h)

(656.0859375, 30.8642578125, 712.5234375, 40.564453125)
(600.5302734375, 59.96484375, 685.1865234375, 69.6650390625)
(155.203125, 82.0107421875, 186.94921875, 95.23828125)
(128.748046875, 82.0107421875, 156.0849609375, 96.1201171875)
(198.4130859375, 80.2470703125, 300.7060546875, 98.765625)

Page dimension is (903, 638)

Geometry of first 5 are:

(0.7265625, 0.0341796875) (0.7890625, 0.044921875)
(0.6650390625, 0.06640625) (0.7587890625, 0.0771484375)
(0.171875, 0.0908203125) (0.20703125, 0.10546875)
(0.142578125, 0.0908203125) (0.172851562…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@fg-mindee
Comment options

@fg-mindee
Comment options

Answer selected by PoornaSaiNagendra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants