Thanks Steve -

I'll take a look at OpenCV.  I was considering OpenControl, designed pretty much to mimic some expensive commercial programs that are commonly used in this sort of research setting.  However, OpenControl requires Visual Basic, which is costly and not well supported anymore. 

I appreciate your advice - I'll post again to let you all know if OpenCV will work for me.

Jeff

On Mon, Feb 4, 2013 at 9:01 PM, Steve Goldsmith <sgjava@gmail.com> wrote:
Hey Jeff, you are probably better off with OpenCV since you have a lot of control over not just simple motion detection, but picking contours out of images, tracking and recognition. I'd go with the Python bindings unless you are a C/C++ guy for ease of use. Just Google OpenCV...

http://www.steinm.com/blog/motion-detection-webcam-python-opencv-differential-images

On Mon, Feb 4, 2013 at 7:58 PM, W. Jeffrey Wilson <wjwilson@albion.edu> 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
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




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