Embed iframe into labelling interface

When annotating tasks, my team will reference an external visualization dashboard that contains the features / signals we first review in order to provide an annotation. Is it possible to embed a dashboard via an iframe into Labelbox’s labelling interface?

Hey @val

Yes you can, by using the attachment property in data rows to embed an iframe within an HTML frame for instance :

Here is how your asset upload would look like :

assets = [
  {
    "row_data": "https://mlse.blob.core.windows.net/lb-testing/1005649.jpg",
    "global_key": str(uuid4()),
    "attachments": [{"type": "HTML","value": "https://mlse.blob.core.windows.net/lb-testing/iframe_attch_samples.html"}]
  }]

Hope this helps!

Many thanks,
PT

1 Like