wsob The opencv library is 2.4.11 version. This code is applied to multiple objects tracking with plotting trajectory.