Skip to content

Repo for project with Henri's Lab. Script that detects circles in images using CHT, crops them out, then saves them. Also saves metadata on color ratios to a CSV file.

Notifications You must be signed in to change notification settings

adamwathieu/ImageCropAndColor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ImageCropAndColor

Made in part to assist with a research project Henri Wathieu is working on at Tulane University.

This mini library detects circles in images using Circle Hough Transform (CHT), crops them out, and saves them. It also reports ratio of a specified color range to the absolute color range along specified color channel.

Dependencies (with pip installation commands):

  • python 3
  • numpy (pip install numpy)
  • cv2 (pip install opencv-python)
  • PIL (pip install Pillow)

To run:

  • Edit config.json
  • Navigate to appropirate directory, and execute python crop_pic.py -config config.json in command line

About

Repo for project with Henri's Lab. Script that detects circles in images using CHT, crops them out, then saves them. Also saves metadata on color ratios to a CSV file.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages