-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ankur Kedia
committed
Sep 30, 2021
1 parent
58e0fa2
commit 986591d
Showing
2 changed files
with
2 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,25 +18,6 @@ This tool detects when the user blinks. It can also detect a wink and separate e | |
|
||
## Installation | ||
|
||
<!-- Via script tags: | ||
```html | ||
<!-- Require the peer dependencies of face-landmarks-detection. --> | ||
<script src="https://unpkg.com/@tensorflow/[email protected]/dist/tf-core.js"></script> | ||
<script src="https://unpkg.com/@tensorflow/[email protected]/dist/tf-converter.js"></script> | ||
|
||
<!-- You must explicitly require a TF.js backend if you're not using the tfjs union bundle. --> | ||
<script src="https://unpkg.com/@tensorflow/[email protected]/dist/tf-backend-webgl.js"></script> | ||
<!-- Alternatively you can use the WASM backend: <script src="https://unpkg.com/@tensorflow/[email protected]/dist/tf-backend-wasm.js"></script> --> | ||
|
||
<!-- Require face-landmarks-detection --> | ||
<script src="https://unpkg.com/@tensorflow-models/[email protected]/dist/face-landmarks-detection.js"></script> | ||
|
||
<!-- Require blink-detection package itselg --> | ||
<script src="https://unpkg.com/[email protected]/dist/index.js"></script> | ||
|
||
````--> | ||
Via npm: | ||
|
||
Using `yarn`: | ||
|
@@ -54,7 +35,7 @@ Start by importing it: | |
|
||
```js | ||
import blink from 'blink-detection'; | ||
```` | ||
``` | ||
|
||
Load the machine learning model: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
|