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.0.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.0-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rbx_proofreader-1.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 422191c2a853c2c761e8cf255c87c9c5a17a1c87ffd751c2a608c76e4c269919
MD5 0bacaf2bcd54cbac47fcf026a9ed6130
BLAKE2b-256 f35c2e362b9c5f79d57e88443baa57e0cdbe3ab9da090fcb7ec364a0ede2f34d

See more details on using hashes here.

Provenance

The following attestation bundles were made for rbx_proofreader-1.0.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rbx_proofreader-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 498bd0d972fd07e470b5bfa0b5e59b22444dcb15e96fe3bda685c869a2877b64
MD5 52d3a8b1e4ce3ea1390668d9edde74fb
BLAKE2b-256 91f38fad2c36e108b8a0e947cd5ca9308e9f37b7f5f293ced6b7d617c9498c13

See more details on using hashes here.

Provenance

The following attestation bundles were made for rbx_proofreader-1.0.0-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