Is it possible to integrate photo library support into VisionKit? Upon inspection, it seems that VisionKit lacks options for selecting the source type, and there isn't a designated function for passing images directly.
There was another library named vision will it help ? if yes then how ?
Are there alternative methods available for scanning images from the photo library in SwiftUI?
While Vision itself doesn't directly offer support for accessing the photo library, you can use other frameworks such as UIKit or SwiftUI to implement image picker functionality and then pass the selected image to Vision for analysis.
Here's a general approach on how you can integrate Vision with UIKit for image selection from the photo library: