-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<p align="center"> | ||
<img src="img/screenshot.jpg" /> | ||
</p> | ||
|
||
|
||
This is adapted and reduced version of YOLOv8 object segmentation (powered by onnx) created by <a href="https://github.com/Hyuto/yolov8-onnxruntime-web">Wahyu Setianto</a>. This version can be run on JavaScript without any frameworks and demonstrates object detection using web camera. | ||
|
||
## Setup | ||
To see it at work, just run index.html file. | ||
|
||
## Models | ||
|
||
**Main Model** | ||
|
||
YOLOv8n model converted to onnx with input dimensions of 416x416. | ||
|
||
``` | ||
used model : yolov8n.onnx | ||
size : ~ 12.5Mb | ||
``` | ||
|
||
**NMS** | ||
|
||
ONNX model to perform NMS operator [CUSTOM]. | ||
|
||
``` | ||
nms-yolov8.onnx | ||
``` | ||
|
||
|
||
## Use another model | ||
|
||
It is possible to use bigger models converted to onnx, however this might impact the total loading time. | ||
|
||
To use another YOLOv8 model, download it from Ultralytics and convert it to onnx file format. | ||
|
||
**Custom YOLOv8 Object Detection Models** | ||
|
||
Please update labels object inside of main.js file. | ||
|
||
|
||
## Demo | ||
To see demo, please visit the <a href="https://yolov8-segmentation.glitch.me/">following page</a> |