-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
Labels
π questionFurther information is requestedFurther information is requested
Description
Question
I have a document detection model I want to run but it's slow, I don't want to hard-lock to running it once every second (with runAtTargetFps(1, ...)) but rather want it to execute sequentially in a different thread.
I.E. the next call to my callback should be immediately after the previous call has finished, independent of the FPS or what frame it is
What I tried
I know I can technically wrap some logic into runAsync that'll check if the previous call has finished - or use a recursive call in a one-off thing
But institutively this utility seems (to me at least) useful when dealing with frame processing, so maybe a sister function to runAsync and runAtTargetFps could be introduced?
VisionCamera Version
8.0.2
Additional information
- I am using Expo
- I have read the Troubleshooting Guide
- I agree to follow this project's Code of Conduct
- I searched for similar questions in the issues page as well as in the discussions page and found none.
Metadata
Metadata
Assignees
Labels
π questionFurther information is requestedFurther information is requested