Skip to content

add infer on flv streams #11

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions .gitignore

This file was deleted.

14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,34 +1,40 @@
# YOLOv8 with onnxruntime-web
# YOLOv8 with onnxruntime-web to infer video streams in browser

<p align="center">
<img src="./sample.png" />
</p>

![love](https://img.shields.io/badge/Made%20with-🖤-white)
![react](https://img.shields.io/badge/React-blue?logo=react)
![onnxruntime-web](https://img.shields.io/badge/onnxruntime--web-white?logo=onnx&logoColor=black)
![opencv.js](https://img.shields.io/badge/opencv.js-green?logo=opencv)

---

Object Detection application right in your browser.
Object Detection on `flv` video streams application right in your browser.
Serving YOLOv8 in browser using onnxruntime-web with `wasm` backend.

## Setup

```bash
git clone https://github.com/Hyuto/yolov8-onnxruntime-web.git
git clone https://github.com/bankxi/yolov8-onnxruntime-web.git
cd yolov8-onnxruntime-web
yarn install # Install dependencies
vi src/App.js # edit flv-url in line 58
```

The flv address is recommended to be obtained in the F12 developer mode of Tiktok Live

## Scripts

```bash
yarn start # Start dev server
yarn build # Build for productions
```

The effect is as follows:

![](./src/imgs/1714463883410.jpg)

## Models

**Main Model**
Expand Down
Loading