All Projects → devlucem → Android-Text-Scanner

devlucem / Android-Text-Scanner

Licence: GPL-3.0 License
Read text and numbers with android camera OCR

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Android-Text-Scanner

VehicleInfoOCR
Use your camera to read number plates and obtain vehicle details. Simple, ad-free and faster alternative to existing playstore apps
Stars: ✭ 35 (+29.63%)
Mutual labels:  ocr, camera, ocr-android, ocr-recognition
OCR-Reader
An Android app to extract text from camera preview directly.
Stars: ✭ 43 (+59.26%)
Mutual labels:  ocr, camera, ocr-android, ocr-recognition
Zxingcamera
Camera for Android,身份证号码识别 (本地,实时)
Stars: ✭ 34 (+25.93%)
Mutual labels:  ocr, camera, ocr-recognition
EverTranslator
Translate text anytime and everywhere, even you are gaming!
Stars: ✭ 59 (+118.52%)
Mutual labels:  ocr, ocr-android, ocr-recognition
IdCardRecognition
Android id card recognition based on OCR. 安卓基于OCR的身份证识别。
Stars: ✭ 35 (+29.63%)
Mutual labels:  ocr, ocr-android, ocr-recognition
Awesome Deep Text Detection Recognition
A curated list of resources for text detection/recognition (optical character recognition ) with deep learning methods.
Stars: ✭ 2,282 (+8351.85%)
Mutual labels:  ocr, ocr-recognition
Deep Text Recognition Benchmark
Text recognition (optical character recognition) with deep learning methods.
Stars: ✭ 2,665 (+9770.37%)
Mutual labels:  ocr, ocr-recognition
Awesome Ocr
Stars: ✭ 198 (+633.33%)
Mutual labels:  ocr, ocr-recognition
deep-learning-for-document-dewarping
An application of high resolution GANs to dewarp images of perturbed documents
Stars: ✭ 100 (+270.37%)
Mutual labels:  ocr, ocr-recognition
Trwebocr
开源易用的中文离线OCR,识别率媲美大厂,并且提供了易用的web页面及web的接口,方便人类日常工作使用或者其他程序来调用~
Stars: ✭ 618 (+2188.89%)
Mutual labels:  ocr, ocr-recognition
Opencv
📷 Computer-Vision Demos
Stars: ✭ 244 (+803.7%)
Mutual labels:  ocr, ocr-recognition
ID-Card-Passport-Recognition-SDK-Android
On-Device ID Card & Passport & Driver License Recognition SDK for Android
Stars: ✭ 223 (+725.93%)
Mutual labels:  ocr, ocr-recognition
Textshot
Python tool for grabbing text via screenshot
Stars: ✭ 1,163 (+4207.41%)
Mutual labels:  ocr, ocr-recognition
python-ocr-example
The code for the blogpost A Python Approach to Character Recognition
Stars: ✭ 54 (+100%)
Mutual labels:  ocr, ocr-recognition
Attention Ocr
A Tensorflow model for text recognition (CNN + seq2seq with visual attention) available as a Python package and compatible with Google Cloud ML Engine.
Stars: ✭ 844 (+3025.93%)
Mutual labels:  ocr, ocr-recognition
receipt-manager-app
Receipt parser application written in dart.
Stars: ✭ 140 (+418.52%)
Mutual labels:  ocr, ocr-recognition
Transformer-ocr
Handwritten text recognition using transformers.
Stars: ✭ 92 (+240.74%)
Mutual labels:  ocr, ocr-recognition
nimtesseract
A Tesseract OCR wrapper for Nim
Stars: ✭ 23 (-14.81%)
Mutual labels:  ocr, ocr-recognition
Easyocr
Java OCR 识别组件(基于Tesseract OCR 引擎)。能自动完成图片清理、识别 CAPTCHA 验证码图片内容的一体化工作。Java Image cleanup, OCR recognition component (based Tesseract OCR engine, automatically cleanup image and identification CAPTCHA verification code picture content).
Stars: ✭ 466 (+1625.93%)
Mutual labels:  ocr, ocr-recognition
Scanner
二维码/条码识别、身份证识别、银行卡识别、车牌识别、图片文字识别、黄图识别、驾驶证(驾照)识别
Stars: ✭ 547 (+1925.93%)
Mutual labels:  ocr, camera

Text and Numbers Recognizer Lucem

This library is an easy to implement and use for scanning text and numbers using the camera (Optical Character Recognition) on android devices.

You can view my my app here where i use this library Scan Credo I appreciate your download and rating of this app.

Scan Sample

Implementation

Add jitpack to repositories in the root build.gradle file

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Add this dependency line in your build.gradle app level

dependencies {
	implementation 'com.github.Lucem-Anb:android-text-scanner:@Version'
}

😃😃😃😃😃😃😃😃

Usage

This library uses the SurfaceView to display the camera. Detected values are accessed using a listener. There are two ways of using this library, let's start with the simple one

Option 1

Create the ScannerView in your Activity or fragment

<com.lucem.anb.characterscanner.ScannerView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:id="@+id/scanner"/>

Start the scan whenever you want

ScannerView scanner = findViewById(R.id.scanner);
scanner.setOnDetectedListener(this, new ScannerListener() {
            @Override
            public void onDetected(String detections) {
                Toast.makeText(MainActivity.this, detections, Toast.LENGTH_SHORT).show();
            }

            @Override
            public void onStateChanged(String state, int i) {
                Log.d("state", state);
            }
        });

Option 2

Create a surface view in your activity or fragment

<SurfaceView
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:id="@+id/surface"/>

Initialize your Scanner and pass your activity and surface view

SurfaceView surfaceView = findViewById(R.id.surface);
Scanner scanner = new Scanner(this, surfaceView, new ScannerListener() {
        @Override
        public void onDetected(String detections) {
            Toast.makeText(MainActivity.this, detections, Toast.LENGTH_SHORT).show();
        }

        @Override
        public void onStateChanged(String state, int i) {
            Log.d("state", state);
        }
    });
    

More Customization

showToasts(boolean); Enable or disable recognition engine alert

getState(); return a String of the current state

onStateChanged(); Called when the scanning state is changed

setScanning(boolean) Start or Stop scanning state

Latest Version: 0.1.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].