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
if use --no-segmentation tag it not working. i found this bug in kraken.py in line 220: bounds = Segmentation(type='bbox', text_direction='horizontal-lr', imagename=ctx.meta['base_image'], script_detection=False, lines=[BBoxLine(id=str(uuid.uuid4()), bbox=(0, 0, im.size[1], im.size[0]))])
must change to : bounds = Segmentation(type='bbox', text_direction='horizontal-lr', imagename=ctx.meta['base_image'], script_detection=False, lines=[BBoxLine(id=str(uuid.uuid4()), bbox=(0, 0, im.size[0], im.size[1]))])
image width and height must change.
The text was updated successfully, but these errors were encountered:
if use --no-segmentation tag it not working. i found this bug in kraken.py in line 220:
bounds = Segmentation(type='bbox', text_direction='horizontal-lr', imagename=ctx.meta['base_image'], script_detection=False, lines=[BBoxLine(id=str(uuid.uuid4()), bbox=(0, 0, im.size[1], im.size[0]))])
must change to :
bounds = Segmentation(type='bbox', text_direction='horizontal-lr', imagename=ctx.meta['base_image'], script_detection=False, lines=[BBoxLine(id=str(uuid.uuid4()), bbox=(0, 0, im.size[0], im.size[1]))])
image width and height must change.
The text was updated successfully, but these errors were encountered: