Riferimento framework MLKitVision
Costanti
Le seguenti costanti sono disponibili a livello globale.
-
L'origine dell'immagine è UIImage
.
-
L'origine dell'immagine è CVPixelBuffer
.
-
L'origine dell'immagine è CMSampleBuffer
.
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-08-20 UTC.
[null,null,["Ultimo aggiornamento 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"]]