VerIDImage
@objc
public class VerIDImage : NSObject, ImageProvider, Codable
-
Sample buffer
Declaration
Swift
@objc public let sampleBuffer: CMSampleBuffer? -
CGImage representation
Declaration
Swift
@objc public let cgImage: CGImage? -
Original image orientation
Declaration
Swift
@objc public let orientation: CGImagePropertyOrientation -
Image processed for face detection
Since
1.9.0Declaration
Swift
@objc internal(set) public var faceDetectionImage: FaceDetectionImage? { get } -
Name of the image processor used to prepare the image for face detection
Since
1.9.0Declaration
Swift
@objc internal(set) public var imageProcessorName: String? { get } -
Declaration
Swift
public required init(from decoder: Decoder) throws -
Declaration
Swift
public func encode(to encoder: Encoder) throws -
Create image from a sample buffer
Declaration
Swift
@objc public init(sampleBuffer: CMSampleBuffer, orientation: CGImagePropertyOrientation)Parameters
sampleBufferSample buffer, e.g., from a camera
orientationSample buffer image orientation
-
Create image from
CGImageDeclaration
Swift
@objc public init(cgImage: CGImage, orientation: CGImagePropertyOrientation)Parameters
cgImageSource image
orientationSource image orientation
-
Create image from URL
Declaration
Swift
@objc public convenience init?(url: URL)Parameters
urlURL of the image file
VerIDImage Class Reference