How to implement real time dense optical flow app with camera

Even I build a python opencv with cuda and gpu enable, the time the Jetson Nano cost to calculate the dense optical flow of two frames cost 3 seconds. Any suggestion about which API or SDK should I use to build a dense optical flow program that enable to calculate the flow in around 5 ~ 10 FPS on Jetson Nano?

Hi,

You could give a try to VPI: VPI - Vision Programming Interface: Algorithms

Jafet Chaves,
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com/
Website: www.ridgerun.com

I found a post here. Seems like it doesn’t support on Nano

1 Like

Good to know, jet.code21. puffvayne, perhaps you could share your code to check if there are any parts where it can be optimized.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.