xiangpei
2024-08-02 9814046268f11b43fc674142db0fb3b690c3fbaf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
package com.ycl.platform.domain.result.UY;
 
import com.ycl.platform.domain.result.BaseResult;
import lombok.Data;
import org.springframework.data.mongodb.core.index.TextIndexed;
import org.springframework.data.mongodb.core.mapping.Document;
 
import java.util.List;
 
/**
 * 视频标注数据传输对象
 *
 * @author gonghl
 * @since 2024-4-19 11:52:09
 */
@Data
@Document(collection = "uy_osd_monitor")
public class OsdMonitorResult extends BaseResult {
 
    /**
     * 区域路径信息
     */
    @TextIndexed
    private String arealayerPath;
 
    /**
     * 区域名称
     */
    @TextIndexed
    private String arealayername;
 
    /**
     * 区域编码
     */
    private String arealayerno;
 
    /**
     * 设备 ID
     */
    @TextIndexed
    private String deviceId;
 
    /**
     * 设备名称
     */
    @TextIndexed
    private String deviceName;
 
    /**
     * 图片上的字幕时间和摄像机拉码流时间差是否大于最大值
     */
    private String diff;
 
    /**
     * 图片上的字幕时间和摄像机拉码流时间差,单位(秒), -1 表示未知
     */
    private Integer diffTime;
 
    /**
     * IP 地址
     */
    @TextIndexed
    private String ip;
 
    /**
     * 图片 ocr 识别结果
     */
    private OcrResult ocrResult;
 
    /**
     * 图片地址
     */
    private String imgPath;
 
    /**
     * 状态码,0:正常
     */
    private Integer statusCode;
 
    /**
     * 图片上的字幕时间和摄像机拉码流时间差,单位(秒)
     */
    private String osdFormat;
 
    /**
     * osd 信息
     */
    private OsdInfo osdInfo;
 
    /**
     * 图片上的字幕时间
     */
    private String osdTime;
 
    /**
     * 摄像机标签
     */
    private List<String> tags;
 
    /**
     * 更新时间
     */
    private String updateTime;
 
    /**
     * 视频码流获取时间
     */
    private String videoGetTime;
 
    /**
     * OCR识别结果的内部类
     */
    @Data
    public static class OcrResult {
        private List<String> data;
    }
 
    /**
     * osd信息的内部类
     */
    @Data
    public static class OsdInfo {
        private String timeInfo;
        private String positionInfo;
        private String cameraInfo;
    }
}