godrone icon indicating copy to clipboard operation
godrone copied to clipboard

Optical Flow

Open felixge opened this issue 12 years ago • 4 comments

We need to implement the optical flow algorithm for the bottom camera to avoid the drone drifting over time. Ideally I'd like to get an understanding of the underlaying math and implement this in Go, but for now a binding to something like OpenCV may also be fine (even so I'd prefer to use a more lightweight library, I recall seeing a cool looking pure C lib at some point).

This will require #8 first.

felixge avatar Dec 14 '13 22:12 felixge

If you were thinking about http://libccv.org/ , it does not implement Optical Flow.

bkw avatar Dec 23 '13 13:12 bkw

Yes, that's the one I was thinking off. Bummer about it not supporting optical flow. I guess we'll have to go with another library, or implement optical flow ourselves :wink: . Btw. are you online in Skype / IRC right now?

felixge avatar Dec 23 '13 13:12 felixge

no time right now. https://github.com/inspirit/jsfeat/blob/master/src/jsfeat_optical_flow_lk.js looks portable.

bkw avatar Dec 23 '13 14:12 bkw

Yup, looks doable. Just don't make a typo :)

felixge avatar Dec 23 '13 14:12 felixge