Attention: This MediaPipe Solutions Preview is an early release. Learn more.

Module: mediapipe_model_maker.image_classifier.image_classifier.image_preprocessing

Stay organized with collections Save and categorize content based on your preferences.

ImageNet preprocessing.

Classes

class Preprocessor: Preprocessor for image classification.

Functions

preprocess_for_eval(...): Preprocesses the given image for evaluation.

preprocess_for_train(...): Preprocesses the given image for evaluation.

CROP_PADDING 32
IMAGE_SIZE 224