https://blog.csdn.net/hxy130611/article/details/81050268
https://www.cnblogs.com/rainsoul/p/8243385.html
https://blog.csdn.net/xy_zhangchn/article/details/82462648
# cuDNN acceleration switch (uncomment to build with cuDNN). USE_CUDNN := 1
# CPU-only switch (uncomment to build without GPU support). # CPU_ONLY := 1
# uncomment to disable IO dependencies and corresponding data layers #USE_OPENCV := 1 # USE_LEVELDB := 0 # USE_LMDB := 0
# uncomment to allow MDB_NOLOCK when reading LMDB files (only if necessary) # You should not set this flag if you will be reading LMDBs with any # possibility of simultaneous read and write # ALLOW_LMDB_NOLOCK := 1
# Uncomment if you're using OpenCV 3 OPENCV_VERSION := 3