Capturer

3.0.0

📸 A wrapper for AVCaptureSession - The way easier to use the Camera.
FluidGroup/Capturer

What's New

3.0.0

2023-10-12T06:02:50Z

What's Changed

New Contributors

Full Changelog: 2.0.0...3.0.0

Capturer

A wrapper for AVCaptureSession - The way easier to use the Camera.

Setting up

let captureBody = CaptureBody(
  configuration: .init {
    $0.sessionPreset = .photo
  }
)
let input = CameraInput.wideAngleCamera(position: .back)

await captureBody.attach(input: input)

let previewOutput = PreviewOutput()
let photoOutput = PhotoOutput()

await captureBody.attach(output: previewOutput)
await captureBody.attach(output: photoOutput)

let previewView = PixelBufferView()
previewView.attach(output: previewOutput)

captureBody.start()

License

MIT

Description

  • Swift Tools 5.5.0
View More Packages from this Author

Dependencies

  • None
Last updated: Tue Mar 12 2024 18:19:30 GMT-0900 (Hawaii-Aleutian Daylight Time)