No project description provided
Project description
# browsercam
This module was built for Chromebooks running Crostini, which currently
don't have access to the webcam module. Using browsercam is simple:
```python
import browsercam
def process_image(image):
size = len(image)
print('Captured image is {} bytes'.format(isize))
webcam = browsercam.Webcam()
webcam.on_capture(process_image)
webcam.start()
```
This module was built for Chromebooks running Crostini, which currently
don't have access to the webcam module. Using browsercam is simple:
```python
import browsercam
def process_image(image):
size = len(image)
print('Captured image is {} bytes'.format(isize))
webcam = browsercam.Webcam()
webcam.on_capture(process_image)
webcam.start()
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
browsercam-0.2.tar.gz
(3.9 kB
view hashes)