|
Safemotion Lib
|
Public Member Functions | |
| __init__ (self, checkpoint, **kwargs) | |
| run_detector (self, image) | |
Public Attributes | |
| model | |
| kwargs | |
YOLO 모델을 동작시키기 위한 클래스
args:
checkpoint (str): 모델 파라미터 저장 경로, engine 파일(TensorRT 모델) 또는 pt 파일(torch 모델)
kwargs (str): 모델 동작을 위한 기타 파라미터
Definition at line 3 of file yolov8_runner.py.
| yolov8_runner.YoloV8Runner.__init__ | ( | self, | |
| checkpoint, | |||
| ** | kwargs ) |
Definition at line 10 of file yolov8_runner.py.
| yolov8_runner.YoloV8Runner.run_detector | ( | self, | |
| image ) |
객체 검출기를 동작시키는 기능
args:
image (np.ndarray): RGB? BGR? 이미지
Definition at line 14 of file yolov8_runner.py.
| yolov8_runner.YoloV8Runner.kwargs |
Definition at line 12 of file yolov8_runner.py.
| yolov8_runner.YoloV8Runner.model |
Definition at line 11 of file yolov8_runner.py.