decord icon indicating copy to clipboard operation
decord copied to clipboard

Is it possible to grab screen on time?

Open dbsxdbsx opened this issue 4 years ago • 3 comments

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?

dbsxdbsx avatar Mar 02 '20 14:03 dbsxdbsx

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

zhreshold avatar Mar 03 '20 19:03 zhreshold

@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.

dbsxdbsx avatar Mar 04 '20 12:03 dbsxdbsx

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

zhreshold avatar Mar 16 '20 06:03 zhreshold