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. My experiences with motion (Michaela Merz) 2. Re: My experiences with motion (Roger Heflin) 3. Re: My experiences with motion (rmbusy) ---------------------------------------------------------------------- Message: 1 Date: Mon, 9 May 2022 12:48:38 -0600 From: Michaela Merz <mischm...@googlemail.com> To: motion-user@lists.sourceforge.net Subject: [Motion-user] My experiences with motion Message-ID: <cakdb+y4sydf3zruyzduvdpmjkxdykqhxhzxtc426csxlx3b...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Hello fellow motioners: Motion is a fine piece of software. However - it's not really working in my environment because we just have too much nature going on. While I can mask trees, our trees throw shadows depending on the time of day which in turn trigger motion alerts when the wind blows (and it does blow often here in New Mexico). In order to get rid of false positives, I really have to "dumb down" the camera which in turn also limits legitimate motion. I found a way to eat the cake and keep it by piping the motion event into a PHP script which uses DeepStack to analyse images pulled from the camera to determine if there are people in the image. I wrote a blog here: https://blog.michaelamerz.com/wordpress/security-cameras-with-linux-motion-deepstack/ Happy to share the PHP script on request. Here are a few suggestions/bugs Since I don't need motion to record motion videos, I set the "movie_output" variable to off. However I can't make motion to ignore multiple motion events, even with "event_gap" set to 30. Whenever motion is detected, I get a rapid fire of motion events. This may also influence the SIGUSR1 signal to the motion process because it is ignored - maybe because the trigger event has already passed. Here is a log file generated by my script (on_event_start): [01] Motion Started For Camera 4 (Motion PID=32064) Event: 01, Camera: 4 [01] Mon 09 May 2022 11:34:19 AM MDT [01] PERSON = 87 <---- DeepStack recognized a person with 87% confidence [01] Record Event [01] Notify Lumosur [01] MPACK [01] MSMTP [02] Motion Started For Camera 4 (Motion PID=32064) Event: 02, Camera: 4 [02] Mon 09 May 2022 11:34:21 AM MDT [02] PERSON = 0 As one can see, we generated two events within 3 seconds. All in all, I am very happy with the current setup. -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 2 Date: Mon, 9 May 2022 15:21:55 -0500 From: Roger Heflin <roger.hef...@gmail.com> To: Motion discussion list <motion-user@lists.sourceforge.net> Subject: Re: [Motion-user] My experiences with motion Message-ID: <caamcdeehbg3naixktqjcxvnxlpa8f2ooos++4zm2azxsamn...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" I would like to see the script. What kind of hw did you use for the processing? On Mon, May 9, 2022 at 2:17 PM Michaela Merz via Motion-user < motion-user@lists.sourceforge.net> wrote: > Hello fellow motioners: > > Motion is a fine piece of software. However - it's not really working in > my environment because we just have too much nature going on. While I can > mask trees, our trees throw shadows depending on the time of day which in > turn trigger motion alerts when the wind blows (and it does blow often here > in New Mexico). In order to get rid of false positives, I really have to > "dumb down" the camera which in turn also limits legitimate motion. > > I found a way to eat the cake and keep it by piping the motion event into > a PHP script which uses DeepStack to analyse images pulled from the camera > to determine if there are people in the image. > > I wrote a blog here: > https://blog.michaelamerz.com/wordpress/security-cameras-with-linux-motion-deepstack/ > > Happy to share the PHP script on request. > > Here are a few suggestions/bugs > > Since I don't need motion to record motion videos, I set the > "movie_output" variable to off. However I can't make motion to ignore > multiple motion events, even with "event_gap" set to 30. Whenever motion is > detected, I get a rapid fire of motion events. > > This may also influence the SIGUSR1 signal to the motion process because > it is ignored - maybe because the trigger event has already passed. > > Here is a log file generated by my script (on_event_start): > > [01] Motion Started For Camera 4 (Motion PID=32064) Event: 01, Camera: 4 > [01] Mon 09 May 2022 11:34:19 AM MDT > [01] PERSON = 87 <---- DeepStack recognized a person with 87% confidence > [01] Record Event > [01] Notify Lumosur > [01] MPACK > [01] MSMTP > [02] Motion Started For Camera 4 (Motion PID=32064) Event: 02, Camera: 4 > [02] Mon 09 May 2022 11:34:21 AM MDT > [02] PERSON = 0 > > As one can see, we generated two events within 3 seconds. > > All in all, I am very happy with the current setup. > _______________________________________________ > 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: Mon, 9 May 2022 14:38:33 -0700 From: rmbusy <rmbusy+mot...@gmail.com> To: motion-user@lists.sourceforge.net Subject: Re: [Motion-user] My experiences with motion Message-ID: <a74da22c-daa0-e1e9-5858-5b5d91b97...@gmail.com> Content-Type: text/plain; charset="us-ascii" 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 191, Issue 3 *******************************************