Page Summary
-
There are two globally available constants:
MLKObjectDetectorModeSingleImageandMLKObjectDetectorModeStream. -
MLKObjectDetectorModeSingleImagereturns results when both the tracker and detector are finished processing. -
MLKObjectDetectorModeStreamenables parallel processing of tracker and detector, returning tracker results first while detection might still be ongoing.
Constants
The following constants are available globally.
-
In single image mode, the results are returned when both tracker and detector are finished.
Declaration
Objective-C
static const MLKObjectDetectorMode MLKObjectDetectorModeSingleImage = 0 -
In stream mode, tracker and detector run in parallel. The results are returned when tracker processing is finished. Detection may still be in progress at that time.
Declaration
Objective-C
static const MLKObjectDetectorMode MLKObjectDetectorModeStream = 1