UppuluriKalyani / ML-Nexus

ML Nexus is an open-source collection of machine learning projects, covering topics like neural networks, computer vision, and NLP. Whether you're a beginner or expert, contribute, collaborate, and grow together in the world of AI. Join us to shape the future of machine learning!
https://discord.gg/n2D4RqnU
MIT License
36 stars 62 forks source link

Car Detection from Drones #157

Closed pavitraag closed 4 days ago

pavitraag commented 5 days ago

๐ŸŽฏ Goal The aim is to create a deep-learning model that will detect cars on real-time from a drone or a UAV using deep learning techniques.

๐Ÿงต Dataset The link for the dataset used in this project: https://www.kaggle.com/datasets/sshikamaru/car-object-detection

๐Ÿงพ Description The main goal of the project is to develop a deep-learning model that can accurately predict and cars in the given video file or real-time.

๐Ÿงฎ What I had done! Data collection: The data is loaded from the links provided above and its structure is explore Data preprocessing: The data is then preprocessed, where steps such as setting batch size, and image size, converting the image type to a specific type, and scaling are done to prepare the data for model training Model training: I have taken YOLOv8 and OpenCV SSD models to train the dataset. Comparative analysis: The developed model performances are analysed based on their accuracy. ๐Ÿš€ MODELS USED OpenCV: OpenCV is preferred for real-time object detection tasks due to its comprehensive library of computer vision algorithms, robust performance across diverse hardware platforms, extensive community support, and seamless integration with various programming languages like Python and C++. Its versatility allows for efficient implementation of complex vision tasks such as object tracking, image processing, and facial recognition with high accuracy and speed.

YOLOv8(You Only Look Once, version 8): This model is chosen for dog face detection due to its high speed and accuracy. It is designed for real-time object detection, making it ideal for applications needing quick and precise results. YOLOv8's CNN architecture efficiently learns and detects spatial patterns and features, ensuring robust detection of cars even with variations in size and position. Its end-to-end learning approach simplifies the detection pipeline, enhancing performance and reliability.

๐Ÿ“š LIBRARIES NEEDED The following libraries are required to run this project:

numpy pandas cv2 cvzone tensorflow ultralytics ๐Ÿ“ข Conclusion Based on the results we can draw the following conclusions:Certainly! Here's a tailored analysis for YOLOv8 and OpenCV models based on their performance in your project:

YOLOv8: The YOLOv8 model achieved an F1 score of 0.78, demonstrating strong performance in object detection tasks. Its architecture, optimized for speed and accuracy, effectively detects objects in real-time with high confidence levels. Further fine-tuning and dataset augmentation could potentially enhance its performance.

OpenCV: The OpenCV model, utilizing techniques like BackgroundSubtractorMOG2 and contour detection, achieved an accuracy of 0.85 in identifying objects. While simpler compared to deep learning models like YOLOv8, it excels in scenarios where real-time processing and moderate accuracy are sufficient. Its versatility and ease of implementation make it suitable for various computer vision applications.

Comparison: YOLOv8's deep learning approach offers superior accuracy and robustness in detecting objects of various sizes and orientations compared to the OpenCV model. YOLOv8's architecture enables efficient processing of frames in complex scenes, making it ideal for applications requiring high detection precision. In contrast, OpenCV provides a lightweight and accessible solution with good performance in less demanding environments, emphasizing simplicity and real-time processing capabilities.

github-actions[bot] commented 5 days ago

Thank you for creating this issue! ๐ŸŽ‰ We'll look into it as soon as possible. In the meantime, please make sure to provide all the necessary details and context. Your contributions are highly appreciated! ๐Ÿ˜Š

github-actions[bot] commented 4 days ago

Hello @pavitraag! Your issue #157 has been closed. Thank you for your contribution!