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. Second threshold at same camera (walexand)
   2. Re: Second threshold at same camera (Ruslan Matveev)
   3. Re: Second threshold at same camera (Dirk Lei?)
   4. Re: Second threshold at same camera (Dirk Lei?)


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

Message: 1
Date: Fri, 25 Oct 2019 12:13:16 +0200
From: walexand <w.alexan...@gmx.de>
To: motion-user@lists.sourceforge.net
Subject: [Motion-user] Second threshold at same camera
Message-ID: <7472e669-9e27-ee60-0217-f37d92742...@gmx.de>
Content-Type: text/plain; charset=utf-8; format=flowed

I am using motion 4.2.2 on a Raspberry Pi.

Is it possible, to define a second threshold level at the same camera
and trigger an external program, when second threshold is reached?
For example, first threshold level at 5% percent changing pixels and
second theshold at 40%?

I want to detect the neighbours cat and start picture capturing when its
entering my cat ladder. When its up the ladder to a certain height, I
want to open a magnetic valve to spray him with water.

Believe me, I love cats and I dont want to hurt any. Even the bad
neighbours cat. He is a beautiful male cat, but he really harasses my cat.

So, any chance to trigger an external script on a higher threshold level?

Thanks in Advance
Regards
Alex



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

Message: 2
Date: Fri, 25 Oct 2019 13:17:59 +0300
From: Ruslan Matveev <matveev.rus...@gmail.com>
To: Motion discussion list <motion-user@lists.sourceforge.net>
Subject: Re: [Motion-user] Second threshold at same camera
Message-ID:
        <CABqvc7v6X0KtY_a8=plbnm98gdyuqk7nvrrst4sn93-ddjd...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi,

I'm not sure if this can be done out of box, but one possible solution is:
get movie with motion, use ffmpeg to extract middle frame for instance, use
some simple pixel walking to check if there is something black in the area
of interest.



On Fri, Oct 25, 2019 at 1:14 PM walexand <w.alexan...@gmx.de> wrote:

> I am using motion 4.2.2 on a Raspberry Pi.
>
> Is it possible, to define a second threshold level at the same camera
> and trigger an external program, when second threshold is reached?
> For example, first threshold level at 5% percent changing pixels and
> second theshold at 40%?
>
> I want to detect the neighbours cat and start picture capturing when its
> entering my cat ladder. When its up the ladder to a certain height, I
> want to open a magnetic valve to spray him with water.
>
> Believe me, I love cats and I dont want to hurt any. Even the bad
> neighbours cat. He is a beautiful male cat, but he really harasses my cat.
>
> So, any chance to trigger an external script on a higher threshold level?
>
> Thanks in Advance
> Regards
> Alex
>
>
> _______________________________________________
> 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: Fri, 25 Oct 2019 12:37:20 +0200
From: Dirk Lei? <d.le...@o2online.de>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] Second threshold at same camera
Message-ID: <3777ba1a-b9db-a036-6e80-2b070569f...@o2online.de>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

But wouldn't it detect your own cat, too?

Am 25.10.19 um 12:17 schrieb Ruslan Matveev:
> Hi,
>
> I'm not sure if this can be done out of box, but one possible solution 
> is: get movie with motion, use ffmpeg to extract middle frame for 
> instance, use some simple pixel walking to check if there is something 
> black in the area of interest.
>
>
>
> On Fri, Oct 25, 2019 at 1:14 PM walexand <w.alexan...@gmx.de 
> <mailto:w.alexan...@gmx.de>> wrote:
>
>     I am using motion 4.2.2 on a Raspberry Pi.
>
>     Is it possible, to define a second threshold level at the same camera
>     and trigger an external program, when second threshold is reached?
>     For example, first threshold level at 5% percent changing pixels and
>     second theshold at 40%?
>
>     I want to detect the neighbours cat and start picture capturing
>     when its
>     entering my cat ladder. When its up the ladder to a certain height, I
>     want to open a magnetic valve to spray him with water.
>
>     Believe me, I love cats and I dont want to hurt any. Even the bad
>     neighbours cat. He is a beautiful male cat, but he really harasses
>     my cat.
>
>     So, any chance to trigger an external script on a higher threshold
>     level?
>
>     Thanks in Advance
>     Regards
>     Alex
>
>
>     _______________________________________________
>     Motion-user mailing list
>     Motion-user@lists.sourceforge.net
>     <mailto: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...

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

Message: 4
Date: Fri, 25 Oct 2019 12:36:28 +0200
From: Dirk Lei? <d.le...@o2online.de>
To: motion-user@lists.sourceforge.net
Subject: Re: [Motion-user] Second threshold at same camera
Message-ID: <ba28b6da-bc97-f8f8-70da-3a9d7b9a4...@o2online.de>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

But wouldn't it detect your own cat, too?

Am 25.10.19 um 12:17 schrieb Ruslan Matveev:
> Hi,
>
> I'm not sure if this can be done out of box, but one possible solution 
> is: get movie with motion, use ffmpeg to extract middle frame for 
> instance, use some simple pixel walking to check if there is something 
> black in the area of interest.
>
>
>
> On Fri, Oct 25, 2019 at 1:14 PM walexand <w.alexan...@gmx.de 
> <mailto:w.alexan...@gmx.de>> wrote:
>
>     I am using motion 4.2.2 on a Raspberry Pi.
>
>     Is it possible, to define a second threshold level at the same camera
>     and trigger an external program, when second threshold is reached?
>     For example, first threshold level at 5% percent changing pixels and
>     second theshold at 40%?
>
>     I want to detect the neighbours cat and start picture capturing
>     when its
>     entering my cat ladder. When its up the ladder to a certain height, I
>     want to open a magnetic valve to spray him with water.
>
>     Believe me, I love cats and I dont want to hurt any. Even the bad
>     neighbours cat. He is a beautiful male cat, but he really harasses
>     my cat.
>
>     So, any chance to trigger an external script on a higher threshold
>     level?
>
>     Thanks in Advance
>     Regards
>     Alex
>
>
>     _______________________________________________
>     Motion-user mailing list
>     Motion-user@lists.sourceforge.net
>     <mailto: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...

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



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

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 160, Issue 12
********************************************

Reply via email to