Skip to content

Files from October 2013 presentation at the Central Ohio Python Users Group

Notifications You must be signed in to change notification settings

efloehr/cohpy-oct2013

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

These are the files from my October 2013 Central Ohio Python Users Group meeting.

This presentation was an introduction to Python image processing using PIL and
matplotlib. It also talked a little about some nifty Python features like the
enumerate built-in.

You will need PIL, matplotlib, and ImageMagick (at least on Linux) to
run these programs.

For PIL, I would recommend the pillow fork, as it is the more maintained
version.

To make a movie out of the individual images generated, I ran ffmpeg
with defaults:

ffmpeg -i done/%d.png movie.mp4

The movie shown in the presentation can be viewed here:

http://youtu.be/hNAMsyzoW3A


Technologies introduced:

PIL, specifically the pillow fork, for image manipulation:
    Code: https://github.com/python-imaging/Pillow
    Docs: http://pillow.readthedocs.org/en/latest/

Matplotlib, for graphing: http://matplotlib.org/

Built-in Python modules os, os.path, and fnmatch:
    os:      http://docs.python.org/2/library/os.html
    os.path: http://docs.python.org/2/library/os.path.html
    fnmatch: http://docs.python.org/2/library/fnmatch.html

Unpacking list into a set of arguments to a function:
http://docs.python.org/2/tutorial/controlflow.html#unpacking-argument-lists

The enumerate built-in:
http://docs.python.org/2/library/functions.html#enumerate

About

Files from October 2013 presentation at the Central Ohio Python Users Group

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages