Skip to content

Commit 5f07c51

Browse files
committed
feat: init vision extension
1 parent 949978b commit 5f07c51

File tree

8 files changed

+725
-20
lines changed

8 files changed

+725
-20
lines changed

otary/image/components/drawer/drawer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from numpy.typing import NDArray
1313

1414
import otary.geometry as geo
15-
from otary.utils.cv.ocrsingleoutput import OcrSingleOutput
15+
from otary.vision.bbox.ocr_single_output import OcrSingleOutput
1616
from otary.image.components.drawer.utils.tools import prep_obj_draw
1717
from otary.image.components.drawer.utils.render import (
1818
Render,

otary/image/image.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import otary.geometry as geo
2424
from otary.geometry.discrete.linear.entity import LinearEntity
2525
from 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
2727
from otary.image.base import BaseImage
2828
from otary.image.components import (
2929
ReaderImage,

otary/utils/cv/ocrsingleoutput.py

Lines changed: 0 additions & 16 deletions
This file was deleted.

otary/utils/perf_eval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
from functools import wraps
1010

1111
import numpy as np
12-
from otary.utils.cv.ocrsingleoutput import OcrSingleOutput
12+
from otary.vision.bbox.ocr_single_output import OcrSingleOutput
1313

1414

1515
def timer(func):

otary/vision/bbox/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
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

0 commit comments

Comments
 (0)