That's what I'm working on. Doing up README.md now with installation/configuration information. Hopefully I'll have a trunk version up this weekend.

On Fri, Mar 1, 2013 at 10:43 AM, Roman Gaufman <hackeron@gmail.com> wrote:
Would be great to see the latest iteration of your source :) - Maybe you can put it on github and I can contribute anything I can?

On 5 February 2013 14:16, Steve Goldsmith <sgjava@gmail.com> wrote:
Just basic motion detection (using the differential method) is pretty straight forward in OpenCV and there are many good examples (Google is your friend here). I've used motion for a few years including using the triggers to call a peopledetect.py based script recently that emails only on people detection (thus increasing the signal and reducing the noise). This was all done through a Gearman worker in Python in the background so as not to burden the Motion VM (HOG Descriptor is CPU intensive).

I've just gone the last mile and replaced motion with OpenCV because it gives me move flexibility for calculating FPS dynamically based on a sampling interval. Any movie of length is chopped up if the camera cannot keep up with a static FPS. Dealing with sudden lighting changes and ignoring motion detection until re-calibrated is something that never really worked for me in Motion. There were a lot of other issues from CPU use to missing motion detection.

That being said, if you have a fairly static background than Motion may be your ticket for simplicity sake. My backgrounds are a lot more dynamic and I need to ability to filter problems that are fairly common with IP based cameras.


On Tue, Feb 5, 2013 at 8:00 AM, W. Jeffrey Wilson <wjwilson@albion.edu> wrote:
Thanks for the additional info about triggering scripts with motion.  I'll probably try this before I switch to a different system.  OpenCV looks mature and well-supported, but also very complex for what I need.

Jeff


On Tue, Feb 5, 2013 at 7:50 AM, corentin barbu <corentin.barbu@gmail.com> wrote:
I agree with Lars, the on_XXX scripting hook is great with motion. I
use it a lot to start bash scripts, given that you pass the name of
the files you can do a whole new set of analysis on_picture_save for
example, with any language.

I study the movement of bugs also in an scientific experimental
setting. Motion is very mature and offers a lot of flexibility I would
definitely consider using it as much as it satisfies your needs.

Corentin

2013/2/5 Lars Öhgren <motionlist@frontdesign.com>:
> Hi.
>
> http://www.lavrsen.dk/foswiki/bin/view/Motion/ConfigOptionOnEventStart
> http://www.lavrsen.dk/foswiki/bin/view/Motion/ConfigOptionOnMotionDetected
>
> Trigger what ever you want with those config options.
> It could be any sort of binary or script.
> So it's really only limited to what you can code.
> ie: on_motion_detected /usr/bin/trigger_parallellport.sh
>
> I use on_picture_save to transfer images to another safer server but
> been thinking about tying it into my home automation.
> "If motion is detected then turn on lights"...
>
>
> BR
> Lars
>
> On 2013-02-05 01:58, W. Jeffrey Wilson wrote:
>> Hi all,
>>
>> Total newbie here, hoping for some guidance on a novel(?) use of
>> motion.  I do behavioral neuroscience research with earthworms, and want
>> to use Motion to monitor the movement and position of an individual worm
>> on a surface of about 15x15 inches.  I think that I can set the motion
>> detection threshold low enough that I can detect the slow movement of
>> the worm if images are not taken too frequently (something like a
>> setting around 10 with images acquired every half second - still playing
>> with the parameters).  Environment is controlled and lighting is
>> constant, so I can work with a real low threshold like this.
>>
>> Here's my question for now.  Documentation indicates that "Motion can
>> execute external commands based on the motion detection and related
>> events."  However, I can't find information concerning the nature of the
>> command.  Is it a C statment? Can the command do something as eleborate
>> as control the signal sent to the computer's parallel port?  If so I
>> could exert the kind of experimental control that I need (e.g., worm
>> moves far enough, turn off a light or turn on a vibratory stimulus).
>>
>> See an earthworm in a running wheel at my web page:
>> http://campus.albion.edu/wjwilson/research/
>>
>> Apologies if this is an easy question and I just overlooked the obvious
>> answer somewhere.  Thanks for any guidance,
>>
>> Jeff
>>
>> --
>> W. Jeffrey Wilson
>> Professor, Psychology Department
>> Director, Neuroscience Program
>> Albion College
>> wjwilson@albion.edu <mailto:wjwilson@albion.edu>
>> campus.albion.edu/wjwilson <http://campus.albion.edu/wjwilson>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Free Next-Gen Firewall Hardware Offer
>> Buy your Sophos next-gen firewall before the end March 2013
>> and get the hardware for free! Learn more.
>> http://p.sf.net/sfu/sophos-d2d-feb
>>
>>
>>
>> _______________________________________________
>> Motion-user mailing list
>> Motion-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/motion-user
>> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>>
>
> ------------------------------------------------------------------------------
> Free Next-Gen Firewall Hardware Offer
> Buy your Sophos next-gen firewall before the end March 2013
> and get the hardware for free! Learn more.
> http://p.sf.net/sfu/sophos-d2d-feb
> _______________________________________________
> Motion-user mailing list
> Motion-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome



--
___________________
Corentin Barbu-Covantes
(484) 843-1580
http://scholar.google.com/citations?hl=en&user=sxDMRdQAAAAJ
"For what does it profit a man to gain the whole world, and forfeit
his soul?" Mark 8:36

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Motion-user mailing list
Motion-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/motion-user
http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome



--
W. Jeffrey Wilson
Professor, Psychology Department
Director, Neuroscience Program
Albion College
wjwilson@albion.edu
campus.albion.edu/wjwilson



------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Motion-user mailing list
Motion-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/motion-user
http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome




--
Steven P. Goldsmith

------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Motion-user mailing list
Motion-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/motion-user
http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Motion-user mailing list
Motion-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/motion-user
http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome




--
Steven P. Goldsmith