Photo
public class Photo : Input
Photo input takes photo from CameraDevice or Image and pushes it into the photo processor.
-
Create photo input
Declaration
Swift
public init() -
Take High Quality photo from
CameraDevicewith specifiedsettingsDeclaration
Swift
public func take(from cameraDevice: CameraDevice, with settings: CameraPhotoSettings)Parameters
cameraDeviceto take photo
settingsphoto settings for
CameraDevice -
Take photo from
imageDeclaration
Swift
public func take(from image: UIImage)Parameters
imageimage
-
Take photo from
pixelBufferDeclaration
Swift
public func take(from pixelBuffer: CVPixelBuffer)Parameters
pixelBufferCVPixelBuffer with photo
-
Declaration
Swift
public func frameProcessor() -> BNBFrameProcessor?
Photo Class Reference