You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
Home > Sighthound ALPR > ALPR - Installation and Setup > Mounting a Watch Folder in Docker
Mounting a Watch Folder in Docker
print icon

Default Watch Folder

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.

 

  1. Open a web browser and navigate to localhost:9600

  2. Click on "Sources"

  3. Click "Add Stream" > "Watched Folder"

  4. Enter "/var/alpr/watch" as the path directory

  5. Begin dropping files in the watch directory

Multiple Watch Folders

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

 

scroll to top icon