Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to open classification.txt #27

Open
hoangth596 opened this issue Aug 6, 2020 · 2 comments
Open

unable to open classification.txt #27

hoangth596 opened this issue Aug 6, 2020 · 2 comments

Comments

@hoangth596
Copy link

After downloading and running code in Main.py, I always have the same result, i.e. unable to open classifications.txt. I don't understand why. Can anybody help?

@xmb19
Copy link

xmb19 commented Nov 23, 2021

did you find any solution ?

@leegame12138
Copy link

Make Sure you run the program using the in the root file given, In this case the root file is 'OpenCV_3_License_Plate_Recognition_Python'.

Wrong example:
'YourCustomFileName\OpenCV_3_License_Plate_Recognition_Python'

This is because some of the file is open using absolute file path:
imgOriginalScene = cv2.imread("LicPlateImages/1.png")

Alternatively, you can change all the file path from ''LicPlateImages/1.png" to "./LicPlateImages/1.png". But believe me this is troublesome, so lets just use the given file as root file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants