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

Allow recognition of image URL in Vision API #1239

Closed
zywcode opened this issue Apr 18, 2016 · 5 comments
Closed

Allow recognition of image URL in Vision API #1239

zywcode opened this issue Apr 18, 2016 · 5 comments
Assignees
Labels
api: vision Issues related to the Cloud Vision API.

Comments

@zywcode
Copy link

zywcode commented Apr 18, 2016

Now, it's support two type that local file and gcsImageUri.
eg: /data/images/aa.jpg, {"name": aa.jpg, "bucket": {"name": "demo"}}
Can you add the support of image url.
eg:http://mydomain/images/aa.jpg

@stephenplusplus
Copy link
Contributor

Which part of our API are you referring to?

@zywcode
Copy link
Author

zywcode commented Apr 18, 2016

Vision.findImages_(images, callback);
Can you accept the parameter of url type?
I want to detect the image of url, not File.
eg:http://mydomain/images/aa.jpg

@stephenplusplus stephenplusplus added the api: vision Issues related to the Cloud Vision API. label Apr 18, 2016
@jgeewax
Copy link
Contributor

jgeewax commented Apr 18, 2016

I don't think the Vision API supports "any URL", but specifically a gcs:// URL.

@jgeewax jgeewax changed the title I want the support for image url. Allow recognition of image URL in Vision API Apr 18, 2016
@stephenplusplus
Copy link
Contributor

stephenplusplus commented Apr 18, 2016

Cool idea @zywcode. I put a PR together: #1240 -- please try it out!

$ npm install --save stephenplusplus/gcloud-node#spp--1239

@zywcode
Copy link
Author

zywcode commented Apr 19, 2016

Thanks @stephenplusplus . That's it what I want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: vision Issues related to the Cloud Vision API.
Projects
None yet
Development

No branches or pull requests

3 participants