This repository provides an example of how to integrate Django with OpenCV to create a web application that streams video in real-time.
Features Real-Time Video Streaming: Capture and stream live video from the webcam using OpenCV. Django Integration: Implement video streaming within a web application built with the Django framework. Video Processing: Utilize OpenCV's capabilities to perform real-time video processing, such as face detection, image filters, etc. Easy Setup: Clear instructions for setting up and running the application in your local environment. Requirements
- Python 3.x
- Django
- OpenCV
- Clone this repository:
git clone https://github.com/EstebanExplorer/Django-streaming.git
- Navigate to the project directory:
cd Django-streaming
- Install the dependencies:
pip install -r requirements.txt
- Run the Django application:
python manage.py runserver
- Open your browser and go to http://127.0.0.1:8000/ to view the real-time video stream.
Real-Time Viewing: The application allows you to view the live video directly in your browser. Extensible: You can modify the code to add additional video processing features using OpenCV.
To run your own tests comment uncomment line 150 in views - streaming
Contributions are welcome. If you have ideas to improve this application or have found any bugs, feel free to open an issue or submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for more details.
