A classifier contains object classes. When you run classification, Media Server uses a single classifier and classifies images into the classes in that classifier.
To create a classifier
Use the CreateClassifier
action with the classifier
parameter.
classifier
|
The name of the new classifier (maximum 254 bytes). |
For example:
curl http://localhost:14000 -F action=CreateClassifier
-F classifier=vehicles
(Optional) Set training options on the classifier (such as selecting the type of classifier) using the SetClassifierTrainingOption
action:
classifier
|
The name of the classifier that you created in the previous step. |
key
|
The name of the training option to set. |
value
|
The value for the training option. |
For example:
curl http://localhost:14000 -F action=SetClassifierTrainingOption
-F classifier=vehicles
-F key=classifierType
-F value=maxvote
|