2,599
edits
Efernandez (talk | contribs) |
Efernandez (talk | contribs) |
||
Line 122: | Line 122: | ||
== Download buffer to CPU memory == | == Download buffer to CPU memory == | ||
When using GPU the output buffer must be | When using GPU the output buffer must be moved back to CPU memory. To accomplish this, use the <code>copyToHost</code> method to download the output buffer to CPU memory. | ||
<syntaxhighlight lang=cpp> | <syntaxhighlight lang=cpp> | ||
Line 128: | Line 128: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
The output final buffer contains the modified image where the detected faces have been | The output final buffer contains the modified image where the detected faces have been redacted. | ||
== Full example == | == Full example == |