How to use from the
Use from the
ultralytics library
# Couldn't find a valid YOLO version tag.
# Replace XX with the correct version.
from ultralytics import YOLOvXX

model = YOLOvXX.from_pretrained("johnatanvq/fruits-yolo-model")
source = 'http://images.cocodataset.org/val2017/000000039769.jpg'
model.predict(source=source, save=True)

Fruits Detection Models (YOLOv11 + OAK Deployment)

This repository provides two versions of a YOLO-based model trained to detect apples, carrots, and oranges.
The models were trained on the Fruits Dataset, which contains 160 annotated images with variations in angles, distances, lighting, shadows, quantities, and surfaces.


Repository Structure

fruits-yolo-model/
β”œβ”€β”€ my_model_PC/
β”‚ └── my_model.pt
└── my_model_CAMERA/
β”œβ”€β”€ my_model_openvino_2022.1_6shave.blob
β”œβ”€β”€ my_model-simplified.onnx
β”œβ”€β”€ my_model.bin
β”œβ”€β”€ my_model.xml
└── my_model.json

Training & Conversion

Training: The model was trained with the Fruits Dataset.

Conversion: The .pt weights were exported to ONNX and then converted via Luxonis tools into the .blob format for OAK deployment.

Source Code: Training scripts and conversion pipeline are documented here: GitHub: fruit_detection_model

License

This model is released under the CC-BY 4.0 license. You are free to share, use, and adapt the models, including for commercial purposes, as long as you provide proper attribution.

Attribution

If you use these models, please cite them as:

*Fruits Detection Models (YOLOv11 + OAK Deployment), by Johnatan Valencia (johnatanvq), trained on the Fruits Dataset, licensed under CC-BY 4.0.*

Notes

The dataset is compact (160 images) but provides strong variation for robust training.

my_model.pt is suitable for PyTorch inference and further training.

my_model_openvino_2022.1_6shave.blob is optimized for real-time inference on OAK devices.

Supporting files (.onnx, .bin, .xml, .json) are included for reproducibility.

Downloads last month
21
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support