20#include "opencv2/opencv.hpp"
32void Resize(cv::Mat *img, cv::Mat *img_n,
int width,
int height);
43void Crop(cv::Mat *img, cv::Mat *img_n,
int x,
int y,
int width,
int height);
53void Normalize(
const std::vector<float> &mean,
const std::vector<float> &
std,
54 float scale, cv::Mat *img);
void Resize(cv::Mat *img, cv::Mat *img_n, int width, int height)
Image resize function
void Normalize(const std::vector< float > &mean, const std::vector< float > &std, float scale, cv::Mat *img)
Image normalize function
void Crop(cv::Mat *img, cv::Mat *img_n, int x, int y, int width, int height)
Image crop function