Skip to content

Commit

Permalink
Merge branch 'main' into 155-app-intermediate-links
Browse files Browse the repository at this point in the history
  • Loading branch information
kla7 committed Jun 27, 2024
2 parents 81cb7a8 + 7ae0c67 commit 6b14d37
Show file tree
Hide file tree
Showing 14 changed files with 681 additions and 91 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/register.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,13 @@ jobs:
- name: "💉 Install clams sdk"
working-directory: ./app
run: |
for f in requirements.*; do pip install -r ${f}; done
pip install $(grep clams-python requirements.* | sort -r | head -n1)
- name: "🏷 Generate app metadata"
working-directory: ./app
run: |
python ./metadata.py > ../main/metadata.json
# echo first try to run metadata.py without full dependency install, then install the full dependencies when it fails
python ./metadata.py > ../main/metadata.json || for f in requirements.*; do pip install -r ${f}; done && python ./metadata.py > ../main/metadata.json
echo "{\"time\": \"$(date -Iseconds)\", \
\"submitter\": \"${{ github.actor }}\", \
\"image\": \"${{ needs.trigger.outputs.appcontainer }}\", \
Expand Down
36 changes: 19 additions & 17 deletions clams-apps-repos.csv
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
repo,status,SDK-ver,main_branch,last_commit,start_date
https://github.com/clamsproject/app-swt-detection,AppStatus.REGISTERED,1.2.2,main,2024-06-26 20:35:37+00:00,2023-09-21 12:39:30+00:00
https://github.com/clamsproject/app-whisper-wrapper,AppStatus.REGISTERED,1.2.4,main,2024-06-24 20:19:23+00:00,2022-10-27 14:49:15+00:00
https://github.com/clamsproject/app-east-textdetection,AppStatus.REGISTERED,1.2.4,main,2024-06-23 12:15:02+00:00,2019-05-30 19:12:16+00:00
https://github.com/clamsproject/app-spacy-wrapper,AppStatus.REGISTERED,1.2.2,main,2024-06-11 12:19:24+00:00,2019-12-04 19:41:41+00:00
https://github.com/clamsproject/app-llava-captioner,AppStatus.REGISTERED,1.2.2,main,2024-05-23 19:31:52+00:00,2024-05-21 14:51:24+00:00
https://github.com/clamsproject/app-inaspeechsegmenter-wrapper,AppStatus.REGISTERED,1.2.1,main,2024-05-07 03:37:29+00:00,2020-12-24 04:01:51+00:00
https://github.com/clamsproject/app-simple-timepoints-stitcher,AppStatus.REGISTERED,1.2.1,main,2024-05-06 16:04:34+00:00,2024-04-01 01:34:24+00:00
https://github.com/clamsproject/app-doctr-wrapper,AppStatus.REGISTERED,1.2.1,main,2024-04-23 15:49:27+00:00,2024-02-01 21:59:43+00:00
https://github.com/clamsproject/app-pyscenedetect-wrapper,AppStatus.REGISTERED,1.1.3,main,2024-03-11 17:36:14+00:00,2019-08-21 01:24:46+00:00
https://github.com/clamsproject/app-easyocr-wrapper,AppStatus.REGISTERED,1.0.9,main,2024-02-27 19:44:46+00:00,2023-07-24 19:12:12+00:00
https://github.com/clamsproject/app-east-textdetection,AppStatus.REGISTERED,1.0.9,main,2023-09-19 18:14:13+00:00,2019-05-30 19:12:16+00:00
https://github.com/clamsproject/app-dbpedia-spotlight-wrapper,AppStatus.REGISTERED,1.0.9,main,2023-08-23 15:00:41+00:00,2023-05-31 21:27:29+00:00
https://github.com/clamsproject/app-fewshotclassifier,AppStatus.REGISTERED,1.0.9,main,2023-08-01 22:35:56+00:00,2023-06-07 16:00:38+00:00
https://github.com/clamsproject/app-barsdetection,AppStatus.REGISTERED,1.0.9,main,2023-07-31 23:28:11+00:00,2019-05-30 18:51:00+00:00
https://github.com/clamsproject/app-parseqocr-wrapper,AppStatus.REGISTERED,1.0.9,main,2023-07-25 23:56:57+00:00,2023-03-08 19:06:52+00:00
Expand All @@ -12,26 +19,19 @@ https://github.com/clamsproject/app-tonedetection,AppStatus.REGISTERED,1.0.9,mai
https://github.com/clamsproject/app-brandeis-acs-wrapper,AppStatus.REGISTERED,1.0.9,main,2023-07-24 05:38:45+00:00,2020-10-29 03:53:17+00:00
https://github.com/clamsproject/app-aapb-pua-kaldi-wrapper,AppStatus.REGISTERED,1.0.9,main,2023-07-24 05:24:23+00:00,2020-10-02 13:45:49+00:00
https://github.com/clamsproject/app-slatedetection,AppStatus.REGISTERED,1.0.9,main,2023-07-24 04:45:55+00:00,2019-05-30 19:12:45+00:00
https://github.com/clamsproject/app-role-filler-binder-old,AppStatus.UPDATED,UNKNOWN,master,2024-06-11 20:12:25+00:00,2023-08-03 16:45:38+00:00
https://github.com/clamsproject/app-distil-whisper-wrapper,AppStatus.UPDATED,1.2.4,main,2024-06-27 16:19:02+00:00,2024-06-26 19:37:05+00:00
https://github.com/clamsproject/app-paddleocr-wrapper,AppStatus.UPDATED,1.2.2,main,2024-06-26 22:33:47+00:00,2024-06-12 15:21:42+00:00
https://github.com/clamsproject/app-role-filler-binder-new,AppStatus.UPDATED,1.2.2,main,2024-06-25 19:29:49+00:00,2024-06-04 14:39:02+00:00
https://github.com/clamsproject/app-tfidf-keywordextractor,AppStatus.UPDATED,UNKNOWN,master,2024-06-17 16:23:45+00:00,2024-06-17 16:22:42+00:00
https://github.com/clamsproject/app-text-slicer,AppStatus.UPDATED,1.2.3,main,2024-06-14 02:51:49+00:00,2024-06-14 02:51:08+00:00
https://github.com/clamsproject/app-boundingbox-concatenation,AppStatus.UPDATED,1.2.3,main,2024-06-13 13:08:40+00:00,2023-09-26 19:02:03+00:00
https://github.com/clamsproject/app-instructblip-captioner,AppStatus.UPDATED,1.1.3,main,2024-03-12 23:12:12+00:00,2024-03-12 23:10:00+00:00
https://github.com/clamsproject/app-pix2struct-slates,AppStatus.UPDATED,1.0.9,main,2023-08-22 16:45:44+00:00,2023-07-24 17:05:31+00:00
https://github.com/clamsproject/app-pix2struct-chyrons,AppStatus.UPDATED,1.0.9,main,2023-08-22 16:44:07+00:00,2023-07-24 17:25:15+00:00
https://github.com/clamsproject/app-wav2vec-forced-aligner,AppStatus.UPDATED,UNKNOWN,master,2023-08-18 14:09:09+00:00,2023-08-10 19:50:08+00:00
https://github.com/clamsproject/app-fewshot-packaged,AppStatus.UPDATED,1.0.3,main,2023-07-31 22:01:01+00:00,2023-07-31 21:02:02+00:00
https://github.com/clamsproject/app-pix2struct-docvqa-wrapper,AppStatus.UPDATED,UNKNOWN,master,2023-07-24 14:29:22+00:00,2023-07-13 19:10:27+00:00
https://github.com/clamsproject/app-clipsearch,AppStatus.UPDATED,1.0.7,main,2023-07-20 19:50:12+00:00,2023-06-28 14:21:15+00:00
https://github.com/clamsproject/app-text-slicer,AppStatus.OUTDATED,1.2.3,main,2024-06-14 02:51:49+00:00,2024-06-14 02:51:08+00:00
https://github.com/clamsproject/app-boundingbox-concatenation,AppStatus.OUTDATED,1.2.3,main,2024-06-13 13:08:40+00:00,2023-09-26 19:02:03+00:00
https://github.com/clamsproject/app-role-filler-binder-new,AppStatus.OUTDATED,UNKNOWN,main,2024-06-13 11:18:19+00:00,2024-06-04 14:39:02+00:00
https://github.com/clamsproject/app-paddleocr-wrapper,AppStatus.OUTDATED,1.2.2,master,2024-06-12 15:22:29+00:00,2024-06-12 15:21:42+00:00
https://github.com/clamsproject/app-spacy-wrapper,AppStatus.OUTDATED,1.2.2,main,2024-06-11 12:19:24+00:00,2019-12-04 19:41:41+00:00
https://github.com/clamsproject/app-llava-captioner,AppStatus.OUTDATED,1.2.2,main,2024-05-23 19:31:52+00:00,2024-05-21 14:51:24+00:00
https://github.com/clamsproject/app-swt-detection,AppStatus.OUTDATED,1.2.2,main,2024-05-22 14:03:45+00:00,2023-09-21 12:39:30+00:00
https://github.com/clamsproject/app-inaspeechsegmenter-wrapper,AppStatus.OUTDATED,1.2.1,main,2024-05-07 03:37:29+00:00,2020-12-24 04:01:51+00:00
https://github.com/clamsproject/app-simple-timepoints-stitcher,AppStatus.OUTDATED,1.2.1,main,2024-05-06 16:04:34+00:00,2024-04-01 01:34:24+00:00
https://github.com/clamsproject/app-doctr-wrapper,AppStatus.OUTDATED,1.2.1,main,2024-04-23 15:49:27+00:00,2024-02-01 21:59:43+00:00
https://github.com/clamsproject/app-instructblip-captioner,AppStatus.OUTDATED,1.1.3,main,2024-03-12 23:12:12+00:00,2024-03-12 23:10:00+00:00
https://github.com/clamsproject/app-pyscenedetect-wrapper,AppStatus.OUTDATED,1.1.3,main,2024-03-11 17:36:14+00:00,2019-08-21 01:24:46+00:00
https://github.com/clamsproject/app-whisper-wrapper,AppStatus.OUTDATED,1.1.2,main,2024-02-12 19:34:12+00:00,2022-10-27 14:49:15+00:00
https://github.com/clamsproject/app-dbpedia-spotlight-wrapper,AppStatus.OUTDATED,1.0.9,main,2023-08-23 15:00:41+00:00,2023-05-31 21:27:29+00:00
https://github.com/clamsproject/app-dlib-facedetection-wrapper,AppStatus.OUTDATED,UNKNOWN,master,2023-06-08 12:04:00+00:00,2019-05-30 19:12:00+00:00
https://github.com/clamsproject/app-insightface,AppStatus.OUTDATED,0.5.1,main,2023-01-17 05:47:05+00:00,2023-01-17 00:03:16+00:00
https://github.com/clamsproject/app-fastpunct,AppStatus.OUTDATED,0.5.0,main,2022-06-18 16:14:56+00:00,2021-09-17 16:07:36+00:00
Expand All @@ -41,5 +41,7 @@ https://github.com/clamsproject/app-montreal-fa-wrapper,AppStatus.DISCONTINUED,U
https://github.com/clamsproject/app-nltk-sentencesplitter-wrapper,AppStatus.DISCONTINUED,UNKNOWN,N/A,N/A,2019-05-30 19:12:35+00:00
https://github.com/clamsproject/app-tesseractocr-slatetext-wrapper,AppStatus.DISCONTINUED,UNKNOWN,N/A,N/A,2019-05-30 19:12:55+00:00
https://github.com/clamsproject/app-nlp-example,AppStatus.DISCONTINUED,UNKNOWN,N/A,N/A,2020-10-13 17:45:24+00:00
https://github.com/clamsproject/app-role-filler-binder-old,AppStatus.DISCONTINUED,UNKNOWN,N/A,N/A,2023-08-03 16:45:38+00:00
https://github.com/clamsproject/app-wav2vec-forced-aligner,AppStatus.DISCONTINUED,UNKNOWN,master,2023-08-18 14:09:09+00:00,2023-08-10 19:50:08+00:00
https://github.com/clamsproject/app-slate-textdetection,AppStatus.DISCONTINUED,0.5.1,N/A,N/A,2021-05-11 15:14:26+00:00
https://github.com/clamsproject/app-mmif-prettifier,AppStatus.DISCONTINUED,0.1.3,N/A,N/A,2020-12-02 18:30:40+00:00
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"
}
104 changes: 104 additions & 0 deletions docs/_apps/simple-timepoints-stitcher/v2.1/index.md
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.
Loading

0 comments on commit 6b14d37

Please sign in to comment.