# Create a Classifier

Image classification classifies images or video frames into the classes that are defined by a classifier.

To create a classifier

1. 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

2. (Optional) Set training options on the classifier (such as selecting the number of training iterations) 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=iterations
                                   -F value=1000

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm