View source on GitHub |
Preprocessor for image classification.
mediapipe_model_maker.face_stylizer.face_stylizer.image_preprocessing.Preprocessor(
input_shape,
num_classes,
mean_rgb,
stddev_rgb,
use_augmentation=False,
one_hot=True
)
Methods
__call__
__call__(
image, label, is_training=True
)
Call self as a function.