matthewearl / deep-anpr

Using neural networks to build an automatic number plate recognition system
MIT License
1.85k stars 697 forks source link

a problem in detect.py #76

Open Mr-Yellow opened 7 years ago

Mr-Yellow commented 7 years ago

Traceback (most recent call last): File "detect.py", line 221, in pt1 = tuple(reversed(map(int, pt1))) TypeError: argument to reversed() must be a sequence

how to deal with ?

suminb commented 6 years ago

The simplest (but not necessarily the most elegant) solution I could think of:

pt1 = tuple(reversed(list(map(int, pt1))))