Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get imagesource as memory stream or byte array to save locally to device #17

Open
davidedu322 opened this issue Aug 31, 2018 · 2 comments

Comments

@davidedu322
Copy link

Hi,

From the IDocumentFaceRecognizer result, it returns a face image as an imagesource, but I need it as a byte array or stream. How can I get a reference to the original source, so I can save the image locally to my device?

Thanks

@DoDoENT
Copy link
Member

DoDoENT commented Sep 3, 2018

Hi @davidedu322! The original source is platform dependent and does not always exist in form of byte array. You can see how SDK creates ImageSource object on Android and on iOS. You can change the source code of these functions to adapt to your needs for the platform you are targeting.

@davidedu322
Copy link
Author

Thanks for replying, but how do you add the SDK to Xamarin Android using Visual Studios? The documentation only shows integration with Android Studio, Eclipse, and Maven.

I have already tried adding the <BlinkID.Forms.Android> project and connecting the reference, but there are compiling issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants