vincenzo-afk/VisionX
vincenzo-afk/VisionX has 34 GitHub stars and 0 forks. Star changes are not measured yet. Last checked 2026-11-14 04:28 UTC. Last push 2026-08-21.
What you can do
- Multi-Object Tracking (MOT): Maintains consistent object IDs across frames even under occlusion.
- Zone & Line Counting: Configurable spatial triggers for traffic monitoring and retail analytics.
- Asynchronous Processing: Leverages FastAPI's async capabilities for non-blocking stream handling.
- Persistent Analytics: Automatic logging of every detection event into a relational database.
측정된 스타 증가
- in 24h
- 기록 수집 중
- in 7 days
- 기록 수집 중
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
AI-powered real-time object detection, tracking, and video intelligence platform using YOLO and computer vision.
머신러닝README.md
OriginalVisionX: Real-Time Object Detection, Tracking, and Intelligent Analytics System
VisionX is a production-grade, modular computer vision intelligence platform engineered for real-time object detection, multi-object tracking (MOT), zone counting, and automated edge analytics [1]. Built on top of Ultralytics YOLOv8 and FastAPI, VisionX provides a seamless end-to-end pipeline spanning custom dataset ingestion, model fine-tuning, high-performance video stream processing, and an interactive web control center.
1. Project Overview
VisionX addresses the critical need for low-latency, high-accuracy visual intelligence in diverse environments. The system enables users to:
- Detect objects in static images with high-precision bounding boxes and confidence scores.
- Track multiple objects across video frames using state-of-the-art algorithms (ByteTrack/BoT-SORT).
- Count object occurrences within specific regions of interest (ROI) or across virtual boundaries.
- Analyze detection trends and performance metrics through a real-time web dashboard.
- Train custom models on specialized datasets, such as the integrated pothole detection pipeline.
2. Key Features
- Multi-Object Tracking (MOT): Maintains consistent object IDs across frames even under occlusion.
- Zone & Line Counting: Configurable spatial triggers for traffic monitoring and retail analytics.
- Asynchronous Processing: Leverages FastAPI's async capabilities for non-blocking stream handling.
- Persistent Analytics: Automatic logging of every detection event into a relational database.
- Custom Training Pipeline: Streamlined fine-tuning workflow with automated dataset validation.
3. System Architecture
VisionX utilizes a decoupled architecture to ensure scalability and maintainability.
graph TD
subgraph Frontend
UI[Web Dashboard]
end
subgraph Backend
API[FastAPI Server]
Engine[Detection & Tracking Engine]
DB[(SQLite Database)]
end
subgraph Data
Dataset[YOLO/COCO Datasets]
Models[YOLOv8 Weights]
end
UI <-->|HTTP/WebSockets| API
API --> Engine
API <--> DB
Engine --> Models
Dataset --> Engine
4. Project Structure
| Directory / File | Purpose |
|---|---|
backend/ |
Core application logic, including API routes, database models, and CV engines. |
datasets/ |
Data management module for training and inference datasets. |
frontend/ |
Static web assets for the operator control dashboard. |
models/ |
Repository for pre-trained and fine-tuned model weights. |
outputs/ |
Storage for processed media, training logs, and detection databases. |
training/ |
Execution scripts for model fine-tuning and evaluation. |
config.py |
Global configuration and environment variable management. |
5. Prerequisites
- Python: 3.10 or higher.
- GPU (Optional): NVIDIA GPU with CUDA support for accelerated inference and training.
- OS: Linux (Ubuntu recommended), macOS, or Windows (via WSL2).
6. Installation
Clone the repository:
git clone https://github.com/vincenzo-afk/VisionX.git cd VisionXSet up virtual environment:
python3 -m venv venv source venv/bin/activateInstall dependencies:
pip install --upgrade pip pip install -r requirements.txt
7. Configuration
VisionX is configured via environment variables. Copy the example template to get started:
cp .env.example .env
| Variable | Description | Default |
|---|---|---|
MODEL |
Path to weights or YOLOv8 model name | yolov8n.pt |
DEVICE |
Compute device (cpu, cuda, mps) |
cpu |
CONFIDENCE_THRESHOLD |
Minimum detection confidence | 0.4 |
8. API Documentation
The backend provides a RESTful API for all system operations. Interactive documentation is available at /docs (Swagger UI).
Core Endpoints
POST /api/detect/image: Analyze an uploaded image.POST /api/detect/video: Process an uploaded video with tracking.GET /api/detect/webcam: Live MJPEG stream with detection overlay.GET /api/analytics: Retrieve aggregate system statistics.
9. Usage Examples
Image Detection via CLI
curl -X POST http://localhost:8000/api/detect/image \
-F "file=@path/to/your/image.jpg"
Starting the Web Dashboard
python3 -m backend.main
Then navigate to http://localhost:8000 in your browser.
10. Training & Fine-Tuning
VisionX supports seamless fine-tuning on custom datasets.
- Prepare Data: Place your YOLO-formatted data in
datasets/images/anddatasets/labels/. - Configure: Update
datasets/data.yamlwith your class names. - Execute Training:
python training/train.py --epochs 50 --batch 16 --run-name my_custom_model
11. Testing
Run the test suite to ensure system integrity:
# Verify API health
curl -f http://localhost:8000/api/health
12. Performance Benchmarks
| Device | Model | Inference Time (ms) | FPS |
|---|---|---|---|
| CPU (i7-12700K) | yolov8n.pt | ~45ms | 22 |
| GPU (RTX 3080) | yolov8n.pt | ~2ms | 500+ |
13. Contributing
We welcome contributions! Please refer to CONTRIBUTING.md for detailed submission guidelines.
14. Security
Security is a priority. Please report vulnerabilities according to our SECURITY.md policy.
15. License
Distributed under the MIT License. See LICENSE for more information.
16. Acknowledgments & References
[1] Jocher, G., Chaurasia, A., & Qiu, J. (2023). Ultralytics YOLO. GitHub. https://github.com/ultralytics/ultralytics
Developed by vincenzo-afk. For support, please open an issue in the GitHub repository.
관련 프로젝트 살펴보기
tensorflow/tensorflow
모두를 위한 오픈소스 머신러닝 프레임워크
201,592 스타huggingface/transformers
🤗 Transformers: 텍스트, 비전, 오디오, 멀티모달 분야의 최첨단 머신러닝 모델을 위한 모델 정의 프레임워크로, 추론과 학습을 모두 지원합니다.
168,956 스타AUTOMATIC1111/stable-diffusion-webui
Stable Diffusion 웹 UI
165,307 스타Comfy-Org/ComfyUI
그래프와 노드로 구성된 인터페이스를 갖춘, 가장 강력하고 모듈성이 뛰어난 확산 모델 GUI, API, 백엔드입니다. 세계에서 가장 빠른 로컬 추론 엔진입니다.
146,723 스타