YoloV10-NPU
YoloV10-NPU copied to clipboard
该如何推理视频
At line 186 in main.cpp:
cv::VideoCapture cap(imagepath);
if (!cap.isOpened()) {
cerr << "ERROR: Unable to open the camera" << endl;
return 0;
}
cout << "Start grabbing, press ESC on Live window to terminate" << endl;
while(1){
// orig_img=cv::imread(imagepath, 1);
cap >> orig_img;
At line 186 in main.cpp:
cv::VideoCapture cap(imagepath); if (!cap.isOpened()) { cerr << "ERROR: Unable to open the camera" << endl; return 0; } cout << "Start grabbing, press ESC on Live window to terminate" << endl; while(1){ // orig_img=cv::imread(imagepath, 1); cap >> orig_img;
我还是个新手,非常感谢你的代码
不客气