2025-08-02 14:46:02 +08:00
|
|
|
|
package com.klp.domain.vo;
|
|
|
|
|
|
|
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 图片识别结果视图对象
|
|
|
|
|
|
*
|
|
|
|
|
|
* @author klp
|
|
|
|
|
|
* @date 2025-01-27
|
|
|
|
|
|
*/
|
|
|
|
|
|
@Data
|
|
|
|
|
|
public class ImageRecognitionVo implements Serializable {
|
|
|
|
|
|
|
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 图片URL
|
|
|
|
|
|
*/
|
|
|
|
|
|
private String imageUrl;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 识别类型
|
|
|
|
|
|
*/
|
|
|
|
|
|
private String recognitionType;
|
|
|
|
|
|
|
2025-08-02 15:13:09 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 识别结果属性列表
|
|
|
|
|
|
*/
|
|
|
|
|
|
private List<AttributeVo> attributes;
|
|
|
|
|
|
|
2025-08-02 14:46:02 +08:00
|
|
|
|
/**
|
|
|
|
|
|
* 识别状态:success-成功,failed-失败,processing-处理中
|
|
|
|
|
|
*/
|
|
|
|
|
|
private String status;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 错误信息
|
|
|
|
|
|
*/
|
|
|
|
|
|
private String errorMessage;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 处理时间(毫秒)
|
|
|
|
|
|
*/
|
|
|
|
|
|
private Long processingTime;
|
|
|
|
|
|
|
|
|
|
|
|
|
2025-08-02 15:13:09 +08:00
|
|
|
|
|
2025-08-02 15:49:57 +08:00
|
|
|
|
}
|