DoubangoTelecom / ultimateMRZ-SDK

Machine-readable zone/travel document (MRZ / MRTD) detector and recognizer using deep learning
https://www.doubango.org/webapps/mrz/
Other
174 stars 49 forks source link

GO language starting point #38

Closed SoftExpert closed 3 years ago

SoftExpert commented 3 years ago

Hello,

Is it possible to call the Linux .so library methods from GO language? What would be needed to start with ?

So far I think the following is needed: `package main

// #cgo LDFLAGS: -L${SRCDIR}/lib -llibultimate_mrz-sdk.so import "C" ` but how about the rest (init, deinit and the process methods) ?

Thank you in advance !

Best regards, SoftExpert

DoubangoTelecom commented 3 years ago

Unfortunately we're not familiar with GO. Our shared library has no external dependency, calling it from GO will be the same as any other library. So, your issue is not specific to ultimateMRZ.