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++.
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:
minimise latency or
reduce cpu usage in case scheduling timer at very low interval such as 1ms.
simplify code so doesn't require each time doing some mutex locking mechanism.
🚀 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: