Questions tagged [text-recognition]

314 questions
0
votes
0 answers

How to correctly copy text from a pdf file using PdfKit and Swift

Is there any way to achieve correct copying of text from pdf so that the line order is correct as on the original page. I am trying to copy text from a pdf file using PdfKit. But the text is copied sometimes (rarely enough) but with errors. Can…
Roman
  • 1
  • 1
0
votes
1 answer

Working with Vision text recognition (Swift) on IOS 15.6 and memory grows ~25MB per recognition. Anyway to free up memory?

I need to do text recognition on hundreds of images one at a time, but each time, memory grows by ~25mb+. I've searched the internet but can't find what is causing the memory retention or how to release it. By putting in breaks, I can see that the…
Dave
  • 71
  • 5
0
votes
0 answers

GoogleMLKit/TextRecognition draw bounding boxes over picked text elements in background image at correct positions react native

*Rectangle bounding boxes are not showing at correct positions for picket values. 2nd thing: only one out of three is showing. To draw rectangles i am using frame/rect ={top,left, width,height} info received from googlemlkit in picked text element…
0
votes
0 answers

Are there any ways improve accuracy of Tesseract OCR engine to Extract data from Invoices or any alternative that can be used instead of Tesseract OCR

I am trying to create an OCR based solution which can extract data from Invoice images and pdfs and make JSON file from it. I am currently using Tesseract OCR to extract data from Invoices but getting very low accuracy so should i work on training…
0
votes
1 answer

Flutter MLKIT Text Recognition Extract a Specified Line

How can i Extract a Line from Flutter ML Kit Text Recognition ? I wanna extract the Line from "SUMME" i need only this line as double Variable, List recognedText = []; bool textScanning = false; var scannedText = "Scanned Text will be shown…
Koek
  • 101
  • 3
  • 9
0
votes
0 answers

Grandle project sync failed functionality (e.g editing, debugging) will not work properly

i have been trying to solve the problem myself for the past few days, but unfortunately without success. I want to synchronize Grandle version 8.0.1 in my Android Studio Project, but I keep getting the error message: `Could not find…
sp xa
  • 1
  • 1
0
votes
1 answer

Text extraction from captured image using IronOcr library, break mode with no details

I'm using this code to capture an image using the mobile camera, display it and store it on the device then after clicking another button the text in the captured image will be extracted in label named TextView public partial class MainPage :…
Abode
  • 1
0
votes
0 answers

OCD digit recognition on a LCD display

I'm tring to get the digit from this LCD display: LCD Display I used pytesseract whit this code: img = cv2.imread('1.png') img = get_grayscale(img) img = cv2.bitwise_not(img) custom_config = r'--psm 7 --oem 3 -c…
0
votes
0 answers

Read documents with OCR in Python

I have the need to read structured data (pdfs and excel spreadsheets) to a central location. From where other files can read data, to produce a constant and consistent output. The first challenge is to read data from the input files, the second is…
Erik
  • 33
  • 6
0
votes
0 answers

How to improve PyTesseract OCR Accuracy?

I am trying to improve the accuracy of an OCR I wrote. It performs well for a normal image but struggles for a noisy image. The noisy image: I wrote a function to remove the noise and it does remove a lot of the noise present but also diminishes…
0
votes
0 answers

Text Recognition - Matching Strings to Patterns

I am using the Apple example on text recognition/reading phone numbers. I would like to change it so that instead of recognizing phone numbers it recognizes two different patterns, CMW followed by numbers and letters or DWP followed by numbers and…
Summer
  • 69
  • 7
0
votes
0 answers

Eliminating lowercase letters from ML Kit text recognition OCR

The application I'm building is to recognize license plates on vehicles. Lowercase letters reduce reading accuracy (sometimes an uppercase letter is recognized as a wrong lowercase letter). Can I eliminate the lowercase letters in ML Kit, so that…
0
votes
0 answers

Android Java ML Kit for text detection

I am trying to make this guid work https://developers.google.com/ml-kit/vision/text-recognition/android?hl=en I implemented implementation 'com.google.android.gms:play-services-mlkit-text-recognition:18.0.2' and
0
votes
2 answers

IB Outlet issues - Thread 1: EXC_BAD_ACCESS

I am making a phone number recognition app based off of Apple's example code. I am fairly new to swift and coding in general. When I run the project I get the "Thread 1: EXC_BAD_ACCESS (code=257, address=0x7e700019ec0ad79)" error on line 68…
Summer
  • 69
  • 7
0
votes
0 answers

why google colab cannot identify image file using while using tesseract?

!apt install tesseract-ocr !pip install pytesserac import pytesseract from PIL import Image # Open image file image = Image.open("/content/book.PNG") # Recognize text text = pytesseract.image_to_string(image) print(text) I wrote this code in…