【opencv】NV12转MatOpenCV3.4.91.编译命令2.执行准备3.代码4.备注
OpenCV3.4.91.编译命令g++ main.cpp -I /usr/local/include -L/usr/local/lib -lopencv_imgproc -lopencv_core -lopencv_imgcodecs -ldl2.执行准备export LD_LIBRARY_PATH=/usr/local/lib3.代码#include <iostream>#include <fstream>/*opencv*/#incl