This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
linux:raspberry:picam:motion [2019/01/09 21:41] – lunetikk | linux:raspberry:picam:motion [2022/06/13 17:35] – [Configuration] lunetikk | ||
---|---|---|---|
Line 6: | Line 6: | ||
==== Configuration ==== | ==== Configuration ==== | ||
+ | |||
+ | === motion.conf === | ||
+ | |||
+ | see my configfile below... | ||
=== Maskfile === | === Maskfile === | ||
+ | |||
+ | The maskfile is used to ignore certain areas with moving objects (like trees, pedestrians, | ||
+ | |||
+ | Take a captured picture, paint all the correct areas white, the ones you want to ignore black. //You can also use different gray tones for different sensitivity (never tried).// | ||
+ | |||
+ | Copy the picture to your Raspberry and convert it to the correct format. | ||
+ | |||
+ | < | ||
+ | djpeg -grayscale -pnm < | ||
+ | </ | ||
+ | |||
+ | If djpeg is missing, install the following package (libjpeg-progs - Programs for manipulating JPEG files) | ||
+ | < | ||
+ | apt-get install libjpeg-progs | ||
+ | </ | ||
+ | |||
+ | Place your maskfile next to your " | ||
[[http:// | [[http:// | ||
Line 32: | Line 53: | ||
< | < | ||
+ | |||
+ | and add the module to / | ||
+ | |||
+ | < | ||
==== My configurationfile ==== | ==== My configurationfile ==== |