aidi1002_finalassignment

Final Assignment

https://github.com/ekamjyot1515/aidi1002_finalassignment

Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.2%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Final Assignment

Basic Info
  • Host: GitHub
  • Owner: ekamjyot1515
  • License: agpl-3.0
  • Language: Python
  • Default Branch: master
  • Size: 1010 KB
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 2
  • Releases: 0
Created over 1 year ago · Last pushed over 1 year ago
Metadata Files
Readme Contributing License Citation

README.md

YOLOv5 Object Detection


Introduction

This project demonstrates real-time object detection using the YOLOv5 model. YOLOv5 (You Only Look Once) is a highly efficient model that can detect multiple objects in images and videos in real time. The aim of this project was to experiment with different configurations of YOLOv5 by adjusting parameters like model weights, input image size, and confidence thresholds, and to assess their impact on the model's performance.


Project Structure

  • YOLOv5 Model: Pre-trained on the COCO dataset, this model detects 80 different object classes.
  • Modified Parameters:
    • Model weights (YOLOv5-small, YOLOv5-medium)
    • Image resolution
    • Confidence threshold for object detection
  • Evaluation Metrics:
    • Precision
    • Recall
    • Frames Per Second (FPS)

Methodology

  1. Dataset: The model is pre-trained on the COCO dataset, which contains images of 80 common object classes.
  2. Model Variants:
    • YOLOv5-small for faster but less accurate detections.
    • YOLOv5-medium for a better balance between speed and accuracy.
  3. Parameter Tuning: We experimented with different image sizes and confidence thresholds to optimize the model’s performance based on the needs of real-time detection.
  4. Evaluation: Metrics such as precision, recall, and FPS were used to evaluate the performance of the model under various settings.

Results

  • YOLOv5-small: Provided faster detections but with slightly less accuracy, suitable for use in systems where speed is critical.
  • YOLOv5-medium: Offered the best trade-off between speed and accuracy, making it ideal for scenarios that require both.
  • Image Size: Reducing image size increased FPS but reduced accuracy, particularly for smaller objects.
  • Confidence Threshold: A higher threshold reduced false positives but increased the chance of missing smaller objects. A lower threshold improved recall but resulted in more false detections.

Performance Metrics

  • Accuracy: YOLOv5-medium achieved the best balance between precision and recall.
  • FPS: Achieved higher FPS rates with lower image resolutions, making it suitable for real-time applications.
  • Precision & Recall: Adjusting the confidence threshold allowed for better control over false positives and missed detections.

Future Work

  1. Feature Enhancements: Explore additional features to improve accuracy.
  2. Additional Datasets: Test the model on other large-scale datasets for robustness.
  3. Hardware Optimization: Implementing YOLOv5 on hardware like GPUs and edge devices to enhance real-time performance.

Repositories


References

  • YOLOv5 Documentation: YOLOv5 GitHub
  • YOLOv4 Paper: Bochkovskiy, A., Wang, C.-Y., & Liao, H.-Y. M. (2020). YOLOv4: Optimal Speed and Accuracy of Object Detection. arXiv arXiv:2004.10934

Owner

  • Login: ekamjyot1515
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
preferred-citation:
  type: software
  message: If you use YOLOv5, please cite it as below.
  authors:
  - family-names: Jocher
    given-names: Glenn
    orcid: "https://orcid.org/0000-0001-5950-6979"
  title: "YOLOv5 by Ultralytics"
  version: 7.0
  doi: 10.5281/zenodo.3908559
  date-released: 2020-5-29
  license: AGPL-3.0
  url: "https://github.com/ultralytics/yolov5"

GitHub Events

Total
  • Issue comment event: 2
  • Pull request event: 1
  • Create event: 1
Last Year
  • Issue comment event: 2
  • Pull request event: 1
  • Create event: 1

Dependencies

.github/workflows/ci-testing.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
  • slackapi/slack-github-action v1.27.0 composite
.github/workflows/cla.yml actions
  • contributor-assistant/github-action v2.5.1 composite
.github/workflows/codeql-analysis.yml actions
  • actions/checkout v4 composite
  • github/codeql-action/analyze v3 composite
  • github/codeql-action/autobuild v3 composite
  • github/codeql-action/init v3 composite
.github/workflows/docker.yml actions
  • actions/checkout v4 composite
  • docker/build-push-action v6 composite
  • docker/login-action v3 composite
  • docker/setup-buildx-action v3 composite
  • docker/setup-qemu-action v3 composite
.github/workflows/format.yml actions
  • ultralytics/actions main composite
.github/workflows/greetings.yml actions
  • actions/first-interaction v1 composite
.github/workflows/links.yml actions
  • actions/checkout v4 composite
  • nick-invision/retry v3 composite
.github/workflows/merge-main-into-prs.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v5 composite
.github/workflows/stale.yml actions
  • actions/stale v9 composite
utils/docker/Dockerfile docker
  • pytorch/pytorch 2.0.0-cuda11.7-cudnn8-runtime build
utils/google_app_engine/Dockerfile docker
  • gcr.io/google-appengine/python latest build
pyproject.toml pypi
  • matplotlib >=3.3.0
  • numpy >=1.22.2
  • opencv-python >=4.6.0
  • pandas >=1.1.4
  • pillow >=7.1.2
  • psutil *
  • py-cpuinfo *
  • pyyaml >=5.3.1
  • requests >=2.23.0
  • scipy >=1.4.1
  • seaborn >=0.11.0
  • thop >=0.1.1
  • torch >=1.8.0
  • torchvision >=0.9.0
  • tqdm >=4.64.0
  • ultralytics >=8.1.47
requirements.txt pypi
  • PyYAML >=5.3.1
  • gitpython >=3.1.30
  • matplotlib >=3.3
  • numpy >=1.23.5
  • opencv-python >=4.1.1
  • pandas >=1.1.4
  • pillow >=10.3.0
  • psutil *
  • requests >=2.32.0
  • scipy >=1.4.1
  • seaborn >=0.11.0
  • setuptools >=70.0.0
  • thop >=0.1.1
  • torchvision >=0.9.0
  • tqdm >=4.64.0
utils/google_app_engine/additional_requirements.txt pypi
  • Flask ==2.3.2
  • gunicorn ==22.0.0
  • pip ==23.3
  • werkzeug >=3.0.1
  • zipp >=3.19.1