Code: [Select]rem Author: fudgey - based on BarneyFive's MD Lightning6 and MLuna's Motion Detect scriptsrem Tested on A570IS, Allbest build 16rem For bursts, set the camera in continuous shooting mode and set j>0rem If j>0 in single shot mode, you will see your shot for j seconds on screen.@title Fast MD with Burst/Preview 080205@param a Columns@default a 6@param b Rows@default b 4@param c Threshold (0-255)@default c 10@param d Compare Interval (ms)@default d 1@param e Trigger Delay (0.1 sec)@default e 42@param f Rows to Exclude@default f 0@param g Pix-Step(speed/accuracy adj)@default g 8@param h Reg Mode(0-no,1-incl,2-excl)@default h 0@param i Measure Mode (1-Y,0-U,2-V)@default i 1@param j Burst/Preview (sec,0=off)@default j 0if a<1 then a=1if b<1 then b=1if c<0 then c=0if g<1 then g=1if f<1 then f=1if j<0 then j=0e=e*100j=j*1000print ">[";a;",";b;"] threshold: ";cx=30000if j>0 then goto "md_burst":md_singleshotpress "shoot_half"t=0domd_detect_motion a, b, i, x, d, c, 1, t, h, 1, 1, a, f, 0, g, euntil t>0click "shoot_full"goto "md_singleshot":md_burstpress "shoot_half"t=0domd_detect_motion a, b, i, x, d, c, 1, t, h, 1, 1, a, f, 0, g, euntil t>0press "shoot_full"let X=get_tick_count:contlooplet U=get_tick_countlet V=(U-X)if V<j then goto "contloop"release "shoot_full" goto "md_burst"
rem Author: fudgey - based on BarneyFive's MD Lightning6 and MLuna's Motion Detect scriptsrem Tested on A570IS, Allbest build 16rem For bursts, set the camera in continuous shooting mode and set j>0rem If j>0 in single shot mode, you will see your shot for j seconds on screen.@title Fast MD with Burst/Preview 080205@param a Columns@default a 6@param b Rows@default b 4@param c Threshold (0-255)@default c 10@param d Compare Interval (ms)@default d 1@param e Trigger Delay (0.1 sec)@default e 42@param f Rows to Exclude@default f 0@param g Pix-Step(speed/accuracy adj)@default g 8@param h Reg Mode(0-no,1-incl,2-excl)@default h 0@param i Measure Mode (1-Y,0-U,2-V)@default i 1@param j Burst/Preview (sec,0=off)@default j 0if a<1 then a=1if b<1 then b=1if c<0 then c=0if g<1 then g=1if f<1 then f=1if j<0 then j=0e=e*100j=j*1000print ">[";a;",";b;"] threshold: ";cx=30000if j>0 then goto "md_burst":md_singleshotpress "shoot_half"t=0domd_detect_motion a, b, i, x, d, c, 1, t, h, 1, 1, a, f, 0, g, euntil t>0click "shoot_full"goto "md_singleshot":md_burstpress "shoot_half"t=0domd_detect_motion a, b, i, x, d, c, 1, t, h, 1, 1, a, f, 0, g, euntil t>0press "shoot_full"let X=get_tick_count:contlooplet U=get_tick_countlet V=(U-X)if V<j then goto "contloop"release "shoot_full" goto "md_burst"
Started by brainwash AllBest's Builds
Started by Barney Fife « 1 2 » Completed and Working Scripts
Started by lngndvs Creative Uses of CHDK
Started by spex General Help and Assistance on using CHDK stable releases
Started by dunk Feature Requests