MLKitObjectDetectionCustom Framework ReferenceStay organized with collectionsSave and categorize content based on your preferences.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[],["Two global constants, `MLKObjectDetectorModeSingleImage` and `MLKObjectDetectorModeStream`, define object detection modes. `SingleImage` mode returns results after both tracker and detector are complete. `Stream` mode allows the tracker and detector to run in parallel, returning results when the tracker is finished, even if detection is still in progress. The values assigned to these constants are 0 for single image and 1 for stream.\n"]]