sprie-face-tracker-v2
v1.0.2001
Published
Sprie Face Tracker Module ```HTML <!-- 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
Downloads
2
Readme
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
- yarn --global add yalc
- yarn install