Spaces:
Sleeping
Sleeping
HuggingFace-SK commited on
Commit ·
11a985c
1
Parent(s): 69c145b
decrease cam res -> 1K
Browse files- static/index.js +2 -2
static/index.js
CHANGED
|
@@ -38,8 +38,8 @@ function load_camera() {
|
|
| 38 |
const constraints = {
|
| 39 |
video: {
|
| 40 |
facingMode: video_facing_mode,
|
| 41 |
-
width: { ideal:
|
| 42 |
-
height: { ideal:
|
| 43 |
}
|
| 44 |
};
|
| 45 |
// Activate the webcam stream.
|
|
|
|
| 38 |
const constraints = {
|
| 39 |
video: {
|
| 40 |
facingMode: video_facing_mode,
|
| 41 |
+
width: { ideal: 1280 },
|
| 42 |
+
height: { ideal: 720 }
|
| 43 |
}
|
| 44 |
};
|
| 45 |
// Activate the webcam stream.
|