-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into 155-app-intermediate-links
- Loading branch information
Showing
14 changed files
with
681 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
--- | ||
layout: posts | ||
classes: wide | ||
title: "Simple Timepoints Stitcher (v2.1)" | ||
date: 2024-06-26T14:40:00+00:00 | ||
--- | ||
## About this version | ||
|
||
- Submitter: [keighrim](https://github.com/keighrim) | ||
- Submission Time: 2024-06-26T14:40:00+00:00 | ||
- Prebuilt Container Image: [ghcr.io/clamsproject/app-simple-timepoints-stitcher:v2.1](https://github.com/clamsproject/app-simple-timepoints-stitcher/pkgs/container/app-simple-timepoints-stitcher/v2.1) | ||
- Release Notes | ||
|
||
> Minor release with updated SDK version and updated label mapping for compatibility with RFB and newer SWT. | ||
## About this app (See raw [metadata.json](metadata.json)) | ||
|
||
**Stitches a sequence of `TimePoint` annotations into a sequence of `TimeFrame` annotations, performing simple smoothing of short peaks of positive labels.** | ||
|
||
- App ID: [http://apps.clams.ai/simple-timepoints-stitcher/v2.1](http://apps.clams.ai/simple-timepoints-stitcher/v2.1) | ||
- App License: Apache 2.0 | ||
- Source Repository: [https://github.com/clamsproject/app-simple-timepoints-stitcher](https://github.com/clamsproject/app-simple-timepoints-stitcher) ([source tree of the submitted version](https://github.com/clamsproject/app-simple-timepoints-stitcher/tree/v2.1)) | ||
|
||
|
||
#### 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/AudioDocument/v1](http://mmif.clams.ai/vocabulary/AudioDocument/v1) (required) | ||
(of any properties) | ||
|
||
- [http://mmif.clams.ai/vocabulary/VideoDocument/v1](http://mmif.clams.ai/vocabulary/VideoDocument/v1) (required) | ||
(of any properties) | ||
|
||
|
||
|
||
] | ||
- [http://mmif.clams.ai/vocabulary/TimePoint/v4](http://mmif.clams.ai/vocabulary/TimePoint/v4) (required) | ||
- _timePoint_ = "*" | ||
- _classification_ = "*" | ||
|
||
> TimePoint annotations to be stitched. Must be "exhaustive" in that it should cover an entire single time period in the input document, with a uniform sample rate. | ||
|
||
#### Configurable Parameters | ||
(**Note**: _Multivalued_ means the parameter can have one or more values.) | ||
|
||
- `labelMap`: optional, defaults to `[]` | ||
|
||
- Type: map | ||
- Multivalued: True | ||
|
||
|
||
> mapping of labels in the input annotations to new labels. Must be formatted as "IN_LABEL:OUT_LABEL" (with a colon). To pass multiple mappings, use this parameter multiple times. By default, all the input labels are passed as is, including any "negative" labels (with default value being no remapping at all). However, when at least one label is remapped, all the other "unset" labels are discarded as the negative label("-"). | ||
- `minTFDuration`: optional, defaults to `1000` | ||
|
||
- Type: integer | ||
- Multivalued: False | ||
|
||
|
||
> minimum duration of a TimeFrame in milliseconds | ||
- `minTPScore`: optional, defaults to `0.1` | ||
|
||
- Type: number | ||
- Multivalued: False | ||
|
||
|
||
> minimum score of a TimePoint to be considered as positive | ||
- `minTFScore`: optional, defaults to `0.5` | ||
|
||
- Type: number | ||
- Multivalued: False | ||
|
||
|
||
> minimum average score of TimePoints in a TimeFrame to be considered as positive | ||
- `labelMapPreset`: optional, defaults to `null` | ||
|
||
- Type: string | ||
- Multivalued: False | ||
- Choices: **_`null`_**, `swt-v4-4way`, `swt-v4-6way` | ||
|
||
|
||
> preset of label mappings. If not `null`, this parameter will override the `labelMap` parameter. Available presets are:<br/>- `null`: `None`<br/>- `swt-v4-4way`: `['B:bars', 'S:slate', 'I:chyron', 'N:chyron', 'Y:chyron', 'C:credits', 'R:credits']`<br/>- `swt-v4-6way`: `['B:bars', 'S:slate', 'I:chyron', 'N:chyron', 'Y:chyron', 'C:credits', 'R:credits', 'E:other_text', 'K:other_text', 'G:other_text', 'T:other_text', 'F:other_text', 'W:other_opening', 'L:other_opening', 'O:other_opening', 'M:other_opening']` | ||
- `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/TimeFrame/v5](http://mmif.clams.ai/vocabulary/TimeFrame/v5) | ||
- _timeUnit_ = "milliseconds" | ||
- _label_ = "*" | ||
- _representatives_ = "*" | ||
|
||
> Stitched TimeFrame annotations. Each TimeFrame annotation represents a continuous segment of timepoints and its `label` property is determined by the `labelMap` parameter (see `parameters` section). The `representatives` is a singleton list of the TimePoint annotation that has the highest score in the TimeFrame. |
Oops, something went wrong.