Skip to content

Commit

Permalink
Rename ONNXInference to FastPlateOCR
Browse files Browse the repository at this point in the history
  • Loading branch information
ankandrew committed Apr 6, 2024
1 parent 3ed7028 commit a1a31dd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
Empty file added fast_plate_ocr/cli/__init__.py
Empty file.
7 changes: 7 additions & 0 deletions fast_plate_ocr/inference/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"""
FastPlateOCR package.
"""

from fast_plate_ocr.inference.onnx_inference import FastPlateOCR

__all__ = ["FastPlateOCR"]
2 changes: 1 addition & 1 deletion fast_plate_ocr/inference/onnx_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def _load_image_from_source(source: str | list[str] | npt.NDArray) -> npt.NDArra
raise ValueError("Unsupported input type. Only file path or numpy array is supported.")


class ONNXInference:
class FastPlateOCR:
"""
ONNX inference class for performing license plates OCR.
"""
Expand Down

0 comments on commit a1a31dd

Please sign in to comment.