Skip to content

Commit e343588

Browse files
committed
Add documentation
1 parent 41fbc7a commit e343588

File tree

1 file changed

+12
-0
lines changed
  • libraries/Camera/extras/WebSerialCamera

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# 📹 WebSerial Camera Stream
2+
3+
This folder contains a web application that provides a camera stream over WebSerial.
4+
This is an experimental feature not supported in all browsers. It's recommended to use Google Chrome.
5+
See [Browser Compatibility](https://developer.mozilla.org/en-US/docs/Web/API/Web_Serial_API#browser_compatibility)
6+
7+
## Instructions
8+
9+
1. Upload the companion [Arduino sketch](../../examples/CameraCaptureWebSerial/CameraCaptureWebSerial.ino) to your board.
10+
2. Open the web app either by directly opening the index.html file or serving it via a webserver and opening the URL provided by the webserver.
11+
3. Click "Connect". Your board's serial port should show up in the popup. Select it. Click once again "Connect". The camera feed should start. If the board has been previously connected to the browser, it will connect automatically.
12+
4. (Optional) click "Save Image" if you want to save individual camera frames to your computer.

0 commit comments

Comments
 (0)