Open whoisusmanali opened 1 year ago
module C3 not found in the common.py file,,, can you please elaborate how do we setup yolov7 and flask environment?
Object Detection Web App Using YOLOv7 and Flask
This project is an Object Detection Web Application that uses YOLOv7 for real-time object detection and Flask as the web framework. Follow the steps below to set up and use the application.
https://github.com/shanmugamani1023/userinterface-of-YOLO.git
Import the provided requirements.yaml
file using conda to set up the necessary environment:
Activate the conda environment:
Copy Your Custom Model:
Place your custom YOLOv7 model in the cloned repository. Make sure the model files are organized properly.
Open webapp.py
and update the following lines to point to your custom model:
Ensure that the paths are accurate.
To run the Object Detection Web App, execute the following command:
This will start the Flask application.
Open your web browser and navigate to http://127.0.0.1:5000.
You can now use the web application to upload images or videos for real-time object detection.
Access the web app using the link mentioned above.
Upload an image or video that you want to analyze for object detection.
The application will process the input and display the results with bounding boxes and labels indicating detected objects.
You have successfully set up and used the Object Detection Web App using YOLOv7 and Flask. Feel free to customize this application and extend its functionality as needed for your specific use case.
The webapp.py is not working correctly I tried a lot of times and made a lot of changes but still not working correctly.