Detection-Counting-of-Animals-in-Pens
https://github.com/KhuongDuy25/Detection-Counting-of-Animals-in-Pens
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 (2.6%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: KhuongDuy25
- License: agpl-3.0
- Language: Python
- Default Branch: main
- Size: 2.43 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
- Releases: 0
Metadata Files
README.md
🐾 Hệ thống giám sát và nhận diện vật nuôi trong chuồng trại bằng YOLOv5 và YOLOv8
Dự án này xây dựng một hệ thống ứng dụng thị giác máy tính để giám sát, nhận diện, và kiểm soát số lượng vật nuôi trong chuồng trại bằng cách sử dụng mô hình YOLOv5 và YOLOv8.
📌 Mục tiêu
- Giám sát số lượng vật nuôi theo thời gian thực từ camera hoặc video.
- Nhận diện các loài vật cụ thể (gà, vịt, bò, heo, dê, v.v.).
- Phát hiện khi có động vật bị thiếu hoặc xổng chuồng.
- Ghi log sự kiện ra file Excel để quản lý.
- Hỗ trợ giao diện người dùng đơn giản dễ sử dụng.
🛠️ Thư viện sử dụng
| Thư viện | Mục đích |
|----------|----------|
| torch, torchvision, torchaudio | Chạy mô hình học sâu |
| opencv-python (cv2) | Xử lý ảnh, camera |
| ultralytics | Chạy mô hình YOLOv8 |
| pandas | Ghi và xử lý dữ liệu log |
| Pillow (PIL) | Vẽ và hiển thị ảnh |
| tkinter | Tạo giao diện người dùng |
| datetime, time | Xử lý thời gian |
| threading | Chạy song song giao diện và camera |
⚙️ Cài đặt
1. Tạo môi trường ảo (tuỳ chọn)
```bash python -m venv venv source venv/bin/activate # Linux/macOS venv\Scripts\activate # Windows
2. Cài thư viện
---bash pip install torch torchvision torchaudio pip install opencv-python pip install ultralytics pip install pandas pip install pillow hoặc pip install -r requirements.txt
Chạy dự án tại Main.py
Owner
- Login: KhuongDuy25
- Kind: user
- Repositories: 1
- Profile: https://github.com/KhuongDuy25
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
- Delete event: 1
- Issue comment event: 5
- Pull request event: 5
- Create event: 5
Last Year
- Delete event: 1
- Issue comment event: 5
- Pull request event: 5
- Create event: 5
Dependencies
- actions/checkout v4 composite
- actions/setup-python v5 composite
- slackapi/slack-github-action v1.26.0 composite
- contributor-assistant/github-action v2.4.0 composite
- actions/checkout v4 composite
- github/codeql-action/analyze v3 composite
- github/codeql-action/autobuild v3 composite
- github/codeql-action/init v3 composite
- actions/checkout v4 composite
- docker/build-push-action v5 composite
- docker/login-action v3 composite
- docker/setup-buildx-action v3 composite
- docker/setup-qemu-action v3 composite
- ultralytics/actions main composite
- actions/first-interaction v1 composite
- actions/checkout v4 composite
- nick-invision/retry v3 composite
- actions/checkout v4 composite
- actions/setup-python v5 composite
- actions/stale v9 composite
- pytorch/pytorch 2.0.0-cuda11.7-cudnn8-runtime build
- gcr.io/google-appengine/python latest build
- 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
- 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.23.0
- scipy >=1.4.1
- seaborn >=0.11.0
- setuptools >=65.5.1
- thop >=0.1.1
- torchvision >=0.9.0
- tqdm >=4.64.0
- ultralytics >=8.0.232
- wheel >=0.38.0
- Flask ==2.3.2
- gunicorn ==22.0.0
- pip ==23.3
- werkzeug >=3.0.1