towhee.models.utils.video_transforms.NormalizeVideo¶
- class towhee.models.utils.video_transforms.NormalizeVideo(mean, std, inplace=False)[source]¶
Bases:
object
Original code from torchvision: https://github.com/pytorch/vision/tree/main/torchvision/transforms
Normalize the video clip by mean subtraction and division by standard deviation :param mean: pixel RGB mean :type mean: 3-tuple :param std: pixel RGB standard deviation :type std: 3-tuple :param inplace: whether do in-place normalization :type inplace: boolean
Methods