Building Computer Vision Projects with OpenCV 4 and C++
by David Millan Escriva, Prateek Joshi, Vinicius G. Mendonca, Roy Shilkrot
Farneback algorithm
Gunnar Farneback proposed this optical flow algorithm and it's used for dense tracking. Dense tracking is used extensively in robotics, augmented reality, and 3D mapping. You can check out the original paper here: http://www.diva-portal.org/smash/get/diva2:273847/FULLTEXT01.pdf. The Lucas-Kanade method is a sparse technique, which means that we only need to process some pixels in the entire image. The Farneback algorithm, on the other hand, is a dense technique that requires us to process all the pixels in the given image. So, obviously, there is a trade-off here. Dense techniques are more accurate, but they are slower. Sparse techniques are less accurate, but they are faster. For real-time applications, people tend to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access