|
RoboCarts
|
Functions | |
| def | difference (img1, img2, hsv=False, t_value=15, k_size=20) |
@file moving_object_detection.py @brief This file contains a function for the frame differencing.
| def moving_object_detection.difference | ( | img1, | |
| img2, | |||
hsv = False, |
|||
t_value = 15, |
|||
k_size = 20 |
|||
| ) |
Standard image differencing with thresholding and morphological operations :param k_size: kernel size :param t_value: threshold value :param hsv: option to subtract two hsv images :param img1: source image 1 :param img2: source image 2 :return: binary mask of the difference
1.8.13