Skip to main content

Visual trade detection and OCR engine

Project description

Proofreader 🔍

High-speed Roblox trade analyzer using YOLOv11, CLIP, and EasyOCR for instant item detection and structured JSON output.

Python YOLOv11 License PyPI Build


Features

  • Detect outgoing and incoming trade items from screenshots
  • Outputs structured JSON for automation or analytics
  • Supports custom backgrounds and HTML templates
  • Trained with YOLOv11 and enhanced with CLIP embeddings
  • Easy installation and integration

Example

Input Image Detected UI Elements

Sample Output JSON:

{
    "outgoing": {
        "item_count": 4,
        "robux_value": 0,
        "items": [
            {"id": 1031429, "name": "Domino Crown"},
            {"id": 72082328, "name": "Red Sparkle Time Fedora"},
            {"id": 124730194, "name": "Blackvalk"},
            {"id": 16652251, "name": "Red Tango"}
        ]
    },
    "incoming": {
        "item_count": 2,
        "robux_value": 1048576,
        "items": [
            {"id": 21070012, "name": "Dominus Empyreus"},
            {"id": 22850569, "name": "Red Bandana of SQL Injection"}
        ]
    }
}

💻 Quick Start

import proofreader

# Analyze the image
data = proofreader.get_trade_data("test.png")

# Print the result
print(data)

Installation

Quick Install (Recommended)

pip install rbx-proofreader

From Source (Advanced / Custom Training)

1. Clone the repository.

2. Run python scripts/setup_items.py to initialize cache, download thumbnails, and create CLIP embeddings.

3. Place background images in: src/proofreader/train/emulator/backgrounds. Use continuous numbering: background_0.jpg, background_1.jpg, ...

4. Place HTML templates in src/proofreader/train/emulator/templates. Include both light and dark theme templates.

5. Configure synthetic data generation and YOLO training settings in src/proofreader/core/config.py

6. Run python scripts/train_model.py

Note: GPU recommended for training. Final model will be saved under runs/trainX/weights/best.pt. Rename to yolo.pt and move to src/assets/weights.

Tech Stack

  • Python 3.12

  • YOLOv11 for fast UI detection

  • CLIP for visual embedding matching

  • EasyOCR for text extraction

  • NumPy / OpenCV for image processing

Contributing

Contributions are welcome! Please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rbx_proofreader-1.0.1.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rbx_proofreader-1.0.1-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file rbx_proofreader-1.0.1.tar.gz.

File metadata

  • Download URL: rbx_proofreader-1.0.1.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for rbx_proofreader-1.0.1.tar.gz
Algorithm Hash digest
SHA256 1874ff81919bd1f89067784e7b4a1d54ec99eb98ba030685d08854acded6efe0
MD5 eb8b5137546cb2911b434a97a7941da4
BLAKE2b-256 87a83c4e8b319d69e570c5f52a9ab03fd81f93af4e73655cc5d61f967ae24de5

See more details on using hashes here.

Provenance

The following attestation bundles were made for rbx_proofreader-1.0.1.tar.gz:

Publisher: publish.yml on lucacrose/proofreader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file rbx_proofreader-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for rbx_proofreader-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 67720f019bc0a5281ee36940a9ecfa56da6d650fb99b5b9d201407e0782ff79b
MD5 143143543c99d7639cb0ab5bdd6ebe4e
BLAKE2b-256 3da289061a1d660367cd751ff30b29ca6606bc3df0b31f75753c4b438bc1f3b3

See more details on using hashes here.

Provenance

The following attestation bundles were made for rbx_proofreader-1.0.1-py3-none-any.whl:

Publisher: publish.yml on lucacrose/proofreader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page