StmRecognition

A detection result object is provided by StmDetection to IStmFlowDelegate. It captures the result of a detection session.

Interface

data class StmRecognition(
    /**
     * Classifier ID based on the enums listed in IStmDetectionConfig.
     *  - GeneralDetection
     *  - CsaDetection
     */
    val id: String,
    /**
     * Classifier name based on the enums listed in IStmDetectionConfig.
     *  - GeneralDetection
     *  - CsaDetection
     */
    val name: String,
    /**
     * Confidence of the founded classifier from 0 - 1.
     */
    val confidence: Float,
    /**
     * Detection bounding box.
     */
    val location: Rectangle)

Usage

StmRecognition is used for the IStmFlowDelegate.stmDetectionResult() callback, when the detections process is done.

results matching ""

    No results matching ""