Skip to content

This project could help out the problem of detecting objects and sorting them from images automatically

Notifications You must be signed in to change notification settings

imneonizer/Find-and-crop-objects-From-images-using-OpenCV-and-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Find Contours and Crop Objects

Hey there! today i assembled this quick ready to use code which can help ease the problem of sorting objects from images this project is very exciting, you just fetch the program with an image containing lot of objects with different shapes and it will automatically find them, crop them and save them separately for you.

Required Module

>> pip install opencv-contrib-python

How to Run

Just run the crop_objects.py and see the magic, It will pickup sample_image.jpg will find the objects such as book,cup, badges and save them separately after cropping in a cropped directory.

Illustrations

Input Image sample_image.jpg

Cropped Objects

1.png

2.png

3.png

4.png

5.png

6.png

7.png

8.png

About

This project could help out the problem of detecting objects and sorting them from images automatically

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages