File size: 784 Bytes
c68ddc4
 
 
 
 
 
 
b260574
 
97a6732
 
 
c68ddc4
 
854781c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
c68ddc4
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
license: mit
datasets:
- afshin-dini/Egg-Detection
base_model:
- Ultralytics/YOLOv8
pipeline_tag: object-detection
tags:
- object-detection
- yolo
- pytorch
library_name: pytorch
---

# Description
This model is a YOLO-based model which is trained on [Egg Detection Dataset](https://huggingface.co/datasets/afshin-dini/Egg-Detection).

## Code
The complete code can be found [here](https://github.com/afshindini/Deep-Egg-Detection-and-Counter).

## How to use
One can use the model within his/her code with the following commands:
```shell
from huggingface_hub import hf_hub_download
from ultralytics import YOLO

model_path = hf_hub_download(repo_id="afshin-dini/Egg-Detection", filename="model/egg_detector.pt")
model = YOLO(model_path)
result = model("path/to/image") 
```