cv icon indicating copy to clipboard operation
cv copied to clipboard

Video processing and playback

Open aalekhpatel07 opened this issue 2 years ago • 2 comments

Just like how we can work with images, it would be really useful to work with Videos to provide an alternative for VideoCapture from OpenCV. Ideally, we'd not want to load the entire video at once but allow some form of frame-by-frame processing.

aalekhpatel07 avatar Aug 27 '21 23:08 aalekhpatel07

@aalekhpatel07 You can do that today with eye. We should likely re-export eye in the cv crate though, and provide better integration where possible. There have been some discussions about creating a central set of image types/traits for computer vision over here: https://github.com/strawlab/machine-vision-formats/issues. The main problem right now is that we do not share the same types/traits across everything. Rust CV primarily depends on the image crate, but eye does not use the image crate. More progress needs to be made on this, so I will leave this issue open for that work.

Pinging @raymanfx as well for visibility.

vadixidav avatar Aug 28 '21 01:08 vadixidav

I also forgot to mention video specifically. We are waiting on the Rust AV project to create pure-rust crates for video playback (like avcodec and avformat). You can find them over here: https://github.com/rust-av

vadixidav avatar Aug 28 '21 01:08 vadixidav