Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/toanbku/tf-bypass-captcha


https://github.com/toanbku/tf-bypass-captcha

Last synced: 3 days ago
JSON representation

Awesome Lists containing this project

README

        

# Auto pass ReCAPTCHA

---

Object Detection application right in your browser. Serving YOLOv8 in browser using tensorflow.js
with `webgl` backend.

**Scripts**

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

## Model

YOLOv8n model converted to tensorflow.js.

```
used model : yolov8n
size : 13 Mb
```

**Use another model**

Use another YOLOv8 model.

1. Export YOLOv8 model to tfjs format. Read more on the [official documentation](https://docs.ultralytics.com/tasks/detection/#export)

```python
from ultralytics import YOLO

# Load a model
model = YOLO("yolov8n.pt") # load an official model

# Export the model
model.export(format="tfjs")
```

2. Copy `yolov8*_web_model` to `./public`
3. Update `modelName` in `App.jsx` to new model name
```jsx
...
// model configs
const modelName = "yolov8*"; // change to new model name
...
```
4. Done! 😊

**Note: Custom Trained YOLOv8 Models**

Please update `src/utils/labels.json` with your new classes.

## Reference

- https://github.com/Hyuto/yolov8-tfjs
- https://github.com/ultralytics/ultralytics
- https://github.com/Hyuto/yolov8-onnxruntime-web