OpenCV FAST detector

前端 未结 1 1934
离开以前
离开以前 2021-01-24 10:28

In my main.cpp I have an excerpt:

Ptr fastDetector = FastFeatureDetector::create(80, true);

while (true) {
    Mat image = /         


        
1条回答
  •  悲&欢浪女
    2021-01-24 10:58

    From a quick browsing of the source code it looks like there is extensive optimization for SSE and OpenCL in fastFeatureDetector: github.com/Itseez/opencv/blob/master/modules/features2d/src/‌

    SSE and OpenCL are not specific to any CPU. SSE utilizes the CPU's ability to perform a single instruction (calculation) on multiple pieces of data simultaneously. So depending on the CPU's architecture this can improve speeds as little as 2x or well beyond 4x. OpenCL can utilize the GPU which can also give major performance boosts to certain image processing operations.

    0 讨论(0)
提交回复
热议问题