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. Re: [Explain like i am five] the Motion detection algorithm /
      technology (Colin Law)
   2. How to avoid / disable motion detection in areas 1,       2 and 3 ?
      (Mariusz Ciszewski)
   3. Re: How to avoid / disable motion detection in areas 1, 2 and
      3 ? (?ydr?nas Urbonas)
   4. Re: How to avoid / disable motion detection in areas 1, 2 and
      3 ? (Lars ?hgren)
   5. triggering only during certain times of day (Frank W. Samuelson)
   6. Re: triggering only during certain times of day (?ydr?nas Urbonas)


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

Message: 1
Date: Sun, 16 Aug 2015 08:27:26 +0100
From: Colin Law <[email protected]>
Subject: Re: [Motion-user] [Explain like i am five] the Motion
        detection algorithm / technology
To: Motion discussion list <[email protected]>
Message-ID:
        <CAL=0gltppjy6st2ghtmwtl_ped+jkku5psbcyexu8lggdv7...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On 16 August 2015 at 01:23, Adam Ali <[email protected]> wrote:
> Greetings,i am a newbie and learning linux(raspberry) user
> i already got motion running in raspberry,i am planning to create simple
> paper for my school project
> but i dont get the explanation of Motion algorithm
>
> from http://www.lavrsen.dk/foswiki/bin/view/Motion/MotionTechnology :
> Motion detects motion by comparing the intensity of pixels in a fresh
> grabbed image with a reference image. Color information is not utilized. If
> there is no motion and no noise new_image-ref_image should be zero. If there
> has been a change in the picture the result will be different. To prevent
> noise being seen as motion the change has to exceed a threshold and there
> have to be a certain number of changed pixels before a motion is declared.
>
> The reference frame itself is recursively updated with the new picture, so
> after it has been updated with pictureN it will consist out of: 1/2*pictureN
> + 1/4*pictureN-1 + 1/8*pictureN-2 and so on.
>
> can you explain in more detail? and what kind of paper or book you recommend
> to study about it ?
>
> and about the formula,does
> 1/2*pictureN  mean :
> a.half times pictureN
> or
> b. one divide ( 2 times pictureN )

It means the reference image (which is compared with the current
image) is a set of pixels making up the image where for each pixel its
brightness is calculated from the brightness of the pixel at that
point in the image over a number of previous samples using the formula
0.5 * pixel brightness from previous image  +  0.25 * brightness from
image before that  + 0.125 * brightness from the one before that +
etc. That sounds like a complex formula but actually is easy to
calculate on the fly.  The result of this is that if, for example, the
brightness were to change from 0 to 1 suddenly then the brightness in
the reference image over the next few samples would be 0.5, 0.75,
0.875 and so on, which is an exponential curve tending to 1.

In the text you quoted when it says new_image-ref_image it means that
a difference image is calculated where, for each pixel, the brightness
is the brightness of the pixel in the new image minus that in the
reference image.

Does that help?

Colin



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

Message: 2
Date: Mon, 17 Aug 2015 18:19:34 +0200
From: Mariusz Ciszewski <[email protected]>
Subject: [Motion-user] How to avoid / disable motion detection in
        areas 1,        2 and 3 ?
To: Motion discussion list <[email protected]>
Message-ID:
        <caopaqylk_te6otryf4gkftw_vgbnxegrui01k7dncn0kxff...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello.

Do someone know maybe how to avoid / disable motion detection in areas 1, 2
and 3

  1    2    3
  4    5    6
  7    8    9

I'm asking because there is a street in 123 area, and every driving car is
detected.

I have used:

area_detect 456789
on_area_detected /home/motion/scripts/motion_detected.sh

But cars are reported still.

Thank you very much for your hints.

Best regards
Mariusz
-------------- next part --------------
An HTML attachment was scrubbed...

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

Message: 3
Date: Mon, 17 Aug 2015 19:29:59 +0300
From: ?ydr?nas Urbonas <[email protected]>
Subject: Re: [Motion-user] How to avoid / disable motion detection in
        areas 1, 2 and 3 ?
