# Label studio and layout parser

**URL:** <https://community.labelstud.io/t/label-studio-and-layout-parser/273>\
**Category:** Label Studio Support\
**Tags:** annotations\
**Created:** [July 3, 2024, 8:35pm UTC](https://community.labelstud.io/t/label-studio-and-layout-parser/273 "2024-07-03T20:35:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rafaelrdealmeida](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/rafaelrdealmeida/32/87_2.png) [@rafaelrdealmeida](https://community.labelstud.io/u/rafaelrdealmeida)\
**Post date:** [July 3, 2024, 8:35pm UTC](https://community.labelstud.io/t/label-studio-and-layout-parser/273/1 "2024-07-03T20:35:23Z")

</div>

Hello,

I’m trying to use label studio in conjunction with the layout parser. Right now I’m trying to replicate the notebook below.

[notebook template](https://github.com/Layout-Parser/layout-parser/blob/main/examples/Customizing%20Layout%20Models%20with%20Label%20Studio%20Annotation/Customizing%20Layout%20Models%20with%20Label%20Studio%20Annotation.ipynb)

In the item “Define the Annotation Schema” there are two suggestions

- Write definition based on visual features as clear as you can
- Add image examples

I believe it is possible to insert it from label studio and then export to coco, but I don’t understand where I insert this information from label studio. Is it in the “Labeling interface”?

Could you give me an example or instructions on how to proceed?

In the notebook above it is also indicated that “Active Learning” is possible. Is this possible through label studio?

```auto
<View style="display: flex;">
  <View style="width: 5500px; height: 5500px;">
    <Image name="image" value="$image"/>
  </View>
  
  <View style="width: 90px; padding: 0 1em; margin-right: 0.5em; background: #f1f1f1; border-radius: 3px">
  <RectangleLabels name="label" toName="image">
    <Label value="title" background="#2DFAB4"></Label>
    <Label value="text" background="#FAE323"></Label>
  </RectangleLabels>
  </View>
</View>

```

best

---

<div class="post-metadata">

**Author:** ![caitlinhumansignal](https://yyz1.discourse-cdn.com/flex035/user_avatar/community.labelstud.io/caitlinhumansignal/32/82_2.png) [@caitlinhumansignal](https://community.labelstud.io/u/caitlinhumansignal)\
**Post date:** [July 12, 2024, 11:33pm UTC](https://community.labelstud.io/t/label-studio-and-layout-parser/273/2 "2024-07-12T23:33:24Z")

</div>

> I believe it is possible to insert it from label studio and then export to coco, but I don’t understand where I insert this information from label studio. Is it in the “Labeling interface”?

Yes! Go to the project settings and select “Labeling Interface.” There is a tab where you can select “Code”. You can copy and paste this in there. Here is a screenshot: [Label Studio Documentation — Set up labeling configuration interface](https://labelstud.io/guide/setup#Code-view-autocomplete)

“Active Learning” is a concept for when a Machine Learning backend is attached. I think you would want to enable “Start model training on annotation submission” [Label Studio Documentation — Project settings](https://labelstud.io/guide/project_settings#Model)
