@sprie/sprie-face-tracker

1.0.5001 • Public • Published

Usage

Sprie Face Tracker Module

<!-- STEP 1. Load React CDN Scripts -->
<script crossorigin="" src="https://unpkg.com/react@17/umd/react.production.min.js"></script>
<script crossorigin="" src="https://unpkg.com/react-dom@17/umd/react-dom.production.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prop-types/15.8.0/prop-types.min.js" integrity="sha512-M1OTu9xD1JPdXo2cOeJI+Z/f8P6E/pqK9ug3G8PRNLw1caUePewEmpFYKSYh4LEz483qnyB/UTlgX1Q4VCEsKg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>


<!--  STEP 2. Load Sprie SDK -->
<script src="https://cdn.jsdelivr.net/npm/react-sprie-sdk"> </script>


<!--  STEP 3. Intialize  -->
<script>
SprieSDK.Loader.Init({ apiKey:"xxx-xxx-xxx" });
</script>


<!--  STEP 6. Trigger -->
<button onclick="SprieSDK.Loader.Load('centena-bert-tiger'"> Preview </button>

Full Code at https://codesandbox.io/s/sprie-demo-html-nz0z3?file=/index.html

Development

  1. yarn --global add yalc
  2. yarn install

Readme

Keywords

none

Package Sidebar

Install

npm i @sprie/sprie-face-tracker

Weekly Downloads

4

Version

1.0.5001

License

MIT

Unpacked Size

74.4 kB

Total Files

6

Last publish

Collaborators

  • satputerohan
  • shubhamd1d
  • abhishek-percept