第一个例子是Andrey Germanov 提供 使用cpu
https://github.com/AndreyGermanov/yolov8_inference_video_javascript
YOLOv8 object detection in videos in a web browser
This is a web interface to YOLOv8 object detection neural network that allows to run object detection right in a web browser without any backend using ONNX runtime.
This is a source code for a "How to detect objects in videos in a web browser using YOLOv8 neural network and JavaScript" tutorial.
使用gpu,其中输入和输出是和模型训练人员沟通得到的,indexDetImg.html
使用gpu,其中输入和输出是和模型训练人员沟通得到的,indexSegImg.html