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

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

Not Working #5

Open MannanMalik3998 opened 5 years ago

MannanMalik3998 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)

Takaharayuri122 commented 4 years ago

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

RafeyIqbalRahman commented 4 years ago

Replace the line with this: (cnts, heirarchy) = cv2.findContours(edged.copy(), cv2.RETR_LIST, cv2.CHAIN_APPROX_SIMPLE). This will work.