label-studio-ml-backend
label-studio-ml-backend copied to clipboard
Multi-page annotation
How to create backend & labelling interface for multipage annotation?
hey @juhonkang
can you add more details about your case? what data you're annotating, how much data each annotation have, etc.
<View>
<Repeater on="$document" indexFlag="{{idx}}" mode="pagination">
<Image name="page_{{idx}}" value="$document[{{idx}}].page" inline="true"/>
<Labels name="labels_{{idx}}" toName="page_{{idx}}">
<Label value="Text" background="green"/>
<Label value="Handwriting" background="blue"/>
</Labels>
<Rectangle name="bbox_{{idx}}" smart="true" toName="page_{{idx}}" strokeWidth="3"/>
<TextArea name="transcription_{{idx}}" toName="page_{{idx}}"
editable="true"
perRegion="true"
required="true"
maxSubmissions="1"
rows="5"
placeholder="Recognized Text"
displayMode="region-list"
/>
<View style="display: flex; justify-content: center;">
<Header value=" Rate this page:"/>
<Rating name="rating_{{idx}}" toName="page_{{idx}}"/>
</View>
</Repeater>
</View>
<!-- {
"document": [
{
"page": "https://htx-pub.s3.amazonaws.com/demo/images/demo_stock_purchase_agreement/0001.jpg"
},
{
"page": "https://htx-pub.s3.amazonaws.com/demo/images/demo_stock_purchase_agreement/0002.jpg"
},
{
"page": "https://htx-pub.s3.amazonaws.com/demo/images/demo_stock_purchase_agreement/0003.jpg"
}
]
} -->
I want to make with ~8 images at once This one is the view I want to use, how can I modify the tesseract.py API of the example? The most problem I'm facing is finding the idx of the image, and returning the result
Hi @nicholasrq, Have you checked it?
I want to annotate the pdf files, converted to image.
It's multi page doc annotation, and can be ~8 pages
Hi @
Hi @nicholasrq, any progress for that?
@nicholasrq @makseq Hope that label studio expert help me soon because I need this feature for one of my project :(