175 Commits

Author SHA1 Message Date
francisco.schulz
d3868efb4e update CI 1.30.1 2023-06-19 11:49:35 +02:00
francisco.schulz
f0c2282197 increment version 2023-06-19 11:35:16 +02:00
francisco.schulz
57e1ec1a14 increment version 2023-06-19 11:26:22 +02:00
francisco.schulz
8b9771373b copy image_prediction folder, not just files 2023-06-19 11:26:15 +02:00
francisco.schulz
cd3ce653e1 formatting & add pymonad 2023-06-19 11:11:29 +02:00
Julius Unverfehrt
d8075aad38 Update pyinfra to support new tenant endpoint 2023-06-15 16:59:47 +02:00
Francisco Schulz
2b3043bc1e Merge branch 'RES-141-migrate-red-image-service' into 'master'
Resolve RES-141 "Migrate red image service"

Closes RES-141

See merge request redactmanager/image-classification-service!1
1.30.0
2023-06-14 16:01:41 +02:00
Matthias Bisping
3ad0345f4e Remove unused dependency 'pdf2img' 2023-06-14 12:55:47 +02:00
francisco.schulz
134156f59d update project name to image-classification-service 2023-06-12 13:02:38 +02:00
francisco.schulz
1205f2e0ed update 2023-06-07 17:44:54 +02:00
francisco.schulz
8ee966c721 add CI 2023-06-07 17:44:41 +02:00
francisco.schulz
892742ef17 update 2023-06-07 17:44:35 +02:00
francisco.schulz
06b1af9f1a update 2023-06-07 17:44:30 +02:00
francisco.schulz
0194ce3f7e add setup convenience script 2023-06-07 17:44:23 +02:00
francisco.schulz
41d08f7b5b update dependencies 2023-06-07 17:42:25 +02:00
francisco.schulz
b91d5a0ab2 move to script folder 2023-06-07 17:42:11 +02:00
francisco.schulz
7b37f3c913 update Dockerfiles 2023-06-07 17:41:54 +02:00
francisco.schulz
c32005b841 remove old CI files 2023-06-07 17:12:14 +02:00
Julius Unverfehrt
6406ce6b25 Pull request #48: RED-6273 multi tenant storage
Merge in RR/image-prediction from RED-6273-multi-tenant-storage to master

* commit '4ecafb29770b7392462c71d79550c5f788cb36e6':
  update pyinfra version with removed falsy dependencies from pyinfra
  update pyinfra for bugfix
  Update pyinfra for multi-tenancy support
1.29.0
2023-03-28 18:11:09 +02:00
Julius Unverfehrt
4ecafb2977 update pyinfra version with removed falsy dependencies from pyinfra RED-6273-multi-tenant-storage_4 2023-03-28 18:03:38 +02:00
Julius Unverfehrt
967c2fad1b update pyinfra for bugfix 2023-03-28 17:27:57 +02:00
Julius Unverfehrt
b74e79f113 Update pyinfra for multi-tenancy support RED-6273-multi-tenant-storage_2 2023-03-28 15:36:05 +02:00
Julius Unverfehrt
50c791f6ca Pull request #47: update pyinfra with fixed prometheus port
Merge in RR/image-prediction from bugfix/RED-6205-prometheus-port to master

* commit 'adb363842dff3d43b3a0dc499daa16588d34233c':
  update pyinfra with fixed prometheus port
1.28.0
2023-03-21 16:08:27 +01:00
Julius Unverfehrt
adb363842d update pyinfra with fixed prometheus port bugfix/RED-6205-prometheus-port_2 2023-03-21 16:01:39 +01:00
Julius Unverfehrt
81520b1a53 Pull request #46: RED-6205 add prometheus monitoring
Merge in RR/image-prediction from RED-6205-add-prometheus-monitoring to master

Squashed commit of the following:

commit 6932b5ee579a31d0317dc3f76acb8dd2845fdb4b
Author: Julius Unverfehrt <julius.unverfehrt@iqser.com>
Date:   Thu Mar 16 17:30:57 2023 +0100

    update pyinfra

commit d6e55534623eae2edcddaa6dd333f93171d421dc
Author: Julius Unverfehrt <julius.unverfehrt@iqser.com>
Date:   Thu Mar 16 16:30:14 2023 +0100

    set pyinfra subproject to current master commit

commit 030dc660e6060ae326c32fba8c2944a10866fbb6
Author: Julius Unverfehrt <julius.unverfehrt@iqser.com>
Date:   Thu Mar 16 16:25:19 2023 +0100

    adapt serve script to advanced pyinfra API including monitoring of the processing time of images.

commit 0fa0c44c376c52653e517d257a35793797f7be31
Author: Julius Unverfehrt <julius.unverfehrt@iqser.com>
Date:   Thu Mar 16 15:19:57 2023 +0100

    Update dockerfile to work with new pyinfra package setup utilizing pyproject.toml instad of setup.py and requirments.txt

commit aad53c4d313f908de93a13e69e2cb150db3be6cb
Author: Julius Unverfehrt <julius.unverfehrt@iqser.com>
Date:   Thu Mar 16 14:16:04 2023 +0100

    remove no longer needed dependencies
1.27.0
2023-03-17 16:12:59 +01:00
Shamel Hussain
ed25af33ad Pull request #45: RED-5718: Revert user changes to allow using a random id
Merge in RR/image-prediction from RED-5718-revertUser to master

