Steps
- git clone repository
- In the console, pip install ultralytics
- Upload an image onto your IDE
- Copy Path of the Image in IDE
- In predict.py, paste the path of image in model.predict(source = " ")
- Youtube videos or mp4 files can be uploaded on source = "" as well
- Run Your Code
- If you want to run the code with live camera, set source = 0 in predict.py
- Run the code and Enjoy!