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

Any idea when color will be added? #8

Closed
kristof opened this issue Dec 5, 2016 · 1 comment
Closed

Any idea when color will be added? #8

kristof opened this issue Dec 5, 2016 · 1 comment

Comments

@kristof
Copy link

kristof commented Dec 5, 2016

I'd like to use color in a project and I'm already using this client, is there any timing of when this will be added or any ideas how I can easily integrate color with this client without having to do authentication myself.

Thanks!

@cmisenas
Copy link
Contributor

cmisenas commented Dec 9, 2016

@kristof this is already supported in v1 and in v2, there's an alias for model ids you can pass to the predict function (example below) (list of other supported models ).You can see more docs here.

// predict the contents of an image by passing in a url
app.models.predict(Clarifai.GENERAL_MODEL, 'https://samples.clarifai.com/metro-north.jpg').then(
  function(response) {
    console.log(response);
  },
  function(err) {
    console.error(err);
  }
);

@cmisenas cmisenas closed this as completed Dec 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants