rem /--/-columns, rows to split picture intorem | |rem | | measure mode (YUV) - U-0, Y-1, V-2rem | | | rem | | | timeoutrem | | | | comparison interval (msec)rem | | | | | threshold ( difference in cell to trigger detection)rem | | | | | | draw_grid (0-no, 1-yes)rem | | | | | | | return variable. number of cells with motion detectedrem | | | | | | | |rem | | | | | | | | VVVVVV OPTIONAL PARAMETERS: VVVVrem | | | | | | | |rem | | | | | | | | region masking type: 0-no regions, 1-include, 2-excluderem | | | | | | | | | region first columnrem | | | | | | | | | | region first rowrem | | | | | | | | | | | region last columnrem | | | | | | | | | | | | region last rowrem | | | | | | | | | | | | | parameters- 1-make immediate shoot, 2-log debug information into file. OR-ed values are acceptedrem | | | | | | | | | | | | | | pixels to skip - for speedup purposesrem | | | | | | | | | | | | | | | number of milliseconds to wait before begin triggering - can be useful for calibration with "draw_grid"rem | | | | | | | | | | | | | | | |
md_detect_motion a, b, h, n, d, c, 1, t, i, j+1, l+1, a-k, b-m, 0, f, e if t>0 then click "shoot_full" it t=0 then print "No motion detected last";n/1000,"s"
Started by pranaywhiz General Help and Assistance on using CHDK stable releases
Started by reyalp « 1 2 ... 5 6 » General Discussion and Assistance
Started by andrewonline General Help and Assistance on using CHDK stable releases
Started by radoslav.parvanov Script Writing
Started by Brookeville General Discussion and Assistance