MLKitObjectDetectionCommon Framework Reference
Stay organized with collections
Save and categorize content based on your preferences.
Object
An object detected in an image.
-
The rectangle that holds the detected object relative to the image in the view’s coordinate
system.
Declaration
Swift
var frame: CGRect { get }
-
An array of labels describing the object returned by the detector. The property is empty if the
detector option shouldEnableClassification
is set to NO
.
Declaration
Swift
var labels: [MLKObjectLabel] { get }
-
The tracking identifier of the detected object. The value is a non-negative integerValue
. The
value is nil
if no tracking ID was provided.
Declaration
Swift
var trackingID: NSNumber? { get }
-
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-12-08 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]