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

com.volcengine.service.visual.model.response.MultilangOCRResponse Maven / Gradle / Ivy

There is a newer version: 1.0.192
Show newest version
package com.volcengine.service.visual.model.response;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.List;

@Data
public class MultilangOCRResponse extends VisualBaseResponse {
    
    @JSONField(name = "data")
    MultilangOCRData data;

    @Data
    public static class MultilangOCRData {
        
        @JSONField(name = "ocr_infos")
        List ocrInfos;
    }

    @Data
    public static class MultilangTextResult {
        @JSONField(name = "lang")
        String lang;

        @JSONField(name = "prob")
        Float prob;

        @JSONField(name = "text")
        String text;

        @JSONField(name = "rect")
        List> rect;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy