Sighthound ALPR comes pre-configured with a default Watch Folder that is ready for use, this is if the Getting Started instructions were executed. The default Watch Folder named "watch" is in the Sighthound-ALPR folder, which is in the "~/Desktop" directory by default.
Before analyzing files placed in the "watch" folder, you must first add the "watch" folder as a source inside of ALPR; here is how.
-
Open a web browser and navigate to localhost:9600
-
Click on "Sources"
-
Click "Add Stream" > "Watched Folder"
-
Enter "/var/alpr/watch" as the path directory
-
Begin dropping files in the watch directory
In order to use the Watch Folder feature of Sighthound ALPR, the Docker container running the ALPR Service needs to be given access to the desired folder(s) on your computer.
In the examples we have shown so far, only one specific local folder ("Sighthound-ALPR/watch" on your desktop) has been used for the Watch Folder feature of Sighthound ALPR. It is possible to use as many as you like though. For each folder, you’d like to watch on your system add another mapping into the launch command of your instance. For instance, if you want to watch the "videos" folder on your drive you might do so:
docker run -d --name sighthound-alpr -p 9600:9600 \
--restart unless-stopped \
-v ~/Desktop/Sighthound-ALPR:/var/alpr \
-v /path/to/videos:/var/videos \
sighthound/alpr
When you add a Watch Folder from within Sighthound ALPR’s UI, specify /var/videos as the path. Any files you drop into the folder you defined above will automatically import and be analyzed by ALPR.
You can also of course run without watching anything:
docker run -d --name sighthound-alpr -p 9600:9600 \
--restart unless-stopped \
-v ~/Desktop/Sighthound-ALPR:/var/alpr \
sighthound/alpr