Skip to content

Commit

Permalink
[TASK] Migration for TYPO3 v13 and quality actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ayacoo committed Sep 28, 2024
1 parent bdafaa8 commit 582b476
Show file tree
Hide file tree
Showing 8 changed files with 1,461 additions and 1,193 deletions.
734 changes: 459 additions & 275 deletions Build/Scripts/runTests.sh

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## What does the extension do?

There is a hook that processes images after uploading them to TYPO3 via AWS
Recognition API and puts the data into new fields
in the table sys_file_metadata.
Recognition API and puts the data into new fields in the table
sys_file_metadata.

---

Expand Down
30 changes: 15 additions & 15 deletions Resources/Examples/README.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
# detectLabels.php (AWS Rekognition API)
# detectLabels.php (AWS Recognition API)

- S3 Support oder Bild kann übertragen werden
- Kategorien werden dem Bild zugewiesen
- S3 support or image can be transferred
- Categories (labels) are assigned to the image

# detectText.php (AWS Rekognition API)
# detectText.php (AWS Recognition API)

- S3 Support oder Bild kann übetragen werden
- visuelle Bilderkennung
- Dient nur dazu, um Text auszulesen
- S3 support or image can be transferred
- Visual image recognition
- Only used to read text

# textract.php (AWS Textract API)

- S3 Support oder Bild kann übetragen werden
- Texterkennung (OCR) auf ein Bild
- Texterkennung (OCR) eines bestimmten Bereiches
- Mehr Logik mit den Ergebnissen möglich
- S3 support or image can be transferred
- Text recognition (OCR) on an image
- Text recognition (OCR) of a specific area
- More logic possible with the results

# transcribe.php (AWS Transcribe API)

- Video muss in einem S3 Bucket liegen
- Untertitel zu einem Video erstellen und als Datei speichern
- Video must be in an S3 bucket
- Create subtitles for a video and save them as a file

# comprehend (AWS Comprehend API)

- Unterstützte Sprachen https://docs.aws.amazon.com/comprehend/latest/dg/supported-languages.html
- Spracherkennung
- Supported languages https://docs.aws.amazon.com/comprehend/latest/dg/supported-languages.html
- Speech recognition
- Key Phrases
- Entities
6 changes: 3 additions & 3 deletions Resources/Private/Language/locallang_tca.xlf
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<header/>
<body>
<trans-unit id="sys_file_metadata.aws_labels" resname="sys_file_metadata.aws_labels">
<source>AWS Rekognition labels</source>
<source>AWS Recognition labels</source>
</trans-unit>
<trans-unit id="sys_file_metadata.aws_text" resname="sys_file_metadata.aws_text">
<source>AWS Rekognition text</source>
<source>AWS Recognition text</source>
</trans-unit>
<trans-unit id="sys_file_metadata.aws_custom_labels" resname="sys_file_metadata.aws_custom_labels">
<source>AWS Rekognition custom labels</source>
<source>AWS Recognition custom labels</source>
</trans-unit>
</body>
</file>
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
],
"require": {
"php": ">=8.2 < 8.4",
"typo3/cms-core": "^13.1",
"typo3/cms-core": "^13.3",
"aws/aws-sdk-php": "^3.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.49.0",
"friendsofphp/php-cs-fixer": "^3.57.0",
"helmich/typo3-typoscript-lint": "^3.1.0",
"phpstan/extension-installer": "^1.3.1",
"phpstan/phpstan": "^1.11",
Expand Down
Loading

0 comments on commit 582b476

Please sign in to comment.