evermeer / PassportScanner

Scan the MRZ code of a passport and extract the firstname, lastname, passport number, nationality, date of birth, expiration date and personal numer.
BSD 3-Clause "New" or "Revised" License
457 stars 101 forks source link

iOS 10 compability #6

Closed jrodriguezq closed 7 years ago

jrodriguezq commented 7 years ago

Since the release of iOS 10, PassportScanner no longer builds correctly. Is there any know solution for this?

evermeer commented 7 years ago

The GPUImage2 branch is Swift 3, XCode 8, iOS 10.

But it has a bug. If you set a breakpoint on the first line of the doOCR function then you will see that the UIImage looks good but then the output of the ocr only returns data from the left half of the image.

evermeer commented 7 years ago

master is now also converted to swift3 The GPUImage2 branch is still work in progress...