harsh-awasthi/bluemockdrone
Preview β’ Updated β’ 112 β’ 1
How to use harsh-awasthi/bluemockdrone with ultralytics:
from huggingface_hub import hf_hub_download
from ultralytics import YOLO
# pick the weights file from this repo's "Files and versions" tab
weights = hf_hub_download("harsh-awasthi/bluemockdrone", "<weights>.pt")
model = YOLO(weights)
source = 'http://images.cocodataset.org/val2017/000000039769.jpg'
model.predict(source=source, save=True)Ultra-fast, high-precision YOLOv11 Nano object detector trained to recognize the geometric structure, spoke morphology, circular rim, and central aperture of a 3D-printed drone gimbal / tracking wheel across varied physical environments, lighting extremes, and arbitrary colors.
| Dimension | Version 1.0 (Previous) | Version 2.0 (Current) |
|---|---|---|
| Object Color Bias | Trained almost exclusively on blue objects (Hue jitter $\pm 8$). Suffered severe color-shortcut overfitting. | Color-Invariant: Trained across full 360Β° hue shifts (red, green, yellow, purple, orange, cyan, blue). |
| Grayscale / Edge Focus | 0% grayscale images. Dependent on color cues. | 25% Pure Grayscale: Network is forced to detect pure edges, spokes, and circular hub geometry. |
| False Positives | Detected arbitrary blue objects (blue denim jeans, shirts, cups, blue walls, mousepads). | Drastically Reduced: Negative background samples (~10% empty labels) and in-scene blue distractors penalize blue false alarms. |
| Background Realism | Synthetic cutout pasting with visible segmentation artifacts. | Real Scene Continuity: Real camera images augmented with clean constant letterboxing. |
| Dataset Scale | 400 images. | 1,000 images (800 train, 200 val) with multi-core CPU augmentation. |
| Low-Light / Glare | Failed in low-light, shadows, or bright ceiling glares. | Robust detection under severe underexposure, glare, and shadows. |
from ultralytics import YOLO
# 1. Load model directly from Hugging Face
model = YOLO("harsh-awasthi/bluemockdrone")
# 2. Run inference on any image, video, or webcam feed
results = model.predict(source=0, show=True, conf=0.45)
import onnxruntime as ort
import cv2
import numpy as np
session = ort.InferenceSession("best.onnx")
# Ready for high-speed edge deployment on pan-tilt visual servoing systems!
drone_frame (Class 0)