Skip to content

crmky/label-studio-paddleocr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 HumanSignal/label-studio-ml-backend#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>

About

Integrate Label Studio with PaddleOCR-VL

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages