vehicle_common.cv.recalibrate#

Attributes#

Functions#

detect_contour(→ numpy.ndarray | None)

contourNeighborhood(img, contour, margin)

kl_divergence(img1, img2)

check(→ numpy.float32)

recalibrate(→ bool)

Module Contents#

detect_contour(frame: numpy.ndarray, bounds) numpy.ndarray | None#
contourNeighborhood(img: numpy.ndarray, contour: numpy.ndarray, margin: int)#
kl_divergence(img1, img2)#
check(frame1: numpy.ndarray, frame2: numpy.ndarray, bounds) numpy.float32#
recalibrate(frame1: numpy.ndarray, frame2: numpy.ndarray, bounds) bool#
range = ((0, 0, 180), (225, 225, 255))#