FritzVisionImage

@available(OSX 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
@objc(FritzVisionImage)
public class FritzVisionImage : NSObject

An image or image buffer used in vision detection.

  • CVPixelBuffer of image.

    Declaration

    Swift

    public let imageBuffer: CVPixelBuffer?
  • Declaration

    Swift

    public let sampleBuffer: CMSampleBuffer?
  • Declaration

    Swift

    public let image: UIImage?
  • Declaration

    Swift

    public var metadata: FritzVisionImageMetadata?
  • Dimensions of FritzVisionImage

    Declaration

    Swift

    public var size: CGSize? { get }
  • Declaration

    Swift

    @objc(initWithBuffer:)
    public init(buffer: CMSampleBuffer)
  • Declaration

    Swift

    @objc(initWithImageBuffer:)
    public init(imageBuffer: CVPixelBuffer)
  • Declaration

    Swift

    @objc(initWithImage:)
    public init(image: UIImage)
  • Declaration

    Swift

    public func buildImageRequestHandler() -> VNImageRequestHandler?