MLKitVision Çerçevesi Referansı
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Sabitler
Aşağıdaki sabit değerler tüm dünyada kullanılabilir.
-
-
Resim kaynağı: CVPixelBuffer
.
-
Resim kaynağı: CMSampleBuffer
.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-25 UTC."],[[["\u003cp\u003eThis documentation outlines globally available constants used for specifying the source type of a \u003ccode\u003eGMLImage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGMLImage\u003c/code\u003e source can be represented by \u003ccode\u003eUIImage\u003c/code\u003e, \u003ccode\u003eCVPixelBuffer\u003c/code\u003e, or \u003ccode\u003eCMSampleBuffer\u003c/code\u003e, each associated with a specific constant.\u003c/p\u003e\n"],["\u003cp\u003eThese constants (\u003ccode\u003eGMLImageSourceTypeImage\u003c/code\u003e, \u003ccode\u003eGMLImageSourceTypePixelBuffer\u003c/code\u003e, \u003ccode\u003eGMLImageSourceTypeSampleBuffer\u003c/code\u003e) are primarily used within the Objective-C environment.\u003c/p\u003e\n"]]],["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"],null,["# MLKitVision Framework Reference\n\nConstants\n=========\n\nThe following constants are available globally.\n- `\n ``\n ``\n `\n\n ### [GMLImageSourceTypeImage](#/c:GMLImage.h@GMLImageSourceTypeImage)\n\n `\n ` \n Image source is a `UIImage`. \n\n #### Declaration\n\n Objective-C \n\n static const /ml-kit/reference/ios/mlkitvision/api/reference/Type-Definitions#/c:GMLImage.h@T@GMLImageSourceType GMLImageSourceTypeImage = 0\n\n- `\n ``\n ``\n `\n\n ### [GMLImageSourceTypePixelBuffer](#/c:GMLImage.h@GMLImageSourceTypePixelBuffer)\n\n `\n ` \n Image source is a `CVPixelBuffer`. \n\n #### Declaration\n\n Objective-C \n\n static const /ml-kit/reference/ios/mlkitvision/api/reference/Type-Definitions#/c:GMLImage.h@T@GMLImageSourceType GMLImageSourceTypePixelBuffer = 1\n\n- `\n ``\n ``\n `\n\n ### [GMLImageSourceTypeSampleBuffer](#/c:GMLImage.h@GMLImageSourceTypeSampleBuffer)\n\n `\n ` \n Image source is a `CMSampleBuffer`. \n\n #### Declaration\n\n Objective-C \n\n static const /ml-kit/reference/ios/mlkitvision/api/reference/Type-Definitions#/c:GMLImage.h@T@GMLImageSourceType GMLImageSourceTypeSampleBuffer = 2"]]