Questions tagged [text-recognition]
314 questions
8
votes
2 answers
Object Detection for android with tesseract or OpenCV
I have successfully integrated tesseract into my android app and it reads whatever the image that I capture but with very less accuracy. But most of the time I do not get the correct text after capturing because some text around the region of…

TharakaNirmana
- 10,237
- 8
- 50
- 69
7
votes
1 answer
Why FirebaseVisionImage.fromMediaImage() produces OutOfMemoryError
CameraX is build, analyze() method is called and an image is passed and then closed (deleted) with close() method. From this image FirebaseVisionImage is created and passed for processing (text recognition). Code samples and code labs differs and…

Sorel
- 91
- 6
7
votes
0 answers
Text Recognization :: Google ML Kit does not recognizes seven segment display numbers and decimals
I am trying to get numbers from seven segment display image using ML kit but it does not recognizes the numbers or decimals from the image. It recognizes the normal text and number from image but not from the seven segment display image. Please…

Srinivas Guni
- 2,234
- 2
- 16
- 17
7
votes
1 answer
TensorFlow - Text recognition in image
I am new to TensorFlow and to Deep Learning.
I am trying to recognize text in naturel scene images. I used to work with an OCR but I would like to use Deep Learning. The text has always the same format :
ABC-DEF 88:88.
What I have done is recognize…

A. Attia
- 1,630
- 3
- 20
- 29
6
votes
0 answers
How to detect only one character in Firebase ML-Kit?
I set up ML-Kit like AndroidExample and using on-device recognition mode.
It's working so well.
but
If we have a single character like 'A','5','K','9' it can't recognize anything! it only works for more than one length of string!
I need to recognize…

Hossein Yousefpour
- 3,827
- 3
- 23
- 35
6
votes
0 answers
How to detect single-digit numbers with Firebase ML Kit on Android?
I have followed the setup guide for the Firebase ML Kit on Android and created a simple app that can recognize text on bitmap images, using the on-device text recognizer. It works pretty well out of the box, but there is one case where it doesn't…

Daniel
- 924
- 1
- 14
- 31
6
votes
1 answer
ML Kit - Android - Text Recognition - Text Orientation
I started a new application for Text Recognition of file numbers onto shelves and I used the following ML Kit Text Recognition on Youtube:
Tutorial ML KIT Text Recognition
It works perfectly as long as the file numbers are written horizontally.
When…

Mathias
- 177
- 2
- 10
6
votes
1 answer
how to recognise character drawn on canvas
i am using finger paint to draw line,and So far I have come up with the following code:
case MotionEvent.ACTION_MOVE:
//return if touch is in this area of canvas
if (x<=430 || y<=80 || y>=490) return true;
//draw path using x and y…

Hamad
- 5,096
- 13
- 37
- 65
5
votes
1 answer
Is there possibility to only look for black font in firebase ml kit for android?
I've already read everything around ml kit tutorial https://firebase.google.com/docs/ml-kit/android/recognize-text . I'm interested only in local ocr not cloud version. Of course as question suggests it's about text recognition.

Alisec
- 63
- 1
- 4
5
votes
1 answer
How to force Mobile Vision for Android to read full lines of text
I have implemented Google's Mobile Vision for Android by following a tutorial. I am trying to build an app that will scan a receipt and find the numeric total. However, as I scan different receipts that are printed in different formats, the API will…

gig6
- 307
- 5
- 16
4
votes
4 answers
Using Google ML-Kit On-Device Text Recognition in Flutter
Is it possible to use Google ML-Kit On-Device Text Recognition in Flutter? All of the tutorials and resources I am finding online are all firebase_ml_vision, but I am looking for one that uses the no-cost OCR from Google ML-Kit. How would I do…

ums2026
- 137
- 1
- 12
4
votes
1 answer
How to find the font size in Python from an image?
I am currently trying to find out how I can find out the font size from an image, using tesseract ocr or maybe something else within Python.
My current image here: Image 1. Within the image, at the top I know for certain it is a font 6 and the…

Oct2020
- 49
- 1
- 3
4
votes
1 answer
Filtering Image For Improving Text Recognition
I have this source image below (after cropped) and I try to do some image processing before I read text.
With python and opencv, I tried to remove the lines in the background with k-means with k =2, and the result is
I tried to smooth the image…

S. Hersister
- 51
- 1
- 4
4
votes
2 answers
Google vision ocr : vertical and horizontal lines text recognition
we are using google vision ocr for gathering text from receipts.
In some cases the receipt have some text written in vertical , like vat information and some other.
The question is that google vision read efficiently only the text in the main…

TECL Sarce
- 41
- 1
- 3
4
votes
2 answers
Tesseract gives no recognition results (Android studio; Java)
I am making an app on Android Studio with tesseract OCR. I made a code which should recognize text on images taken by phone camera. Problem: tesseract function getUTF8Text() gives no result AT ALL (null, despite picture being with text). Program…

Dainius Šaltenis
- 1,644
- 16
- 29