An example on how to integrate
@nipacloud/nvision
SDK to the frontend app.
Nvision: Nipa.Cloud Visual-based Machine Learning Services
Nvision enables machine learning services to extract insightful information from images with simple and easy to use APIs. Provide real-time video analysis with stream processing service. Get the most out of your visual information with the help of Nipa.Cloud experts. Offer fully customized algorithms to your specifications. Learn more.
Nvision image processing is synchronous. The input requests and output responses are structured in JSON format. You can make a RESTful API call by sending the image as a base64 encoded string in the body of your request, see RESTful and WebSocket API concepts.
yarn install
yarn serve
Nvision SDK comes with built-in TypeScript definition
- install the SDK from NPM
npm install @nipacloud/nvision # or
yarn add @nipacloud/nvision
- Configure webpack alias to point to the browser variant of the library
{
...
resolve: {
alias: {
"@nipacloud/nvision": "@nipacloud/nvision/dist/browser/nvision.js"
}
}
...
}