* commit '1967945ff7550d706295a1a46f50393959852773':
  RED-5718: Revert user changes to allow using a random id
2023-02-28 14:56:23 +01:00
shamel-hussain
1967945ff7 RED-5718: Revert user changes to allow using a random id RED-5718-revertUser_2 2023-02-28 12:08:32 +01:00
Shamel Hussain
faf4d7ed0f Pull request #44: RED-5718: Add a specific user to the image-prediction service
Merge in RR/image-prediction from RED-5718-imageUser to master

* commit '7c7b038491b39d2162e901a5a0ef62b2f1ebd4a9':
  RED-5718: Add a specific user to the image-prediction service
2023-02-27 09:26:12 +01:00
shamel-hussain
7c7b038491 RED-5718: Add a specific user to the image-prediction service RED-5718-imageUser_7 imageUser1001-3 2023-02-27 09:19:37 +01:00
Julius Unverfehrt
cd3e215776 Pull request #43: upgrade references
Merge in RR/image-prediction from RED-6118-multi-tenancy-patch to master

* commit 'bc1bd96e6c8fe904f0fc61a5701cd03dd369806c':
  upgrade references
1.25.0
2023-02-16 16:52:23 +01:00
Julius Unverfehrt
bc1bd96e6c upgrade references RED-6118-multi-tenancy-patch_2 2023-02-16 16:50:59 +01:00
Francisco Schulz
2001e9d7f3 Pull request #42: Bugfix/RED-5277 heartbeat
Merge in RR/image-prediction from bugfix/RED-5277-heartbeat to master

* commit '846f127d3ba75c1be124ddc780a4f9c849dc84af':
  update reference
  fix type
  remove commented out code
  import logger from `__init__.py`
  add log config to `__init__.py`
  remove extra stream handler
  update reference
  update refrence
  update reference
  update reference
  update reference
  build dev image and push to nexus
  add logging & only return one object from `process_request()`
  cache loaded pipeline & disable tqdm output by default
  format + set verbose to False by default
  update
1.24.0
2023-02-16 09:54:07 +01:00
Francisco Schulz
846f127d3b update reference bugfix/RED-5277-heartbeat_11 2023-02-16 09:50:17 +01:00
Francisco Schulz
d4657f1ab1 fix type bugfix/RED-5277-heartbeat_10 2023-02-15 16:46:47 +01:00
Francisco Schulz
ee99d76aab remove commented out code bugfix/RED-5277-heartbeat_9 2023-02-15 15:51:33 +01:00
Francisco Schulz
00b40c0632 import logger from __init__.py bugfix/RED-5277-heartbeat_8 2023-02-15 15:45:20 +01:00
Francisco Schulz
c1ae8e6a4b add log config to __init__.py 2023-02-15 15:44:56 +01:00
Francisco Schulz
0bdf5a726a remove extra stream handler bugfix/RED-5277-heartbeat_7 2023-02-15 15:25:13 +01:00
Francisco Schulz
d505ac4e50 update reference bugfix/RED-5277-heartbeat_6 2023-02-15 15:01:29 +01:00
Francisco Schulz
7dca05a53d update refrence bugfix/RED-5277-heartbeat_5 2023-02-15 11:11:23 +01:00
Francisco Schulz
c1449134ec update reference bugfix/RED-5277-heartbeat_4 2023-02-15 10:23:27 +01:00
Francisco Schulz
29c76e7ebf update reference bugfix/RED-5277-heartbeat_3 2023-02-14 18:02:09 +01:00
Francisco Schulz
ecc9f69d9c update reference bugfix/RED-5277-heartbeat_2 2023-02-14 16:52:56 +01:00
Francisco Schulz
4bcadcd266 build dev image and push to nexus 2023-02-14 16:30:18 +01:00
Francisco Schulz
9065ec1d12 add logging & only return one object from process_request() 2023-02-14 16:29:04 +01:00
Francisco Schulz
d239368d70 cache loaded pipeline & disable tqdm output by default 2023-02-14 16:27:21 +01:00
Francisco Schulz
b5dc5aa777 format + set verbose to False by default 2023-02-14 16:26:24 +01:00
Francisco Schulz
54b7ba24e8 update 2023-02-14 16:25:49 +01:00
Julius Unverfehrt
463f4da92b Pull request #41: RED-6189 bugfix
Merge in RR/image-prediction from RED-6189-bugfix to master

* commit '79455f0dd6da835ef2261393c5a57ba8ef2550ab': (25 commits)
  revert refactoring  changes
  replace image extraction logic final
  introduce normalizing function for image extraction
  refactoring
  adjust behavior of filtering of invalid images
  add log in callback to diplay which file is processed
  add ad hoc logic for bad xref handling
  beautify
  beautify
  implement ad hoc channel count detection for new image extraction
  improve performance
  refactor scanned page filtering
  refactor scanned page filtering WIP
  refactor scanned page filtering WIP
  refactor scanned page filtering WIP
  refactor scanned page filtering WIP
  refactor scanned page filtering WIP
  refactor scanned page filtering WIP
  refactor scanned page filtering WIP
  refactor
  ...
1.23.0
2023-02-13 17:35:04 +01:00
Julius Unverfehrt
79455f0dd6 Merge branch 'master' of ssh://git.iqser.com:2222/rr/image-prediction into RED-6189-bugfix RED-6189-bugfix_6 2023-02-13 17:23:07 +01:00