Send Motion-user mailing list submissions to
[email protected]
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
[email protected]
You can reach the person managing the list at
[email protected]
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 <[email protected]>
To: [email protected]
Subject: [Motion-user] Second threshold at same camera
Message-ID: <[email protected]>
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 <[email protected]>
To: Motion discussion list <[email protected]>
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 <[email protected]> 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
> [email protected]
> 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? <[email protected]>
To: [email protected]
Subject: Re: [Motion-user] Second threshold at same camera
Message-ID: <[email protected]>
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 <[email protected]
> <mailto:[email protected]>> 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
> [email protected]
> <mailto:[email protected]>
> 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
> [email protected]
> 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? <[email protected]>
To: [email protected]
Subject: Re: [Motion-user] Second threshold at same camera
Message-ID: <[email protected]>
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 <[email protected]
> <mailto:[email protected]>> 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
> [email protected]
> <mailto:[email protected]>
> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user
------------------------------
End of Motion-user Digest, Vol 160, Issue 12
********************************************