detectMultiScale(…) internal principle? [closed]

我们两清 提交于 2019-12-25 00:05:24

问题


This is an algorithm question on the detectMultiScale(...) function from the opencv library. I need help to understand what opencv's detectMulitScale() function exactly does.

I have understood from reading the C++ code that the source image is scaled with several scales based on scaleFactor and size() parameters. This is the most outer loop of detectMultiScale. What I did not get is how the inner loops are organised.

The LBP feature is computed always on a sub rectangle of 20x20 (in my case). Now I wonder how the 20x20 rectangle is shifted over the source image. Is this really done for every source pixel ? This would result in (960-20)*(540-20) evaluations of sub rectangles ? I don't think it is done this way...

Can anybody shed light on how this is done ? Thanks

来源:https://stackoverflow.com/questions/59404386/detectmultiscale-internal-principle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!