Permalink
Browse files

Create README.md

  • Loading branch information...
sqfmi committed Jan 15, 2019
1 parent 24e9b78 commit e1bae9f1b259f314f5163a599230289f26ef49a1
Showing with 13 additions and 0 deletions.
  1. +13 −0 examples/camera/README.md
@@ -0,0 +1,13 @@
# Badgy Camera

<p align="center">
<img src="../../website/img/badgy_camera.jpg" width="508" height="287" />
</p>

This code sample demonstrates display photos on Badgy captured through the webcam. Photo on the canvas is dithered and converted to a byte stream, then sent to Badgy over WebSocket.

## Instructions
1. Turn on Badgy and wait for it to connect, note the IP address displayed.
2. Open `badgy-camera.html` using Chrome. The browswer will prompt you for camera permissions, click "allow".
3. Enter the IP address and click connect
4. Click "Send Photo" to capture and send the photo to Badgy

0 comments on commit e1bae9f

Please sign in to comment.