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

processor.listenToKeyboardEvents(); in Main.cpp has no function #6

Open
tim9510019 opened this issue Aug 10, 2016 · 2 comments
Open

Comments

@tim9510019
Copy link

I can't press space to pause the frame.
Nor can I stop close the window with ESC.

@joelgallant
Copy link
Contributor

You probably are using a different OS or keyboard setup that's not giving the correct key for space.

const int Keys::ESC = 27;

Check documentation for opencv's waitKey

@tim9510019
Copy link
Author

Thanks for your advices.
I ran VM for Ubuntu 16.04, and I modified line 207 in viva.cpp:
key = waitKey(1) & 0xff;

The Keyboard function worked.

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