O'Reilly logo

The Wild Side of Photography by Cyrill Harnischmacher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Sample Script

Below is a complete uBasic motion detection script:

@title Motion Detection @param s *Test(0=test,1=real) @default s 1 @param v *Pause(s)(-1=DISP) @default v 0 rem Only for program >Parameter< @param a Columns @default a 4 @param b Lines @default b 4 @param c Channel(0U,1Y,2V,3R,4G,5B) @default c 1 @param d Time-out(s) @default d 170 @param e Detection interval(ms) @default e 1 @param f Threshold(0-255) @default f 10 @param i Mask(0=No 1=in 2=ex) @default i 1 @param j First mask column @default j 2 @param k First mask line @default k 2 @param l Last mask column @default l 3 @param m First line column @default m 3 @param o Subsampling (pixel) @default o 6 @param p Delay (0.1s) @default p 1 @param t Duration series/video @default t ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required