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

Pass image in as binary buffer, rather than path on disk #14

Open
chriswiggins opened this issue Oct 27, 2016 · 1 comment
Open

Pass image in as binary buffer, rather than path on disk #14

chriswiggins opened this issue Oct 27, 2016 · 1 comment

Comments

@chriswiggins
Copy link

We're using this module to detect and read plates (and its awesome in node!) but we're having to unnecessarily write the file to disk to then have OpenALPR read it again.

How hard (I'm no native node person) would it be to pass this library a buffer of the file, instead of the path to the file? We're already reading in the file for other reasons (like cropping) and having to write it again just for OpenALPR is a bit of an overhead :-)

Happy to try and sort this myself, just need to be pointed in the right direction!

Cheers

@robinlabs
Copy link

I am also looking for an answer to this question. And to know which image format are supported through buffer data parameter.

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