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
459 stars 101 forks source link

Xamarin iOS #15

Closed ibiren closed 6 years ago

ibiren commented 6 years ago

Can we bind this scanner to Xamarin iOS, as it is being developed in swift

evermeer commented 6 years ago

I don't know, I have no experience using Xamarin. Since you can still use Swift and Objective C code in Xamarin, I do think you could use PassportScanner in a Xamarin project.

But it could be a bit tricky since PassportScanner has the following 4 libraries as a dependency: TesseractOCRiOS, GPUImage, UIImage-Resize and EVGPUImage2

evermeer commented 6 years ago

It looks like it's possible to use swift libraries in Xamarin.

For more info see: https://medium.com/@Flash3001/binding-swift-libraries-xamarin-ios-ff32adbc7c76 and https://forums.xamarin.com/discussion/63657/binding-swift-code

I'm closing this issue since this is actually about how to use Swift in Xamarin and not about Passportscnner.

ibiren commented 6 years ago

I agree this is not a issue. Can you suggest me ways to implement this code in Objective C project