To recognize the make and model of vehicles detected by number plate recognition, use the following procedure.
To recognize vehicles
Create a new configuration to send to Media Server with the process
action, or open an existing configuration that you want to modify.
In the [Analysis]
section, add a new analysis task by setting the AnalysisEngineN
parameter. You can give the task any name, for example:
[Analysis] AnalysisEngine0=ANPR AnalysisEngine1=VehicleMakeModel
Create a new configuration section to contain the task settings, and set the following parameters:
Type
|
The analysis engine to use. Set this parameter to vehiclemodel . |
Input
|
The track to process. HPE recommends that you use the DataWithSource or ResultWithSource track from a number plate analysis task, but you can also use the ResultWithSource track from a text detection task. |
Database
|
The name of the vehicle model database to use to identify vehicles. For information about creating this database, see Obtain Images for Training. |
Perspective
|
(Optional) If the video frames show the vehicle from a different perspective to that used in the training images, set this parameter to TRUE so that Media Server compensates accordingly. |
ColorRegion
|
(Optional) The region to output to the ColorRegionWithSource output track, so that you can configure an analysis task to identify the color of the vehicle. If you don't specify a region, Media Server uses a default region. |
For example:
[VehicleMakeModel] Type=vehiclemodel Input=ANPR.DataWithSource Database=vehicles Perspective=FALSE
For more information about the parameters that you can use, including the values that they accept, refer to the Media Server Reference.
Save and close the configuration file. HPE recommends that you save your configuration files in the location specified by the ConfigDirectory
parameter.
|