Skip to content

Latest commit

 

History

History
71 lines (57 loc) · 2.21 KB

README.md

File metadata and controls

71 lines (57 loc) · 2.21 KB

README

OpenCV

OpenCV - Open Source Computer Vision Library. Sometimes accelerated with OpenCL/Cuda; Supported on Linux (includng Raspberry Pi), Windows, Linux, iOS, Android;

Table of Context

Data Types

back to top

Performance Test

back to top

DNN BackEnd/Target

    enum Backend
    {
        //! DNN_BACKEND_DEFAULT equals to DNN_BACKEND_INFERENCE_ENGINE if
        //! OpenCV is built with Intel's Inference Engine library or
        //! DNN_BACKEND_OPENCV otherwise.
        DNN_BACKEND_DEFAULT = 0,
        DNN_BACKEND_HALIDE,                //1
        DNN_BACKEND_INFERENCE_ENGINE,      //2
        DNN_BACKEND_OPENCV,                //3
        DNN_BACKEND_VKCOM,                 //4 
        DNN_BACKEND_CUDA                   //5   
    };
    enum Target
    {
        DNN_TARGET_CPU = 0,
        DNN_TARGET_OPENCL,     //1
        DNN_TARGET_OPENCL_FP16,//2
        DNN_TARGET_MYRIAD,     //3
        DNN_TARGET_VULKAN,     ///4
        DNN_TARGET_FPGA,       //5
        DNN_TARGET_CUDA,       //6
        DNN_TARGET_CUDA_FP16   //7
    };

Build

Android

android tools required to be R25.2.5 (need to manually downgrade in 2018 and above)

cmake -D CMAKE_TOOLCHAIN_FILE=../../opencv/platforms/android/android.toolchain.cmake -DANDROID_NATIVE_API_LEVEL=android-21 -DBUILD_ANDROID_PROJECTS=OFF ../../opencv

OpenCV should be build with the same compiler/libstd++/stl, as other libs(Qt etc). errors in std::sting and similar appear

back to top