MicrocontrollersAndMore / OpenCV_3_License_Plate_Recognition_Python

https://www.youtube.com/watch?v=fJcl6Gw1D8k
525 stars 317 forks source link

Facing Problem #8

Open tazul5263 opened 6 years ago

tazul5263 commented 6 years ago

Hello, I've faced some errors. Please look at it... When I try to run the main.py file, then it is showed. image

haoyu12S commented 6 years ago

It says clearly, you don't have a model named ml. First check your opencv Version. If it is 2.x, you can try cv2.KNearest(), if you are using 3.X, I think you need to re-install openCV again, because you lost some packets.

haoyu12S commented 6 years ago

It says clearly, you don't have a model named ml. First check your opencv Version. If it is 2.x, you can try cv2.KNearest(), if you are using 3.X, I think you need to re-install openCV again, because you lost some packets.

On Thu, Apr 5, 2018 at 6:25 PM, tazul5263 notifications@github.com wrote:

Hello, I've faced some errors. Please look at it... When I try to run the main.py file, then it is showed. [image: image] https://user-images.githubusercontent.com/36704440/38396615-d878daec-395a-11e8-8c95-400eecb82479.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MicrocontrollersAndMore/OpenCV_3_License_Plate_Recognition_Python/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/AdcvR9cgZsNvU_BFT6-OVM-QAgdpfWMDks5tlqf1gaJpZM4TJTVZ .

chamamme commented 6 years ago

if the solution @haoyu12S stated did not work make sure there's no file in the same directory name cv2.py