sample camshift code