fix leaderboard looks, add OCR, make the captcha only show if you add a username and password

This commit is contained in:
csd4ni3l
2025-08-12 15:17:43 +02:00
parent 453250b862
commit 623bd155cb
10 changed files with 242 additions and 225 deletions

View File

@@ -1 +1,18 @@
A captcha/login page which only allows you to register if you post an image of you touching grass
A captcha/login page which only allows you to register if you post an image of you touching grass
To install, you have to install everything in requirements.txt or do uv sync, but you also have to install easyocr.
On my machine, i did this because i wanted to install the CPU version of torch or otherwise it would install NVIDIA bloat.
If you want to do the same, do:
```bash
uv pip install torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cpu
uv pip install easyocr
```
or the same without uv if you use pip.
If you want to install it with GPU acceleration for the OCR part, do:
```bash
uv pip install easyocr
```
or the same without uv if you use pip.