|
před 1 rokem | |
---|---|---|
.. | ||
readme_images | před 1 rokem | |
sample | před 1 rokem | |
README.md | před 1 rokem | |
app.py | před 1 rokem | |
main.py | před 1 rokem | |
requirements.txt | před 1 rokem |
This repository contains the Python scripts to run the main code and the Gradio app for moving object detection.
It is part of the LearnOpenCV blog post - Moving Object Detection with OpenCV.
Run the following commands on a new terminal window to create a new environment with the required packages:
```shell script pip install -r requirements.txt
### Run The Main Code
To run the main code pipeline to get the Inference in your local, use this command:
```shell script
python main.py
To run the web app in your local browser, use this command:
shell script
python app.py
Want to become an expert in AI? AI Courses by OpenCV is a great place to start.