Giter Club home page Giter Club logo

clever-scientist / tess4android Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zsmartercn/tess4android

0.0 1.0 0.0 49.56 MB

A new fork base on tess-two and Tesseract 4.0.0

Java 6.07% Makefile 0.26% C++ 30.24% C 59.49% CMake 0.25% Shell 1.57% M4 0.13% PostScript 0.01% HTML 0.31% Roff 1.18% SAS 0.05% Smalltalk 0.01% WebAssembly 0.05% Assembly 0.06% Module Management System 0.06% DIGITAL Command Language 0.04% Objective-C 0.03% Batchfile 0.01% Awk 0.16%

tess4android's Introduction

Tess4Android

A fork is based on tess-two and Tesseract OCR Engine. We porting Tesseract 4.0(final) to Android base on tess-two and rewrite dot product function with ARM NEON. And we use openCV to pre-process the photos we need to identify. The project include a full OCR demo App.

This project works with:

  • Tesseract 4.0.0
  • tess-two 9.0.0
  • Leptonica 1.74.3
  • libjpeg 9b
  • libpng 1.6.25
  • openCV 4.0.1

Pre-requisites

  • Android 5.0 or higher

Usage

  1. Referring to the app module in this project, you can import ocr_zs module into your app project as a library, or add the following dependencies directly, then you can use the full functions of tess4Android. The text types supported by tess4Android are simplified Chinese, English and digital.

     dependencies {
     	implementation 'com.zsmarter:Tess4Android:1.0.1'
     }
    
  2. If you only want to use the tess-two interface that supports Tesseract 4.0, you can refer to the ocr_zs module to import the tess-two module into your app project as a library, or add the following dependencies directly. in addition, you should prepare a v3.05 or higher trained data file for a language. Data files must be copied to the Android device in a subdirectory named tessdata.

     dependencies {
         	implementation 'com.googlecode:tess-two-api:1.0.1'
     }
    

Building

If you want to modify the Tess4Android code, you can build the project locally. See BUILDING.md.

Versions

Release points are tagged with version numbers. A change to the major version number indicates an API change making that version incompatible with previous versions.

The change log shows what's new in each version.

License

(C) Copyright 2018, ZSmarter Technology Co, Ltd.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

tess4android's People

Contributors

zsmartercn avatar

Watchers

Clever avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.