There are many dimensions upon which we can evaluate the algorithms. This section explores how to evaluate algorithms.
Assuming we want to have fast face detection—which algorithm would be better?
The only way to understand the performance of an algorithm is to measure it. Thankfully Go comes with benchmarking built in. That is what we are about to do.
To build benchmarks we must be very careful about what we're benchmarking. In this case, we want to benchmark the performance of the detection algorithm. This means comparing classifier.DetectMultiScale versus, pigoClass.RunCascade and pigoClass.ClusterDetections.
Also, we have to compare apples to apples—it would be unfair if we compare one algorithm with a 3840 x 2160 ...