def _close(self):
if self.verbose:
print('Closing window')
print('\n--------------------------------------')
print('Colorspace:', self.cspace)
if self.cspace == 'Grayscale':
print('Lower bound:', self._lowerb[0])
print('Upper bound:', self._upperb[0])
else:
print('Lower bounds:', self._lowerb)
print('Upper bounds:', self._upperb)
print('--------------------------------------\n')
cv2.destroyWindow(self.name)
评论列表
文章目录