DefTruth / lite.ai.toolkit

🛠 A lite C++ toolkit of awesome AI models, support ONNXRuntime, MNN, TNN, NCNN and TensorRT.
https://github.com/DefTruth/lite.ai.toolkit
GNU General Public License v3.0
3.62k stars 690 forks source link

which dir to build as bellow says, lite.ai.toolkit or ffmpeg ? #379

Closed xingyuezhiyun closed 1 year ago

xingyuezhiyun commented 1 year ago

then, build opencv with -DWITH_FFMPEG=ON, just like

!/bin/bash

mkdir build cd build

cmake .. \ -D CMAKE_BUILD_TYPE=Release \ -D CMAKE_INSTALL_PREFIX=your-path-to-custom-dir \ -D BUILD_TESTS=OFF \ -D BUILD_PERF_TESTS=OFF \ -D BUILD_opencv_python3=OFF \ -D BUILD_opencv_python2=OFF \ -D BUILD_SHARED_LIBS=ON \ -D BUILD_opencv_apps=OFF \ -D WITH_FFMPEG=ON

make -j8 make install cd ..