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

Added Read Function in OpenCV Based Classes to mirror the one present in VideoCapture #50

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

pratikpc
Copy link

@pratikpc pratikpc commented Dec 7, 2018

The read Function Grabs, decodes and returns the next video frame.
The implementation is quite simple and utilises the grab and retrieve method which have already been implemented.
Writing Camera.read(image) is equivalent to writing

Camera.grab();
Camera.retrieve ( image);

Using read function would hence help shorten quite a few examples as well.

Please review and push into master branch if you find them useful.

The .gitignore file was added because VS has a habit of adding a few files of it's own for intellisense purposes in CMake Project Folder.
As such in order to ensure that those do not get uploaded, I created a .gitignore file.
However, the raspicam repository does not contain a .gitignore and hence I am deleting it
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

Successfully merging this pull request may close these issues.

1 participant