def initWriter(self):
if not os.path.exists(self.output_path):
os.makedirs(self.output_path)
self._out = cv2.VideoWriter(self.outvideo, self._fourcc, self._fps, (self._imgWidth,self._imgHeight))
self.enabledwriter=True
评论列表
文章目录