All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.volcengine.model.imagex.GetImageOCRResponse Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
package com.volcengine.model.imagex;

import com.alibaba.fastjson.annotation.JSONField;
import com.volcengine.model.response.ResponseMetadata;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class GetImageOCRResponse {
    @JSONField(name = "ResponseMetadata")
    ResponseMetadata responseMetadata;

    @JSONField(name = "Result")
    GetImageOCRResponseBean result;

    @Data
    public static class GetImageOCRResponseBean {
        @JSONField(name = "Scene")
        String scene;

        @JSONField(name = "GeneralResult")
        List generalResult;

        @JSONField(name = "LicenseResult")
        Map licenseResult;
    }

    @Data
    public static class GetImageOCRGeneralTextInfo {
        @JSONField(name = "Content")
        String content;
        @JSONField(name = "Location")
        List> location;
        @JSONField(name = "Confidence")
        String confidence;
    }

    @Data
    public static class GetImageOCRLicenseTextInfo {
        @JSONField(name = "Content")
        String content;
        @JSONField(name = "Location")
        List location;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy