Image Classification

Image classification classifies images. The input images could be entire images or video frames, or regions of images or video frames. Classification chooses between the classes that you have created within a classifier.

Before using image classification, you must train a classifier. For instructions that describe how to train HPE Media Server, refer to the HPE Media Server Administration Guide.

This section describes the parameters that you can use to configure image classification.

Configuration Parameter Description
ClassificationThreshold The minimum confidence score necessary for HPE Media Server to output a classification result.
Classifier The classifier to use for classification.
GPUBatchingDuration The maximum amount of time to wait, before sending a batch of video frames to the GPU for analysis.
GPUNumParallel The maximum number of video frames to analyze concurrently using the GPU (per CPU thread).
Input The image track to process.
NumParallel The maximum number of CPU threads to use for analysis.
Priors (Deprecated) The probabilities that object classes will be seen in video.
Region A region of the frame to restrict processing to.
RegionUnit The units that the Region parameter uses to specify the size and position of a region.
RestrictToInputRegion Specifies whether to analyze a region of the input image or video frame that is specified in the input record, instead of the entire image.
SampleInterval The interval at which frames are selected to be analyzed.
SyncDatabase Specifies whether to synchronize with the training database before beginning the analysis task.
Type The analysis engine to use. Set this parameter to ObjectClass.

Output Tracks

Output track Type Description
Result ObjectClassResult Contains a record for each object class that is detected in the video.
ResultWithSource ObjectClassResultAndImage Contains the same information as the Result track, but each record also includes the best source frame.

ObjectClassResult

Field name Type Description
classification Classification The result of classification.
classifier String The name of the classifier that was used to perform classification.

ObjectClassResultAndImage

Field name Type Description
classification Classification The result of classification.
classifier String The name of the classifier that was used to perform classification.
image ImageData The source frame

_HP_HTML5_bannerTitle.htm