From: Erik Andresen Date: Sat, 25 Nov 2017 11:13:41 +0000 (+0100) Subject: Added camshift test script X-Git-Url: https://defiant.homedns.org/gitweb/?a=commitdiff_plain;h=db1e86e3e238e1ee6eb3e5dd2a01ff2b1eac85c9;p=ros_wild_thumper.git Added camshift test script --- diff --git a/scripts/camshift.py b/scripts/camshift.py new file mode 100755 index 0000000..6c901ad --- /dev/null +++ b/scripts/camshift.py @@ -0,0 +1,124 @@ +#!/usr/bin/env python + +''' +Camshift tracker +================ + +This is a demo that shows mean-shift based tracking +You select a color objects such as your face and it tracks it. +This reads from video camera (0 by default, or the camera number the user enters) + +http://www.robinhewitt.com/research/track/camshift.html + +Usage: +------ + camshift.py [