Send Motion-user mailing list submissions to motion-user@lists.sourceforge.net
To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/motion-user or, via email, send a message with subject or body 'help' to motion-user-requ...@lists.sourceforge.net You can reach the person managing the list at motion-user-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Motion-user digest..." Today's Topics: 1. Re: area_detect doesn't seem to work (Frank Bennett) 2. Re: area_detect doesn't seem to work (Ronnie McMaster) 3. Re: area_detect doesn't seem to work (Ronnie McMaster) ---------------------------------------------------------------------- Message: 1 Date: Sun, 19 Jan 2020 11:31:21 -0700 From: Frank Bennett <fbennet...@gmail.com> To: "manu.kemppainen--- via Motion-user" <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] area_detect doesn't seem to work Message-ID: <e888e038-576d-be6b-eba4-5e35f078a...@gmail.com> Content-Type: text/plain; charset="us-ascii" An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Sun, 19 Jan 2020 12:51:34 -0700 From: Ronnie McMaster <ronnie.mcmas...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] area_detect doesn't seem to work Message-ID: <caa8w+k6nerlelmonpjgohk_dnpeaywv2op58rbzbr1scui4...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" What is your on_area_detect set to do? area_detect - Type: String - Range / Valid values: Max 4095 characters - Default: Not defined Detect motion in predefined areas (1 - 9) and when Motion is detected in the area, execute the script. All of motion detection still continue. This option is only to execute the on_area_detect script. Areas are numbered like - 1 2 3 - 4 5 6 - 7 8 9 On Sat, Jan 18, 2020 at 2:45 PM Frank Bennett <fbennet...@gmail.com> wrote: > I'm running motion 4.2.2 built from github source > but with a area_detect of 8, I get video strips with boxes in area 123 > Suggestions ? > > thanks, > Frank > > $ cat /etc/issue > Ubuntu 18.04.2 LTS \n \l, 64b > > *# /s/motion/config/camera2.conf* > camera_name Porch > rotate 270 > width 1920 > height 1080 > netcam_url rtsp://192.168.1.30:554/11 > picture_output off > *area_detect 8* > output_pictures off > camera_id 102 > text_right Porch\n%Y-%m-%d\n%T-%q > text_left Camera 2 > movie_filename CAM2_%0t-%0v-%Y%m%d%H%M > _______________________________________________ > Motion-user mailing list > Motion-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/motion-user > https://motion-project.github.io/ > > Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 3 Date: Sun, 19 Jan 2020 12:54:52 -0700 From: Ronnie McMaster <ronnie.mcmas...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] area_detect doesn't seem to work Message-ID: <caa8w+k447ynnbcbqtplevsjh+cy+w93esy7v8ur6n_tw6um...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" I'd recommend creating and using a mask_file, if you have no script set to run for area_detect. mask_file - Type: String - Range / Valid values: Max 4095 characters - Default: Not defined The full path and filename for the masking pgm file. If needed, the mask will be resized to match the width and height of the frames being captured. If you have one or more areas of the camera image in which you do NOT want motion detected (e.g. a tree that moves in the wind or a corner of the picture where you can see cars/pedestrians passing by) you need a mask file. This file is a picture that you create in your favorite photo editing program. The areas that you want detected must be white. The area that you want ignored must be black. The pgm image should be the same size (number of pixels high and wide) as the pictures that are taken by the camera so you can define the correct area to mask. You can adjust sensitivity by using gray tones. If you do not have a mask file disable this option by not having it in the config file or comment it out. If you are using the rotate <https://motion-project.github.io/motion_config.html#rotate> or flip_axis <https://motion-project.github.io/motion_config.html#flip_axis> options, note that the mask is applied *after* the rotation. On Sun, Jan 19, 2020 at 12:51 PM Ronnie McMaster <ronnie.mcmas...@gmail.com> wrote: > What is your on_area_detect set to do? > > area_detect > > - Type: String > - Range / Valid values: Max 4095 characters > - Default: Not defined > > Detect motion in predefined areas (1 - 9) and when Motion is detected > in the area, execute the script. All of motion detection still continue. > This option is only to execute the on_area_detect script. > > Areas are numbered like > - 1 2 3 > - 4 5 6 > - 7 8 9 > > > > On Sat, Jan 18, 2020 at 2:45 PM Frank Bennett <fbennet...@gmail.com> > wrote: > >> I'm running motion 4.2.2 built from github source >> but with a area_detect of 8, I get video strips with boxes in area 123 >> Suggestions ? >> >> thanks, >> Frank >> >> $ cat /etc/issue >> Ubuntu 18.04.2 LTS \n \l, 64b >> >> *# /s/motion/config/camera2.conf* >> camera_name Porch >> rotate 270 >> width 1920 >> height 1080 >> netcam_url rtsp://192.168.1.30:554/11 >> picture_output off >> *area_detect 8* >> output_pictures off >> camera_id 102 >> text_right Porch\n%Y-%m-%d\n%T-%q >> text_left Camera 2 >> movie_filename CAM2_%0t-%0v-%Y%m%d%H%M >> _______________________________________________ >> Motion-user mailing list >> Motion-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/motion-user >> https://motion-project.github.io/ >> >> Unsubscribe: https://lists.sourceforge.net/lists/options/motion-user > > -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ ------------------------------ Subject: Digest Footer _______________________________________________ Motion-user mailing list Motion-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/motion-user ------------------------------ End of Motion-user Digest, Vol 163, Issue 5 *******************************************