Skip to content

samhardyhey/blog-collage-segmentation

Repository files navigation

Collage Segmentation 🎨

Semi-automated tools for extracting vintage biological illustrations from the Biodiversity Heritage Library. Companion code for "Collagey Segmenty".

Features

  • 🖼️ Automated Flickr image retrieval
  • ✂️ Filter-based image segmentation
  • 🎯 Background removal
  • 🔄 Batch processing

Setup

# Install dependencies
./create_env.sh

Usage

# Configure Flickr API credentials
export FLICKR_API_KEY="your-key"
export FLICKR_API_SECRET="your-secret"

# Download images
python flickr_retrieval.py

# Process images
python filter_segmentation.py

Structure

  • 📓 flickr_retrieval.py # Image collection
  • ✂️ filter_segmentation.py # Auto-cropping
  • ⚙️ create_env.sh # Environment setup

Note: Requires Flickr API access. Apply here.

About

Automated tools for extracting vintage biological illustrations from Flickr collections, featuring filter-based segmentation and background removal - as detailed in https://www.samhardyhey.com/collagey-segmenty

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors