You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
You are viewing the article in preview mode. It is not live at the moment.
Home > Sighthound ALPR > ALPR - Installation and Setup > ALPR Change Output Location for Mac and Linux
ALPR Change Output Location for Mac and Linux
print icon

Mac/Linux
 

This article will show you how to change the disk location for output data.

 

This will change the startup process found in the Getting Started article:

 

https://support.sighthound.com/kb/article/3-getting-started-with-alpr/

 

If ALPR is running, stop it

 

From the command line, use "docker ps" to get the CONTAINER ID (For this example it is: 1ac6336feaf5)

 docker ps
CONTAINER ID   IMAGE              ....
1ac6336feaf5   sighthound/alpr    ....

 

Use the CONTAINER ID as an argument to the "docker stop " command (this will take a couple of minutes to fully complete)

 docker stop 1ac6336feaf5
1ac6336feaf5

 

Get the location where you want to create the output file structure. On a Mac, you can get a disk name with: ls -l /Volumes

 

Make a new "alpr" directory in that location (example for a disk named USB20FD) with a command like this: mkdir /Volumes/USB20FD/alpr

    

Copy the default directory into the new location with a command like this: cp -R ~/Desktop/Sighthound-ALPR /Volumes/USB20FD/alpr

 

This will take a few minutes to complete. Here are the commands using an external drive named "USB20FD":

 

  ls /Volumes
Macintosh HD	USB20FD
  mkdir /Volumes/USB20FD/alpr
  cp -R ~/Desktop/Sighthound-ALPR /Volumes/USB20FD/alpr

 

Start the services using the new location of the output file in the command:

 

 docker run -d --name sighthound-alpr -p 9600:9600 \
 --restart unless-stopped \
 -v /Volumes/USB20FD/alpr/Sighthound-ALPR:/var/alpr \
 sighthound/alpr 

 

 

scroll to top icon