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;
|
}
|
}
|