-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from theankurkedia/fix/readme
Fix/readme
- Loading branch information
Showing
7 changed files
with
84,810 additions
and
32 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: | ||
|
||
|
Oops, something went wrong.
53af53e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs: