• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

Clarifai/clarifai-javascript: Official Clarifai JavaScript client for browsers a ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

Clarifai/clarifai-javascript

开源软件地址:

https://github.com/Clarifai/clarifai-javascript

开源编程语言:

JavaScript 97.5%

开源软件介绍:

Clarifai logo

NOTE: For node.js users, this API Client is no longer supported.

Please use https://github.com/Clarifai/clarifai-nodejs-grpc instead which is more feature rich, faster and supported. We will be introducing a new web grpc client shortly as well to fully deprecate this javascript client. Stay tuned.

Clarifai API JavaScript Client

This is the official JavaScript client for interacting with our powerful recognition API. The Clarifai API offers image and video recognition as a service. Whether you have one image or billions, you are only steps away from using artificial intelligence to recognize your visual content.

Build Status npm version

Installation

Install the API client:

npm install clarifai

Basic Use

Firstly, generate your Clarifai API key on the API keys page. The client uses it for authentication.

Then, use the code below to create a Clarifai.App instance using which you interact with the client.

const Clarifai = require('clarifai');

const app = new Clarifai.App({
 apiKey: 'YOUR_API_KEY'
});

This will work in node.js and browsers via Browserify.

You can also use the SDK by adding this script to your HTML:

<script type="text/javascript" src="https://sdk.clarifai.com/js/clarifai-latest.js"></script>

Documentation

Dive right into code examples to get up and running as quickly as possible with our Quick Start.

Learn the basics — predicting the contents of an image, searching across a collection and creating your own models with our Guide.

Check out the JSDoc for a deeper reference.

Looking for a different client? We have many languages available with lots of documentation Technical Reference

React Native

You'll most likely encounter the error process.nextTick is not a function while using this library with React Native.

To solve this, add process.nextTick = setImmediate; as close to the top of your entrypoint as you can. See #20 for more info.

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
jprichardson/string.js: Extra JavaScript string methods.发布时间:2022-06-24
下一篇:
jstat/jstat: JavaScript Statistical Library发布时间:2022-06-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap