Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d3066f7

Browse files
author
doripjonov
committedMay 5, 2021
optimized docs
1 parent c96c2c3 commit d3066f7

File tree

2 files changed

+19
-2
lines changed

2 files changed

+19
-2
lines changed
 

‎README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,24 @@ NOTE: We provide 3 ways of uploading image to our SDK. They are url, blob and re
114114

115115
### Webcam demo
116116

117-
In this part of docs we show how to use our detection service with webcamera. NOTE: we have chosen reactjs as it is today's one of the most popular UI library.
117+
In this part of docs we show how to use our detection service with webcamera. **NOTE:** we have chosen reactjs as it is today's one of the most popular UI library.
118+
119+
1. Clone our repository
120+
2. Enter to ```webcam_demo``` folder and install packages
121+
122+
``` cd webcam_demo```
123+
124+
```npm install```
125+
126+
3. Change detection API key inside ```src > App.js``` line ```40```
127+
128+
4. Start project
129+
130+
```npm start```
131+
132+
5. Click ```video start``` button to start your webcamera
133+
134+
*OR follow below instructions to create project by yourself*
118135

119136
1. Install reactjs
120137

‎webcam_demo/src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function App() {
3737
// CompreFace init
3838
let server = "http://localhost";
3939
let port = 8000;
40-
let detection_key = "059b56a9-416c-4c46-b162-f049952f0380";
40+
let detection_key = "your_api_key";
4141

4242
let core = new CompreFace(server, port);
4343
let detection_service = core.initFaceDetectionService(detection_key);

0 commit comments

Comments
 (0)
Please sign in to comment.