To: Motion discussion list <[email protected]>
Message-ID:
        <CACHTdwR6UeNdkccnrKjr2f2F8_8yt_t8uSKj=-ywzgyvcvx...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

You probably need to define mask file to ignore motion in that area:

http://www.lavrsen.dk/foswiki/bin/view/Motion/MotionGuideBasicFeatures#mask_file

On Mon, Aug 17, 2015 at 7:19 PM, Mariusz Ciszewski <
[email protected]> wrote:

> Hello.
>
> Do someone know maybe how to avoid / disable motion detection in areas 1,
> 2 and 3
>
>   1    2    3
>   4    5    6
>   7    8    9
>
> I'm asking because there is a street in 123 area, and every driving car is
> detected.
>
> I have used:
>
> area_detect 456789
> on_area_detected /home/motion/scripts/motion_detected.sh
>
> But cars are reported still.
>
> Thank you very much for your hints.
>
> Best regards
> Mariusz
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
>
-------------- next part --------------
An HTML attachment was scrubbed...

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

Message: 4
Date: Mon, 17 Aug 2015 18:24:17 +0200
From: Lars ?hgren <[email protected]>
Subject: Re: [Motion-user] How to avoid / disable motion detection in
        areas 1, 2 and 3 ?
To: [email protected]
Message-ID: <[email protected]>
Content-Type: text/plain; charset="utf-8"

Check out masking:

http://www.lavrsen.dk/foswiki/bin/view/Motion/ConfigOptionMaskFile

It's an image where you define areas of interest and non interest in 
much better detail than areas.

//Lars
On 2015-08-17 18:19, Mariusz Ciszewski wrote:
> Hello.
>
> Do someone know maybe how to avoid / disable motion detection in areas 
> 1, 2 and 3
>
>   1    2    3
>   4    5    6
>   7    8    9
>
> I'm asking because there is a street in 123 area, and every driving 
> car is detected.
>
> I have used:
>
> area_detect 456789
> on_area_detected /home/motion/scripts/motion_detected.sh
>
> But cars are reported still.
>
> Thank you very much for your hints.
>
> Best regards
> Mariusz
>
>
> ------------------------------------------------------------------------------
>
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome

-------------- next part --------------
An HTML attachment was scrubbed...

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

Message: 5
Date: Tue, 18 Aug 2015 15:04:38 -0400 (EDT)
From: "Frank W. Samuelson" <[email protected]>
Subject: [Motion-user] triggering only during certain times of day
To: Motion discussion list <[email protected]>
Message-ID:
        
<alpine.lrh.2.20.1508181458190.14...@pool-108-18-138-241.washdc.fios.verizon.net>
        
Content-Type: text/plain; format=flowed; charset=US-ASCII

I am running two cameras on motion, via thread1.conf and 
xthread2.conf.   I want one camera only record during night 
hours.  Is there a way to do this?  (Other than a good old 
hack?)
Thanks.

-Frank



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

Message: 6
Date: Wed, 19 Aug 2015 08:36:57 +0300
From: ?ydr?nas Urbonas <[email protected]>
Subject: Re: [Motion-user] triggering only during certain times of day
To: "Frank W. Samuelson" <[email protected]>,         Motion
        discussion list <[email protected]>
Message-ID:
        <CACHTdwR8-biHXRhJvG6XP0xcamzUHu=ttas0outx+rhsw_h...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

You can use one of the common ways to stop/start detection - put a script
into cron that sends http command using curl:

http://www.lavrsen.dk/foswiki/bin/view/Motion/MotionGuideBasicFeatures#Remote_Control_with_http

On Tue, Aug 18, 2015 at 10:04 PM, Frank W. Samuelson <
[email protected]> wrote:

> I am running two cameras on motion, via thread1.conf and
> xthread2.conf.   I want one camera only record during night
> hours.  Is there a way to do this?  (Other than a good old
> hack?)
> Thanks.
>
> -Frank
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
-------------- next part --------------
An HTML attachment was scrubbed...

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

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


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

_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user


End of Motion-user Digest, Vol 111, Issue 12
********************************************

Reply via email to