• Home
  • Popular Downloads
  • Contact Us
  • Submit

Softpile

Free Downloads

Main Navigation
  • Home
  • Windows
  • Mac OS X
  • Business
  • Desktop
  • Development
  • Education
  • Games
  • Internet
  • Multimedia
  • Utilities
Home » Linux » trux_motion

trux_motion

January 17, 2007
trux_motion project is a program for detecting motion between two JPEG images.
Version: 1.0
License: GPL
Operating System: Linux
Homepage: www.truxton.com
Developed by: Truxton Fulton
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.
detecting detecting motion motion simple program trux motion trux_motion
Free Download 9K
0
  • Share on:

trux_motion User Reviews

Sponsored

Categories

  • Linux

Related Downloads

PPort
Software that provides an interface for the computer ports.
HouseMonkey
Javacelot is a Java-based home automation utility for the Adicon Ocelot.
jukebox-control
jukebox-control is a complete automation for Sony A/V components featuring ...
PLaTos
PLaTos is a framework for easy and comfortable building of various LaTeX ...
flmkisofs
flmkisofs is a very simple program for creating ISO images with mkisofs.
Copyright © 1999-2017 Softpile Free Downloads
  • Contact Us
  • Submit
  • Privacy Policy
  • Disclaimer
  • Terms of Use