GetObjectClassRecognizerSnapshotStatistics

Returns statistics about the performance of a recognizer snapshot.

Snapshots are generated automatically during training, but only when you enable them. For more information about snapshots, see Training Requirements and the documentation for the action SetObjectClassRecognizerTrainingOption.

Before attempting to view statistics, you must generate the statistics by running the action TestObjectClassRecognizerSnapshot.

Type: synchronous

Parameter Description Required
recognizer The name of the recognizer. Yes

Example

/action=GetObjectClassRecognizerSnapshotStatistics&recognizer=vehicles

Response

The response includes statistics for one or more snapshots.

The AP and mAP scores are given in the range 0 to 1 (not as a percentage in the range 0-100).

<autnresponse>
    <action>GETOBJECTCLASSRECOGNIZERSNAPSHOTSTATISTICS</action>
    <response>SUCCESS</response>
    <responsedata>
        <snapshot>
            <snapshotindex>0</snapshotindex>
            <maximagesize>608</maximagesize>
            <overallstatistics>
                <AP>0.46</AP>
                <mAP50>0.57</mAP50>
                <mAP75>0.44</mAP75>
            </overallstatistics>
            <classstatistics>
                <class>
                    <identifier>car</identifier>
                    <AP>0.51</AP>
                    <mAP50>0.63</mAP50>
                    <mAP75>0.52</mAP75>
                </class>
                <class>
                    <identifier>van</identifier>
                    <AP>0.41</AP>
                    <mAP50>0.49</mAP50>
                    <mAP75>0.41</mAP75>
                </class>
                <class>
                    <identifier>motorcycle</identifier>
                    <AP>0.62</AP>
                    <mAP50>0.75</mAP50>
                    <mAP75>0.60</mAP75>
                 </class>
            </classstatistics>
        </snapshot>
        <snapshot>
            <snapshotindex>1</snapshotindex>
            <maximagesize>320</maximagesize>
            ...
            ...
        </snapshot>
        <snapshot>
            <snapshotindex>2</snapshotindex>
            ...
            ...
        </snapshot>
    </responsedata>
</autnresponse>