在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:Clarifai/clarifai-javascript开源软件地址:https://github.com/Clarifai/clarifai-javascript开源编程语言:JavaScript 97.5%开源软件介绍: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 ClientThis 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.
InstallationInstall the API client:
Basic UseFirstly, generate your Clarifai API key on the API keys page. The client uses it for authentication. Then, use the code below to create a 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> DocumentationDive 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 NativeYou'll most likely encounter the error To solve this, add LicenseThis project is licensed under the Apache 2.0 License - see the LICENSE file for details. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论