Jump to content

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

Line 111: Line 111:
Then, to hold the data for the intermediate steps we need to provide buffers. The factory gives you a method for that purpose.  
Then, to hold the data for the intermediate steps we need to provide buffers. The factory gives you a method for that purpose.  


{{Colored box|background-title-color=#0033cc|title-color=#FFFFFF|title='''Create Intermediate Frames'''
  |title='''Create Intermediate Frames'''
  |content=
<syntaxhighlight lang=c++>
<syntaxhighlight lang=c++>
#define WIDTH 640
#define WIDTH 640
Line 124: Line 127:
}
}
</syntaxhighlight>
</syntaxhighlight>
}}


Be careful with the format you use. We support different formats in the different algorithms.
Be careful with the format you use. We support different formats in the different algorithms.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.