Vision Framework - Testing RecognizeDocumentsRequest

How do I test the new RecognizeDocumentRequest API. Reference: https://www.youtube.com/watch?v=H-GCNsXdKzM

I am running Xcode Beta, however I only have one primary device that I cannot install beta software on.

Please provide a strategy for testing. Will simulator work?

The new capability is critical to my application, just what I need for structuring document scans and extraction.

Thank you.

Answered by DTS Engineer in 842728022

Hello @extraman,

RecognizeDocumentsRequest is available on iOS, macOS, iPadOS, visionOS, and tvOS 26. If you have a device on any of those, you can test on-device. You don't need a device with a camera to test this request, because the request accepts arbitrary images.

I believe it should also work on Simulator, give it a try :)

-- Greg

Accepted Answer

Hello @extraman,

RecognizeDocumentsRequest is available on iOS, macOS, iPadOS, visionOS, and tvOS 26. If you have a device on any of those, you can test on-device. You don't need a device with a camera to test this request, because the request accepts arbitrary images.

I believe it should also work on Simulator, give it a try :)

-- Greg

Vision Framework - Testing RecognizeDocumentsRequest
 
 
Q