facebookresearch / ocean

Ocean is the in-house framework for Computer Vision (CV) and Augmented Reality (AR) applications at Meta. It is platform independent and is mainly implemented in C/C++.
https://facebookresearch.github.io/ocean/
MIT License
614 stars 54 forks source link

Allow video frame processing with push callbacks / delegates #29

Open pzoltowski opened 1 month ago

pzoltowski commented 1 month ago

🚀 Feature

Allow processing video frames with push callbacks or delegate instead of current poll / fetching

Motivation & Examples

I explored demo and examples and I noticed is mot cases at least on iOS you have to schedule a timer to keep processing video frames at some requested interval. For applications that require minimum latency would be good to be able to process those video frames with some callback or delegate class. Ideally we could also specify dispatch queue where this processing would take place.

The motivation is to:

leapally commented 1 month ago

Sounds like worth looking into. Thanks for the suggestion!