Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const videoElement = document.querySelector('video');

const init = async () => {
// Using the default webcam
await gaze.setUpCamera(videoElement);
await blink.setUpCamera(videoElement);

// Or, using more camera input devices
const mediaDevices = await navigator.mediaDevices.enumerateDevices();
Expand All @@ -55,7 +55,7 @@ const init = async () => {
device.label.includes(/* The label from the list of available devices*/)
);

await gaze.setUpCamera(videoElement, camera.deviceId);
await blink.setUpCamera(videoElement, camera.deviceId);
};
```

Expand Down