Silence-GitHub
Silence-GitHub
`BBMetalVideoSource` dose not use `CADisplayLink`. If you set `playWithVideoRate` to true, it outputs video frames with the actual rate. However, the render view FPS is not exactly the same to...
Yes. 1. Use `BBMetalUISource` to capture `UIView` snapshot as the overlay. Or draw an image with core graphics and use `BBMetalStaticImageSource` to output the overlay. 2. Blend camera and the...
Two concerns: 1. Since you use a blend filter, remove unnecessary `camera.add(consumer: metalView)`. 2. The camera resolution is 1920x1080, but the overlay view size is dynamic. So the overlay view...
Did you add `use_frameworks!` in the Podfile?
Now the library can not play audio. Maybe you can play audio with AVPlayer.
Sorry, I haven't heard about it and I don't have iPhone X or Xs. I will remain this open for some one who can help.
We do not get and process CMSampleBuffer directly. For face detection, we can use `metadataObjectDelegate` ``` class MyViewController: UIViewController { override func viewDidLoad() { ... camera = ... camera.addMetadataOutput(with: [.face])...
@jitensndk Hello, I reconsider the issue. The `metadataObjectDelegate ` is not powerful enough. Could you please tell me how do you detect face (Core Image, Core ML or other)? Can...
Please try version `1.1.7`. We can get original video sample buffer in `preprocessVideo` block. ``` camera.preprocessVideo = { sampleBuffer in // Do something with original video sample buffer } ```
@floriangbh No. Now this library provides `MTLTexture`, not `CMSampleBuffer`. Camera and video source provide original `CMSampleBuffer` because of `AVFoundation`.