This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import numpy as np | |
'''KALMAN FILTERING CLASS FOR N 2D POINTS''' | |
'''Kalman filtering for selected points in an image using OpenCV cv2.kalmanFilter class in Python ''' | |
class Kalman_Filtering: | |
def __init__(self,n_points): | |
self.n_points = n_points |