From db1e86e3e238e1ee6eb3e5dd2a01ff2b1eac85c9 Mon Sep 17 00:00:00 2001 From: Erik Andresen Date: Sat, 25 Nov 2017 12:13:41 +0100 Subject: [PATCH] Added camshift test script --- scripts/camshift.py | 124 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 124 insertions(+) create mode 100755 scripts/camshift.py 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 [