Science Score: 44.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
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.1%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

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

README.md

```

Parking Violation Detection with YOLOv5

This project uses YOLOv5 to detect cars and parking lines and determine parking violations.

Requirements

Install the required dependencies: bash pip install -r requirements.txt

How to Run

Test with Images

Run the following command to test images: bash python detect.py --weights weights/best.pt --img 640 --conf 0.25 --source /path/to/image_or_folder

Test with Videos

Run the following command to test a video: bash python detect.py --weights weights/best.pt --img 640 --conf 0.25 --source /path/to/video.mp4

Real-Time Detection with Webcam

Run the following command to use the webcam: bash python detect.py --weights weights/best.pt --img 640 --conf 0.25 --source 0

Training

To train the model: bash python train.py --img 640 --batch 16 --epochs 50 --data parking_lines.yaml --weights yolov5s.pt

Results

  • Detected outputs are saved in runs/detect/exp.
  • Metrics and training logs are saved in runs/train/exp4.

Project Structure

yolov5_project/ ├── detect.py # Script for running detections ├── train.py # Script for training the model ├── parking_lines.yaml # Dataset configuration file ├── weights/ # Directory for model weights │ └── best.pt # Trained YOLOv5 model ├── README.md # Project documentation ├── .gitignore # Files and directories to ignore in Git ├── requirements.txt # Python dependencies └── parking_env/ # Virtual environment (ignored by .gitignore)

Notes

  1. Ensure you update the paths in commands to match your directory structure.
  2. For better performance, use a GPU when running training or inference.

Acknowledgments

Owner

  • Name: Sachin Harshitha
  • Login: thelllmike
  • 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: 3
  • Push event: 1
  • Pull request event: 1
  • Create event: 3
Last Year
  • Issue comment event: 3
  • Push event: 1
  • Pull request event: 1
  • Create event: 3

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.6.1 composite
.github/workflows/codeql-analysis.yml actions
  • actions/checkout v4 composite
  • github/codeql-action/analyze 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/links.yml actions
  • actions/checkout v4 composite
  • ultralytics/actions/retry main 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.2
  • scipy >=1.4.1
  • seaborn >=0.11.0
  • setuptools >=70.0.0
  • thop >=0.1.1
  • torchvision >=0.9.0
  • tqdm >=4.66.3
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