Here came to the second part of the Camshift algorithm, OpenCV implementation, this focus discussed the Mean Shift algorithm. Before discussing the Mean Shift algorithm, first discuss the problem of "mass center) in a 2D probability distribution image, center of gravity can be calculated by the following formula: 1. Calculate 0th -th moment for (INT I = 0; i
-------------------------------------------------- -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------