Skip to content

Commit 607e99d

Browse files
committed
update VideoBaseCapture
1 parent 019a521 commit 607e99d

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

opencv_tools/jade_opencv_process.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,6 @@ def opencv_cpu_capture(self):
859859
self.JadeLog.DEBUG("相机类型为:{},释放相机资源".format(self.camera_type))
860860
self.capture.release()
861861
self.capture = cv2.VideoCapture(self.video_path)
862-
self.capture.release()
863862
self.JadeLog.INFO("相机类型为:{},使用CPU解码,准备打开相机".format(self.camera_type))
864863
if self.device == "ascend":
865864
ret,frame = self.capture.read()

0 commit comments

Comments
 (0)