From: Barry M. <bar...@gm...> - 2025-06-23 23:59:27
|
Hi Roger! > I never found smart mask to work reasonably. Eventually with some > wind it seems to mask out almost everything. That would be bad! > And the area_detect I think only works for events. I couldn't quite tell: "Detect motion in predefined areas (1 - 9) and when Motion is detected in the area, execute the script." Scanning though the section I wasn't sure what script was being referred to > You need to make a mask file. Take an image from the camera, read it > into gimp, then paint everything black you want ignored, and white you > don't want to ignore and export it as a binary pgm. > > file should look like this: > > file gs2_mask.pgm > gs2_mask.pgm: Netpbm image data, size = 3840 x 2160, rawbits, greymap > > And have the same size as your camera image. > > Then add to the config file this line: > mask_file /etc/motion/gs2_mask.pgm > > I have to adjust mine and/or prune trees getting into the edges of the > images every so often. <chuckle> That's why smart_mask sounded so good! ...I'll try creating a mask and get back with the results. Thank you! |