Skip to main content

Process Bulk Images

We provide scripts that you can use to process images in a local folder or from an FTP server. The scripts require Python 3 to work. Check here for the Python installation guide.

Images are in a Local Folder#

  1. Download plate_recognition.py into a folder
  2. Install dependencies by running this command pip install requests==2.27.1 Pillow==8.3.2
  3. Run script plate_recognition.py -a MY_API_KEY /path/to/vehicle-*.jpg
  4. For additional run examples, view the documentation by running this command python plate_recognition.py --help

Images are on an FTP Server#

This script connects to an FTP Server and periodically downloads the images. They are then processed by Snapshot. Both Snapshot on premise and Snapshort cloud are supported.

  1. Download plate_recognition.py and ftp_processor.py into a folder
  2. Install dependencies by running this command pip install requests==2.27.1 Pillow==8.3.2
  3. Run script ftp_processor.py --api-key MY_API_KEY --ftp-host host --ftp-user user1 --ftp-password pass
  4. For additional run examples, view the documentation by running this command python ftp_processor.py --help

Sending Images to our FTP Server#

If you are using Snapshort cloud, you can upload images directly to our FTP server. They will automatically be processed. To enable this service, visit our start page.