To list the vehicle models that you have added to a database, and check whether training was successful, use the following procedure.
To list the vehicle models in a database
(Optional) First list the databases that have been created to store vehicle models. Use the action ListVehicleModelDatabases
:
http://localhost:14000/action=ListVehicleModelDatabases
Media Server returns a list of databases that you have created.
List the vehicle models that exist in one of the databases. Use the action ListVehicleModels
, for example:
http://localhost:14000/action=ListVehicleModels&database=Cars
&metadata=true
&imagestatus=true
Media Server returns a list of vehicle models in the specified database, and the number of training images associated with each model.
If you set the action parameter metadata
to true
, Media Server returns the metadata you have added to each vehicle model.
If you set the action parameter imagestatus
to true
, Media Server returns the status of each training image associated with each vehicle model.
The status
element indicates the status of training:
trained
indicates that training was successful.untrained
indicates that training has not been attempted. Run training for the vehicle model using the action BuildVehicleModel
, or run training for all vehicle models that have incomplete training using the action BuildAllVehicleModels
.failed
indicates that Media Server could not use the image for training. Remove the failed image using the action RemoveVehicleModelImages
.hasimagedata
element indicates whether the training image is stored in the database. If the value of this element is false
, the image has been removed from the database by the action NullVehicleModelImageData
. Images that have been removed and have a status of untrained
cannot be trained, so HPE recommends you remove these images with the action RemoveVehicleModelImages
.
|