How longjingcha/yolov8skill works
This repository is an Agent-invokable YOLO camera-detection skill with a data-improvement loop. Its main workflow captures images, creates candidate labels, scores label risk for review, prepares YOLO data, trains a model, then supports live detection, reporting, and hard-case collection. The graph retains the documented FastSAM capability and the alternate auto-label/train entry point. Pipeline links are supported by its excerpt or SOURCE INDEX references; capability links explicitly documented only in the README are cited there. Unsampled implementation details are not inferred.
Main entry points: pipeline.py Workflow Pipeline · yolo_dataset YOLO Dataset · live_detect.py Live Detection · hard_case_collect.py Hard-case Collection
Components 18
Capture and Detection
- Camera Capture
capture_from_camera.py - Live Detection
skills/yolo-camera-skill/live_detect.py - YOLO Detection
skills/yolo-camera-skill/live_detect.py - FastSAM Segmentation
FastSAM-s.pt
Labeling and Review
- FastSAM Labeling
skills/yolo-camera-skill/auto_label_train.py - Qwen Candidate Labels
skills/yolo-camera-skill/qwen_label.py - Risk Scoring
skills/yolo-camera-skill/risk_scoring.py - Hard-case Collection
skills/yolo-camera-skill/hard_case_collect.py
Training and Evaluation
- YOLO Dataset
yolo_dataset - Dataset Preparation
skills/yolo-camera-skill/prepare_data.py - Model Training
skills/yolo-camera-skill/train.py - Model Weights
best.pt - Metrics and Reports
skills/yolo-camera-skill/report.py
Skill Orchestration
- Workflow Pipeline
skills/yolo-camera-skill/pipeline.py - Auto-label Train
skills/yolo-camera-skill/auto_label_train.py
Other components
- Agent or User
- Camera
- Human Reviewer
Connections 22
- Agent or User → Workflow Pipeline: invokes workflow
README.md - Camera → Camera Capture: provides frames
capture_from_camera.py - Workflow Pipeline → Camera Capture: runs capture
skills/yolo-camera-skill/pipeline.py - Workflow Pipeline → Qwen Candidate Labels: runs labeling
skills/yolo-camera-skill/pipeline.py - Workflow Pipeline → Risk Scoring: runs scoring
skills/yolo-camera-skill/pipeline.py - Workflow Pipeline → Dataset Preparation: runs preparation
skills/yolo-camera-skill/pipeline.py - Workflow Pipeline → Model Training: runs training
skills/yolo-camera-skill/pipeline.py - Workflow Pipeline → Metrics and Reports: generates report
skills/yolo-camera-skill/pipeline.py - Workflow Pipeline → Hard-case Collection: uses collector
skills/yolo-camera-skill/pipeline.py - Live Detection → YOLO Detection: runs inference
skills/yolo-camera-skill/live_detect.py - Live Detection → Hard-case Collection: delegates collection
skills/yolo-camera-skill/live_detect.py - Qwen Candidate Labels → Human Reviewer: flags risky labels
skills/yolo-camera-skill/qwen_label.py - Risk Scoring → Human Reviewer: reports risk
skills/yolo-camera-skill/risk_scoring.py - Human Reviewer → YOLO Dataset: corrects labels
README.md - Dataset Preparation → YOLO Dataset: prepares data
skills/yolo-camera-skill/prepare_data.py - Model Training → Model Weights: saves model
skills/yolo-camera-skill/train.py - Live Detection → Model Weights: loads model
skills/yolo-camera-skill/live_detect.py - Metrics and Reports → YOLO Dataset: summarizes dataset
skills/yolo-camera-skill/report.py - Auto-label Train → FastSAM Labeling: labels images
skills/yolo-camera-skill/auto_label_train.py - Agent or User → FastSAM Segmentation: requests segmentation
README.md - Hard-case Collection → YOLO Dataset: feeds iteration
README.md - Model Weights → FastSAM Segmentation: supports visual analysis