23 #ifndef SRC_PRE_PROCESSOR_H_
24 #define SRC_PRE_PROCESSOR_H_
31 #include "opencv2/opencv.hpp"
62 void normalise(uint8_t* resized_image,
float* normalised_image);
Pre-process the input image before passing to Inference::InferenceCore
Definition: pre_processor.h:51
PreProcessedImage run(cv::Mat cv_image)
Apply pre processing to the given input image.
Definition: pre_processor.cpp:44
PreProcessor(size_t model_width, size_t model_height)
Construct a new PreProcessor object.
Definition: pre_processor.cpp:26
Responsible for resizing and normalising the input image to a structure suitable for TensorFlow Lite.
Definition: intermediate_structures.h:77
A structure of the pre processed image.
Definition: intermediate_structures.h:85