Jump to content

GPU Accelerated Motion Detector/Examples/Library Usage: Difference between revisions

Line 86: Line 86:
Once the parameters have been defined, we can proceed to create the algorithms as follows:
Once the parameters have been defined, we can proceed to create the algorithms as follows:


{{Colored box|background-title-color=#cc2900|title-color=#FFFFFF|title='''Create Algorithms'''
  |title='''Create Algorithms'''
  |content=
<syntaxhighlight lang=c++>
<syntaxhighlight lang=c++>
/*Motion Algorithm*/
/*Motion Algorithm*/
Line 96: Line 99:
std::shared_ptr<rr::IBlobDetection> blob = factory->getBlobDetector(rr::IBlobDetection::Algorithm::BRTS, blob_params);
std::shared_ptr<rr::IBlobDetection> blob = factory->getBlobDetector(rr::IBlobDetection::Algorithm::BRTS, blob_params);
</syntaxhighlight>
</syntaxhighlight>
}}


The available algorithms for each stage are the following:
The available algorithms for each stage are the following:
Cookies help us deliver our services. By using our services, you agree to our use of cookies.