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

Is it possible to grab screen on time? #29

Open
dbsxdbsx opened this issue Mar 2, 2020 · 3 comments
Open

Is it possible to grab screen on time? #29

dbsxdbsx opened this issue Mar 2, 2020 · 3 comments

Comments

@dbsxdbsx
Copy link

dbsxdbsx commented Mar 2, 2020

Sometimes I would try to input image to model from video or a window screen right on time, which is not recorded on disk. Is it possible with decord?

@zhreshold
Copy link
Member

I don't think I understand your question. If you have images why not just feed in the image?

@dbsxdbsx
Copy link
Author

dbsxdbsx commented Mar 4, 2020

@zhreshold, Sorry, I didn't make it clear, the "image" I said refers to picture.for example, if I need to detect objects in a game, it is inefficient to capture it and store it on disk.
And at present, the capture job is done by opencv module in a loop. And I hope that decord can do it more efficiently.

@zhreshold
Copy link
Member

You can loop through the VideoReader and pass it to display with the numpy array.

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