bbopen/camo-person-yolo
By bbopen · ↓ 11 · ♥ 2 · Updated 2025-08-11
What's in this repo
This page lists the files in bbopen/camo-person-yolo, including camo-person-yolo.onnx.
- 1 ONNX models (.onnx files)
- 7 files, including 2 .yaml, 1 .md, 1 .onnx, 1 .pt, 1 .torchscript
- Last updated 2025-08-11
ONNX files
| File | Size | Download |
|---|---|---|
| camo-person-yolo.onnx | — | Download |
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
Camouflaged Person Detector (YOLO, single class)
- Single class: person
- Phase B fine-tuned model on camo fill/background pairs + negatives
- Artifacts:
camo-person-yolo.pt(PyTorch),camo-person-yolo.onnx(opset 12, dynamic, simplified),camo-person-yolo.torchscript
Quick usage
Ultralytics (PyTorch)
from ultralytics import YOLO
model = YOLO("bbopen/camo-person-yolo") # loads camo-person-yolo.pt by default
model.predict(source="image.jpg", imgsz=1280, conf=0.25, iou=0.6)
ONNX Runtime
import onnxruntime as ort, numpy as np, cv2
sess = ort.InferenceSession("camo-person-yolo.onnx", providers=["CUDAExecutionProvider","CPUExecutionProvider"])
im = cv2.imread("image.jpg"); im = cv2.cvtColor(im, cv2.COLOR_BGR2RGB)
im = cv2.resize(im, (1280,1280)).astype(np.float32)/255.0
im = np.transpose(im,(2,0,1))[None]
outputs = sess.run(None, {"images": im})
Jetson Orin Nano (export to TensorRT)
- Install runtime:
python3 -m pip install --upgrade ultralytics - Export FP16 engine:
yolo export model=camo-person-yolo.pt format=engine half=True imgsz=1280 device=0
- Inference:
yolo task=detect mode=predict model=best_fp16_1280.engine source=path/to/images conf=0.25 iou=0.6 imgsz=1280
Repro/configs
- Optional training args:
args.yaml - Optional dataset layout reference:
data.yaml
Model info
object-detection
ultralytics
ultralytics
onnx
yolo
camouflaged-person
pytorch
object-detection
license:apache-2.0
region:us
↓ 11
♥ 2
Created: 2025-08-11
Updated: 2025-08-11
View on Hugging FaceFiles (7)
.gitattributes
README.md
args.yaml
camo-person-yolo.onnx
ONNX
camo-person-yolo.pt
camo-person-yolo.torchscript
data.yaml
Related models
More from bbopen
No other models by this author.