Skip to content

bobpoekert/spatchwork

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

spatchwork

License: Public Domain

usage:

  1. put the image file(s) in a drectory called targets/
  2. run python segment.py
  3. your output will be in targets, and have a "_processed.png" suffix

dependencies:

  • python
  • numpy
  • scipy
  • scikit-image
  • Pillow
  • tweepy (but only for the twitter bot)

installing on ubuntu:

  1. sudo apt-get install python-dev python-pip
  2. sudo pip install numpy scipy
  3. sudo apt-get install libtiff4-dev libjpeg8-dev zlib1g-dev libfreetype6-dev liblcms2-dev libwebp-dev tcl8.5-dev tk8.5-dev python-tk
  4. sudo pip install Pillow scikit-image tweepy

examples:

![example 1](samples/Screen Shot 2014-01-10 at 12.08.25 PM.png.jpeg)

![example 2](samples/Screen Shot 2014-01-10 at 1.13.56 PM.png.jpeg)

![example 3](samples/Screen Shot 2014-01-12 at 7.34.45 PM.png.jpeg)

About

Segmentation-based image filter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages