How to get pixel perfect location of text? #14769
Replies: 1 comment 4 replies
-
Getting pixel-perfect bounding boxes around text, especially for angled, warped, or stroked text, is challenging. Based on the discussion referenced (Getting character level bounding boxes), the main issue is that PaddleOCR provides line-level bounding boxes rather than character-level ones. Possible Approaches:
Best Approach:If you need the highest accuracy for bounding box refinement:
Would you like step-by-step guidance on implementing any of these methods? 🚀 Response generated by 🤖 feifei-bot | chatgpt-4o-latest |
Beta Was this translation helpful? Give feedback.
-
So bounding boxes can be off a lot of the time, almost always a few pixels off. I want a perfect bounding box fit around the text, or at least snugly on the highest pixel of the text and the leftmost pixel, so that I can get an accurate coordinate for exact text reproduction. How do I do this? It should also work for angled text, perspective warped text, stroked text, etc.
Beta Was this translation helpful? Give feedback.
All reactions