Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 894 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 894 Bytes

Here are the step-by-step instructions for running the code:

1- Install Ultralytics:

Open your terminal or command prompt. Type the following command and hit Enter: pip install ultralytics

2- Install Flask:

While still in the terminal or command prompt, type: pip install Flask

3- Navigate to the Code Directory:

Use the cd command to navigate to the directory where your code is located. For example: cd path/to/your/code/directory

4- Download yolov9 weights:

Download yolov9 weigths and place in your Flask app code directory.

5- Run the Python Script:

Once you're in the directory containing your webapp.py file, run the following command: python webapp.py

Following these steps should launch your Flask web application, allowing you to access it through a web browser or any other HTTP client.