From 3b717d38615133fbd2601d2c8e9a6b58f93dcd00 Mon Sep 17 00:00:00 2001 From: Denis-Cosmin NUTIU Date: Sat, 30 Mar 2024 12:11:39 +0200 Subject: [PATCH] extract common ai-related functionality into img-ai --- .idea/gradle.xml | 1 + .idea/workspace.xml | 118 +- img-ai/.gitignore | 2 + img-ai/build.gradle.kts | 22 + img-ai/src/main/kotlin/ImageTagsPrediction.kt | 173 ++ .../imagetagger/ai/prediction_categories.txt | 1708 +++++++++++++++++ .../test/kotlin/ImageTagsPredictionTests.kt | 121 ++ .../imagetagger/ai/timisoara-bega.jpg | Bin 0 -> 2686599 bytes .../imagetagger/ai/timisoara-threes.jpg | Bin 0 -> 741681 bytes .../imagetagger/ai/timisoara-water-tower.jpg | Bin 0 -> 1325754 bytes img-ui/build.gradle | 2 +- settings.gradle | 7 +- 12 files changed, 2137 insertions(+), 17 deletions(-) create mode 100644 img-ai/.gitignore create mode 100644 img-ai/build.gradle.kts create mode 100644 img-ai/src/main/kotlin/ImageTagsPrediction.kt create mode 100644 img-ai/src/main/resources/dev/nuculabs/imagetagger/ai/prediction_categories.txt create mode 100644 img-ai/src/test/kotlin/ImageTagsPredictionTests.kt create mode 100644 img-ai/src/test/resources/dev/nuculabs/imagetagger/ai/timisoara-bega.jpg create mode 100644 img-ai/src/test/resources/dev/nuculabs/imagetagger/ai/timisoara-threes.jpg create mode 100644 img-ai/src/test/resources/dev/nuculabs/imagetagger/ai/timisoara-water-tower.jpg diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 9cdec10..9b66e48 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -8,6 +8,7 @@ diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 5461fe0..d76fc77 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,16 +4,17 @@