top of page
  • Writer's pictureMelina Fourtune

Workshop 3 - Processing & computer vision

For this workshop we had to fulfill a list of assignment which leads us through the basics of the coding software "Processing".


Assignment 1

Three ellipses at various locations, with various colors, various widths and heights and both with and without borders.


Assignment 2

Four different shapes in various colors and at various locations.


Assignment 3

Program that draws at least two different interactive shapes, with various colors. In this case I made small white circles which follow the mouse and circles that always center at the top left corner of the screen but change diameter based on the position of the mouse.



Assignment CV1

I found which line causes a rectangle to be drawn around a recognized face and replaced it with a circle instead. I added the line 'ellipseMode(CORNER)' so the circle would be centered properly.


Assignment CV2

Every recognized face gets an 'anonymous' black bar in front of his eyes and a red clown nose instead of his/her nose. Making them appear at the right spot on the face no matter where and how far/close the face is was slightly challenging, you can see in the code that I had to use quite complicated formulas for the ellipse's coordinates. I achieved it mostly through trial and error and using relative distances so that it would work all the time.


Assignment CV3

I altered the code of the example "OpenCVBrightestPointDetectionLiveCam" so that instead of tracking the brightest spot it would track the darkest spot and display a black cat hiding there. I replaced "opencv.max" to "opencv.min" and added the image.


Assignment AR

Video of the AR marker.


24 views0 comments

Recent Posts

See All
bottom of page