mirror of
https://github.com/opencv/opencv.git
synced 2026-07-26 22:03:04 +04:00
433c3da7cf
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>