An open API service indexing awesome lists of open source software.

https://github.com/zhenglinlei/webcam.py

Use OpenCv with Python to enable and recording your webcam
https://github.com/zhenglinlei/webcam.py

opencv python3 webcam

Last synced: 2 months ago
JSON representation

Use OpenCv with Python to enable and recording your webcam

Awesome Lists containing this project

README

          

# Webcam.py

[![Apache 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

Use your webcam with [open-cv](https://opencv.org/) module in python

PIP package install:
```
pip install webcam-py
```

Follow the steps in [Pypi](https://pypi.org) to run the project like a python module
Pypi [https://pypi.org/project/webcam-py/](https://pypi.org/project/webcam-py/)

## How to run it?

### 1. Install modules

Install all the modules in `setup.py` file path
```
py setup.py install
```

Linux user
```
python3 setup.py install
```

or with PIP
```
pip install opencv-python
```

### 2. Run project

Import the module in your python file, and run it
```python
import webcam-py
```

Run the script if you have downloaded the source code
```
py ./src
```

Linux user run the command in your terminal with `python3` and `pip3`

### Love this repo? Give us a star ⭐