=======
- Clone the repository:
git clone ...
- Create a new Python environment (recommended):
python -m venv myenv
source myenv/bin/activate # For Linux or macOS
./myenv/Scripts/activate # For Windows
- Install the dependencies using pip:
pip install -r requirements.txt
-
Set up the environment by creating an
.env
file with the required configuration variables. -
Start the application:
python main.py
- Build the Docker image from the Dockerfile:
docker build -t vision-service .
- Run the Docker container:
docker run -d --network host vision-service
Note: As this is a WebRTC application, running the Docker container with host networking mode is recommended for better performance and compatibility.
-
Access the application by opening a web browser and navigating to the specified URL.
-
Follow the on-screen instructions to establish a WebRTC connection and start video streaming.