What's new in Vision

RSS for tag

Discuss the WWDC22 Session What's new in Vision

Posts under wwdc2022-10024 tag

6 Posts

Post

Replies

Boosts

Views

Activity

VNGenerateOpticalFlowRequest
I am playing the Vision API -- Optical Flow. I found the default output of VNGenerateOpticalFlowRequestRevision1 and VNGenerateOpticalFlowRequestRevision2 looks very different. I suppose Revision2 will generate a better (similar at least ) optical flow visualization. But looks like the magnitude of x and y direction is only ~50% to 70% of that of revision1. Any idea what is going on?
0
0
576
Apr ’23
WWDC20 Optical Flow Sample Code
I’m currently working on implementing optical flow in Swift. There is sample code available from WWDC20 (with brief mentions of an update during WWDC22), including the actual CIKernel filter, code to apply the filter, and Vision code to instantiate an optical flow request. I’ve been having trouble and was wondering if anyone has been able to successfully use the sample code in a project. Does anyone have any suggestions or resources?
1
0
1.8k
Oct ’22
DataScannerViewController in Objective-C
Hi, Is DataScannerViewController available to be called directly from Objective-C? I see the header file has an "objc" attribute on it, but trying to initialize it from an Objective-C file doesn't seem to be working for me. Maybe it's something I'm doing wrong, but I wanted to first clarify and confirm that if it indeed possible to use it directly in Objective-C, or not?
1
0
1.1k
Aug ’22
CopySubject from image Programmatically
Ive noticed that one of the key features of iOS/iPad 16 and macOS Ventura, is the ability to copy the subject of an image, that could be a person, or a pet or even an object. It is a great feature which is already proving to be very useful to me. I wanted to check if it was possible to call that feature from code somehow, so I went to look for the APIs for it but I couldn't find that exactly. I found the API for VNGeneratePersonSegmentationRequest. And promptly wrote a sample app with it https://developer.apple.com/documentation/vision/vngeneratepersonsegmentationrequest It works great, however this api works only with human subjects, I tried various pictures that work with the "Copy Subject" feature and they just don't work the same way with VNGeneratePersonSegmentationRequest, and doesn't seem to tap the same Apple Silicon based acceleration that the Copy Subject function has. My question therefore is, is there APIs for this feature? or is it strictly a User facing function of macOS Ventura and iOS/iPadOS 16 feature.
0
4
1.1k
Jun ’22
VNGenerateOpticalFlowRequest
I am playing the Vision API -- Optical Flow. I found the default output of VNGenerateOpticalFlowRequestRevision1 and VNGenerateOpticalFlowRequestRevision2 looks very different. I suppose Revision2 will generate a better (similar at least ) optical flow visualization. But looks like the magnitude of x and y direction is only ~50% to 70% of that of revision1. Any idea what is going on?
Replies
0
Boosts
0
Views
576
Activity
Apr ’23
Visual Lookup API (Lifting subject from an image)
Is there an api that enables this feature in third-party apps like live text in UIImageView? Reference: https://support.apple.com/en-gb/guide/iphone/iphfe4809658/ios
Replies
0
Boosts
2
Views
1.1k
Activity
Jan ’23
WWDC20 Optical Flow Sample Code
I’m currently working on implementing optical flow in Swift. There is sample code available from WWDC20 (with brief mentions of an update during WWDC22), including the actual CIKernel filter, code to apply the filter, and Vision code to instantiate an optical flow request. I’ve been having trouble and was wondering if anyone has been able to successfully use the sample code in a project. Does anyone have any suggestions or resources?
Replies
1
Boosts
0
Views
1.8k
Activity
Oct ’22
DataScannerViewController in Objective-C
Hi, Is DataScannerViewController available to be called directly from Objective-C? I see the header file has an "objc" attribute on it, but trying to initialize it from an Objective-C file doesn't seem to be working for me. Maybe it's something I'm doing wrong, but I wanted to first clarify and confirm that if it indeed possible to use it directly in Objective-C, or not?
Replies
1
Boosts
0
Views
1.1k
Activity
Aug ’22
CopySubject from image Programmatically
Ive noticed that one of the key features of iOS/iPad 16 and macOS Ventura, is the ability to copy the subject of an image, that could be a person, or a pet or even an object. It is a great feature which is already proving to be very useful to me. I wanted to check if it was possible to call that feature from code somehow, so I went to look for the APIs for it but I couldn't find that exactly. I found the API for VNGeneratePersonSegmentationRequest. And promptly wrote a sample app with it https://developer.apple.com/documentation/vision/vngeneratepersonsegmentationrequest It works great, however this api works only with human subjects, I tried various pictures that work with the "Copy Subject" feature and they just don't work the same way with VNGeneratePersonSegmentationRequest, and doesn't seem to tap the same Apple Silicon based acceleration that the Copy Subject function has. My question therefore is, is there APIs for this feature? or is it strictly a User facing function of macOS Ventura and iOS/iPadOS 16 feature.
Replies
0
Boosts
4
Views
1.1k
Activity
Jun ’22
Has VNDetectTrajectoriesRequest been updated?
Does VNDetectTrajectoriesRequest make use of VNGenerateOpticalFlowRequest and if so has it been updated to revision 2 in iOS 16?
Replies
0
Boosts
0
Views
1.3k
Activity
Jun ’22