通用文字识别服务Demo小坑填补

前段时间遇上了Google翻译无法在IDEa里面翻译了,然后就有了自行注册翻译调用API的AppId和Key

最后发现有道的API还有图文识别功能,Demo也提供了,准备run一把的时候,坑也就来了,Maven配置没有给,最后自己按照感觉把依赖补全了

Demo来了

 主方法

package org.example;

import org.apache.http.HttpEntity;
import org.apache.http.NameValuePair;
import org.apache.http.client.entity.UrlEncodedFormEntity;
import org.apache.http.client.methods.CloseableHttpResponse;
import org.apache.http.client.methods.HttpPost;
import org.apache.http.impl.client.CloseableHttpClient;
import org.apache.http.impl.client.HttpClients;
import org.apache.http.message.BasicNameValuePair;
import org.apache.http.util.EntityUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


import java.io.*;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.*;

public class OcrV3Demo {

    private static Logger logger = LoggerFactory.getLogger(OcrV3Demo.class);

    private static final String YOUDAO_URL = "https://openapi.youdao.com/ocrapi";

    private static final String APP_KEY = "你的应用ID";

    private static final String APP_SECRET = "你的应用密钥";

    public static void main(String[] args) throws IOException {

        Map<String,String> params = new HashMap<String,String>();
        System.out.println("请送入图片本地地址");
        Scanner scanner = new Scanner(System.in);
        String next = scanner.next();
        String q = loadAsBase64(next);
        String salt = String.valueOf(System.currentTimeMillis());
        String detectType = "10012";
        String imageType = "1";
        String langType = "zh-CHS";
        params.put("detectType", detectType);
        params.put("imageType", imageType);
        params.put("langType", langType);
        params.put("img", q);
        params.put("docType", "json");
        params.put("signType", "v3");
        String curtime = String.valueOf(System.currentTimeMillis() / 1000);
        params.put("curtime", curtime);
        String signStr = APP_KEY + truncate(q) + salt + curtime + APP_SECRET;
        String sign = getDigest(signStr);
        params.put("appKey", APP_KEY);
        params.put("salt", salt);
        params.put("sign", sign);
        String result = requestForHttp(YOUDAO_URL,params);
        /** 处理结果 */
        System.out.println(result);

    }

    public static String requestForHttp(String url,Map<String,String> params) throws IOException {
        String result = "";

        /** 创建HttpClient */
        CloseableHttpClient httpClient = HttpClients.createDefault();

        /** httpPost */
        HttpPost httpPost = new HttpPost(url);
        List<NameValuePair> paramsList = new ArrayList<NameValuePair>();
        Iterator<Map.Entry<String,String>> it = params.entrySet().iterator();
        while(it.hasNext()){
            Map.Entry<String,String> en = it.next();
            String key = en.getKey();
            String value = en.getValue();
            paramsList.add(new BasicNameValuePair(key,value));
        }
        httpPost.setEntity(new UrlEncodedFormEntity(paramsList,"UTF-8"));
        CloseableHttpResponse httpResponse = httpClient.execute(httpPost);
        try{
            HttpEntity httpEntity = httpResponse.getEntity();
            result = EntityUtils.toString(httpEntity,"UTF-8");
            EntityUtils.consume(httpEntity);
        }finally {
            try{
                if(httpResponse!=null){
                    httpResponse.close();
                }
            }catch(IOException e){
                logger.info("## release resouce error ##" + e);
            }
        }
        return result;
    }

    /**
     * 生成加密字段
     */
    public static String getDigest(String string) {
        if (string == null) {
            return null;
        }
        char hexDigits[] = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};
        byte[] btInput = string.getBytes();
        try {
            MessageDigest mdInst = MessageDigest.getInstance("SHA-256");
            mdInst.update(btInput);
            byte[] md = mdInst.digest();
            int j = md.length;
            char str[] = new char[j * 2];
            int k = 0;
            for (byte byte0 : md) {
                str[k++] = hexDigits[byte0 >>> 4 & 0xf];
                str[k++] = hexDigits[byte0 & 0xf];
            }
            return new String(str);
        } catch (NoSuchAlgorithmException e) {
            return null;
        }
    }

    public static String loadAsBase64(String imgFile)
    {//将图片文件转化为字节数组字符串,并对其进行Base64编码处理

        File file = new File(imgFile);
        if(!file.exists()){
            logger.error("文件不存在");
            return null;
        }
        InputStream in = null;
        byte[] data = null;
        //读取图片字节数组
        try
        {
            in = new FileInputStream(imgFile);
            data = new byte[in.available()];
            in.read(data);
            in.close();
        }
        catch (IOException e)
        {
            e.printStackTrace();
        }
        //对字节数组Base64编码
        return Base64.getEncoder().encodeToString(data);//返回Base64编码过的字节数组字符串
    }

    public static String truncate(String q) {
        if (q == null) {
            return null;
        }
        int len = q.length();
        String result;
        return len <= 20 ? q : (q.substring(0, 10) + len + q.substring(len - 10, len));
    }
}

