Max Assignment #03 Photo Booth

sel done

In order to stop the repeating of command, onebang is added to only play once after its bang. Sel done is add to reset onebang after the whole clip is being played.

Message exportimage jpeg

This message was really simple however, it took me for about 1 hours to find out how it works. But it was really fulfilling that i manage to solve it my own!

When a person are in frame [if($i1>=3000) then bang) was to delay it for 3 seconds before it send bang to export the image.

Max Assignment #02 Make the eyes roll

To be honest this is quite a creepy project HAHA. So I decided to make it more creepy by taking just my eye.

screen-shot-2017-02-06-at-6-05-26-pm

Problem 

I face a few problem while doing this project cause I got lost in the middle where I don’t know how to connect the frames together. However I manage to solve by using the slider and set it to the video frame count and link it to the numbers I got from unpack[this number detect when I move left and right]. Therefore, the whole thing can work.

Statement if….

Another thing I have learnt is using the statement if in max. Initially I keep trying the statement using the message box which did not lead me to any where until when I asked my friend. He uses the normal commend box and it works!

 

 

Max Assignment #01 Mirror

Learning Max was so much easier as compare to other written programming software but still, you will need to know which commend to box to call for action.

In this Max Assignment we are to make a reflection of ourselves which act as a mirror and when we go closer, the mirror will shows nothing. I face some problem while doing this project, for example connecting to the wrong point would cause the whole programme to shut down. [Which initially I got so angry over the computer because I though it was lagging]

 

screen-shot-2017-02-06-at-6-05-45-pm

keeping our stuff neat and tidy

we got to learn the function [p something] was to keep a long connection inside while enable us to link with other area with the inlet and outlet. This is so much less confusing and neater.

Using Library 

Adding the library to Max was pretty easy but using them is another. This time using the CV library we could activate our build in camera! [This is so much easier compare to processing openCV] At first I couldn’t activate due to my carelessness to add the message box [open] & [close]. Also using the jit.rgb2luma to convert the image to black & white.

Using Line 

Before using line my video actually work very well just there is a bit of flashing here and there when the camera could not detect faces. Using line that I have learn, still not quite understand but I am able to control the time that the camera turn black. Moreover changing the screen to darker when face detected on certain amount which makes everything goes smoother!

 

Overall, I could learn in a not so stressful pace and enjoy doing max!