Karsten Schmidt<p>To avoid a massive OpenCV dependency for a current project I'm involved in, I ended up porting my own homemade, naive optical flow code from 2008 and just released it as a new package. Originally this was written for a gestural UI system for Nokia retail stores (prior to the Microsoft takeover), the package readme contains another short video showing the flow field being utilized to rotate a 3D cube:</p><p><a href="https://thi.ng/pixel-flow" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">thi.ng/pixel-flow</span><span class="invisible"></span></a></p><p>I've also created a small new example project for testing with either webcam or videos:</p><p><a href="https://demo.thi.ng/umbrella/optical-flow/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">demo.thi.ng/umbrella/optical-f</span><span class="invisible">low/</span></a></p><p><a href="https://mastodon.thi.ng/tags/ThingUmbrella" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ThingUmbrella</span></a> <a href="https://mastodon.thi.ng/tags/OpticalFlow" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OpticalFlow</span></a> <a href="https://mastodon.thi.ng/tags/ImageAnalysis" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ImageAnalysis</span></a> <a href="https://mastodon.thi.ng/tags/ComputerVision" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ComputerVision</span></a> <a href="https://mastodon.thi.ng/tags/TypeScript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TypeScript</span></a> <a href="https://mastodon.thi.ng/tags/JavaScript" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>JavaScript</span></a></p>