Media Server 25.3
Media Server Help

# SetVehicleModelImageANPRLocation

Associates one or more number plate locations with a vehicle model training image.

When you specify the number plate location you can provide an image that shows an entire vehicle, rather than providing a cropped image that shows only the vehicle's grille.

Changing the number plate location that is assigned to an image invalidates the training, so after using this action you must re-train Media Server by running the action BuildVehicleModel or BuildAllVehicleModels.

Type: synchronous

Parameter | Description | Required
--- | --- | ---
`anprlocation` | The country of origin for the vehicle's license plate. You can specify a comma-separated list of locations. For a list of values that you can specify, use the action ListNumberPlateLocations. If you run the action without this parameter, any existing location is removed. | No
`database` | The name of the database that contains the training image. | Yes
`identifier` | The identifier of the vehicle model. | Yes
`imagelabel` | The image label. | Yes

## Example

This example instructs Media Server that the vehicle in the training image has a German license plate (location `DE`):

`curl http://localhost:14000/action=SetVehicleModelImageANPRLocation -F database=Cars -F identifier=FordFocusRS -F imagelabel=image1 -F anprlocation=DE`

## Response

    <autnresponse>
      <action>SETVEHICLEMODELIMAGEANPRLOCATION</action>
      <response>SUCCESS</response>
      <responsedata></responsedata>
    </autnresponse>

Copyright 2025 Open Text
Version 25.3 | Last updated July 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Media Server 25.3

Topic Title: SetVehicleModelImageANPRLocation