Posts

Post not yet marked as solved
1 Replies
0 Views
Oh I see, analyze(_:) returns when the video is finished processing.
Post marked as solved
11 Replies
0 Views
I've filed this as FB9051526. Currently the Swift project is difficult to reason about, as launching it produces about 70 compiler errors. I'm not aware of any other modern Apple sample code or conceptual documentation on how to use AVAssetWriter.
Post marked as solved
26 Replies
0 Views
Workaround (if you don't depend on iOS 15 APIs) is to use a Simulator device with a previous runtime like iOS 14.5, CloudKit works there.
Post not yet marked as solved
1 Replies
0 Views
I've rewritten my problem more concisely below. I'd like to perform pose analysis on user imported video, automatically producing an AVFoundation video output where only frames with a detected pose - https://developer.apple.com/documentation/createml/detecting_human_actions_in_a_live_video_feed are a part of the result. In the Building a Feature-Rich App for Sports Analysis - https://developer.apple.com/documentation/vision/building_a_feature-rich_app_for_sports_analysis sample code, analysis happens by implementing the func cameraViewController(_ controller: CameraViewController, didReceiveBuffer buffer: CMSampleBuffer, orientation: CGImagePropertyOrientation) delegate callback, such as in line 326 of GameViewController.swift. Where I'm stuck is using this analysis to only keep particular frames with a pose detected. Say I've analyzed all CMSampleBuffer frames and classified which ones have the pose I want. How would I only those specific frames for the new video output?
Post not yet marked as solved
4 Replies
0 Views
Yes, it's here: Detecting Human Actions in a Live Video Feed - https://developer.apple.com/documentation/createml/detecting_human_actions_in_a_live_video_feed.
Post marked as solved
4 Replies
0 Views
Here it is: https://cs193p.sites.stanford.edu.
Post not yet marked as solved
2 Replies
0 Views
Turns out my misunderstanding was that I tried to connect to the peripheral in the last view controller while the CBCentralManager state powered off. I can still make it more permanent though without it being tied to view controllers, thanks for your response and mods are welcome to delete this thread.
Post not yet marked as solved
4 Replies
0 Views
Nope, you can delete it, thanks.