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.2.tar.gz (15.4 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.2-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rbx_proofreader-1.0.2.tar.gz
  • Upload date:
  • Size: 15.4 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.2.tar.gz
Algorithm Hash digest
SHA256 ba1c2512eaa785b0c2be3475aae525c8719987a23a7a95a359816f4f52aba074
MD5 d4b94ed48207390d9846cff97a0aeb58
BLAKE2b-256 220538b8254e845165b761546f59ad60f826a681515f613c0c2c7b9897269eea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for rbx_proofreader-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0708f6f9126971fd05ea49e22c26af2c7c4a59a642ed0ce12f7b3b7a9577b284
MD5 9c4d31604429da30be8673410c1a3e16
BLAKE2b-256 7499450b9ea4b2fa18b2e80c411f51ed786fc3d9e7e3aae1780b9e48bf4da45c

See more details on using hashes here.

Provenance

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