A number/license plate reading system built over the live stream environment of Agora.io
Download the weights.npz file from here. and paste it to the main directory.This file contains a pretrained model.
- All python libraries given in requirements.txt
- An Agora app-id
- Latest version of any text editor that supports python, preferably 'Sublime Text3'
- Create an agora.io account
- Sign-up and login here.
- Navigate to the 'project management' tab in the dashboard.
- Create a new project with a name of your choice.
- Procure the app-id by copying it onto your clipboard and pasting it somewhere accessible from where you will later access while developing the code.
-
Install all the dependencies given in requirements.txt using:
pip install -r requirements.txt
sudo pip install -r requirements.txt
-
Download a zip file of this repository
-
Download chromedriver.exe and weights.npz
-
Open detect.py in sublime or any compatible text editor of your choice.
- paste the app-id and link to the chromedriver.exe as directed on line 20 of the code and a channel name on line 21.
- paste the link to a high resolution(approx 2000x1500) image on line 30
- give links to in.png on line 161 and weights.npz on line 164 as directed in the code.
- give a link to out.png on line 194
- Go here
- paste app-id and channel name in the respective input boxes on sender and reciever side.
- click on join to activate call on sender and receiver side.
-
Execute detect.py from the master folder on the terminal
-
The desired result will be in out.png
There you go!