1. Use built-in mad() instead of += and *. 2. For stump stages, if weight.z == 0, avoid unnecessary calculation because some features only have 2 rectangles.. It could improve OCL_Cascade_Image_MinSize_CascadeClassifier.CascadeClassifier/* about 10% mean values. Signed-off-by: Yan Wang <yan.wang@linux.intel.com> |
||
|---|---|---|
| .. | ||
| doc/pics | ||
| include/opencv2 | ||
| misc/java/test | ||
| perf | ||
| src | ||
| test | ||
| CMakeLists.txt | ||