We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ed01489 + 3850b48 commit 7c7bf5aCopy full SHA for 7c7bf5a
examples/annotation_import/pdf.ipynb
@@ -192,16 +192,6 @@
192
"metadata": {},
193
"source": [
194
"############ Bounding Box ###########\n",
195
- "# Python Annotation \n",
196
- "bbox_annotation = lb_types.ObjectAnnotation(\n",
197
- " name = \"bounding_box\", # must match your ontology feature's name\n",
198
- " value = lb_types.Rectangle(\n",
199
- " start=lb_types.Point(x=42.799, y=86.498), # Top left\n",
200
- " end=lb_types.Point(x=141.911, y=303.195), # Bottom right\n",
201
- " ),\n",
202
- " page = 1,\n",
203
- " unit=\"POINTS\"\n",
204
- ")\n",
205
"\n",
206
"bbox_annotation_ndjson = {\n",
207
" 'name': 'bounding_box',\n",
0 commit comments