File tree Expand file tree Collapse file tree 8 files changed +725
-20
lines changed
tests/unit/image/components/drawer Expand file tree Collapse file tree 8 files changed +725
-20
lines changed Original file line number Diff line number Diff line change 1212from numpy .typing import NDArray
1313
1414import otary .geometry as geo
15- from otary .utils . cv . ocrsingleoutput import OcrSingleOutput
15+ from otary .vision . bbox . ocr_single_output import OcrSingleOutput
1616from otary .image .components .drawer .utils .tools import prep_obj_draw
1717from otary .image .components .drawer .utils .render import (
1818 Render ,
Original file line number Diff line number Diff line change 2323import otary .geometry as geo
2424from otary .geometry .discrete .linear .entity import LinearEntity
2525from otary .geometry .discrete .shape .axis_aligned_rectangle import AxisAlignedRectangle
26- from otary .utils . cv . ocrsingleoutput import OcrSingleOutput
26+ from otary .vision . bbox . ocr_single_output import OcrSingleOutput
2727from otary .image .base import BaseImage
2828from otary .image .components import (
2929 ReaderImage ,
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 99from functools import wraps
1010
1111import numpy as np
12- from otary .utils . cv . ocrsingleoutput import OcrSingleOutput
12+ from otary .vision . bbox . ocr_single_output import OcrSingleOutput
1313
1414
1515def timer (func ):
Original file line number Diff line number Diff line change 1+ """
2+ Gather bounding box classes content
3+ """
4+
5+ from otary .vision .bbox .ocr_single_output import OcrSingleOutput
6+ from otary .vision .bbox .ocr_multi_output import OcrMultiOutput
You can’t perform that action at this time.
0 commit comments