Uploaded by ArnaudRamey on Mar 1, 2010
This application is a side-project I developed during my internship in Madrid.
It enables to track a moving domain on a video. The domain is defined by its range of color. Here, for instance, the domain is the cap of the pen, and the range of colors is a range of orange (in fact the conditions on the range of colors are made of a minimum and a maximum allowed values for the 3 Hue, Saturation and Value components of the colors, that is 6 thresholds).
Here is how you localize the domain on a frame.
1) We first define the search area. If the domain was not found on the previous picture, the search area is the whole current frame, otherwise it is just the neighborhood of the location of the previous domain.
2) Then, you scan every pixel of the search area in the current frame and see if its color belongs to the allowed range of colors.
3) You will then determine the biggest connected component in the search area. We name this component B.
4) if the domain was not found on the previous frame, then B is the new range. If it was found on the previous frame, we also require B is to be of a similar size (say the same +/- 10% ).
The video below is the output of the HSV filter : a black pixel corresponds to a pixel which did not pass the filter, while a white pixel corresponds to a filter that was in the boundaries. The blue rectangle corresponds to the search area in the picture. The red circle in the bottom right corner means the domain was found in the picture, The red cross across the frame means it wasn't. The red frame appears when the domain was found in the frame, but you are close from the frame borders.
By connecting the centers of the domains on the set of pictures, you can illustrate the movement of the domain, and then "draw".
Category:
Tags:
License:
Standard YouTube License
-
0 likes, 0 dislikes
1:10
Color Segmentation Paint Fill with Polygonal Hullsby vangobot604 views
0:40
Image Processing - Color Segmentationby DDoiS5,292 views
1:00
Head Tracking - Final project with OpenCV and Processingby get2him6,238 views
0:31
Phidget Servo + Webcam for Color Tracking 視覺顏色追蹤by oucht1,462 views
0:49
Trashbot: Color-Tracking Robotby olawlor490 views
0:52
Object Tracking using CMUCAM1by cyberian16416 views
0:33
Fast Color Based Object Tracking Using C++ and OpenCVby unoccio2,935 views
1:30
Virtual Air Paintingby HernandezMatasCarlos300 views
0:26
Really fast color based object tracking using OpenCVby bumbacul2,353 views
0:39
Fast Object Tracking (Ball Tracking) with the OpenCV Libraryby elctronix56,040 views
8:36
Image Channels:HSV Hueby TheBlenderGuru226 views
0:36
VirtualDub+Stepper Motorby vvaves763 views
0:35
Video Processing Image Recognition 1by igormarinescu1,103 views
0:24
Human Action Recognition in realistic scenarios - actioncliptrain00014.flvby ArnaudRamey488 views
2:21
Rover1 first test of color tracking robot, lynxmotion, cmucam2+by mfedasiuk340 views
6:00
How to Create a Shape Drawing Pad like Doodle Kids in Processing: The Basics (Part 1)by AJSunsetComputerAid514 views
1:11
VisionHunt - Color Detection Tool for the Blind #2by ViScientific468 views
0:46
Dynamics Art made with Processing and GPGPUby pftetsuyaGPU829 views
5:46
Color Tracking Kalman Filter in machine vision (Proyecto seguimiento de objetos con CMUCAM3)by leonreal19742,099 views
7:26
Processing Video Tutorial English pt1- Drawing a single lineby grungefreak1993345 views
- Loading more suggestions...
Link to this comment:
All Comments (0)