https://ngc.nvidia.com/catalog/containers/nvidia:l4t-ml

 

NVIDIA NGC

 

ngc.nvidia.com

cuda optimized opencv option:

 

https://forums.developer.nvidia.com/t/how-to-know-opencv-is-optimized-for-jetson-tx2/68509

https://ichi.pro/ko/keompyuteo-bijeon-e-daehan-gandanhan-sogae-1-bu-jetson-xavier-nxeseo-opencv-keompail-241089756241325

 

cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=OFF -D WITH_IPP=OFF -D WITH_1394=OFF -D BUILD_WITH_DEBUG_INFO=OFF -D BUILD_DOCS=OFF -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=OFF -D BUILD_TESTS=OFF -D BUILD_PERF_TESTS=OFF -D WITH_QT=OFF -D WITH_GTK=ON -D WITH_OPENGL=ON -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib-4.5.1/modules -D WITH_V4L=ON  -D WITH_FFMPEG=ON -D WITH_XINE=ON -D BUILD_NEW_PYTHON_SUPPORT=ON -D OPENCV_GENERATE_PKGCONFIG=ON -D PYTHON2_INCLUDE_DIR=/usr/include/python2.7 -D PYTHON2_NUMPY_INCLUDE_DIRS=/usr/lib/python2.7/dist-packages/numpy/core/include/ -D PYTHON2_PACKAGES_PATH=/usr/lib/python2.7/dist-packages -D PYTHON2_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so -D PYTHON3_INCLUDE_DIR=/usr/include/python3.6m -D PYTHON3_NUMPY_INCLUDE_DIRS=/usr/lib/python3/dist-packages/numpy/core/include/ -D PYTHON3_PACKAGES_PATH=/usr/lib/python3/dist-packages -D PYTHON3_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.6m.so -D WITH_CUDA=ON ../

 

또는 

    cmake
   -D BUILD_EXAMPLES=OFF \
        -D BUILD_opencv_python2=OFF \
        -D BUILD_opencv_python3=ON \
        -D CMAKE_BUILD_TYPE=RELEASE \
        -D CMAKE_INSTALL_PREFIX=/usr/local \
        -D CUDA_ARCH_BIN=7.2 \
        -D CUDA_ARCH_PTX= \
        -D CUDA_FAST_MATH=ON \
-D CUDNN_VERSION='8.0' \
-D CUDNN_LIBRARY=/usr/lib/aarch64-linux-gnu/libcudnn.so.8 \
        -D CUDNN_INCLUDE_DIR=/usr/include/aarch64-linux-gnu \
        -D EIGEN_INCLUDE_PATH=/usr/include/eigen3 \
        -D ENABLE_NEON=ON \
        -D OPENCV_ENABLE_NONFREE=ON \
        -D OPENCV_EXTRA_MODULES_PATH=/tmp/opencv/opencv_contrib/modules \
        -D OPENCV_GENERATE_PKGCONFIG=ON \
        -D WITH_CUBLAS=ON \
        -D WITH_CUDA=ON \
        -D WITH_CUDNN=ON \
        -D WITH_GSTREAMER=ON \
        -D WITH_LIBV4L=ON \
        -D WITH_OPENGL=ON \
        -D WITH_FFMPEG
-D BUILD_NEW_PYTHON_SUPPORT=ON \
-D OPENCV_GENERATE_PKGCONFIG=ON \
-D PYTHON2_INCLUDE_DIR=/usr/include/python2.7 \
-D PYTHON2_NUMPY_INCLUDE_DIRS=/usr/lib/python2.7/dist-packages/numpy/core/include/ \
-D PYTHON2_PACKAGES_PATH=/usr/lib/python2.7/dist-packages \
-D PYTHON2_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so \
-D PYTHON3_INCLUDE_DIR=/usr/include/python3.6m \
-D PYTHON3_NUMPY_INCLUDE_DIRS=/usr/lib/python3/dist-packages/numpy/core/include/ \
-D PYTHON3_PACKAGES_PATH=/usr/lib/python3/dist-packages \
-D PYTHON3_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.6m.so \
   -D BUILD_PERF_TESTS=OFF \
   -D BUILD_TESTS=OFF \
-D BUILD_opencv_cudacodec=ON \
-D WITH_QT=ON \
-D BUILD_opencv_cudev=ON \
-D WITH_NVCUVID=ON \
   ../

 

https://www.programmersought.com/article/64346542786/

 

Install mmdetection environment in Jetson tx2 - Programmer Sought

table of Contents surroundings: STEP1 Install pytorch STEP2 install dependent libraries STEP3 Install mmdetectoin, mmcv Compile mmcv Compile mmdetection to sum up Related resources download reference After installing it for several days, I finally installe

www.programmersought.com

 

젯슨 디바이스 업데이트 : https://docs.nvidia.com/jetson/l4t/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/updating_jetson_and_host.html

 

Tegra Linux Driver

Your browser has DOM storage disabled. Make sure DOM storage is enabled and try again.

docs.nvidia.com

 

deb repository 등록 경로 :/etc/apt/sources.list.d/

 

ffmpeg -c:v h264_nvv4l2dec -i rtsp://admin:@hict1234@192.168.1.43:554/Streaming/Channels/601 -c:v rawvideo -pix_fmt yuv420p out.yuv

 

 

ffmpeg flag documentation:

https://ffmpeg.org/ffmpeg-protocols.html

 

FFmpeg Protocols Documentation

Table of Contents This document describes the input and output protocols provided by the libavformat library. The libavformat library provides some generic global options, which can be set on all the protocols. In addition each protocol may support so-call

ffmpeg.org

 

ffmpeg pkgconfig path : /usr/lib/pkgconfig

export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"

 

 

ffmpeg install guide:

https://docs.nvidia.com/video-technologies/video-codec-sdk/ffmpeg-with-nvidia-gpu/

 

Using FFmpeg with NVIDIA GPU Hardware Acceleration :: NVIDIA Video Codec SDK Documentation

In some situations, it is necessary to perform video decoding in software. For example, consider the situation in which the hardware encoder has more capacity than the decoder. To realize the full potential of the encoder hardware in such cases, it is bene

docs.nvidia.com

configure할때 --enable-pic  추가

도커 run 할때 --cap-add=all 추가

 

ffmpeg 빌드시 주의사항.

make 전에 export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" 먼저할것.4.4버전 사용할것. --enable-pic 옵션줄것.

 

How To Install Jetpack

https://docs.nvidia.com/jetson/jetpack/install-jetpack/index.html

 

How to Install JetPack :: NVIDIA JetPack Documentation

Starting with JetPack 4.4, upgrading to the next JetPack release can be achieved using a package management tool like apt. Follow the below steps to perform the upgrade: First, upgrade L4T. Please refer to the section "To upgrade to a new point release" in

docs.nvidia.com

 

sudo nvpmodel -m 2

sudo jetson_clocks

 

'NVIDIA Deep Stream' 카테고리의 다른 글

tlt 초기세팅  (0) 2021.04.20

+ Recent posts