项目
在 GitHub 查看
Hyuto/yolov8-tfjs
关于
YOLOv8 right in your browser with tensorflow.js
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Object Detection using YOLOv8 and Tensorflow.js
Object Detection application right in your browser. Serving YOLOv8 in browser using tensorflow.js
with webgl backend.
Setup
git clone https://github.com/Hyuto/yolov8-tfjs.git
cd yolov8-tfjs
yarn install #Install dependencies
Scripts
yarn start # Start dev server
yarn build # Build for productions
Model
YOLOv8n model converted to tensorflow.js.
used model : yolov8n
size : 13 Mb
Use another model
Use another YOLOv8 model.
Export YOLOv8 model to tfjs format. Read more on the official documentation
from ultralytics import YOLO # Load a model model = YOLO("yolov8n.pt") # load an official model # Export the model model.export(format="tfjs")Copy
yolov8*_web_modelto./publicUpdate
modelNameinApp.jsxto new model name... // model configs const modelName = "yolov8*"; // change to new model name ...Done! 😊
Note: Custom Trained YOLOv8 Models
Please update src/utils/labels.json with your new classes.
Reference
探索相关项目
加载中…