Skip to content
/ ir-mouse Public

Track an infrared pointing device using a webcam, and then move the mouse pointer accordingly.

License

Notifications You must be signed in to change notification settings

ccoff/ir-mouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ir-mouse

This is a Python program that works in tandem with an infrared pointing device (read the complete backstory here). It uses the webcam to track an infrared pointing device, and then translates those motions into mouse pointer movement.

Although I originally designed this with a head-mounted pointing device in mind, any infrared pointing device (such a TV remote) works.

I have only tested this on Linux, though Windows and Mac should work with minimal tweaking. You will probably want to change the default value and hue thresholds based on your own environment.

Usage

Type python ir-mouse.py at the command line. Alternatively, type chmod 755 ir-mouse.py to enable starting the program directly (i.e., ./ir-mouse.py). The following command-line options are available:

-v: Display verbose information.

About

Track an infrared pointing device using a webcam, and then move the mouse pointer accordingly.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages