SkillAgentSearch skills...

Capturer

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

Install / Use

/learn @FluidGroup/Capturer
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

View on GitHub
GitHub Stars23
CategoryDevelopment
Updated3mo ago
Forks5

Languages

Swift

Security Score

72/100

Audited on Dec 20, 2025

No findings