How to build iOS SwiftUI app using apple's new vision API

Hi All, I am trying to build a new iOS app by following https://developer.apple.com/videos/play/wwdc2024/10163/?time=67 When I trying to remove all legacy VN I am getting error, I would appreciate if someone can help me get up to speed with the new Vision API

How to build iOS SwiftUI app using apple's new vision API
 
 
Q