cv.CamShift - MATLAB File Help
cv.CamShift

Finds an object center, size, and orientation

box = cv.CamShift(probImage, window)
[box,window] = cv.CamShift(probImage, window)
[...] = cv.CamShift(..., 'OptionName', optionValue, ...)

Input

Output

Options

The function implements the CamShift object tracking algorithm [Bradski98]. First, it finds an object center using cv.meanShift and then adjusts the window size and finds the optimal rotation. The function returns the rotated rectangle structure that includes the object position, size, and orientation. The next position of the search window can be obtained with cv.RotatedRect.boundingRect.

References

[Bradski98]:

Gary R Bradski. Computer vision face tracking for use in a perceptual user interface. 1998.

See also