This is a list of contributions to the website made by user marc_s. Every revision of a content type created will show up seperately here.
This is a list of contributions to the website made by user marc_s. Every revision of a content type created will show up seperately here.
Title | Type | Created date |
---|---|---|
Using FreeFrame-Plugins... | Forum Post | 14 years 15 weeks ago |
CamShiftTracker | Forum Post | 14 years 15 weeks ago |
re: colortracker or... | Forum Reply | 14 years 15 weeks ago |
This is a list of contributions to the website made by user marc_s. Every revision of a content type created will show up seperately here.
Title | Type | Created date |
---|---|---|
shout by marc_s | Blog Post | 17 years 31 weeks ago |
shout by marc_s | Blog Post | 17 years 37 weeks ago |
shout by marc_s | Blog Post | 18 years 23 weeks ago |
shout by marc_s | Blog Post | 18 years 33 weeks ago |
Contour help | Blog Post | 18 years 33 weeks ago |
shout by marc_s | Blog Post | 18 years 38 weeks ago |
This is a list of contributions to the website made by user marc_s. Every revision of a content type created will show up seperately here.
design of a freeframe plugins for object / motion detection using the OpenCV library.
<!------------------>
image processing * optical metrology
stereo vision * languages * music
<!------------------>
2006/04/06
Download dll, source code, help patch:
ColorTracker, CamShiftTracker
2006/02/23
Two small shaders:
BackgroundSuppression for, you guess it, supression of a static background and shading correction for livescenes , aand:
Anaglyph lets you play with stereoscopy.
2006/01/25
New versions of Contour, ColorTracker and CamShiftTracker plugin dlls!
New features:
Contour:
CamShiftTracker and ColorTracker:
2005
Read the friendly 'FINE-TUNING OF OBJECT TRACKERS' tutorial on the bottom of this page.
ColorTracker added to new release vvvv_33beta9.10.zip
ColorTracker tracks a(n object of) user-defined color in a video stream. It has pins for input color and Hue, Saturation and Value Thresholds and uses the MeanShift algorithm (part of the CamShift algorithm, see CamShiftTracker) for tracking.
<!------------------>
CamShiftTracker added to new release vvvv_33beta9.2.zip
<!------------------>
[tiki-download_file.php?fileId=643|
CamShiftTracker] is a plugin for object tracking based on FreeFrame and OpenCV. Zip file includes dll, help patch and source code. Input nodes still act a bit weird, updates shall be posted here...
<!------------------>
FINE-TUNING OF OBJECT TRACKERS
When you use CamShiftTracker or ColorTracker, the most important step is the fine tuning of the tracking parameters.
These are:
for ColorTracker and
for CamShiftTracker.
To achieve an optimal tracking output, these parameters have to be adjusted to the lighting situation of the video scene ( or vice versa ) and, in case of ColorTracker, to your object color.
If possible, turn off automatic gain control (AGC), automatic brighness ajustment etc. on your camera.
During fine tuning of the parameters you should have the pins 'Show Backproject' (CamShiftTracker) or 'Show ThreshImage' (ColorTracker) set to value '1' , so you can see which pixels of the image are considered as belonging to the object ( i.e. those which are white ). As there is a strange behavior of the input pins at the moment, you might have to switch those values forth and back a few times in order to set them. Also, set 'Show ROI' pin to '1', to see the search frame.
When nearly all pixels in the area of the object are white and the rest of the image is black, you're done.
Like a good linear minimizer, adjust one parameter at a time, then continue with the next one. Playing around will give you a feeling for this...
ColorTracker :
Contrary to CamShiftTracker, ColorTracker reinitialises itself when parameters are changed, so you get a direct feedback if your parameter change has a positive effect.
First, set H, S and V Threshold pins to a high value ( >0,8 ) : most of the image, including the object, is supposed to be white now. If your object doesn't show up as a cloud of white pixels in the thresholded image, increase all Thresholds a little ( if you reach value '1.0' for all thresholds, all pixels, regardless of their original color, will be white ).
Start decreasing 'H Threshold' value, until the white pixels on your object start to look noisy, then adjust the hue value of the input color ( 'Hue' pin on 'HSV Join' node in helppatch ), until the object appears ( mostly ) white and the rest of the image is black.
Repeat these two steps until there's no improvement.
Then repeat these two steps ( decreasing threshold, adjusting input color value ) with 'V Threshold' and V input color value, and 'S Threshold' and S input color value, respectively.
When you're done, you might repeat all steps until you don't see any improvement.
If all that doesn't help, you might have to improve the lighting situation. Illuminating the object with a lamp, or adding a diffuser might be fruitful if the colors don't come out right.
CamShiftTracker :
Be sure that your object lies in or, ideally, fills the initial ROI when you initialise the tracker ( bang 'Init Tracker' pin ). You will get the best results by using a white background. Since white ( background ) pixels have a very low saturation, you can kick 'em out by increasing the 'Saturation min' pin value.
Adjust 'Value min' and 'Value max' pin values to the range of your object brightness:
OBJECT BRIGHTNESS : dark
VALUE MIN: very low V1 (near 0.0), VALUE MAX: low V2
OBJECT BRIGHTNESS : bright
VALUE MIN: high, VALUE MAX: very high V2 (near 1.0)
OBJECT BRIGHTNESS : different shades
VALUE MIN: low, VALUE MAX: high
|
After each tuning step, init Tracker again to submit the tracking values and refine the object search.
If all that doesn't help, you might have to improve the lighting situation.
Think about illuminating the object with a lamp, or adding a diffuser if the video image is too dark and the colors don't come out right.
anonymous user login
~2d ago
~5d ago
~16d ago
~16d ago
~25d ago
~1mth ago
~2mth ago
~2mth ago
~2mth ago
~2mth ago