Closed ckavdjr closed 6 months ago
I found the solution.
if self.ct[self.current_symbol] > 60: # Change frames here
for i in ascii_uppercase:
if i == self.current_symbol:
continue
tmp = self.ct[self.current_symbol] - self.ct[i]
if tmp < 0:
tmp *= -1
if tmp <= 20: # Make this lower than the above frames
self.ct["blank"] = 0
for i in ascii_uppercase:
self.ct[i] = 0
return
self.ct["blank"] = 0
It's taking more than 30 seconds without interruption to capture a single character. Is there any way to shorten this to maybe 5 sec.