Skip to content

Here comes a cool project, Automatically Find and Crop out Rows / Cells From Tables

Notifications You must be signed in to change notification settings

imneonizer/Crop-Rows-From-Tables-using-OpenCV-and-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crop Cells From Tables

Hello Folks! this project is based on OpenCV and Python with the following codes you can automatically crop out Cells / Boxes from image of data tables.

It automatically recognizes horizontal and Vertical lines from images and Crop Boxes i.e, ( Cells of the given Table in our case).

simply Run the "crop_boxes.py" and it will crop out each boxes line by line for you cropped out images will be stored in "cropped" directory.

Required Modules

>> pip install opencv-contrib-python
>> pip install numpy

Illustrations

Input Image: sample_image.jpg

Detecting Vertical Lines

Detecting Horizontal Lines

Combined Mask

Final Detected Table

Output

All the cropped Boxes / Cells are stored in cropped Directory

About

Here comes a cool project, Automatically Find and Crop out Rows / Cells From Tables

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages