06.01.2013 Views

Learning Processing: A Beginner's Guide to Programming Images ...

Learning Processing: A Beginner's Guide to Programming Images ...

Learning Processing: A Beginner's Guide to Programming Images ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Lesson Seven Project<br />

Develop a software mirror that incorporates computer vision techniques. Follow<br />

these steps.<br />

Step 1. Design a pattern with no color. Th is could be a static pattern (such<br />

as a mosaic) or a moving one (such as the “scribbler” example) or a<br />

combination.<br />

Step 2. Color that pattern according <strong>to</strong> a JPG image.<br />

Step 3. Replace the JPG with images from a live camera (or recorded<br />

QuickTime).<br />

Step 4. Using computer vision techniques, alter the behavior of the patterns’<br />

elements according <strong>to</strong> the properties of the image. For example, perhaps<br />

brighter pixels cause shapes <strong>to</strong> spin or pixels that change a lot cause<br />

shapes <strong>to</strong> fl y off the screen, and so on.<br />

Use the space provided below <strong>to</strong> sketch designs, notes, and pseudocode for your<br />

project.<br />

Video 301

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!