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

ALPR Unconstrained #12

Open
Baxulio opened this issue Dec 22, 2023 · 3 comments
Open

ALPR Unconstrained #12

Baxulio opened this issue Dec 22, 2023 · 3 comments

Comments

@Baxulio
Copy link

Baxulio commented Dec 22, 2023

Hello Dear Mr. Stéphane Charette,

I tried the DarkPlate executable app with the config files and weghts you provided and it works! But if I replace them with the files and weights from this url (http://sergiomsilva.com/pubs/alpr-unconstrained/) it doesn't work.

App exits here:

bahman@Omen:~/projects/DarkPlate/build/src$ ./DarkPlate ../../media/m2.mp4
Looking for ./DarkPlate.cfg
Looking for ../DarkPlate.cfg
Looking for ../../DarkPlate.cfg
Looking for nn/DarkPlate.cfg
Looking for ../nn/DarkPlate.cfg
Looking for ../../nn/DarkPlate.cfg
Found neural network: ../../nn/DarkPlate.cfg

How can I adopt aforementioned pretrained models? Thanks in advance!

@stephanecharette
Copy link
Owner

You replaced the neural network files with files from someone else, trained in a different way, perhaps not even Darknet/YOLO files, and now you'd like me to debug things for you?

Stick with the neural network files I provide, or train your own as described in this video: https://www.youtube.com/watch?v=jz97_-PCxl4

@Baxulio
Copy link
Author

Baxulio commented Dec 23, 2023

Good Morning Dear Mr. Stéphane Charette,

In this published paper http://sergiomsilva.com/pubs/alpr-unconstrained/ authors already provided well-trained models, including Darknet trained network. One can get them by this script:

wget -c -N http://sergiomsilva.com/data/eccv2018/ocr/ocr-net.cfg     -P data/ocr/
wget -c -N http://sergiomsilva.com/data/eccv2018/ocr/ocr-net.names   -P data/ocr/
wget -c -N http://sergiomsilva.com/data/eccv2018/ocr/ocr-net.weights -P data/ocr/
wget -c -N http://sergiomsilva.com/data/eccv2018/ocr/ocr-net.data    -P data/ocr/

I just wondered whether it's possible to adopt these files in DarkPlate without retraining or anything else. Now I understand that this way doesn't work and DarkPlate has its own structure of files.

Anyway thank you for the great project and your answer!

@stephanecharette
Copy link
Owner

I have no idea, you'd have to try it out.

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

2 participants