Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jbadger3/8df618133f78f7cdad188eec3c323389 to your computer and use it in GitHub Desktop.
Save jbadger3/8df618133f78f7cdad188eec3c323389 to your computer and use it in GitHub Desktop.
let pixelBuffer = sceneView?.session.currentFrame?.capturedImage
let handler = VNImageRequestHandler(cvPixelBuffer: pixelBuffer, orientation: .up)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment