diff --git a/biz/checkpoint/checkpoint_biz.py b/biz/checkpoint/checkpoint_biz.py index 9aeabbc..0dc3892 100644 --- a/biz/checkpoint/checkpoint_biz.py +++ b/biz/checkpoint/checkpoint_biz.py @@ -17,7 +17,7 @@ from utils.logger import get_logger from common.constants import MODEL_ROOT_PATH logger = get_logger(__name__) -DETECT_MODEL_PATH = 'D:\Python_Save\PoliceProject\Yolo_Weight\Kadian\Kadian_sanshijiazi.onnx' +DETECT_MODEL_PATH = 'YOLO_Weight/Kadian.onnx' # 默认相对ROI(与原文件一致) #ROI_RELATIVE = np.array([ @@ -52,7 +52,7 @@ PERSON_CAR_INPUT_SIZE = 640 #POSE_INPUT_SIZE = 640 -RTSP_TARGET_FPS = 30.0 +RTSP_TARGET_FPS = 10.0 # ========================= Kadian TrafficMonitor(精简版,专为服务设计) ========================= class KadianDetector: @@ -240,7 +240,7 @@ class KadianDetector: current_time_sec = timestamp - print('current_time_sec:', current_time_sec) + # print('current_time_sec:', current_time_sec) # ========= 主检测(删除pose检测)========= detections = self.detector(frame)