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: Wed Dec 04 2024 20:07:02 GMT-1000 (Hawaii-Aleutian Standard Time)