I am working on an application where I need to get the net price displayed in any shopping bill from its picture. I have already retrieved the editable text from the bill images using "tesseract ocr" API. Now I need to print only the "grand total amount" from the text. How do I extract only that part( total price) from a whole bill having the item name, quantity and price?
Extracting total price from a shopping bill
488 views Asked by Krishna Jayachandran At
1
There are 1 answers
Related Questions in ALGORITHM
- MCNP 6 - Doubts about cells
- Given partially sorted array of type x<y => first apperance of x comes before first of y, sort in average O(n)
- What is the algorithm behind math.gcd and why it is faster Euclidean algorithm?
- Purpose of last 2 while loops in the merge algorithm of merge sort sorting technique
- Dots and Boxes with apha-beta pruning
- What is the average and worst-case time complexity of my string searching algorithm?
- Building a School Schedule Generator
- TC problem 5-2:how to calculate the probability of the indicator random variable?
- LCA of a binary tree implemented in Python
- Identify the checksum algorithm
- Algorithm for finding a subset of nodes in a weighted connected graph such that the distance between any pair nodes are under a postive number?
- Creating an efficent and time-saving algorithm to find difference between greater than and lesser than combination
- Algorithm to find neighbours of point by distance with no repeats
- Asking code suggestions about data structure and algorithm
- Heap sort with multithreading
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
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)
Short answer, I don't think there is a quick/handy method you can call directly.
You need to look into the
.hocrfile returned fromTesseract(You can google hocr for more info first). The.hocrincludes all the bounding box of the text(x, y, width, height, languageetc.) then make use of these values, you can determine if words are on the same line (The word 'Total' and the total amount are very likely printed on the same line).From here you can shortlist the words, add some logical operations (maybe remove all characters/words), then you can get the total value.
ps: My company is working on a similar stuff, but we decided not to use Tesseract, as it is kind of slow and not easy to train (we're dealing with receipts in several languages). We are using Google Vision API.
Hope my answer helps :D