We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
vision.detect('img.jpg', ['properties'], (err, text, resp) => {});
Response based on the https://cloud.google.com/vision/ returns much more details then above call e.g.
"imagePropertiesAnnotation": { "dominantColors": { "colors": [ { "color": { "red": 153, "green": 103, "blue": 48 }, "score": 0.24721134, "pixelFraction": 0.08257633, "percent": 27.875707711328683, "percentRounded": 28, "rgb": "153, 103, 48", "hex": "996730" }, { "color": { "red": 75, "green": 44, "blue": 25 }, "score": 0.017059276, "pixelFraction": 0.10593539, "percent": 1.9236147967277084, "percentRounded": 2, "rgb": "75, 44, 25", "hex": "4B2C19" }, { "color": { "red": 24, "green": 15, "blue": 19 }, "score": 0.0054606143, "pixelFraction": 0.046854723, "percent": 0.6157423367030884, "percentRounded": 1, "rgb": "24, 15, 19", "hex": "180F13" }, { "color": { "red": 224, "green": 194, "blue": 108 }, "score": 0.0051815915, "pixelFraction": 0.0044395872, "percent": 0.5842795485575425, "percentRounded": 1, "rgb": "224, 194, 108", "hex": "E0C26C" }, { "color": { "red": 172, "green": 112, "blue": 43 }, "score": 0.22097465, "pixelFraction": 0.044259273, "percent": 24.91724188305098, "percentRounded": 25, "rgb": "172, 112, 43", "hex": "AC702B" }, { "color": { "red": 127, "green": 121, "blue": 118 }, "score": 0.0020881917, "pixelFraction": 0.025476402, "percent": 0.23546582237862773, "percentRounded": 0, "rgb": "127, 121, 118", "hex": "7F7976" }, { "color": { "red": 127, "green": 81, "blue": 33 }, "score": 0.20796, "pixelFraction": 0.08653781, "percent": 23.449701682972606, "percentRounded": 23, "rgb": "127, 81, 33", "hex": "7F5121" }, { "color": { "red": 200, "green": 134, "blue": 65 }, "score": 0.10146069, "pixelFraction": 0.018577967, "percent": 11.440771845780736, "percentRounded": 11, "rgb": "200, 134, 65", "hex": "C88641" }, { "color": { "red": 196, "green": 140, "blue": 83 }, "score": 0.049863465, "pixelFraction": 0.035243493, "percent": 5.622635983503297, "percentRounded": 6, "rgb": "196, 140, 83", "hex": "C48C53" }, { "color": { "red": 117, "green": 88, "blue": 44 }, "score": 0.029574491, "pixelFraction": 0.010723311, "percent": 3.3348383889967215, "percentRounded": 3, "rgb": "117, 88, 44", "hex": "75582C" } ] }
... while the same request for the properties via lib call returns only:
{ "colors": [ "996730", "4b2c19", "180f13", "e0c26c", "ac702b", "7f7976", "7f5121", "c88641", "c48c53", "75582c" ] }
Similar to #1881 all available details should be provided in the response.
The text was updated successfully, but these errors were encountered:
Looks like adding option verbose returns original details.
verbose
vision.detect('img.jpg', {types: ['properties'], verbose: true}, (err, text, resp) => {});
Sorry, something went wrong.
przemyslawpluta
No branches or pull requests
Response based on the https://cloud.google.com/vision/ returns much more details then above call e.g.
... while the same request for the properties via lib call returns only:
Similar to #1881 all available details should be provided in the response.
The text was updated successfully, but these errors were encountered: