38 lines
487 B
Markdown
38 lines
487 B
Markdown
# Flask Camera Live Stream
|
|
|
|
[Original Project](https://github.com/EbenKouao/pi-camera-stream-flask)
|
|
|
|
## Usage
|
|
|
|
### Creating the virtual environment
|
|
|
|
```
|
|
pip install venv
|
|
python -m venv venv
|
|
```
|
|
|
|
### Activate the virtual environment
|
|
|
|
*Windows (CMD)*
|
|
|
|
```
|
|
venv\Scripts\activate.bat
|
|
```
|
|
|
|
*Linux / Mac OS*
|
|
|
|
```
|
|
source venv/bin/activate
|
|
```
|
|
|
|
### Installing the dependencies
|
|
|
|
```
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
### Running the app (not recommended for production)
|
|
|
|
```
|
|
python main.py
|
|
``` |