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 Query/Use Case (Jake Stride)


----------------------------------------------------------------------

Message: 1
Date: Mon, 15 Jul 2019 21:20:42 +0800
From: Jake Stride <j...@stride.me.uk>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Area Detect Query/Use Case
Message-ID:
        <CAOO87zOtMNV=V70pRQ2Tt5zttekF=lkms7mxilujmwsn1r7...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Thanks for the input, the problem I'm trying to solve is that I'd like to
record a movie for motion anywhere in the frame but only send a video to my
phone via a script if the motion is in the bottom red area.

On Sun, 14 Jul 2019 at 23:29, Kinney Baughman <baughma...@gmail.com> wrote:

> I find it helpful to turn  "locate_motion_mode" on when wrestling with
> these kinds of problems.  With that on, you can see the precise area of the
> image that is triggering motion and adjust accordingly.
>
> # Locate and draw a box around the moving object.
> # Valid values: on, off, preview (default: off)
> # Set to 'preview' will only draw a box in preview_shot pictures.
> locate_motion_mode on
>
>
> On Sun, Jul 14, 2019 at 8:08 AM Jake Stride <j...@stride.me.uk> wrote:
>
>> Thanks, giving it a try but it's not working how I had hoped. I wanted to
>> use it to process the movie created when the event ended but it doesn't
>> provide the filename in %f.
>>
>> Any suggestions on how I'd be able to only process the file on_movie_end
>> if the motion was in the area detect, or maybe had a high x value for the
>> motion centre?
>>
>> On Sun., 14 Jul. 2019, 18:05 Joerg Weber, <mot...@alcatraz.ath.cx> wrote:
>>
>>> Hi Jake,
>>>
>>> yes, perfectly fits your needs. You would configure following:
>>>
>>> area_detect 456789
>>> on_area_detected /some/path/your_script
>>>
>>> Please note that the area definition is only related to the execution of
>>> the script. It does not change behaviour of the actual motion detection,
>>> like masks do. The script is executed only once during an event.
>>>
>>>
>>> Brgds Joerg.
>>>
>>>
>>>
>>> 14. Juli 2019 11:31 Uhr, "Jake Stride" <j...@stride.me.uk
>>> <%22jake%20stride%22%20%3cj...@stride.me.uk%3E>> schrieb:
>>>
>>> Are there any hints on how to use this
>>> https://motion-project.github.io/motion_config.html#area_detect please?
>>> I have a use case where I'd like to record a movie for motion detected
>>> anywhere in the video, but only trigger a script when motion is on the
>>> bottom two thirds, something like:
>>> ----
>>> ++++
>>> ++++
>>>
>>> _______________________________________________
>>> 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
>>
>> _______________________________________________
>> 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
>
> _______________________________________________
> 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...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example.png
Type: image/png
Size: 125819 bytes
Desc: not available

------------------------------



------------------------------

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 157, Issue 10
********************************************

Reply via email to