YoloV10-NPU icon indicating copy to clipboard operation
YoloV10-NPU copied to clipboard

该如何推理视频

Open jumengbo opened this issue 1 year ago • 3 comments

jumengbo avatar Jul 17 '24 09:07 jumengbo

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;

Qengineering avatar Jul 17 '24 09:07 Qengineering

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;

我还是个新手,非常感谢你的代码

jumengbo avatar Jul 17 '24 11:07 jumengbo

不客气

Qengineering avatar Jul 17 '24 12:07 Qengineering