Skip to main content

Integrate Label Studio with PaddleOCR-VL

Project description

label-studio-paddleocr

This project integrates Label Studio with PaddleOCR-VL for OCR and auto labeling.

Usage

paddleocr_url: http://paddleocr.addr:8080/
label_studio_url: https://labelstudio.addr/
label_studio_api_key: "api token"

We have to use Label Studio legacy token instead of personal access token due to https://github.com/HumanSignal/label-studio-ml-backend/issues/749.

  • In Label Studio, configure project labeling interface as something like below. Then connect the project with this application in "Model" settings.
<View>
  <Image name="image" value="$image"/>
  <RectangleLabels name="category" toName="image">
    <Label value="OCR:" background="green" selected="true"/>
    <Label value="Table Recognition:" background="blue"/>
    <Label value="Formula Recognition:" background="red"/>
    <Label value="Chart Recognition:" background="coral"/>
  </RectangleLabels>
  <TextArea name="transcription" toName="image"
            editable="true"
            perRegion="true"
            required="true"
            maxSubmissions="1"
            rows="5"
            placeholder="Recognized Text"
            displayMode="region-list"
            />
</View>

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

label_studio_paddleocr-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

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

label_studio_paddleocr-0.1.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file label_studio_paddleocr-0.1.0.tar.gz.

File metadata

  • Download URL: label_studio_paddleocr-0.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for label_studio_paddleocr-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9b156aa231f2d55615101b088a8e7f43d5a26b04d24cf9736f81160fc9b19f5f
MD5 3cc21c1f7d6084a3e5824f0631209ffb
BLAKE2b-256 337b5dece924f6b000607f684f104267352197e8f735a378338aab04beda4ae4

See more details on using hashes here.

File details

Details for the file label_studio_paddleocr-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: label_studio_paddleocr-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for label_studio_paddleocr-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 202f246f2b095ea4be8aa24020b433c42c7ba69a695a20208959be6570115aaf
MD5 8154b2a915370a7d2fc96bc9a02e8b7c
BLAKE2b-256 ce42114cfcb6b50641f68d7fc92e2d7deef4c0d1a6cdfee1715442e5da325900

See more details on using hashes here.

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