Navy commited on
Commit
0742e6c
·
1 Parent(s): 0f27524

fix bug file path

Browse files
Files changed (1) hide show
  1. core/defect_detection.py +1 -1
core/defect_detection.py CHANGED
@@ -111,7 +111,7 @@ def detect_defect_from_video_url(station_id, camera_id: str, video_url: str, mod
111
  "camera_id": camera_id,
112
  "status_defect": "NG",
113
  "image_base64": frame_base64,
114
- "image_path": filepath,
115
  "detections": [{
116
  "class": defect_name,
117
  "confidence": conf,
 
111
  "camera_id": camera_id,
112
  "status_defect": "NG",
113
  "image_base64": frame_base64,
114
+ # "image_path": filepath,
115
  "detections": [{
116
  "class": defect_name,
117
  "confidence": conf,