We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 019a521 commit 607e99dCopy full SHA for 607e99d
1 file changed
opencv_tools/jade_opencv_process.py
@@ -859,7 +859,6 @@ def opencv_cpu_capture(self):
859
self.JadeLog.DEBUG("相机类型为:{},释放相机资源".format(self.camera_type))
860
self.capture.release()
861
self.capture = cv2.VideoCapture(self.video_path)
862
- self.capture.release()
863
self.JadeLog.INFO("相机类型为:{},使用CPU解码,准备打开相机".format(self.camera_type))
864
if self.device == "ascend":
865
ret,frame = self.capture.read()
0 commit comments