Hi I am trying to setup OpenCV Licence Plate Detection System on Ubuntu 16.
I used this for OpenCV installation
sudo apt-get install libopencv-dev python-opencv
When I am trying to run the script with python I am getting this
libdc1394 error: Failed to initialize libdc1394
Traceback (most recent call last):
File "Main.py", line 7, in <module>
import DetectChars
File "/home/tushar/OpenCV_3_License_Plate_Recognition_Python-master/DetectChars.py", line 14, in <module>
kNearest = cv2.ml.KNearest_create()
AttributeError: 'module' object has no attribute 'ml'
The same Script is working fine on windows installation of OpenCV and Python2.
I am using This Repository
Please Help me with this Thanks in Advance.