Choose the correct RunningMode for your use case
masterThe RunningMode determines how the Task processes data and which execution method you should call:
RunningMode.IMAGE: For single still images. UseDetect().RunningMode.VIDEO: For continuous video frames. UseDetectForVideo().RunningMode.LIVE_STREAM: For camera input where you want to avoid blocking the main thread. Results are received asynchronously via a callback. UseDetectAsync().