package com.sensetime.demo.bean
import com.google.gson.annotations.SerializedName

data class TrackingResult(

        @SerializedName("trace_id")
        var traceId : String = "",
        @SerializedName("verify_score")
        var verifyScore : Float = 0.0f,

        @SerializedName("recognition_id")
        var recognitionId : String = "",
        @SerializedName("recognition_status")
        var recognitionStatus: Int = 0,
        @SerializedName("timestamp")
        var timestamp: Double = 0.0,

        @SerializedName("mask_sign")
        var maskSign: Int = 0, //0：Without a mask, 1：half-worn mask、2：wearing mask

        @SerializedName("safety_hat")
        var safetyHat: Int = 0,//0：without a safety hat、1：half-worn safety hat、2: wearing safety hat

        @SerializedName("attr_info")
        var attrInfo: AttrInfo,

        @SerializedName("face_info")
        var faceInfo : FaceInfoItem,
        @SerializedName("liveness_score")
        var livenessScore : Double = 0.0,

        @SerializedName("recognize_score")
        var recognizeScore : Double = 0.0,

        @SerializedName("track_info")
        var track_infos: List<Tracking> = listOf()
){
    data class Tracking(
            @SerializedName("recognition_id")
            var recognitionId : String = "",

            @SerializedName("recognition_status")
            var recognitionStatus: Int = 0,

            @SerializedName("timestamp")
            var timestamp: Double = 0.0,

            @SerializedName("recognize_score")
            var recognizeScore: Double = 0.0,

            @SerializedName("liveness_score")
            var livenessScore: Double = 0.0,

            @SerializedName("mask_sign")
            var maskSign: Int = 0,

            @SerializedName("safety_hat")
            var safetyHat: Int = 0,

            @SerializedName("attr_info")
            var attrInfo: AttrInfo,

            @SerializedName("face_info")
            var faceInfo : FaceInfoItem =FaceInfoItem()
    )
}
