com.volcengine.service.visual.model.response.OCRNormalResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of volc-sdk-java Show documentation
Show all versions of volc-sdk-java Show documentation
The VOLC Engine SDK for Java
package com.volcengine.service.visual.model.response;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import java.util.List;
@Data
public class OCRNormalResponse extends VisualBaseResponse {
@JSONField(name = "data")
OCRNormalData data;
@Data
public static class OCRNormalData {
@JSONField(name = "line_texts")
List lineTexts;
@JSONField(name = "line_rects")
List lineRects;
@JSONField(name = "chars")
List> chars;
@JSONField(name = "polygons")
List>> polygons;
}
@Data
public static class Rect {
@JSONField(name = "x")
Integer x;
@JSONField(name = "y")
Integer y;
@JSONField(name = "width")
Integer width;
@JSONField(name = "height")
Integer height;
}
@Data
public static class CharInfo {
@JSONField(name = "x")
Integer x;
@JSONField(name = "y")
Integer y;
@JSONField(name = "width")
Integer width;
@JSONField(name = "height")
Integer height;
@JSONField(name = "score")
Float score;
@JSONField(name = "char")
String ch;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy