Skip to content

LouieChen24/Wine-Extraction-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wine-Extraction-

Installation

The main packages used are opencv (computer vision for processing images) and pytesseract(a wrapper for the tesseract OCR engine) but also make sure you can run python3.

  
  pip install opencv-python
  pip install pytesseract
  

Running the OCR

First, clone or download the repository.

  
  git clone https://github.com/LouieChen24/Wine-Extraction-.git
  

Unzip the file and open up the terminal and go to the directory.

Add image files and run the bash script (which runs all images with the extension .jpg)

  
  chmod +x all_images.sh
  ./all_images.sh
  

This gives you 3 outputs: a .png which shows the bounding boxes of each image called [img_name].png, two texts files: data (bounding box location, line number, etc) called [img_name].txt and a text output (output of the text from the image) called [img_name]text_only.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published