wykrywanie ruchu z definiowalną ilością fotek
(powinno działać)
skrypt wyglada teraz tak:
@title motion shoot count
@param j Shoot count
@default j 2
@param a Columns
@default a 2
@param b Rows
@default b 2
@param c Threshold (0-255)
@default c 10
@param d compare Interval (millisecs)
@default d 80
@param e Begin Triggering Delay(secs)
@default e 0
@param f Detect Timeout (seconds)
@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
if j<1 then j=1
if a<1 then let a=1
if b<1 then let b=1
if c<0 then let c=0
if g<1 then let g=1
if f<1 then let f=1
let f=f*1000
let e=e*1000
for z=0 to 10000
let t=0
md_detect_motion a, b, i, f, d, c, 1, t, h, 2, 2, a-1, b-1, 0, g, e
if t>0 then goto "1"
next z
end
:1
for n=1 to j
print "Shot", n, "of", j
shoot
next n
end
działa to z łatką CHDK
MX3
http://mx3.ip-com.com.ua/chdk/
i
Fingalo
http://hem.passagen.se/fsmmal/chdk2.html