Maven配置

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns="http://maven.apache.org/POM/4.0.0"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>org.example</groupId>
    <artifactId>untitled-2</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>jar</packaging>
    <properties>
        <maven.compiler.source>11</maven.compiler.source>
        <maven.compiler.target>11</maven.compiler.target>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>
    <dependencies>
        <dependency>
            <groupId>org.slf4j</groupId>
            <artifactId>log4j-over-slf4j</artifactId>
            <version>1.7.25</version>
        </dependency>
        <dependency>
            <groupId>com.github.tomakehurst</groupId>
            <artifactId>wiremock-standalone</artifactId>
            <version>2.18.0</version>
        </dependency>
        <dependency>
            <groupId>org.apache.httpcomponents</groupId>
            <artifactId>httpclient</artifactId>
            <version>4.5.9</version>
        </dependency>
    </dependencies>

    <build>
        <plugins>
            <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <configuration>
                    <appendAssemblyId>false</appendAssemblyId>
                    <descriptorRefs>
                        <descriptorRef>jar-with-dependencies</descriptorRef>
                    </descriptorRefs>
                    <archive>
                        <manifest>
                            <!-- 此处指定main方法入口的class -->
                            <mainClass>org.example.OcrV3Demo</mainClass>
                        </manifest>
                    </archive>
                </configuration>
                <executions>
                    <execution>
                        <id>make-assembly</id>
                        <phase>package</phase>
                        <goals>
                            <goal>assembly</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
        </plugins>
    </build>
</project>

案例图片

最后输出结果

