com.volcengine.model.response.translate.TranslateImageResponse 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.model.response.translate;
import com.alibaba.fastjson.annotation.JSONField;
import com.volcengine.model.response.ResponseMetadata;
import lombok.Data;
import java.util.List;
@Data
public class TranslateImageResponse {
@JSONField(name = "ResponseMetadata")
ResponseMetadata responseMetadata;
@JSONField(name = "Image")
String image;
@JSONField(name = "TextBlocks")
List result;
@Data
public static class TextBlock {
@JSONField(name = "Points")
List points;
@JSONField(name = "DetectedLanguage")
String detectedLanguage;
@JSONField(name = "Text")
String text;
@JSONField(name = "Translation")
String translation;
@JSONField(name = "ForeColor")
List foreColor;
@JSONField(name = "BackColor")
List backColor;
}
@Data
public static class Point {
@JSONField(name = "X")
Integer x;
@JSONField(name = "Y")
Integer y;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy