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.2.0.tar.gz (4.8 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.2.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: label_studio_paddleocr-0.2.0.tar.gz
  • Upload date:
  • Size: 4.8 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.2.0.tar.gz
Algorithm Hash digest
SHA256 f3860590f4337d2010dfe29d3d89eb2e922474b5c9829a45cb49db949e441324
MD5 ad99082d7a98a2033709da3d258ca4a3
BLAKE2b-256 7fe20d0c1b4dc30b135daca0c91e9eb0b4a060f464d447cebddc28f24f79ce14

See more details on using hashes here.

File details

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

File metadata

  • Download URL: label_studio_paddleocr-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 871a51afbfbf7aac1bcdfe4b923a9f543c6b70677bb0b3aa8c054e77eebb3006
MD5 47e420f5a346097396c944a323323769
BLAKE2b-256 33db3c2081a1f047377e1d4716386a502c1e2244a1f01215b883cd0b5ac7dd83

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