Page Summary
-
GMLImage has three image source types:
image,pixelBuffer, andsampleBuffer. -
imagesource type corresponds to aUIImage,pixelBuffercorresponds to aCVPixelBuffer, andsampleBuffercorresponds to aCMSampleBuffer. -
These constants are globally available.
Constants
The following constants are available globally.
-
Image source is a
UIImage.Declaration
Swift
static let image: MLImageSourceType -
Image source is a
CVPixelBuffer.Declaration
Swift
static let pixelBuffer: MLImageSourceType -
Image source is a
CMSampleBuffer.Declaration
Swift
static let sampleBuffer: MLImageSourceType