Category: Process

Assignment 5: Pixels

The problem I faced was calling the videos to play. I tried to ‘importvideo’ and ‘read’ the videos but it gave me errors. I decided to use the movie file source and finally the videos I recorded appeared. I had fun creating my own assets and also moving around to see different videos of myself playing.

Through this I learned about pixels and detecting different greyscale opacity to call the videos.

Here is the link to the assignment:

 

Assignment 4: Face Recognition with alphablending (I am Brad Pitt)

I attempted to blend the other face onto my face but it gave me a black screen at first. After playing around with the patch, I got it to blend but it was not according to the my face size but the screen.

I tried to blend the face together with my face and it seems to blend it quite nicely.

There were many trials and error while doing it as the face did not blend it nicely at first. Through this exercise I learn about the function of ‘s’ and ‘r’ where I could use the ‘s’ function to send the message and connecting the ‘r’ function to call the message instead of having multiple connections leading to confusion.

I learned the alphablend function and I found it very useful to incorporate 2 or more elements together so that it creates an image. When playing around with the @planemap numbers, it gave me a different dimension for the other face and also the different @mode gave a different effect to the video too. I had fun playing around with the assignment.

Here’s the link to the assignment:

Assignment 3: Selfie

Video documentation:

 

Learning Outcomes:
I learn to use playlist~ to playback the sounds that were recorded and using the previous knowledge I had on face detection to determine where the photo will be captured at. I had fun trying to take a selfie based on face detection.

Difficulties faced:
I had many difficulties trying to detect the photo area as it changes every time I moved or the distance. The other problem was trying to play the sounds based on the face detected at a specific area and also calling a countdown sound to indicate a picture will be taken.

 

Tryout – Asking my brother to tryout my selfie assignment & his reaction towards it:

 

Further/future development:
I hope to be able to make the face detection and photo area smoother so that the user will not have a difficult time to find the specific area. The playback sounds for the countdown plays too fast when the user is not at the specific area, I would like to improve that area too so that the user would not feel irritated when there are multiple sounds played. Not only that, I also hope to create a playback when the person is too close or too far from the screen.

Assignment 2: Eye Detection

Eye Detection

Eye Detection

Objective: When your eyes move left and right, the playback video will actually follow the eye direction.

Sensing: Computer Camera and detecting the movement of the eyes.
Effecting: Tracking and Video playback
Computing: MAX

Assignment 2 was quite similar to assignment 1, Mirror yet it was different where I had to figure out the movement of the eye. The first step taken was to video myself turning from left to right. It was quite awkward videoing myself doing it but it was fun! The next step was to plan out what to do: when the eyes detect movement then the video will be played back.

I worked on the video playback frame by frame first. I learned the code about jit.movie for the first time. I also discovered that there was a frame by frame section which was what I needed. I struggled with it as I did not understand what the code ‘face_true $1 bang’ and how ‘scale’ works in this context. After getting the hang of it, I could get the video to show the playback.

The other part was to get the face detection to work with the video. I was having problems trying to solve the video playback as it was going to the left only. When I managed to solve the video to go towards the right, the video doesn’t go to the left. I decided to record the video again and check the codes in the face detection. I realised it was having negative numbers and after fixing the numbers in the face detection, jit.iter then the video playback worked moving right and left but it was not smooth. I changed the numbers on the ‘scale’ and the movement of the video playback became much smoother. I am satisfied with the work and will work on how to add the sounds when moving left to right.

Documentation:

Assignment 1: Mirror

Sensing: Computer camera and the face size to detect the distance of the object or person.
Effecting: Reflect, Opacity and Transition of the video/image.
Computing: MAX

Assignment 1 was quite a challenge since it was my first time using MAX. It was a fun assignment to learn more about MAX and facing many trials and errors. I had problem getting the box to appear on the face, finding out how the image can be inverted, having the video to be brighter as it was quite dark previously and getting the video to show colours instead of it being greyscale.

Process

Process of opacity and what is needed to be done.

Through assignment 1, I learned about face detection, change in opacity, transition. The problem I face now is the transition not being very smooth but I am satisfied with it.

Documentation: