Skip to content

Script to process a folder of images - Extacting regions of intrest - Work done at RoboLab Internship - Script in Python & C++ version

Notifications You must be signed in to change notification settings

KhalidAlnujaidi/Region-of-interest-Extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Extracting region of intrest within images

This code was used to conduct to assist in the research titled "Date Fruit Disease Detection Using Machile Learning". The porpose of this code was to clean up the images and remove unnecessary / unrelated features from the image.

900+ images were automaitcly processed with the script.

process_of_RIO_extractor

RIO EXTRACTIOM.py :

First image is converted into gray scale Then the use on Erosion, Dilation, and GaussianBlur to apply more accurite Canny Image threshold is applied to find contours and find Bounding rectangle Image is then cropped based on Bouding Rectangle +- 50pixles to leave some room around the images

UNITE RIO IMG SIZE.py

Simple loop to resize all the images of extracted RIO into similar sizes in respect to thier original Aspect Ratio

About

Script to process a folder of images - Extacting regions of intrest - Work done at RoboLab Internship - Script in Python & C++ version

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published