[iOS CoreImage]Photo Segmentation Mattes 是否支持 macOS?
[iOS CoreImage]Does Photo Segmentation Mattes support for macOS?
我看过 WWDC 2019 session 关于“Introducing Photo Segmentation Mattes”
https://developer.apple.com/videos/play/wwdc2019/260/
我查看了“AVSemanticSegmentationMatte”的 Apple 文档。
api 表明它可用于 macOS 从 macOS 10.15+ 和 Mac Catalyst 13.0+。
https://developer.apple.com/documentation/avfoundation/avsemanticsegmentationmatte?language=objc
我尝试在 macOS 中实现分段遮罩。
“AVCapturePhotoOutput”class 在 iOS 中有一个 'enabledSemanticSegmentationMatteTypes'。
但是 'enabledSemanticSegmentationMatteTypes' 在 macOS 中不可用。
你知道如何在 macOS 中使用 AVSemanticSegmentationMatte 吗?
在 macOS 上拍摄时,许多功能不可用,因为 MacBook 中的相机根本不提供相同的功能。但是,您可以加载在 macOS 上使用 iPhone 或 iPad 拍摄的图像中烘焙的分割遮罩(这就是该类型也可用的原因)。
我看过 WWDC 2019 session 关于“Introducing Photo Segmentation Mattes” https://developer.apple.com/videos/play/wwdc2019/260/
我查看了“AVSemanticSegmentationMatte”的 Apple 文档。 api 表明它可用于 macOS 从 macOS 10.15+ 和 Mac Catalyst 13.0+。 https://developer.apple.com/documentation/avfoundation/avsemanticsegmentationmatte?language=objc
我尝试在 macOS 中实现分段遮罩。 “AVCapturePhotoOutput”class 在 iOS 中有一个 'enabledSemanticSegmentationMatteTypes'。 但是 'enabledSemanticSegmentationMatteTypes' 在 macOS 中不可用。
你知道如何在 macOS 中使用 AVSemanticSegmentationMatte 吗?
在 macOS 上拍摄时,许多功能不可用,因为 MacBook 中的相机根本不提供相同的功能。但是,您可以加载在 macOS 上使用 iPhone 或 iPad 拍摄的图像中烘焙的分割遮罩(这就是该类型也可用的原因)。