2,599
edits
Efernandez (talk | contribs) |
Efernandez (talk | contribs) No edit summary |
||
Line 4: | Line 4: | ||
In this section will be explained an example for face redaction running on GPU. | In this section will be explained an example for face redaction running on GPU. | ||
The first thing you want to do is to include the library header as follows: | |||
<syntaxhighlight lang=cpp> | |||
#include <rd/redaction.hpp> | |||
</syntaxhighlight> | |||
== Backend == | == Backend == | ||
First, we create the backend object. The backend provides factories to create the redaction algorithm and buffers. It provides the user the ability to select the desired backend for the execution of the algorithm for object redaction. The backend could be CPU or GPU. | First, we create the backend object. The backend provides factories to create the redaction algorithm and buffers. It provides the user the ability to select the desired backend for the execution of the algorithm for object redaction. The backend could be CPU or GPU. |