MLKitVision Framework-Referenz
Konstanten
Die folgenden Konstanten sind weltweit verfügbar.
-
-
Bildquelle ist CVPixelBuffer
.
-
Bildquelle ist CMSampleBuffer
.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2024-08-20 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-08-20 (UTC)."],[[["This documentation outlines globally available constants used for specifying the source type of a `GMLImage`."],["`GMLImage` source can be represented by `UIImage`, `CVPixelBuffer`, or `CMSampleBuffer`, each associated with a specific constant."],["These constants (`GMLImageSourceTypeImage`, `GMLImageSourceTypePixelBuffer`, `GMLImageSourceTypeSampleBuffer`) are primarily used within the Objective-C environment."]]],["The provided content defines three constants related to image source types in Objective-C. `GMLImageSourceTypeImage` (value 0) signifies a `UIImage` source. `GMLImageSourceTypePixelBuffer` (value 1) denotes a `CVPixelBuffer` source. `GMLImageSourceTypeSampleBuffer` (value 2) indicates a `CMSampleBuffer` source. Each constant represents a specific type of image data format that can be used. These constants are available globally.\n"]]