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

App Submitted - east-textdetection.v1.2 #158

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 101 additions & 0 deletions docs/_apps/east-textdetection/v1.2/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
---
layout: posts
classes: wide
title: "EAST Text Detection (v1.2)"
date: 2024-06-24T13:52:29+00:00
---
## About this version

- Submitter: [MrSqually](https://github.com/MrSqually)
- Submission Time: 2024-06-24T13:52:29+00:00
- Prebuilt Container Image: [ghcr.io/clamsproject/app-east-textdetection:v1.2](https://github.com/clamsproject/app-east-textdetection/pkgs/container/app-east-textdetection/v1.2)
- Release Notes

> SDK v1.2.4 update

## About this app (See raw [metadata.json](metadata.json))

**OpenCV-based text localization app that used EAST text detection model. Please visit the source code repository for full documentation.**

- App ID: [http://apps.clams.ai/east-textdetection/v1.2](http://apps.clams.ai/east-textdetection/v1.2)
- App License: Apache 2.0
- Source Repository: [https://github.com/clamsproject/app-east-textdetection](https://github.com/clamsproject/app-east-textdetection) ([source tree of the submitted version](https://github.com/clamsproject/app-east-textdetection/tree/v1.2))


#### Inputs
(**Note**: "*" as a property value means that the property is required but can be any value.)

One of the following is required: [
- [http://mmif.clams.ai/vocabulary/VideoDocument/v1](http://mmif.clams.ai/vocabulary/VideoDocument/v1) (required)
(of any properties)

- [http://mmif.clams.ai/vocabulary/ImageDocument/v1](http://mmif.clams.ai/vocabulary/ImageDocument/v1) (required)
(of any properties)



]
- [http://mmif.clams.ai/vocabulary/TimeFrame/v5](http://mmif.clams.ai/vocabulary/TimeFrame/v5)
(of any properties)



#### Configurable Parameters
(**Note**: _Multivalued_ means the parameter can have one or more values.)

- `timeUnit`: optional, defaults to `frames`

- Type: string
- Multivalued: False
- Choices: **_`frames`_**, `seconds`, `milliseconds`


> Unit for time points in the output. Only works with VideoDocument input.
- `frameType`: optional, defaults to `['']`

- Type: string
- Multivalued: True
- Choices: ``, `slate`, `chyron`, `rolling-credit`


> Segments of video to run on. Only works with VideoDocument input and TimeFrame input. Empty value means run on the every frame types.
- `sampleRate`: optional, defaults to `30`

- Type: integer
- Multivalued: False


> Frequency to sample frames. Only works with VideoDocument input, and without TimeFrame input. (when `TimeFrame` annotation is found, this parameter is ignored.)
- `stopAt`: optional, defaults to `216000`

- Type: integer
- Multivalued: False


> Frame number to stop running. Only works with VideoDocument input. The default is roughly 2 hours of video at 30fps.
- `mergeBoxes`: optional, defaults to `false`

- Type: boolean
- Multivalued: False
- Choices: **_`false`_**, `true`


> if True, creates a single merged bounding box from all detected boxes.
- `pretty`: optional, defaults to `false`

- Type: boolean
- Multivalued: False
- Choices: **_`false`_**, `true`


> The JSON body of the HTTP response will be re-formatted with 2-space indentation


#### Outputs
(**Note**: "*" as a property value means that the property is required but can be any value.)

(**Note**: Not all output annotations are always generated.)

- [http://mmif.clams.ai/vocabulary/BoundingBox/v4](http://mmif.clams.ai/vocabulary/BoundingBox/v4)
- _bboxtype_ = "text"

90 changes: 90 additions & 0 deletions docs/_apps/east-textdetection/v1.2/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
{
"name": "EAST Text Detection",
"description": "OpenCV-based text localization app that used EAST text detection model. Please visit the source code repository for full documentation.",
"app_version": "v1.2",
"mmif_version": "1.0.4",
"app_license": "Apache 2.0",
"identifier": "http://apps.clams.ai/east-textdetection/v1.2",
"url": "https://github.com/clamsproject/app-east-textdetection",
"input": [
[
{
"@type": "http://mmif.clams.ai/vocabulary/VideoDocument/v1",
"required": true
},
{
"@type": "http://mmif.clams.ai/vocabulary/ImageDocument/v1",
"required": true
}
],
{
"@type": "http://mmif.clams.ai/vocabulary/TimeFrame/v5",
"required": false
}
],
"output": [
{
"@type": "http://mmif.clams.ai/vocabulary/BoundingBox/v4",
"properties": {
"bboxtype": "text"
}
}
],
"parameters": [
{
"name": "timeUnit",
"description": "Unit for time points in the output. Only works with VideoDocument input.",
"type": "string",
"choices": [
"frames",
"seconds",
"milliseconds"
],
"default": "frames",
"multivalued": false
},
{
"name": "frameType",
"description": "Segments of video to run on. Only works with VideoDocument input and TimeFrame input. Empty value means run on the every frame types.",
"type": "string",
"choices": [
"",
"slate",
"chyron",
"rolling-credit"
],
"default": [
""
],
"multivalued": true
},
{
"name": "sampleRate",
"description": "Frequency to sample frames. Only works with VideoDocument input, and without TimeFrame input. (when `TimeFrame` annotation is found, this parameter is ignored.)",
"type": "integer",
"default": 30,
"multivalued": false
},
{
"name": "stopAt",
"description": "Frame number to stop running. Only works with VideoDocument input. The default is roughly 2 hours of video at 30fps.",
"type": "integer",
"default": 216000,
"multivalued": false
},
{
"name": "mergeBoxes",
"description": "if True, creates a single merged bounding box from all detected boxes.",
"type": "boolean",
"default": false,
"multivalued": false
},
{
"name": "pretty",
"description": "The JSON body of the HTTP response will be re-formatted with 2-space indentation",
"type": "boolean",
"default": false,
"multivalued": false
}
]
}
6 changes: 6 additions & 0 deletions docs/_apps/east-textdetection/v1.2/submission.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"time": "2024-06-24T13:52:29+00:00",
"submitter": "MrSqually",
"image": "ghcr.io/clamsproject/app-east-textdetection:v1.2",
"releasenotes": "SDK v1.2.4 update\n\n"
}
32 changes: 18 additions & 14 deletions docs/_data/app-index.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,22 @@
{
"http://apps.clams.ai/east-textdetection": {
"description": "OpenCV-based text localization app that used EAST text detection model. Please visit the source code repository for full documentation.",
"latest_update": "2024-06-24T13:52:29+00:00",
"versions": [
[
"v1.2",
"MrSqually"
],
[
"v1.1",
"keighrim"
],
[
"v1.0",
"keighrim"
]
]
},
"http://apps.clams.ai/spacy-wrapper": {
"description": "Apply spaCy NLP to all text documents in a MMIF file.",
"latest_update": "2024-06-11T12:30:19+00:00",
Expand Down Expand Up @@ -269,20 +287,6 @@
]
]
},
"http://apps.clams.ai/east-textdetection": {
"description": "OpenCV-based text localization app that used EAST text detection model. Please visit the source code repository for full documentation.",
"latest_update": "2023-07-26T19:06:10+00:00",
"versions": [
[
"v1.1",
"keighrim"
],
[
"v1.0",
"keighrim"
]
]
},
"http://apps.clams.ai/parseqocr-wrapper": {
"description": "This tool applies Parseq OCR to a video or image and generates text boxes and OCR results.",
"latest_update": "2023-07-26T00:04:08+00:00",
Expand Down
2 changes: 1 addition & 1 deletion docs/_data/apps.json

Large diffs are not rendered by default.

Loading