def read(self,training=False,validation=False):
if self.image is None:
return False,None
if validation:
return False,None
pos=int(v.get(cv.CV_CAP_PROP_POS_FRAMES))
image,ig,id=self.localshuffler.feed(self.image,0,pos)
self.image=None
return True,image,id
评论列表
文章目录