opencv C++ dnn模块调用yolov5以及Intel RealSense D435深度相机联合使用进行目标检测
一、代码#include#include#include//IncludeRealSenseCrossPlatformAPIusingnamespacecv;usingnamespacednn;usingnamespacestd;usingnamespacers2;//类名数组,这里需要替换为实际YOLO模型所检测的对象的类名constchar*classNames[]={"object1","o