rock@rock-5b:~/Desktop$ java -jar youdao.jar 
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
请送入图片本地地址
/home/rock/Desktop/16.png
{"requestId":"ed2efe81-b9f8-40f0-bcf0-fb2d73784ac6","errorCode":"0","Result":{"orientation":"UP","regions":[{"boundingBox":"55,21,876,21,876,96,55,96","dir":"h","lang":"zh","lines":[{"boundingBox":"116,21,876,21,876,62,116,62","text_height":38,"words":[{"boundingBox":"116,24,142,24,142,62,116,62","word":"赵"},{"boundingBox":"143,24,170,24,170,62,143,62","word":"长"},{"boundingBox":"171,24,201,24,201,62,171,62","word":"河"},{"boundingBox":"202,24,232,24,232,62,202,62","word":"知"},{"boundingBox":"233,24,263,24,263,62,233,62","word":"道"},{"boundingBox":"264,24,294,23,294,61,264,62","word":"多"},{"boundingBox":"295,23,325,23,325,61,295,61","word":"半"},{"boundingBox":"326,23,355,23,355,61,326,61","word":"是"},{"boundingBox":"357,23,384,23,384,61,357,61","word":"孙"},{"boundingBox":"385,23,415,23,415,61,385,61","word":"教"},{"boundingBox":"416,23,446,23,446,61,416,61","word":"习"},{"boundingBox":"447,23,474,23,474,61,447,61","word":"帮"},{"boundingBox":"475,23,505,23,505,61,475,61","word":"自"},{"boundingBox":"506,23,536,23,536,61,506,61","word":"己"},{"boundingBox":"537,23,567,22,567,60,537,61","word":"顶"},{"boundingBox":"568,22,598,22,598,60,568,60","word":"了"},{"boundingBox":"599,22,629,22,629,60,599,60","word":","},{"boundingBox":"630,22,659,22,659,60,630,60","word":"低"},{"boundingBox":"661,22,688,22,688,60,661,60","word":"眉"},{"boundingBox":"689,22,720,22,720,60,689,60","word":"顺"},{"boundingBox":"721,22,751,22,751,60,721,60","word":"目"},{"boundingBox":"752,22,782,22,782,60,752,60","word":"道"},{"boundingBox":"783,22,817,22,817,60,783,60","word":":"},{"boundingBox":"818,22,843,22,843,60,818,60","word":"“"},{"boundingBox":"844,22,876,21,876,59,844,60","word":"多"}],"style":"printing","text":"赵长河知道多半是孙教习帮自己顶了,低眉顺目道:“多","lang":"zh"},{"boundingBox":"55,63,210,63,210,96,55,96","text_height":33,"words":[{"boundingBox":"55,63,83,63,83,96,55,96","word":"谢"},{"boundingBox":"84,63,112,63,112,96,84,96","word":"教"},{"boundingBox":"113,63,145,63,145,96,113,96","word":"习"},{"boundingBox":"146,63,210,63,210,96,146,96","word":".....\""}],"style":"printing","text":"谢教习.....\"","lang":"en"}]},{"boundingBox":"55,134,876,134,876,212,55,212","dir":"h","lang":"zh","lines":[{"boundingBox":"130,134,876,134,876,176,130,176","text_height":42,"words":[{"boundingBox":"130,134,148,134,148,176,130,176","word":"“"},{"boundingBox":"149,134,174,134,174,176,149,176","word":"又"},{"boundingBox":"175,134,206,134,206,176,175,176","word":"来"},{"boundingBox":"207,134,235,134,235,176,207,176","word":"这"},{"boundingBox":"236,134,263,134,263,176,236,176","word":"副"},{"boundingBox":"265,134,295,134,295,176,265,176","word":"文"},{"boundingBox":"296,134,327,134,327,176,296,176","word":"化"},{"boundingBox":"328,134,355,134,355,176,328,176","word":"人"},{"boundingBox":"357,134,384,134,384,176,357,176","word":"的"},{"boundingBox":"386,134,416,134,416,176,386,176","word":"德"},{"boundingBox":"417,134,445,134,445,176,417,176","word":"性"},{"boundingBox":"446,134,474,134,474,176,446,176","word":"。"},{"boundingBox":"475,134,505,134,505,176,475,176","word":"”"},{"boundingBox":"506,134,537,134,537,176,506,176","word":"孙"},{"boundingBox":"538,134,568,134,568,176,538,176","word":"教"},{"boundingBox":"569,134,597,134,597,176,569,176","word":"习"},{"boundingBox":"598,134,626,134,626,176,598,176","word":"骂"},{"boundingBox":"627,134,658,134,658,176,627,176","word":"道"},{"boundingBox":"660,134,695,134,695,176,660,176","word":":"},{"boundingBox":"697,134,727,134,727,176,697,176","word":"“"},{"boundingBox":"728,134,750,134,750,176,728,176","word":"你"},{"boundingBox":"752,134,779,134,779,176,752,176","word":"他"},{"boundingBox":"781,134,811,134,811,176,781,176","word":"妈"},{"boundingBox":"812,134,842,134,842,176,812,176","word":"真"},{"boundingBox":"844,134,876,134,876,176,844,176","word":"是"}],"style":"printing","text":"“又来这副文化人的德性。”孙教习骂道:“你他妈真是","lang":"zh"},{"boundingBox":"55,174,254,174,254,212,55,212","text_height":38,"words":[{"boundingBox":"55,174,83,174,83,212,55,212","word":"来"},{"boundingBox":"84,174,114,174,114,212,84,212","word":"考"},{"boundingBox":"115,174,143,174,143,212,115,212","word":"秀"},{"boundingBox":"144,174,171,174,171,212,144,212","word":"才"},{"boundingBox":"172,174,202,174,202,212,172,212","word":"的"},{"boundingBox":"203,174,240,174,240,212,203,212","word":"?"},{"boundingBox":"241,174,254,174,254,212,241,212","word":"\""}],"style":"printing","text":"来考秀才的?\"","lang":"zh"}]},{"boundingBox":"116,249,313,249,313,289,116,289","dir":"h","lang":"zh","lines":[{"boundingBox":"116,249,313,249,313,289,116,289","text_height":38,"words":[{"boundingBox":"116,251,144,251,144,289,116,289","word":"赵"},{"boundingBox":"145,251,174,250,174,288,145,289","word":"长"},{"boundingBox":"176,250,203,250,203,288,176,288","word":"河"},{"boundingBox":"204,250,238,250,238,288,204,288","word":":"},{"boundingBox":"239,250,269,249,269,287,239,288","word":"“"},{"boundingBox":"270,249,292,249,292,287,270,287","word":"?"},{"boundingBox":"293,249,313,249,313,287,293,287","word":"”"}],"style":"printing","text":"赵长河:“?”","lang":"zh"}]},{"boundingBox":"117,328,345,328,345,361,117,361","dir":"h","lang":"zh","lines":[{"boundingBox":"117,328,345,328,345,361,117,361","text_height":33,"words":[{"boundingBox":"117,328,142,328,142,361,117,361","word":"感"},{"boundingBox":"143,328,175,328,175,361,143,361","word":"谢"},{"boundingBox":"176,328,206,328,206,361,176,361","word":"你"},{"boundingBox":"207,328,235,328,235,361,207,361","word":"还"},{"boundingBox":"236,328,263,328,263,361,236,361","word":"不"},{"boundingBox":"264,328,294,328,294,361,264,361","word":"对"},{"boundingBox":"295,328,325,328,325,361,295,361","word":"了"},{"boundingBox":"326,328,345,328,345,361,326,361","word":"?"}],"style":"printing","text":"感谢你还不对了?","lang":"zh"}]},{"boundingBox":"55,403,876,403,876,591,55,591","dir":"h","lang":"zh","lines":[{"boundingBox":"133,403,876,403,876,441,133,441","text_height":38,"words":[{"boundingBox":"133,403,147,403,147,441,133,441","word":"“"},{"boundingBox":"148,403,170,403,170,441,148,441","word":"刚"},{"boundingBox":"171,403,203,403,203,441,171,441","word":"才"},{"boundingBox":"204,403,234,403,234,441,204,441","word":"你"},{"boundingBox":"235,403,262,403,262,441,235,441","word":"先"},{"boundingBox":"263,403,293,403,293,441,263,441","word":"跟"},{"boundingBox":"294,403,326,403,326,441,294,441","word":"张"},{"boundingBox":"327,403,356,403,356,441,327,441","word":"全"},{"boundingBox":"357,403,384,403,384,441,357,441","word":"讲"},{"boundingBox":"386,403,415,403,415,441,386,441","word":"和"},{"boundingBox":"416,403,446,403,446,441,416,441","word":"气"},{"boundingBox":"447,403,476,403,476,441,447,441","word":","},{"boundingBox":"477,403,507,403,507,441,477,441","word":"有"},{"boundingBox":"508,403,537,403,537,441,508,441","word":"卵"},{"boundingBox":"539,403,568,403,568,441,539,441","word":"用"},{"boundingBox":"569,403,599,403,599,441,569,441","word":"没"},{"boundingBox":"600,403,629,403,629,441,600,441","word":"?"},{"boundingBox":"630,403,660,403,660,441,630,441","word":"现"},{"boundingBox":"661,403,691,403,691,441,661,441","word":"在"},{"boundingBox":"692,403,719,403,719,441,692,441","word":"呢"},{"boundingBox":"720,403,749,403,749,441,720,441","word":"?"},{"boundingBox":"751,403,782,403,782,441,751,441","word":"谁"},{"boundingBox":"784,403,813,403,813,441,784,441","word":"不"},{"boundingBox":"814,403,844,403,844,441,814,441","word":"畏"},{"boundingBox":"845,403,876,403,876,441,845,441","word":"你"}],"style":"printing","text":"“刚才你先跟张全讲和气,有卵用没?现在呢?谁不畏你","lang":"zh"},{"boundingBox":"55,439,876,439,876,477,55,477","text_height":38,"words":[{"boundingBox":"55,439,78,439,78,477,55,477","word":"三"},{"boundingBox":"79,439,111,439,111,477,79,477","word":"分"},{"boundingBox":"112,439,142,439,142,477,112,477","word":"!"},{"boundingBox":"143,439,173,439,173,477,143,477","word":"和"},{"boundingBox":"174,439,203,439,203,477,174,477","word":"气"},{"boundingBox":"204,439,234,439,234,477,204,477","word":"是"},{"boundingBox":"235,439,265,439,265,477,235,477","word":"这"},{"boundingBox":"266,439,295,439,295,477,266,477","word":"么"},{"boundingBox":"297,439,326,439,326,477,297,477","word":"来"},{"boundingBox":"327,439,354,439,354,477,327,477","word":"的"},{"boundingBox":"356,439,383,439,383,477,356,477","word":"!"},{"boundingBox":"384,439,414,439,414,477,384,477","word":"”"},{"boundingBox":"415,439,447,439,447,477,415,477","word":"孙"},{"boundingBox":"448,439,477,439,477,477,448,477","word":"教"},{"boundingBox":"478,439,508,439,508,477,478,477","word":"习"},{"boundingBox":"509,439,541,439,541,477,509,477","word":"冷"},{"boundingBox":"542,439,572,439,572,477,542,477","word":"笑"},{"boundingBox":"573,439,600,439,600,477,573,477","word":"道"},{"boundingBox":"601,439,636,439,636,477,601,477","word":":"},{"boundingBox":"637,439,666,439,666,477,637,477","word":"“"},{"boundingBox":"667,439,690,439,690,477,667,477","word":"你"},{"boundingBox":"691,439,721,439,721,477,691,477","word":"杀"},{"boundingBox":"722,439,751,439,751,477,722,477","word":"洛"},{"boundingBox":"752,439,780,439,780,477,752,477","word":"振"},{"boundingBox":"781,439,810,439,810,477,781,477","word":"武"},{"boundingBox":"812,439,841,439,841,477,812,477","word":"的"},{"boundingBox":"842,439,876,439,876,477,842,477","word":"时"}],"style":"printing","text":"三分!和气是这么来的!”孙教习冷笑道:“你杀洛振武的时","lang":"zh"},{"boundingBox":"55,478,860,478,860,516,55,516","text_height":38,"words":[{"boundingBox":"55,478,83,478,83,516,55,516","word":"候"},{"boundingBox":"84,478,114,478,114,516,84,516","word":"老"},{"boundingBox":"115,478,142,478,142,516,115,516","word":"子"},{"boundingBox":"143,478,173,478,173,516,143,516","word":"在"},{"boundingBox":"174,478,204,478,204,516,174,516","word":"场"},{"boundingBox":"205,478,235,478,235,516,205,516","word":","},{"boundingBox":"236,478,265,478,265,516,236,516","word":"见"},{"boundingBox":"267,478,294,478,294,516,267,516","word":"你"},{"boundingBox":"295,478,325,478,325,516,295,516","word":"豪"},{"boundingBox":"326,478,356,478,356,516,326,516","word":"烈"},{"boundingBox":"357,478,384,478,384,516,357,516","word":"有"},{"boundingBox":"385,478,412,478,412,516,385,516","word":"种"},{"boundingBox":"414,478,443,478,443,516,414,516","word":","},{"boundingBox":"444,478,474,478,474,516,444,516","word":"分"},{"boundingBox":"475,478,505,478,505,516,475,516","word":"明"},{"boundingBox":"506,478,536,478,536,516,506,516","word":"天"},{"boundingBox":"537,478,567,478,567,516,537,516","word":"生"},{"boundingBox":"568,478,600,478,600,516,568,516","word":"匪"},{"boundingBox":"601,478,628,478,628,516,601,516","word":"类"},{"boundingBox":"629,478,657,478,657,516,629,516","word":","},{"boundingBox":"658,478,690,478,690,516,658,516","word":"才"},{"boundingBox":"691,478,721,478,721,516,691,516","word":"多"},{"boundingBox":"722,478,749,478,749,516,722,516","word":"提"},{"boundingBox":"750,478,780,478,780,516,750,516","word":"点"},{"boundingBox":"781,478,811,478,811,516,781,516","word":"几"},{"boundingBox":"812,478,839,478,839,516,812,516","word":"句"},{"boundingBox":"840,478,860,478,860,516,840,516","word":","}],"style":"printing","text":"候老子在场,见你豪烈有种,分明天生匪类,才多提点几句,","lang":"zh"},{"boundingBox":"55,517,876,517,876,555,55,555","text_height":38,"words":[{"boundingBox":"55,517,80,517,80,555,55,555","word":"行"},{"boundingBox":"82,517,111,517,111,555,82,555","word":"走"},{"boundingBox":"112,517,142,517,142,555,112,555","word":"江"},{"boundingBox":"143,517,173,517,173,555,143,555","word":"湖"},{"boundingBox":"174,517,203,517,203,555,174,555","word":"方"},{"boundingBox":"204,517,234,517,234,555,204,555","word":"能"},{"boundingBox":"235,517,265,517,265,555,235,555","word":"不"},{"boundingBox":"266,517,293,517,293,555,266,555","word":"坠"},{"boundingBox":"294,517,324,517,324,555,294,555","word":"我"},{"boundingBox":"325,517,354,517,354,555,325,555","word":"们"},{"boundingBox":"356,517,385,517,385,555,356,555","word":"圣"},{"boundingBox":"386,517,416,517,416,555,386,555","word":"教"},{"boundingBox":"417,517,444,517,444,555,417,555","word":"威"},{"boundingBox":"445,517,475,517,475,555,445,555","word":"风"},{"boundingBox":"476,517,508,517,508,555,476,555","word":"!"},{"boundingBox":"509,517,539,517,539,555,509,555","word":"不"},{"boundingBox":"540,517,569,517,569,555,540,555","word":"然"},{"boundingBox":"571,517,600,517,600,555,571,555","word":"你"},{"boundingBox":"601,517,628,517,628,555,601,555","word":"以"},{"boundingBox":"630,517,659,517,659,555,630,555","word":"为"},{"boundingBox":"660,517,690,517,690,555,660,555","word":"老"},{"boundingBox":"691,517,718,517,718,555,691,555","word":"子"},{"boundingBox":"719,517,751,517,751,555,719,555","word":"跟"},{"boundingBox":"752,517,782,517,782,555,752,555","word":"你"},{"boundingBox":"783,517,810,517,810,555,783,555","word":"玩"},{"boundingBox":"812,517,841,517,841,555,812,555","word":"青"},{"boundingBox":"842,517,876,517,876,555,842,555","word":"眼"}],"style":"printing","text":"行走江湖方能不坠我们圣教威风!不然你以为老子跟你玩青眼","lang":"zh"},{"boundingBox":"55,553,434,553,434,591,55,591","text_height":38,"words":[{"boundingBox":"55,553,80,553,80,591,55,591","word":"有"},{"boundingBox":"82,553,109,553,109,591,82,591","word":"加"},{"boundingBox":"110,553,140,553,140,591,110,591","word":","},{"boundingBox":"141,553,170,553,170,591,141,591","word":"是"},{"boundingBox":"171,553,201,553,201,591,171,591","word":"因"},{"boundingBox":"202,553,234,553,234,591,202,591","word":"为"},{"boundingBox":"235,553,265,553,265,591,235,591","word":"你"},{"boundingBox":"266,553,293,553,293,591,266,591","word":"屁"},{"boundingBox":"294,553,324,553,324,591,294,591","word":"股"},{"boundingBox":"325,553,355,553,355,591,325,591","word":"嫩"},{"boundingBox":"356,553,385,553,385,591,356,591","word":"吗"},{"boundingBox":"386,553,414,553,414,591,386,591","word":"!"},{"boundingBox":"415,553,434,553,434,591,415,591","word":"”"}],"style":"printing","text":"有加,是因为你屁股嫩吗!”","lang":"zh"}]},{"boundingBox":"117,629,514,629,514,667,117,667","dir":"h","lang":"zh","lines":[{"boundingBox":"117,629,514,629,514,667,117,667","text_height":38,"words":[{"boundingBox":"117,629,143,629,143,667,117,667","word":"天"},{"boundingBox":"144,629,174,629,174,667,144,667","word":"生"},{"boundingBox":"175,629,206,629,206,667,175,667","word":"匪"},{"boundingBox":"207,629,232,629,232,667,207,667","word":"类"},{"boundingBox":"233,629,256,629,256,667,233,667","word":"…"},{"boundingBox":"257,629,287,629,287,667,257,667","word":"…"},{"boundingBox":"288,629,317,629,317,667,288,667","word":"赵"},{"boundingBox":"319,629,346,629,346,667,319,667","word":"长"},{"boundingBox":"347,629,374,629,374,667,347,667","word":"河"},{"boundingBox":"376,629,405,629,405,667,376,667","word":"有"},{"boundingBox":"406,629,436,629,436,667,406,667","word":"些"},{"boundingBox":"437,629,467,629,467,667,437,667","word":"无"},{"boundingBox":"468,629,496,629,496,667,468,667","word":"语"},{"boundingBox":"497,629,514,629,514,667,497,667","word":"。"}],"style":"printing","text":"天生匪类……赵长河有些无语。","lang":"zh"}]},{"boundingBox":"55,708,846,708,846,781,55,781","dir":"h","lang":"zh","lines":[{"boundingBox":"117,708,846,708,846,741,117,741","text_height":33,"words":[{"boundingBox":"117,708,145,708,145,741,117,741","word":"果"},{"boundingBox":"146,708,174,708,174,741,146,741","word":"然"},{"boundingBox":"175,708,204,708,204,741,175,741","word":"没"},{"boundingBox":"205,708,235,708,235,741,205,741","word":"有"},{"boundingBox":"236,708,266,708,266,741,236,741","word":"无"},{"boundingBox":"267,708,296,708,296,741,267,741","word":"来"},{"boundingBox":"297,708,325,708,325,741,297,741","word":"由"},{"boundingBox":"326,708,356,708,356,741,326,741","word":"的"},{"boundingBox":"357,708,386,708,386,741,357,741","word":"爱"},{"boundingBox":"387,708,415,708,415,741,387,741","word":"憎"},{"boundingBox":"416,708,446,708,446,741,416,741","word":","},{"boundingBox":"447,708,476,708,476,741,447,741","word":"一"},{"boundingBox":"477,708,507,708,507,741,477,741","word":"件"},{"boundingBox":"508,708,540,708,540,741,508,741","word":"事"},{"boundingBox":"541,708,570,708,570,741,541,741","word":"都"},{"boundingBox":"572,708,599,708,599,741,572,741","word":"有"},{"boundingBox":"600,708,628,708,628,741,600,741","word":"两"},{"boundingBox":"629,708,656,708,656,741,629,741","word":"面"},{"boundingBox":"657,708,689,708,689,741,657,741","word":","},{"boundingBox":"690,708,722,708,722,741,690,741","word":"杀"},{"boundingBox":"723,708,750,708,750,741,723,741","word":"洛"},{"boundingBox":"751,708,781,708,781,741,751,741","word":"振"},{"boundingBox":"782,708,812,708,812,741,782,741","word":"武"},{"boundingBox":"813,708,846,708,846,741,813,741","word":"那"}],"style":"printing","text":"果然没有无来由的爱憎,一件事都有两面,杀洛振武那","lang":"zh"},{"boundingBox":"55,743,556,743,556,781,55,781","text_height":38,"words":[{"boundingBox":"55,743,81,743,81,781,55,781","word":"事"},{"boundingBox":"82,743,111,743,111,781,82,781","word":","},{"boundingBox":"113,743,142,743,142,781,113,781","word":"方"},{"boundingBox":"143,743,171,743,171,781,143,781","word":"舵"},{"boundingBox":"172,743,201,743,201,781,172,781","word":"主"},{"boundingBox":"202,743,234,743,234,781,202,781","word":"不"},{"boundingBox":"236,743,263,743,263,781,236,781","word":"爽"},{"boundingBox":"264,743,291,743,291,781,264,781","word":","},{"boundingBox":"292,743,324,743,324,781,292,781","word":"孙"},{"boundingBox":"326,743,355,743,355,781,326,781","word":"教"},{"boundingBox":"356,743,386,743,386,781,356,781","word":"习"},{"boundingBox":"387,743,417,743,417,781,387,781","word":"倒"},{"boundingBox":"418,743,445,743,445,781,418,781","word":"是"},{"boundingBox":"446,743,476,743,476,781,446,781","word":"很"},{"boundingBox":"477,743,507,743,507,781,477,781","word":"欣"},{"boundingBox":"508,743,535,743,535,781,508,781","word":"赏"},{"boundingBox":"536,743,556,743,556,781,536,781","word":"。"}],"style":"printing","text":"事,方舵主不爽,孙教习倒是很欣赏。","lang":"zh"}]}],"exif":"UP","scene":"screen_shot"}}

 别问我为什么不用阿里的,因为我没钱

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值