Detect motion (activity): Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(+"See also" section. +link to Motion_detection. +header for the activity page mess at bottom.) |
||
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{Olpcboxtop|toptext=[[{{PAGENAME}}|Detect Motion]]}} |
|||
{{ OBX activity | [[Image:none.svg|40px]]|extra}} |
|||
⚫ | |||
{{ OBX team |}} |
|||
{{Olpcboxbottom}} |
|||
Using an XO for animal motion detection. |
Using an XO for animal motion detection. |
||
Line 5: | Line 10: | ||
Position the XO in a location that will see movement by animals, such as a bird bath, bird nest, or mouse hole. For example, this B1 XO was set in ebook mode and suspended from hooks: |
Position the XO in a location that will see movement by animals, such as a bird bath, bird nest, or mouse hole. For example, this B1 XO was set in ebook mode and suspended from hooks: |
||
[[Image:MotionDetection-swallow-nest-one-mounting.jpg|435px]] |
|||
[[Image:MotionDetection-20070516092913-06-02.jpg|400px]] |
|||
Try to avoid positions with grass or vegetation that may move in the wind, otherwise you'll get pictures of the grass moving. |
Try to avoid positions with grass or vegetation that may move in the wind, otherwise you'll get pictures of the grass moving. |
||
Though it is possible to configure the detector to deal with them. |
|||
= Software = |
= Software = |
||
Not yet packaged for the XO, but a binary package is available, which was built from CVS including the new V4L2 API provided by the XO camera. |
Not yet packaged for the XO, but a binary package is available, which was built from CVS including the new V4L2 API provided by the XO camera kernel module. |
||
*open a root shell on the XO |
*open a root shell on the XO |
||
*download the binary package |
|||
⚫ | |||
# cd /tmp |
# cd /tmp |
||
# wget http://dev.laptop.org/~quozl/motion-2007-03-05.tar.bz2 |
# wget http://dev.laptop.org/~quozl/motion-2007-03-05.tar.bz2 |
||
*unpack |
*unpack it |
||
# cd / |
# cd / |
||
# tar xfj /tmp/motion-2007-03-05.tar.bz2 |
# tar xfj /tmp/motion-2007-03-05.tar.bz2 |
||
# cd /motion |
# cd /motion |
||
# rm /tmp/motion-2007-03-05.tar.bz2 |
|||
⚫ | |||
width 640 |
|||
height 480 |
|||
*start the motion detector |
|||
# ./go |
# ./go |
||
*if you change motion.conf while motion is running, send it a SIGHUP so it will reread the file |
|||
⚫ | |||
# vi motion.conf |
|||
# killall -HUP motion |
# killall -HUP motion |
||
*access the webcam view in a web browser, using a URL composed from the IP address or host name, followed by port 8081, for example http://example-xo-1.laptop.org:8081/ |
*access the webcam view in a web browser, using a URL composed from the IP address or host name, followed by port 8081, for example http://example-xo-1.laptop.org:8081/ |
||
Line 31: | Line 42: | ||
*http://dev.laptop.org/~quozl/2007-04-09/ mice in a house |
*http://dev.laptop.org/~quozl/2007-04-09/ mice in a house |
||
*http://dev.laptop.org/~quozl/2007-05-15-critter-detection/images.html birds bathing |
*http://dev.laptop.org/~quozl/2007-05-15-critter-detection/images.html birds bathing |
||
== References == |
|||
* http://www.olpcnews.com/software/applications/olpc_hack_xo_laptop_spy_camera.html |
|||
== See also == |
|||
* [[Motion detection]] |
|||
= Activity page info = |
|||
[[Category:Camera]] |
|||
[[Category:Activity bundle]] |
|||
{{Activity page |
|||
|genre=Drawing, Media Creation |
|||
|short description=Take image on detection of motion.http://dev.laptop.org/~quozl/motion-2007-03-05.tar.bz2 |
|||
|contact person=User:Quozl |
|||
|activity source=http://dev.laptop.org/~quozl/motion-2007-03-05.tar.bz2 |
|||
|language codes=en |
|||
|bundle URL=http://dev.laptop.org/~quozl/motion-2007-03-05.tar.bz2 |
|||
|devel status=3. Alpha |
|||
}} |
Latest revision as of 08:52, 4 November 2008
Using an XO for animal motion detection.
Positioning
Position the XO in a location that will see movement by animals, such as a bird bath, bird nest, or mouse hole. For example, this B1 XO was set in ebook mode and suspended from hooks:
Try to avoid positions with grass or vegetation that may move in the wind, otherwise you'll get pictures of the grass moving. Though it is possible to configure the detector to deal with them.
Software
Not yet packaged for the XO, but a binary package is available, which was built from CVS including the new V4L2 API provided by the XO camera kernel module.
- open a root shell on the XO
- download the binary package
# cd /tmp # wget http://dev.laptop.org/~quozl/motion-2007-03-05.tar.bz2
- unpack it
# cd / # tar xfj /tmp/motion-2007-03-05.tar.bz2 # cd /motion # rm /tmp/motion-2007-03-05.tar.bz2
- edit the motion.conf configuration file according to the documentation at http://www.lavrsen.dk/twiki/bin/view/Motion/ConfigFileOptions ... you may wish to use the full frame size:
width 640 height 480
- start the motion detector
# ./go
- if you change motion.conf while motion is running, send it a SIGHUP so it will reread the file
# killall -HUP motion
- access the webcam view in a web browser, using a URL composed from the IP address or host name, followed by port 8081, for example http://example-xo-1.laptop.org:8081/
Examples
- http://dev.laptop.org/~quozl/2007-04-09/ mice in a house
- http://dev.laptop.org/~quozl/2007-05-15-critter-detection/images.html birds bathing
References
See also
Activity page info
Activity Summary
Icon: | Sugar icon:: |
Genre: | Activity genre::Drawing, Media Creation |
Activity group: | ,|x|Activity group::x}} |
Short description: | Short description::Take image on detection of motion.http://dev.laptop.org/~quozl/motion-2007-03-05.tar.bz2 |
Description: | |
Maintainers: | ,|x|Contact person::x}} |
Repository URL: | Source code::http://dev.laptop.org/~quozl/motion-2007-03-05.tar.bz2 |
Available languages: | ,|x|Available languages::x}} |
Available languages (codes): | ,|x|Language code::x}} |
Pootle URL: | |
Related projects: | Related projects,|x|Related projects::x}} |
Contributors: | ,|x|Team member::x}} |
URL from which to download the latest .xo bundle | Activity bundle::http://dev.laptop.org/~quozl/motion-2007-03-05.tar.bz2 |
Last tested version number: | |
The releases with which this version of the activity has been tested. | ,|x|Software release::x}} |
Development status: | Devel status::3. Alpha |
Ready for testing (development has progressed to the point where testers should try it out): | ,|x|Ready for testing::x}} |
smoke tested : | |
test plan available : | |
test plan executed : | |
developer response to testing : |