Tensorflow-Number-Plate-Recognition
Tensorflow-Number-Plate-Recognition copied to clipboard
'map' object is not reversible
this is the code error i got when i test your detect.py after downloading the weights file
Traceback (most recent call last):
File "detect.py", line 189, in <module>
pt1 = tuple(reversed(map(int, pt1)))
TypeError: 'map' object is not reversible
to fix it , i change line 189 and 190 with
pt1 = tuple(reversed(list(map(int, pt1))))
pt2 = tuple(reversed(list(map(int, pt2))))