roflcoopter / viseron

Self-hosted, local only NVR and AI Computer Vision software. With features such as object detection, motion detection, face recognition and more, it gives you the power to keep an eye on your home, office or any other place you want to monitor.
MIT License
1.75k stars 179 forks source link

Post Processor - LPR #365

Closed shmrymbd closed 1 year ago

shmrymbd commented 2 years ago

New feature for LPR / ALPR would be good.

roflcoopter commented 2 years ago

Great idea! I have been thinking about it for a while, will add it soon.

roflcoopter commented 1 year ago

@shmrymbd Do you have any good ALPR solution that you have used in the past? Most i can find are paid and i would like to find a free alternative

paulblakely commented 1 year ago

I also have some interest in LPR, and ran across OpenALPR. It looks like they're trying to sell it as a service, but also have the source available at https://github.com/openalpr/openalpr -- could this work?

roflcoopter commented 1 year ago

Not sure, it states here that you need a license to use it: https://pypi.org/project/openalpr/

paulblakely commented 1 year ago

I was able to download the latest windows release (ubuntu is also supported) from https://github.com/openalpr/openalpr/releases and just run it on sample files.

Screenshot 2022-11-28 092748

Perhaps that pypi wrapper only supports the commercial version?

EDIT: After playing with the binary, I noticed there's a -j flag which spits out the result in JSON. I'm not super familiar with python, but perhaps just invoking the binary alpr -j image.jpg and reading that output could work?

roflcoopter commented 1 year ago

Sorry this has taken so much time but this is finally in the dev branch!

It is implemented by the new CodeProject.AI component and you can find the docs here