Aqsa-K / Car-Number-Plate-Detection-OpenCV-Python

Detecting Number plate from images of cars using openCV
86 stars 50 forks source link

It is not Working #1

Closed anandraj8756 closed 5 years ago

anandraj8756 commented 5 years ago

new, cnts, _) = cv2.findContours(edged.copy(), cv2.RETR_LIST, cv2.CHAIN_APPROX_SIMPLE) ValueError: not enough values to unpack (expected 3, got 2)

amaadmirza commented 5 years ago

change this line like

cnts, new = cv2.findContours(edged.copy(), cv2.RETR_LIST, cv2.CHAIN_APPROX_SIMPLE)