Result inconsistent #1995
riyajatar93
started this conversation in
General
Replies: 1 comment
-
The output structure has been significantly refactored and aligned with the global design of OpenMMLab, and therefore you might need a custom postprocessor to achieve this effect. Currently there is no universal box/text sorting algorithm, but MMOCR has one implementation that you might be interested in: mmocr/mmocr/utils/bbox_utils.py Line 131 in b18a09b |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
i am doing inference with below code , it return detection and recognized text.
infer = MMOCRInferencer(det='dbnetpp', rec='svtr-small')
is there any way i can get output in json format like the one
ocr.readtext gives.
also order of text detected on input image is not consistent , i am unable to sort them properly . any method or suggestion to solve this
thanks
Beta Was this translation helpful? Give feedback.
All reactions