Open topic with navigation

# Detect and Read Number Plates

Media Server can detect and read number plates that appear in video.

To detect and read number plates in video

1. Create a new configuration to send to Media Server with the `process` action, or open an existing configuration that you want to modify.

2. In the `[Session]` section, add a new analysis task by setting the `EngineN` parameter. You can give the task any name, for example:

       [Session]
       Engine0=Ingest
       Engine1=ANPR

3. Create a new section in the configuration file to contain the task settings and set the following parameters:

   `Type` | The analysis engine to use. Set this parameter to `numberplate`.
   `Input` | (Optional) The image track to process. If you do not specify an input track, Media Server processes the first track of the correct type that is produced by the ingest engine.
   `Location` | (Set this or `LocationWithPriorities`) A comma-separated list of ISO-3166 codes to specify the locations for which you want to recognize number plates. Specify the primary location first. For example, if you are recognizing number plates in France but also want to recognize plates from Germany and Belgium, set this parameter to `Location=FR,DE,BE`.
   `LocationWithPriorities` | (Set this or `Location`) A comma-separated list of ISO-3166 codes to specify the locations for which you want to recognize number plates, and their relative priorities. For example, if you are recognizing number plates in France but are near the border and also want to recognize plates from Germany and Belgium, you might set `LocationWithPriorities=fr:1.0,de:0.1,be:0.01`. This instructs Media Server that French, German, and Belgian number plates are expected, but German plates are 10 times less likely to be seen than French plates, and Belgian number plates are 100 times less likely to be seen than French plates.
   `Region` | (Optional) The region of interest (ROI) to monitor for number plates (left, top, width, height). If you do not specify a region, Media Server detects and reads number plates anywhere in the scene.
   `RegionUnit` | (Optional) The units used to specify the position and size of the region of interest (`pixel` or `percent`).
   `Sensitivity` | (Optional) The confidence level required to detect a number plate.
   `MinValidScore` | (Optional) The average character score required for a number plate to be recognized.

   For example:

       [ANPR]
       Type=numberplate
       Location=GB
       RegionUnit=percent
       Region=20,10,60,90
       Sensitivity=14

   For more information about the parameters that customize number plate recognition, refer to the Media Server Reference.

4. Save and close the configuration file. Micro Focus recommends that you save your configuration files in the location specified by the `ConfigDirectory` parameter.

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm