To list the objects that you have added to a database, and check whether training was successful, use the following procedure.
To list the objects in a database
(Optional) First list the databases that have been created to store objects. Use the action ListObjectDatabases
:
http://localhost:14000/action=ListObjectDatabases
Media Server returns a list of databases that you have created.
List the objects that exist in one of the databases. Use the action ListObjects
, for example:
http://localhost:14000/action=ListObjects&database=logos
&metadata=true
&trainingoptions=true
&imagestatus=true
Media Server returns a list of objects in the specified database, and the number of training images associated with each object.
If you set the action parameter metadata
to true
, Media Server returns the metadata you have added to the object.
If you set the action parameter trainingoptions
to true
, Media Server returns the training options you have set for the object.
If you set the action parameter imagestatus
to true
, Media Server returns the status of each training image associated with each object.
trained
indicates that training was successful.untrained
, run training for the object using the action BuildObject
.failed
, Media Server could not use the image for training. Remove the failed images using the action RemoveObjectImages
.
|