MCPcopy Create free account
hub / github.com/AIRLegend/aitrack / normalize

Method normalize

AITracker/src/imageprocessor.cpp:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11}
12
13void ImageProcessor::normalize(cv::Mat& image)
14{
15 cv::divide(image, std_scaling, image);
16 cv::subtract(image, mean_scaling, image);
17}
18
19
20void ImageProcessor::cvt_format(float* from, float* dest, int dim)

Callers 2

detect_faceMethod · 0.80
detect_landmarksMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected