Import a Classifier

OpenText may provide classifiers that you can use with Media Server to classify images. These classifiers are pre-trained, and to use one you only need to import the training data into your Media Server database.

For a list of the available pre-trained classifiers, see Image Classifiers.

To import a classifier

  1. Go to the support portal and download the pre-trained models package. Ensure the package version matches the version of Media Server that you are using.

  2. Extract the classifier that you want to use.

  3. Import the training data by running the action ImportClassifier, for example if you extracted the classifier to the folder pretrained, in the Media Server installation folder:

    /action=ImportClassifier&classifier=imagenet
    &classifierpath=./pretrained/ImageClassifier_Imagenet.dat

    where,

    classifier The name to give to the imported classifier.
    classifierpath The path of the classifier data file on disk
    classifierdata The classifier data (you can set this as an alternative to classifierpath).

    Media Server imports the data. You can now run classification.