package com.heyu.api.baidu.response.others;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.heyu.api.baidu.response.BBaseResp;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/***
 * https://console.bce.baidu.com/support/?_=1740667714316&timestamp=1740669989457#/api?product=AI&project=%E6%96%87%E5%AD%97%E8%AF%86%E5%88%AB&parent=%E5%85%B6%E4%BB%96%E5%9C%BA%E6%99%AFOCR&api=rest%2F2.0%2Focr%2Fv1%2Ffacade&method=post
 *
 *
 * 门脸文字识别
 */
@NoArgsConstructor
@Data
public class BFacadeResp  extends BBaseResp {


    @JsonProperty("log_id")
    private Long logId;
    @JsonProperty("words_result_num")
    private Integer wordsResultNum;
    @JsonProperty("words_result")
    private List<WordsResultDTO> wordsResult;

    @NoArgsConstructor
    @Data
    public static class WordsResultDTO {
        @JsonProperty("words")
        private String words;
        @JsonProperty("brief")
        private String brief;
        @JsonProperty("score")
        private Double score;
    }
}
