February 2020
Intermediate to advanced
372 pages
9h 26m
English
From the preceding description, we gather that the Kalman filter's algorithm has two phases:
The update phase is – in OpenCV's terms – a correction. Thus, OpenCV provides a cv2.KalmanFilter class with the following methods:
predict([, control]) -> retvalcorrect(measurement) -> retval
For the purpose of smoothly tracking objects, we will call the predict method to estimate the position of an object, and then use ...