Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

该如何推理视频 #1

Open
jumengbo opened this issue Jul 17, 2024 · 3 comments
Open

该如何推理视频 #1

jumengbo opened this issue Jul 17, 2024 · 3 comments

Comments

@jumengbo
Copy link

No description provided.

@Qengineering
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

不客气

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants