Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
self.frame_p_m = int(round(time.time() * 1000))
self.frame = None
self.gray_frame = None
self.detects = 0
self.detect_t = 0
self.ar_dict_name = cv2.aruco.DICT_6X6_250
self.ar_dict = cv2.aruco.getPredefinedDictionary(self.ar_dict_name)
self._marker_reset()
self.code_latest = ''
self.code_latest_rect = (0,0,0,0)
self.code_latest_view = 0
self.beep = Beep()
self.font = ImageFont.truetype(TTFFONT,32)
self.fontbold = ImageFont.truetype(TTFFONTBOLD,32)