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 or import a pre-trained classifier.
Configuration Parameter | Description |
---|---|
ClassificationThreshold | The minimum confidence score necessary for 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 name of the track to analyze. |
MaxClassResults | The maximum number of classifications to produce for each input record or event. |
MaxInputQueueLength | Can be used to place a limit on latency. |
NumParallel | The maximum number of CPU threads to use for analysis. |
Region | A region of the frame to restrict processing to. |
SampleInterval | The interval at which frames are selected to be analyzed. |
SegmentDuration | The maximum duration of a record in the SegmentedResult or SegmentedResultWithSource track. |
SyncDatabase | Specifies whether to synchronize with the training database before beginning the analysis task. |
Type | The analysis engine to use. Set this parameter to ImageClassification . |
VariableState | Specifies whether there are multiple classes in the image classifier that represent different states of the same type of object. |
Output Tracks
The following table describes the tracks that are generated by this engine. The Output column indicates whether the information contained in the track is included by default in the output created by an output task (when you don't set the Input
parameter for the output task).
Output track | Description | Output |
---|---|---|
Data
|
Contains one or more records, describing the analysis results, for each input record. To limit the number of classifications for each input record, set the MaxClassResults parameter. |
No |
DataWithSource
|
The same as the |
No |
Result
|
Contains one or more records, describing the analysis results, for each event.
To limit the number of classifications for each event, set the MaxClassResults parameter. |
Yes |
ResultWithSource
|
The same as the |
No |
SegmentedResult
|
(Available only when processing video). The same as the |
Yes |
SegmentedResultWithSource
|
(Available only when processing video). The same as the |
No |
Start
|
The same as the |
No |
End
|
The same as the |
No |
For more information see Classification Results or use the action GetExampleRecord.