Iteration cycle 1



Analysis And Design


Ok so the design is to create piece of media which will interact with people by using a camera for the purposes of testing I will be using a webcam. In order to track people I will be using a form of tracking. The first type of tracking I have used is brightness tracking. This will track the brightest point on the x and y axis. I will use these co-ordinates and I will map them against the transparency. This means that I will set a minimum and maximum on amount of transparency against a start and end width. This is so that when people move to the right they will only see the right image. And when they move to the left they will only see the left image. It is only when they are central to the piece of art that they will see all three combined.


Implementation


fill(255, 204, 0, 128);

ellipse(brightestX, brightestY, 200, 200); – tells it to create an ellipse at the brightest point on the x and y axis and to make this of size 200 x 200( but as its an ellipse diameter 200) This allows me to see the brightest pixel iswhich therefore allows me to see if it is interacting with my code in the way intended.

img = loadImage(“heart.jpg”);   image loaded

tint(255,map(brightestX, width , 0, 0,255)); – colour and transparency…. transparency has been mapped

image(img,440,0); – image position

This code loads three images in different positions along the x axis, it then maps them using the brightest co ordinate on the x axis and it maps this value between the minimum and maximum values set as the starting and end point on the x axis. These are then mapped against a range of transparency


Testing  & Evaluation


project1

 

 

 

 

 

project2

 

 

 

 

 

project3

After testing the brightness tracking in several different environments. It became apparent that brightness tracking might not be the best option to use in order to track people. This is due to the fact that there are to many variables in the environments. This causes the outcome of the code to be very glitchy and it subtracts from the overall performance. This led me to look for alternative methodologies.


References


Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s