Start LPR

Overview

You can use pvs-lpr.shscript to control the LPR software. This you able to

  • install lpr software

  • create a new lpr camera

  • start / stop / restart lpr camera

  • checking lpr running logs

  • listing enabled lpr camera

Just run ./pvs-lpr --help

Create a new LPR camera

To create a new LPR camera, you need to run lpr control script with create operation and follow by camera name. The camera name convention is lpr-cam{id}

./pvs-lpr create lpr-cam1

Update configuration file

To edit lpr configuration file you can use your favorite text editors such as gedit, nano, or vim. Configuration file stored at config/ directory.

You need to change camID, camIP, camURL , camResolution from configuration file

License

After you updated the configuration file, you might not be able to run LPR software. You need to setting software License first. To setup software license you can following below steps:

# Start lpr to get License information
./pvs-lpr start lpr-cam1

Start LPR

# With out GUI
./pvs-lpr start lpr-cam1

# With GUI
./pvs-lpr start lpr-cam1 --demo

Control LPR

# Stop
./pvs-lpr stop lpr-cam1

# Restart
./pvs-lpr restart lpr-cam1

# Check log
./pvs-lpr logs lpr-cam1

# Listing cameras
./pvs-lpr ls

Last updated

Was this helpful?