mirror of
https://github.com/283375/arcaea-offline-ocr.git
synced 2025-04-11 09:30:17 +00:00
[fix, wip]: FixRects.connect_broken
This commit is contained in:
parent
8fe53043f7
commit
1c0a24d170
@ -36,6 +36,9 @@ class FixRects:
|
||||
new_rects = []
|
||||
consumed_rects = []
|
||||
for rect in rects:
|
||||
if rect in consumed_rects:
|
||||
continue
|
||||
|
||||
x, y, w, h = rect
|
||||
# grab those small rects
|
||||
if not img_height * 0.1 <= h <= img_height * 0.6:
|
||||
|
Loading…
x
Reference in New Issue
Block a user