Jump to content

AI Based Object Redaction/Getting Started/Building librrobjectredaction: Difference between revisions

no edit summary
No edit summary
Line 7: Line 7:
In the following sections, you can see how to install the dependencies required to build librrobjectredaction.  
In the following sections, you can see how to install the dependencies required to build librrobjectredaction.  
=== CUDA L4T pacakge (NPPI library) ===  
=== CUDA L4T pacakge (NPPI library) ===  
<pre style=background-color:yellow>
The Jetpack default installation will flash and install all the necessary CUDA packages, including NPPI library. This section describes how to perform a manual installation, which is typically __NOT__ needed
</pre>


Installation guide for CUDA:
Installation guide for CUDA:
Line 23: Line 18:


==== Jetson platforms ====
==== Jetson platforms ====
<pre style=background-color:yellow>
The Jetpack default installation will flash and install all the necessary CUDA packages, including NPPI library. This section describes how to perform a manual installation, which is typically __NOT__ needed
</pre>
* Depending on what Jetpack release you have installed on your Jetson, you might want to download the corresponding CUDA Toolkit version, including NPPI library. In the following table you can see which one you need. Click on the link and follow the selection menu.   
* Depending on what Jetpack release you have installed on your Jetson, you might want to download the corresponding CUDA Toolkit version, including NPPI library. In the following table you can see which one you need. Click on the link and follow the selection menu.   


Line 178: Line 177:
sudo apt install -y    \
sudo apt install -y    \
     doxygen             
     doxygen             
</syntaxhighlight>
=== Tests (optional) ===
For building tests, consider the following dependency:
*cpputest
Please, install it using (in Debian-based systems):
<syntaxhighlight lang=bash>
sudo apt install -y    \
    cpputest           
</syntaxhighlight>
</syntaxhighlight>


Line 208: Line 220:


<syntaxhighlight lang=bash>
<syntaxhighlight lang=bash>
meson build --optimization 3 --prefix /usr -Ddocs=disabled -Ddeveloper-mode=false
meson build --optimization 3 --prefix /usr -Ddocs=disabled -Ddeveloper-mode=false -Denable-tests=disabled
ninja -C build
ninja -C build
sudo ninja -C build install
sudo ninja -C build install
335

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.