Apple Vision framework – Text extraction from image

后端 未结 3 1778
天命终不由人
天命终不由人 2021-02-02 11:13

I am using Vision framework for iOS 11 to detect text on image.

The texts are getting detected successfully, but how we can get the detected text?

3条回答
  •  南方客
    南方客 (楼主)
    2021-02-02 11:55

    Not exactly a dupe but similar to: Converting a Vision VNTextObservation to a String

    You need to either use CoreML or another library to perform OCR (SwiftOCR, etc.)

提交回复
热议问题