Add an Object to a Database (Using a Single Action)

You can train Media Server to recognize an object by sending a single action (TrainObject).

Running this action is equivalent to running the following actions in the following order:

The TrainObject action is atomic, so that any interruption to the server does not leave the database in an inconsistent state.

Alternatively, you can train Media Server by sending these actions individually. You might want to do this if you are building a front end application that trains Media Server in response to user input. For more information about how to do this, see Add an Object to a Database (Using Separate Steps).

To add an object to a database (using a single action)