influxdb_yolov5
YOLOv5 People Counter with InfluxDB Integration: Real-time people counting using YOLOv5 object detection. Store and analyze data in InfluxDB. Efficient and accurate. AGPL-3.0 License
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.3%) to scientific vocabulary
Repository
YOLOv5 People Counter with InfluxDB Integration: Real-time people counting using YOLOv5 object detection. Store and analyze data in InfluxDB. Efficient and accurate. AGPL-3.0 License
Basic Info
- Host: GitHub
- Owner: DianaChica
- License: agpl-3.0
- Language: Python
- Default Branch: main
- Size: 924 KB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 4
- Releases: 0
Metadata Files
README.md
YOLOv5 People Counter with InfluxDB Integration
This repository contains the code for an object detection project using YOLO.
Prerequisites
- Docker
- Python 3.x
- InfluxDB
- An available RTSP camera
Configuration
Changes in database.py
You need to modify the InfluxDB configuration in order to work properly. Open the database.py file and make the following change:
python
client = InfluxDBClient(url="http://your_ip:your_port/", token="your_token", org="your_org")
Changes in count_people.py
To set up the RTSP camera source and the weights for YOLO, you need to modify the count_people.py file as follows:
python
subprocess.Popen(['python3', 'detect.py', '--source', 'rtsp://you_ip:your_port/cam', '--weights', 'yolov5s.pt','--save-txt'])
Usage
Clone the Repository
bash
git clone https://github.com/DianaChica/influxdb-yolov5.git
cd influxdb-yolov5
Build and Run the Docker Container
Once you're in the directory of the cloned repository, run the following commands:
bash
docker build -t detection-yolo .
docker run --memory=3072m --name=detection-yolo-container -d detection-yolo
Acknowledgments
This project utilizes the YOLOv5 object detection framework developed by Ultralytics. Special thanks to their team for their valuable contribution.
Owner
- Login: DianaChica
- Kind: user
- Repositories: 1
- Profile: https://github.com/DianaChica
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
Last Year
Dependencies
- actions/checkout v3 composite
- actions/setup-python v4 composite
- slackapi/slack-github-action v1.24.0 composite
- actions/checkout v3 composite
- github/codeql-action/analyze v2 composite
- github/codeql-action/autobuild v2 composite
- github/codeql-action/init v2 composite
- actions/checkout v3 composite
- docker/build-push-action v4 composite
- docker/login-action v2 composite
- docker/setup-buildx-action v2 composite
- docker/setup-qemu-action v2 composite
- actions/first-interaction v1 composite
- actions/checkout v3 composite
- nick-invision/retry v2 composite
- actions/stale v8 composite
- actions/checkout v3 composite
- actions/setup-node v3 composite
- dephraiim/translate-readme main composite
- python 3.8-slim-buster build
- pytorch/pytorch 2.0.0-cuda11.7-cudnn8-runtime build
- gcr.io/google-appengine/python latest build
- GNUnano6.2requirements.txt *
- Pillow >=7.1.2
- PyYAML >=5.3.1
- gitpython >=3.1.30
- influxdb-client >=1.36.0
- matplotlib >=3.3
- numpy >=1.18.5
- opencv-python >=4.1.1
- pandas >=1.1.4
- psutil *
- requests >=2.23.0
- scipy >=1.4.1
- seaborn >=0.11.0
- setuptools >=65.5.1
- thop >=0.1.1
- torchvision >=0.8.1
- tqdm >=4.64.0
- ultralytics >=8.0.111
- Flask ==2.3.2
- gunicorn ==19.10.0
- pip ==21.1
- werkzeug >=2.2.3