You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am running your code for car number plate recognition, but it is giving me following error.
File "C:/Users/mujta/Desktop/Wizdojo/upwork projects/car project israel/Speed-Estimation-of-Vehicles-with-Plate-Detection/Speed_Estimation_&_License_Plate_Detection.py", line 886, in
trackMultipleObjects()
File "C:/Users/mujta/Desktop/Wizdojo/upwork projects/car project israel/Speed-Estimation-of-Vehicles-with-Plate-Detection/Speed_Estimation_&_License_Plate_Detection.py", line 837, in trackMultipleObjects
LPN[i] = detection(cropped_image[i])
File "C:/Users/mujta/Desktop/Wizdojo/upwork projects/car project israel/Speed-Estimation-of-Vehicles-with-Plate-Detection/Speed_Estimation_&_License_Plate_Detection.py", line 343, in detection
result = model.predict(each_character)
File "C:\Anaconda\Anaconda3\lib\site-packages\sklearn\svm\base.py", line 548, in predict
y = super(BaseSVC, self).predict(X)
File "C:\Anaconda\Anaconda3\lib\site-packages\sklearn\svm\base.py", line 310, in predict
return predict(X)
File "C:\Anaconda\Anaconda3\lib\site-packages\sklearn\svm\base.py", line 326, in _dense_predict
svm_type = LIBSVM_IMPL.index(self._impl)
AttributeError: 'SVC' object has no attribute '_impl'
Can you please tell that which version of Scikit-learn you have used to train the SVM model. So that I may use the same version to get the code running.
Thanks
The text was updated successfully, but these errors were encountered:
Hi,
I am running your code for car number plate recognition, but it is giving me following error.
File "C:/Users/mujta/Desktop/Wizdojo/upwork projects/car project israel/Speed-Estimation-of-Vehicles-with-Plate-Detection/Speed_Estimation_&_License_Plate_Detection.py", line 886, in
trackMultipleObjects()
File "C:/Users/mujta/Desktop/Wizdojo/upwork projects/car project israel/Speed-Estimation-of-Vehicles-with-Plate-Detection/Speed_Estimation_&_License_Plate_Detection.py", line 837, in trackMultipleObjects
LPN[i] = detection(cropped_image[i])
File "C:/Users/mujta/Desktop/Wizdojo/upwork projects/car project israel/Speed-Estimation-of-Vehicles-with-Plate-Detection/Speed_Estimation_&_License_Plate_Detection.py", line 343, in detection
result = model.predict(each_character)
File "C:\Anaconda\Anaconda3\lib\site-packages\sklearn\svm\base.py", line 548, in predict
y = super(BaseSVC, self).predict(X)
File "C:\Anaconda\Anaconda3\lib\site-packages\sklearn\svm\base.py", line 310, in predict
return predict(X)
File "C:\Anaconda\Anaconda3\lib\site-packages\sklearn\svm\base.py", line 326, in _dense_predict
svm_type = LIBSVM_IMPL.index(self._impl)
AttributeError: 'SVC' object has no attribute '_impl'
Can you please tell that which version of Scikit-learn you have used to train the SVM model. So that I may use the same version to get the code running.
Thanks
The text was updated successfully, but these errors were encountered: