I wrote my computer vision dissertation in rust

366 points Heep042

Hey all!

As part of my dissertation, I wrote a framework for processing various motion vectors in hope to detect motion or extract camera parameters. It is a pretty hefty project with a plugin system, egui based app, a custom 3D renderer, and several algorithms of extracting motion from video.

OFPS-Suite tracking camera movement

The overall experience building it was pretty great, with some surprises along the way. Somehow I managed to create a rustc ICE when compiling stable code, but it was very particular to set up, so I am not sure if one could even reproduce it. Rust was a great choice for its performance, type safety and available crates - nalgebra was a true lifesaver here, and integrating egui with wgpu was a really empowering experience. The project is not quite production quality, but it might come in handy for any future computer vision research. I called it OFPS, and you can find it on crates.io or my github (includes actual dissertation).