1.1.5 • Published 1 year ago
liveness_web_sdk v1.1.5
Getting Started with Liveness Web Sdk
This project developed by Dinesh Kumar
Available Scripts
In the project directory, you can run:
npm i liveness_web_sdk
How to use import
import {LivenessWebSdk} from 'liveness_web_sdk'
Basic Overview
Liveness web sdk lets you capture the user's live picture by accessing the mobile/web camera, it uses our internal AI/ML liveness detection tool.
Table of Contents
Installation
You can easily setup the SDK in your application using either of the following ways.
- Install the Liveness Web SDK as npm package.
$ npm i liveness_web_sdk --save
getting-started
Using npm package in React js
import React from "react";
import "./styles.css";
import {LivenessWebSdk} from 'liveness_web_sdk'
function onCaptureImage(imgUrl) {
console.log("ImgUrl response:", imgUrl);
}
// function onError(response) {
// console.log("Error", response);
// }
export default function App() {
return (
<div className="App">
<LivenessWebSdk
onCaptureImage={onCaptureImage}
/>
</div>
);
}
API
1.1.1
1 year ago
1.1.5
1 year ago
1.1.4
1 year ago
1.1.3
1 year ago
1.1.2
1 year ago
1.0.2
1 year ago
1.1.0
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago
1.0.9
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
0.1.8
1 year ago
0.1.7
1 year ago
0.1.9
1 year ago
0.1.6
1 year ago
0.1.2
1 year ago
0.1.1
1 year ago
0.1.4
1 year ago
0.1.3
1 year ago
0.1.5
1 year ago
0.1.0
1 year ago