You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First use case is the rectangles generated by running OCR at multiple scales of the same image - you often get multiple very similar (but not exactly the same) rectangles. The coordinates will be off by 2 pixels but sometimes by 4 pixels.
These can be merged to the largest bounding box except that
DicomRect - need to check they are the same frame and overlay
DicomRectText - need to compare the text strings (see https://pypi.org/project/fastDamerauLevenshtein/) and maybe pick the longest if they are very similar or just keep both rectangles otherwise
The text was updated successfully, but these errors were encountered:
First use case is the rectangles generated by running OCR at multiple scales of the same image - you often get multiple very similar (but not exactly the same) rectangles. The coordinates will be off by 2 pixels but sometimes by 4 pixels.
These can be merged to the largest bounding box except that
The text was updated successfully, but these errors were encountered: