Video Input(webcam) Video StreamPresence DetectionMovementColor Differentiation Output...

7
Vid eo Input(webcam) Video Stream Presence Detection Movement Color Differentiation Output (Screen/ Projection) Pixel Manipulation Color Change Resolution Change Orientation/ Direction Manipulation Rotate Scale Move Multiple Copies Video Overlay Movement Tracing Processing-Vide

Transcript of Video Input(webcam) Video StreamPresence DetectionMovementColor Differentiation Output...

Page 1: Video Input(webcam) Video StreamPresence DetectionMovementColor Differentiation Output (Screen/Projection) Pixel Manipulation Color ChangeResolution Change.

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

Page 2: Video Input(webcam) Video StreamPresence DetectionMovementColor Differentiation Output (Screen/Projection) Pixel Manipulation Color ChangeResolution Change.

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

Page 3: Video Input(webcam) Video StreamPresence DetectionMovementColor Differentiation Output (Screen/Projection) Pixel Manipulation Color ChangeResolution Change.

Processing-Video Input-Access to each Pixel

X

Y

pixels[i]

Y=i/weightx=i%weight

weight

height

Page 4: Video Input(webcam) Video StreamPresence DetectionMovementColor Differentiation Output (Screen/Projection) Pixel Manipulation Color ChangeResolution Change.

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

Page 5: Video Input(webcam) Video StreamPresence DetectionMovementColor Differentiation Output (Screen/Projection) Pixel Manipulation Color ChangeResolution Change.

Processing-Video Input-Access to each PixelRotation

XY

Y=i/weightx=i%weight

YY=x

XX=height-Y

Page 6: Video Input(webcam) Video StreamPresence DetectionMovementColor Differentiation Output (Screen/Projection) Pixel Manipulation Color ChangeResolution Change.

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;

Page 7: Video Input(webcam) Video StreamPresence DetectionMovementColor Differentiation Output (Screen/Projection) Pixel Manipulation Color ChangeResolution Change.

Video

Input(Microphone)

Beat Detection

Sound Intensity Detection

Output(Speaker)

Volume/Pan Manipulation

Audio File Play/Pause/Loop/skip

Multiple audio Overlay

Processing-Audio