I need to input image and coordinates. The text present in the input coordinate must be read as output. How to do this using node-tesseract?
Tesseract - How to extract text from the image for the input coordinates?
7.2k views Asked by Amy At
2
There are 2 answers
Related Questions in NODE.JS
- Using Puppeteer to scrape a public API only when the data changes
- How to request administrator rights?
- How do I link two models in mongoose?
- Variable inside a Variable, not updating
- Unable to Post Form Data to MongoDB because of picturepath
- Connection terminated unexpectedly while performing multi row insert using pg-promise
- Processing multiple forms in nodejs and postgresql
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How to change the Font Weight of a SelectValue component in React when a SelectItem is selected?
- My unban and ban commands arent showing when i put the slash
- how to make read only file/directory in Mac writable
- How can I outsource worker processes within a for loop?
- Get remote MKV file metadata using nodejs
- Adding google-profanity-words to web page
- Products aren't displayed after fetching data from mysql db (node.js & express)
Related Questions in OCR
- Why convert jpeg into tfrecords?
- Problems with the order in which PDF files are created
- sinhala character recognition to Flutter application
- Keras OCR - Getting different results from Keras
- UnicodeDecodeError occured using tesseract OCR in python 3.1
- Is there any OCR or technique that can recognize/identify radio buttons printed out in the form of pdf document?
- issue when trying to use trained layoutlmv3
- how to fix tensorflow & keras shape error?
- Extracting 7-segment display numbers within a video using Pytesseract
- Python, pytesseract not recognizing image
- Pytesseract not able to recognize characters in captcha
- Resume image segmentation
- Segmentation of resume images
- KNN algorithm from OCR project having trouble with certain digits
- Text Recognition from an Image(Live Camera) with React Native Expo
Related Questions in TESSERACT
- Problems with the order in which PDF files are created
- After completely installation and done all the work i am getting Permission denied error do any one have solution
- UnicodeDecodeError occured using tesseract OCR in python 3.1
- getting osd output from tesseract on (need the script value Latin, cyrillic...) tika-server
- Extracting 7-segment display numbers within a video using Pytesseract
- Python, pytesseract not recognizing image
- Electoral Data analysis - OCR is not working
- How do I train tesseract 5 on a custom data set
- need to OCR red text on black background with pytesseract: program don`t see red color
- Engraved Text OCR
- Not able to get 7 Segment display properly for electrical meters after using some trained data
- How to retrieve words and their x_start and x_end coordinates within the table in pdf image in Python?
- Failed to ocr the images with border ie like buttons in emgu 4.4.0.4099 in c#
- hOCR format for tesseract
- Leptonica failing to deskew 45 and 135 degree rotated text
Related Questions in IMAGE-RECOGNITION
- efficient way to remove a background from an image in python
- Hough Intersection points
- Optimal autoencoder model for picture anomaly detection
- Figures detection in a picture using ML.NET
- How can I use Google Document AI OCR to find the non-text images in a text document?
- How to Read the text from images(OCR) where the font style is 7 segment font
- How crop image before Image Classification
- How can i fix colour detection in my code?
- Clarifai custom model
- Extracting Color Information from a Trained CNN Model
- How to extract the line segment information in a picture accurately in Python
- I was trying to make a script that reads numbers in a video and then converts them into x,y,z co ordinates
- How can I fill missing parts in particle borders, so that these borders/contours form a continous outline?
- Mask-RCNN load_weights exclude layers for training
- Can't use model.predict in digit recognition deep learning project
Related Questions in TEXT-RECOGNITION
- After completely installation and done all the work i am getting Permission denied error do any one have solution
- Text Recognition from an Image(Live Camera) with React Native Expo
- Keyword : INV_FREQ Error occurs in latest version of Transformer, But does not in the version of 4.37.2
- Google ML Kit Text recognition v2 unbundled library having problem of recognizing numbers as characters in OCR Based Android App
- C# WinForms - Overlay with Text Recognition and adding Buttons
- Improving OCR Accuracy on Preprocessed ROI in Python with Pytesseract
- Removing dense grid lines & convert into clear image - opencv - python
- How can I tell Google Document AI Enterprise OCR to always assume one column?
- How to Read the text from images(OCR) where the font style is 7 segment font
- Vision Framework - Text Recognition - Cannot recognize some umlaut diacritics
- Flutter google_ml_kit - how to keep only the text recognition module
- How do I replace GMS TextRecognizer with ML Kit TextRecognizer in Camera Source?
- API Returning Partial Text Recognition from Images: How to Retrieve Complete Text?
- Is it possible to configure Google ML Kit's Text Recognition to only recognize numbers and letters found in standard English?
- Clustering word boxes into text blocks
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
You need to look into the .hocr file returned from Tesseract(You can google hocr for more info first). The .hocr includes all the bounding box of the text(x, y, width, height, language etc.). Then calculate all boxes locate inside the coordinates you get from input.
Reference: http://gamemath.com/2011/09/detecting-whether-two-boxes-overlap/
Update:
I did some researches for you. Here you are the "best" (most stars) github repo in Javascript you can find on Github
https://github.com/search?utf8=✓&q=tesseract+language%3Ajavascript
and the best one is
tesseract.jswith over 10000 stars and still having commits recentlyhttps://github.com/naptha/tesseract.js
the part I highlighted is
.hocr(tesseract.jsnamed ithtml)