291
edits
No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 52: | Line 52: | ||
== '''Homework Six''' == | == '''Homework Six''' == | ||
Editing video footage. | Editing video footage. Using video of birds swarming, I used the pixel array to extract colour details and draw an ellipse wherever the brightness value fell below a certain threshold. | ||
[[File:Mov2400.png|300px]] | [[File:Mov2400.png|300px]] | ||
[[File:birdsellipse.png|300px]] | [[File:birdsellipse.png|300px]] | ||
[[File:birdsellipse2.png|300px]] | [[File:birdsellipse2.png|300px]] | ||
[https://vimeo.com/164558893 Watch video here] | |||
[http://www.openprocessing.org/sketch/352775 View code here] | |||
== '''Homework Seven''' == | == '''Homework Seven''' == | ||
This time we used the webcam to manipulate the image. I adapted the code we made in class using the random function to update in different sized rectangles each frame. | |||
[[File:facesquares1.png|300px]] | [[File:facesquares1.png|300px]] | ||
[[File:facesuares2.png|300px]] | [[File:facesuares2.png|300px]] | ||
[[File:facesquares3.png|300px]] | [[File:facesquares3.png|300px]] | ||
[http://www.openprocessing.org/sketch/352778 View code here] | |||
== '''Homework Eight''' == | == '''Homework Eight''' == | ||
Here I experimented with automatically solving a labrynth. In the end it is semi-automatic - it gets stuck unless you override it with the mouse keys. Needs a bit more work... | |||
[http://www.openprocessing.org/sketch/352787 View code here] | |||
== '''Final Project Progress''' == | == '''Final Project Progress''' == | ||
Line 139: | Line 149: | ||
[[File:Eye_Drawing.png]] | [[File:Eye_Drawing.png]] | ||
Now using the pixel colour array of a video of birds swarming to 'track' the birds. The code is sensitive to light and dark rgb values. | |||
[https://vimeo.com/154886194 See video here] | |||
[[File:Birdsstill1.png|400px]] | |||
[[File:Birdsstill2.png|400px]] | |||
[[File:Birdsstill4.png|400px]] | |||
[[File:Birdsstill5.png|400px]] | |||
Now using this technique with the webcam to track eyes. | |||
[[File:Birdsstill6.png|300px]] | |||
[[File:Birdsstill3.png|300px]] | |||
[https://vimeo.com/158352410 See video here] Password: birds | |||
Added an interface so that the user can select their own RGB values for their eyes... | |||
Drawing a cross with my eyes | |||
[[File:Screenshoteyesrs.png]] | |||
How the code works | |||
[[File:Coders.png]] | |||
[https://vimeo.com/163158806 See video here] | |||
[http://www.openprocessing.org/sketch/352784 See code here] |
edits