├── .gitattributes ├── .gitignore ├── README.md ├── clean.bat ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── img └── ocr.png ├── refresh.bat ├── settings.gradle └── src ├── main ├── java │ └── com │ │ └── bestvike │ │ └── ocr │ │ ├── OcrApplication.java │ │ ├── aliyun │ │ ├── AliyunApi.java │ │ ├── AliyunConfiguration.java │ │ ├── AliyunUtils.java │ │ └── entity │ │ │ ├── AliyunOcrPoint.java │ │ │ ├── AliyunOcrRequest.java │ │ │ ├── AliyunOcrResponse.java │ │ │ ├── AliyunOcrWordInfo.java │ │ │ └── AliyunResponse.java │ │ ├── collection │ │ ├── CharSequenceIterable.java │ │ └── CharSequenceIterator.java │ │ ├── controller │ │ └── OcrController.java │ │ ├── reflect │ │ ├── GenericType.java │ │ └── GenericTypeReference.java │ │ └── util │ │ ├── Convert.java │ │ ├── GridImage.java │ │ ├── HtmlUtils.java │ │ └── RestTemplateUtils.java └── resources │ ├── application.properties │ └── static │ ├── img │ ├── demo.jpg │ ├── demo_table.jpg │ └── demo_table2.jpg │ └── index.htm └── test └── java └── com └── bestvike └── ocr └── OcrApplicationTests.java /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/README.md -------------------------------------------------------------------------------- /clean.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/clean.bat -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/gradlew.bat -------------------------------------------------------------------------------- /img/ocr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/img/ocr.png -------------------------------------------------------------------------------- /refresh.bat: -------------------------------------------------------------------------------- 1 | @ECHO OFF 2 | gradlew --refresh-dependencies %* 3 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'ocr' 2 | -------------------------------------------------------------------------------- /src/main/java/com/bestvike/ocr/OcrApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/java/com/bestvike/ocr/OcrApplication.java -------------------------------------------------------------------------------- /src/main/java/com/bestvike/ocr/aliyun/AliyunApi.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/java/com/bestvike/ocr/aliyun/AliyunApi.java -------------------------------------------------------------------------------- /src/main/java/com/bestvike/ocr/aliyun/AliyunConfiguration.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/java/com/bestvike/ocr/aliyun/AliyunConfiguration.java -------------------------------------------------------------------------------- /src/main/java/com/bestvike/ocr/aliyun/AliyunUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/java/com/bestvike/ocr/aliyun/AliyunUtils.java -------------------------------------------------------------------------------- /src/main/java/com/bestvike/ocr/aliyun/entity/AliyunOcrPoint.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/java/com/bestvike/ocr/aliyun/entity/AliyunOcrPoint.java -------------------------------------------------------------------------------- /src/main/java/com/bestvike/ocr/aliyun/entity/AliyunOcrRequest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/java/com/bestvike/ocr/aliyun/entity/AliyunOcrRequest.java -------------------------------------------------------------------------------- /src/main/java/com/bestvike/ocr/aliyun/entity/AliyunOcrResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/java/com/bestvike/ocr/aliyun/entity/AliyunOcrResponse.java -------------------------------------------------------------------------------- /src/main/java/com/bestvike/ocr/aliyun/entity/AliyunOcrWordInfo.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/java/com/bestvike/ocr/aliyun/entity/AliyunOcrWordInfo.java -------------------------------------------------------------------------------- /src/main/java/com/bestvike/ocr/aliyun/entity/AliyunResponse.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/java/com/bestvike/ocr/aliyun/entity/AliyunResponse.java -------------------------------------------------------------------------------- /src/main/java/com/bestvike/ocr/collection/CharSequenceIterable.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/java/com/bestvike/ocr/collection/CharSequenceIterable.java -------------------------------------------------------------------------------- /src/main/java/com/bestvike/ocr/collection/CharSequenceIterator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/java/com/bestvike/ocr/collection/CharSequenceIterator.java -------------------------------------------------------------------------------- /src/main/java/com/bestvike/ocr/controller/OcrController.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/java/com/bestvike/ocr/controller/OcrController.java -------------------------------------------------------------------------------- /src/main/java/com/bestvike/ocr/reflect/GenericType.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/java/com/bestvike/ocr/reflect/GenericType.java -------------------------------------------------------------------------------- /src/main/java/com/bestvike/ocr/reflect/GenericTypeReference.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/java/com/bestvike/ocr/reflect/GenericTypeReference.java -------------------------------------------------------------------------------- /src/main/java/com/bestvike/ocr/util/Convert.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/java/com/bestvike/ocr/util/Convert.java -------------------------------------------------------------------------------- /src/main/java/com/bestvike/ocr/util/GridImage.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/java/com/bestvike/ocr/util/GridImage.java -------------------------------------------------------------------------------- /src/main/java/com/bestvike/ocr/util/HtmlUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/java/com/bestvike/ocr/util/HtmlUtils.java -------------------------------------------------------------------------------- /src/main/java/com/bestvike/ocr/util/RestTemplateUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/java/com/bestvike/ocr/util/RestTemplateUtils.java -------------------------------------------------------------------------------- /src/main/resources/application.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/resources/application.properties -------------------------------------------------------------------------------- /src/main/resources/static/img/demo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/resources/static/img/demo.jpg -------------------------------------------------------------------------------- /src/main/resources/static/img/demo_table.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/resources/static/img/demo_table.jpg -------------------------------------------------------------------------------- /src/main/resources/static/img/demo_table2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/resources/static/img/demo_table2.jpg -------------------------------------------------------------------------------- /src/main/resources/static/index.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/main/resources/static/index.htm -------------------------------------------------------------------------------- /src/test/java/com/bestvike/ocr/OcrApplicationTests.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/timandy/table_ocr/HEAD/src/test/java/com/bestvike/ocr/OcrApplicationTests.java --------------------------------------------------------------------------------