|
|
@@ -66,7 +66,7 @@ class PTZPersonDetector:
|
|
|
|
|
|
def __init__(self, model_path: str = None, model_type: str = 'auto',
|
|
|
confidence_threshold: float = 0.5, use_gpu: bool = False,
|
|
|
- save_image: bool = True, image_dir: str = '/home/admin/dsh/ptz_detection_images'):
|
|
|
+ save_image: bool = False, image_dir: str = '/home/admin/dsh/ptz_detection_images'):
|
|
|
"""
|
|
|
初始化检测器
|
|
|
Args:
|