Video Input(webcam) Video StreamPresence DetectionMovementColor Differentiation Output...
-
Upload
brianna-stafford -
Category
Documents
-
view
213 -
download
1
Transcript of Video Input(webcam) Video StreamPresence DetectionMovementColor Differentiation Output...
Video
Input(webcam)
Video Stream
Presence Detection
Movement
Color Differentiation
Output(Screen/Projection)
Pixel ManipulationColor Change
Resolution Change
Orientation/Direction Manipulation
Rotate
Scale
MoveMultiple Copies
Video Overlay
Movement Tracing
Processing-Video
Making a two dimentional matrix from one dimensionally distributed ( increasing or decreasing data):
0 1 2 3 4
5 6 7 8 9
10 11 12 13 14
15 16 17 18 19
0 1 2 3 4
0
1
2
3
Shape Index = 16
x Coordinate = 1 = index%5
y Coordinate= 3 = index/5
x Coordinate = index%5
y Co
ordi
nate
= in
dex/
5Processing-Video Input-Access to each Pixel
Processing-Video Input-Access to each Pixel
X
Y
pixels[i]
Y=i/weightx=i%weight
weight
height
Processing-Video Input-Access to each Pixel
X
Y
pixels[i]
Y=i/weightx=i%weight
weight
height
if (i/weight>200) //Checking y coordinate of pixel
if(i%weight>200) //Checking x coordinate of the pixel
Processing-Video Input-Access to each PixelRotation
XY
Y=i/weightx=i%weight
YY=x
XX=height-Y
Processing-Video Input-Access to each PixelColor Change
XY
Y=i/weightx=i%weight
int r=int(red(img[i]);int g=int(green(img[i]);int b=int(b(img[i]);r=255-r;g=255-g;b=0;color c=color(r,g,b);pixels[i]=c;
Video
Input(Microphone)
Beat Detection
Sound Intensity Detection
Output(Speaker)
Volume/Pan Manipulation
Audio File Play/Pause/Loop/skip
Multiple audio Overlay
Processing-Audio