Skip to content

End-to-end computer vision project hosted on Streamlit cloud mimics the AI based traffic monitoring cameras

License

Notifications You must be signed in to change notification settings

kailas711/AI-Traffic-Eye

Repository files navigation

AI Traffic Eye

The application has been deployed in streamlit cloud, try it for yourself!!

Link -- https://ai-traffic-eye.streamlit.app/

1.Data Collection

I utilized the Selenium library in Python for automating web scraping. The scraping process posed challenges due to frequent Chrome updates that hindered traditional methods. The most demanding aspect involved configuring the chromedriver to navigate through thumbnails and identify the image source to prevent downloading of the thumbnails.

Code for scrapping

Data_collection

2.Data Cleannig and Processing

Around 307 images were carefully selected and manually inspected. To ensure consistent input dimensions for the YOLO model, resizing was performed on all images. Roboflow was utilized to manually draw bounding boxes. Additionally, image augmentation techniques were employed to expand the training dataset, enhancing the model's learning capabilities.

Annotation

3.Model Buidling and training

The Ultralytics YoloV8 nano model custom trained on dataset via Roboflow API dairectly on T4 GPU in Google Colab.

YoloV8n model

4.Deployment

image