Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Representing Tesseract output #6

Open
marcverhagen opened this issue Dec 11, 2020 · 0 comments
Open

Representing Tesseract output #6

marcverhagen opened this issue Dec 11, 2020 · 0 comments
Assignees

Comments

@marcverhagen
Copy link

Output has a BoundingBox from EAST or Tessearct

  {
    "@type": "http://mmif.clams.ai/0.2.0/vocabulary/BoundingBox",
    "properties": {
      "id": "bb1",
      "coordinates": [[10,20], [40,20], [10,30], [40,30]],
      "boxType": "text",
      "timePoint": 2034 }
  }
 { 
    "@type": "http://mmif.clams.ai/0.1.0/vocabulary/TextDocument",
    "properties": {
      "id": "td1",
      "text": {
        "@value": "Arf" } }
  },
  {
    "@type": "http://mmif.clams.ai/0.1.0/vocabulary/Alignment",
    "properties": {
      "id": "a1",
      "source": "bb1",
      "target": "td1" }
  }

If bounding box is in another view (the EAST view) then the target has the view identifier as a prefix.

@kelleyl kelleyl self-assigned this Dec 13, 2020
@clams-bot clams-bot added this to apps Apr 23, 2023
@keighrim keighrim moved this to Todo in apps Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants