I use Apple's Vision Framework to create a matte image for a person that is found in a user provided image. I want to analyze the results from a VNGen ...
I use Apple's Vision Framework to create a matte image for a person that is found in a user provided image. I want to analyze the results from a VNGen ...
I'm working with Apple's own example here: Applying Matte Effects to People in Images and Video My goal is simple, I want to save the filtered video ...
I have an image that should be preprocessed before passing to CoreML to 640x640 square with resizing and saving aspect ratio (check the image). I foun ...
I am looking for a way to wait for a CIContext render to complete without blocking. For simplicity, here is an example where I render one CVPixelBuffe ...
I have a AVCaptureVideoDataOutput producing CMSampleBuffer instances passed into my AVCaptureVideoDataOutputSampleBufferDelegate function. I want to e ...
Which frameworks can or should be used to record a SwiftUI view to a video (long) or gif file (short)? Both the user and the app can cause the view co ...
Xcode's GPU frame capture highlight multiple expressions as purple and say I should set the texture storage mode to private because only GPU access it ...
I've been trying to debug (for days now) this code to produce a video from CGImages. The CGImages actually get created from CGBitMapContext's I draw i ...
I using Apple's example https://developer.apple.com/library/ios/samplecode/AVCustomEdit/Introduction/Intro.html and have some issues with video transf ...
I'm trying to make firstly CVPixelBuffer from RAW memory then MTLTexture from CVPixelBuffer, but after running following code I've always got error ...
In the UI of my iOS app, I display a complex hierarchy of CALayers. One of these layers is a AVPlayerLayer that displays a video with CIFilters applie ...
I have a task - to scale down an image which I got from the camera. I need it in order to do heavy-lifting operations on smaller version of the image ...
I know mirroring can be set during session configuration, but assume this is not viable for this particular project, can it still be done efficiently ...
I have an AR app where the view is constantly showing what the back camera is seeing and sending each frame for analysis to VisionRequest. When the o ...
I am creating id<MTLTexture> object from CVPixelBufferRef the following way: When CVMetalTextureRef object should be released? Is it safe to ...
I get a CVPixelBuffer from ARSessionDelegate. There is another unchangeable part of my app where I need a CMSampleBuffer object. So I am trying to cr ...
I am new to metal. I want to make MTLTexture from CVImageBufferRef. I am using following code sample to do that. Here, imageTexture:CVMetalTexture. ...
The CMPixelFormatType constants are a subset of the CVPixelFormatType constants. Additionally, in the CMPixelFormatType comments, it says: In gen ...
From the Pixel Format Identifiers documentation: Core Video does not provide support for all of these formats; this list defines only their names. ...
Anyone knows what textureAttributes argument for? Acceptable keys and values for it? ...