MLKitObjectDetectionCommon Framework ReferenceStay organized with collectionsSave and categorize content based on your preferences.
Page Summary
TheMLKObjectDetectorModeSingleImageconstant is used when results are needed after both tracker and detector processing are complete.
MLKObjectDetectorModeStreamconstant enables parallel processing of tracker and detector, providing results when tracker processing is finished, even if detection is 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 define object detector modes: `MLKObjectDetectorModeSingleImage` (0) and `MLKObjectDetectorModeStream` (1). In `SingleImage` mode, results are available after both tracker and detector processes complete. In `Stream` mode, the tracker and detector run simultaneously, and results are returned when the tracker is finished, while detection might still be underway.\n"]]