Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Home Automation

    trux_motion 1.0

    Download button

    No screenshots available
    Downloads: 1,782  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Poor (1.4/5)
    19 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Truxton Fulton | More programs
    GPL / FREE
    January 17th, 2007, 03:05 GMT
    ROOT / Home Automation

     Read user reviews (0)  Refer to a friend  Subscribe

    trux_motion description

    trux_motion project is a program for detecting motion between two JPEG images.

    trux_motion project is a program for detecting motion between two JPEG images.

    trux_motion is a simple program for detecting motion between a pair of JPEG images. It uses the GD library to load the JPEGs.

    It uses a simple, fairly fast algorithm for detecting motion.

    Requirements:

    · GD

    To use the program, invoke "motion" with 3 arguments: the names of two jpeg images, and a threshhold for motion, like this :

    motion A.jpg B.jpg 1000

    The threshhold is the number of active pixels, above which motion will be detected. If motion is detected, the result of the program will be zero, if no motion
    is detected, the result will be nonzero. This allows you to create scripts with stuff like this :

    motion A.jpg B.jpg 1000 && echo "MOTION DETECTED"

    The threshhold to use depends on how much motion you want to detect. The algorithm is pretty good about squashing random pixel noise, so even a threshhold of
    1 is useful if you want to detect the slightest movement.

    Of course, the threshhold to use will also depend on the size of the images from your camera. I have a camera that generates 640*480 jpegs, so a threshhold of 1000 pixels means that 0.3% or more of the image must have changed before motion is detected.

    Product's homepage

      


    TAGS:

    trux motion | simple program | detecting motion | trux_motion | detecting | motion

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM