YOLO-based object detection system for various industries
Project description
๐ค Galaxy Object Detection Core
Welcome to the Galaxy Object Detection Core โ a modular, production-ready object detection library built using YOLOv8 and YOLOv11 architectures. This project empowers developers, researchers, and enterprises to detect and analyze a variety of objects across domains like transportation, safety, documentation, and natural resources with high precision and speed.
Developed by @muhammadhaerul.25
๐ Table of Contents
- โจ Key Features
- ๐ข Industry Applications
- ๐ฆ Supported Models
- โ๏ธ Installation
- ๐ Quick Start
- ๐ง Available Detection APIs
- ๐ Project Structure
- ๐ธ Example Results
- ๐ Contributing
- ๐ License
โจ Key Features
- โ Plug-and-play object detection with pretrained YOLO models
- ๐ฏ Supports 20+ categories including safety gear, documents, vehicles, and minerals
- ๐ฆ Optimized for real-time inference (30+ FPS)
- ๐ Simple Python API for both batch and single-image detection
- ๐ Segmentation and detection support with metadata extraction
- ๐ Indonesian-optimized models for local compliance and recognition
- ๐ Statistical logging and dashboard integration ready
๐ข Industry Applications
- Human, Safety, Environment
- Transportation and Infrastructure
- Fast-Moving Consumer Goods
- Office, Legal, Finance
- Nature and Environment
๐ฆ Supported Models
๐ Transportation
- Vehicle Detection
- Vehicle Plate Detection (Indonesia-specific)
- Road Damage Detection
๐๏ธ Construction & Safety
- Personal Protective Equipment (PPE v1, v2)
- PPE Segmentation (v2)
- Human Head Detection
๐ Documentation
- Indonesian KTP Detection
- QR Code Detection
- Invoice & Receipt Detection
- Meterai (Stamp Duty) v1 & v2
๐ Minerals
- Mineral Boulder Detection
- Boulder Segmentation
- Mineral Soil Detection
๐งช Coming Soon Models
โ๏ธ Installation
๐ Requirements
- Python >= 3.10
- CUDA-compatible GPU (optional but recommended)
- pip
๐ง Install via PyPI (Recommended)
pip install galaxy-object-detection-core
๐งช Install via GitHub (Latest Development Version)
pip install git+https://github.com/muhammadhaerul/Galaxy-Object-Detection-Core.git
๐ป Install via Clone
# Clone the repository
$ git clone https://github.com/muhammadhaerul/Galaxy-Object-Detection-Core.git
$ cd galaxy-object-detection-core
# Install dependencies
$ pip install -r requirements.txt
๐ Quick Start
๐ Detect a Single Image
from galaxy_object_detection_core.GalaxyObjectDetector import GalaxyObjectDetector
img = "images_sample/sample1.jpg"
# Detect PPE
result = GalaxyObjectDetector.detect_ppe(img, version="v2")
print("Saved at:", result)
# Detect Vehicle
result = GalaxyObjectDetector.detect_vehicle(img)
# Segment PPE
result = GalaxyObjectDetector.segment_ppe(img)
# Detect Custom Objects (YOLO World)
result = GalaxyObjectDetector.detect_custom_object(img, ["helmet", "person"])
๐ง Available Detection APIs
Generic
detect_object(model_path: str, image_path: str)segment_object(model_path: str, image_path: str)
Human, Safety, Environment
detect_human_head(image_path: str)detect_ppe(image_path: str, version: Literal['v1', 'v2', 'latest'])segment_ppe(image_path: str)
Transportation and Infrastructure
detect_vehicle(image_path: str)detect_vehicle_plate(image_path: str)detect_road_damage(image_path: str)
Office, Legal, Finance
detect_ktp(image_path: str)detect_invoice_and_receipt(image_path: str)detect_meterai(image_path: str, version: Literal['v1', 'v2', 'latest'])detect_qrcode(image_path: str)
Nature and Environment
detect_mineral_boulder(image_path: str)segment_mineral_boulder(image_path: str)detect_mineral_soil(image_path: str)
YOLO World
detect_custom_object(image_path: str, list_object_to_detect: List[str])
๐ Project Structure
galaxy-object-detection-core/
โโโ galaxy_object_detection_core/
โ โโโ GalaxyObjectDetector.py # Main detection API class
โ โโโ models/ # YOLO model weights (excluded from PyPI, downloaded externally)
โโโ images_sample/ # Example input images
โโโ images_detected/ # Detection result outputs
โโโ main.py # Sample runner
โโโ requirements.txt
โโโ README.md
๐ธ Example Results
| Example | Output Path |
|---|---|
| Human Head Detection | images_detected/result_of_head_using_model_human_head_detector_yolo8n.jpg |
| PPE Detection | images_detected/result_of_head_using_model_personal_protective_equipment_detector_yolo8n_v2.jpg |
| PPE Segmentation | images_detected/result_of_head_using_model_personal_protective_equipment_segmentator_yolo8n_v2.jpg |
| Vehicle Detection | images_detected/result_of_model_vehicle_detector_yolo11n_v1.jpg |
| License Plate Detection | images_detected/result_of_model_vehicle_plate_detector_yolo8n_v1.jpg |
| Road Damage Detection | images_detected/result_of_model_road_damage_detector_yolo8n.jpg |
| Invoice Detection | images_detected/result_of_invoice_using_model_invoice_and_receipt_detector_yolo8n.jpg |
| Meterai Detection | images_detected/result_of_meterai_using_model_meterai_detector_yolo8n_v2.jpg |
| Custom Detection (Fish) | images_detected/result_of_fish_using_custom_detect_plant_fish.jpg |
| Custom Detection (Helmet/Person) | images_detected/result_of_head_using_custom_detect_helmet_person.jpg |
โ ๏ธ Make sure to run inference at least once before using visual outputs.
๐ Contributing
We welcome your contributions to improve this library!
๐ To contribute:
- Fork the repository
- Create your feature branch (
git checkout -b feature/add-new-detector) - Commit your changes (
git commit -am 'Add new model support') - Push to the branch (
git push origin feature/add-new-detector) - Create a new Pull Request ๐
๐ Contribution Ideas
- Add new YOLOv8 detectors (e.g., fire extinguisher, safety signs)
- Improve confidence filtering and logging
- Web UI integration using Streamlit or Flask
- Export results to JSON/CSV/Database
๐ License
This project is licensed under the MIT License. See the LICENSE file for more information.
Developed by @muhammadhaerul.25 "Build safer, smarter systems with AI."
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file galaxy_object_detection_core-0.1.2.tar.gz.
File metadata
- Download URL: galaxy_object_detection_core-0.1.2.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f70643650c1b803d41c7ed87dc64c32f1113f26466c1453b1a6bc1c85a565ebe
|
|
| MD5 |
730752b23606956c90bcc14ce5c17289
|
|
| BLAKE2b-256 |
58c72de8dd2aaef46ff475432c727677aa70559fce57438051ad2e86a532a666
|
File details
Details for the file galaxy_object_detection_core-0.1.2-py3-none-any.whl.
File metadata
- Download URL: galaxy_object_detection_core-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b4065fd23c370f3c17213454de4bdaf2a7253885a240575b18d69e0bf5517b5
|
|
| MD5 |
ca559958d271f726a72de9394b228b42
|
|
| BLAKE2b-256 |
08f97e66ec37744af7b5db348eca8243ab4fc35e3e372559c05818fe0883d10e
|