60 Commits

Author SHA1 Message Date
Thomas Beyer
fd92419895 RED-4875 - set version of common pdftron logics to newest and move PdfTextExtraction to this new repo RED-4875_1_7 dev_red4875_57d8b 2023-03-20 10:01:33 +01:00
Thomas Beyer
142e8cf957 RED-4875 - update version of pdftron-logic-commons to newest dev_red4875_2b6bf RED-4875_1_5 2023-03-17 17:25:52 +01:00
Thomas Beyer
143538fa40 RED-4875 - call logic of new repo pdftron-logic-commons instead of local one dev_red4875_1_fa4c3 RED-4875_1_3 2023-03-17 10:33:48 +01:00
Christoph Schabert
74a094b42d Change Tagging 3.0.0 3.1.0 RED-4875_1_2 2023-03-13 09:41:59 +01:00
Timo Bejan
8ab4092046 Pull request #18: RED-6162 - bumped version
Merge in RED/ocr-service from RED-6162 to master

* commit 'c86cabf70a9ec90687c3f123768f2293da49c4ff':
  RED-6162 - bumped version
  RED-6162 - bumped version
2023-03-10 21:45:38 +01:00
Timo Bejan
c86cabf70a RED-6162 - bumped version RED-6162_15 2023-03-10 22:43:35 +02:00
Dominique Eiflaender
936a795797 Pull request #17: RED-4645: Multitenancy for storage
Merge in RED/ocr-service from RED-4645 to master

* commit 'e5df0ec65864667134affad2af2a5118126355ce':
  RED-4645: Multitenancy for storage
2023-03-10 16:42:43 +01:00
deiflaender
e5df0ec658 RED-4645: Multitenancy for storage FirstMultiTenancy 2023-03-10 16:31:34 +01:00
Timo Bejan
0d9365d020 RED-6162 - bumped version RED-6162_14 2023-03-10 15:59:25 +02:00
Timo Bejan
5003970fe1 Pull request #16: RED-6162 - bumped version
Merge in RED/ocr-service from RED-6162 to master

* commit '9c6fa4384a7ea43dfd36c6fcb6639e5127ab92b9':
  RED-6162 - bumped version
2023-03-10 14:56:05 +01:00
Timo Bejan
9c6fa4384a RED-6162 - bumped version RED-6162_12 2023-03-10 15:52:37 +02:00
Timo Bejan
444b823cce Pull request #15: RED-6162 Redaction Gateway - Persistence Service Merge Updates
Merge in RED/ocr-service from RED-6162 to master

* commit '6208ff029252884ced189806acd4118cd21530e1':
  RED-6182 - version bump
  RED-6162 - test issue on bamboo
  RED-6162 - test issue on bamboo
  RED-6162 - persistence update - identity test
  RED-6162 - persistence update - reverse dependency cleanup
1.15.0
2023-03-10 11:27:13 +01:00
Timo Bejan
6208ff0292 RED-6182 - version bump RED-6162_9 2023-03-10 08:45:48 +02:00
Timo Bejan
5156c560f2 RED-6162 - test issue on bamboo 2023-03-10 08:45:48 +02:00
Timo Bejan
c2a7e32789 RED-6162 - test issue on bamboo 2023-03-10 08:45:48 +02:00
Timo Bejan
c1cd4d1cab RED-6162 - persistence update - identity test 2023-03-10 08:45:48 +02:00
Timo Bejan
da5a1cc042 RED-6162 - persistence update - reverse dependency cleanup 2023-03-10 08:45:48 +02:00
Kilian Schuettler
d91fb737cb Pull request #14: RED-6321: OCR not working correctly with 3.6.0
Merge in RED/ocr-service from RED-6321 to master

* commit '2d503c74a6fba0b02ac4c92af82a493165e45761':
  RED-6321: OCR not working correctly with 3.6.0 *added end() statements to formWriters to write their changes to the PDF contentStream *moved replaceOriginalPageWithOcrPage outside the main OCR Loop since it caused exponential RAM Usage in some cases
1.14.0
2023-03-06 10:16:02 +01:00
Kilian Schuettler
2d503c74a6 RED-6321: OCR not working correctly with 3.6.0
*added end() statements to formWriters to write their changes to the PDF contentStream
*moved replaceOriginalPageWithOcrPage outside the main OCR Loop since it caused exponential RAM Usage in some cases
RED-6321-ea6e7d
2023-03-06 10:08:32 +01:00
Corina Olariu
bdcba7cb6d Pull request #11: RED-4988 Check jacoco version in poms and update to a current compatible version
Merge in RED/ocr-service from RED-4988 to master

* commit '334409e4db326945a1eeb86004d79e0b0faeb99c':
  RED-4988 Check jacoco version in poms and update to a current compatible version - update platform-dependency, platform-commons-dependency
1.13.0
2023-03-02 09:28:11 +01:00
Shamel Hussain
23622d4a85 Pull request #13: RED-5718: Update base image version to allow using random user ids
Merge in RED/ocr-service from shussain/Dockerfile-1677589647499 to master

* commit '4266184456ea4d97fa19b52ff37d5d9fc09dd170':
  RED-5718: Update base image version to allow using random user ids
1.12.0
2023-02-28 14:56:37 +01:00
Shamel Hussain
4266184456 RED-5718: Update base image version to allow using random user ids shussain/Dockerfile-1677589647499_2 2023-02-28 14:07:44 +01:00
Kilian Schuettler
a4ca2db37d Pull request #12: RED-6280: Performance Test Issue with OCR-Service
Merge in RED/ocr-service from RED-6280 to master

* commit '742725834933ad74ad582366b2b62015524bedb3':
  RED-6280:  Performance Test Issue with OCR-Service *removed init/terminate calls again *manual memory cleanup at every opportunity
1.11.0
2023-02-28 10:30:58 +01:00
Kilian Schuettler
7427258349 RED-6280: Performance Test Issue with OCR-Service
*removed init/terminate calls again
*manual memory cleanup at every opportunity
RED-6280_2
2023-02-28 10:21:21 +01:00
devplant
334409e4db RED-4988 Check jacoco version in poms and update to a current compatible version
- update platform-dependency, platform-commons-dependency
RED-4988_3
2023-02-27 17:41:15 +02:00
Kilian Schuettler
bc661b7ea4 Pull request #9: RED-6126: In the OCRService, OCR Text is not applied to Document
Merge in RED/ocr-service from RED-6126 to master

* commit 'caff5580dda644451433921a6a66dafe1cfa5dca':
  RED-6126:  In the OCRService, OCR Text is not applied to Document *refactored Tests with inheritance *called PDFNet init/terminate in tests *don't call init on startup
  RED-6126:  In the OCRService, OCR Text is not applied to Document *called PDFNet.initialize and terminate before and after message receive *updated comments *renamed some variables
1.10.0 RED-4988_2
2023-02-22 13:33:49 +01:00
Kilian Schuettler
caff5580dd RED-6126: In the OCRService, OCR Text is not applied to Document
*refactored Tests with inheritance
*called PDFNet init/terminate in tests
*don't call init on startup
RED-6126-807b35 RED-6126_17
2023-02-22 11:58:07 +01:00
Kilian Schuettler
430ad45a67 RED-6126: In the OCRService, OCR Text is not applied to Document
*called PDFNet.initialize and terminate before and after message receive
*updated comments
*renamed some variables
2023-02-22 10:32:55 +01:00
Kilian Schuettler
a6d99f5916 Pull request #8: RED-6126: In the OCRService, OCR Text is not applied to Document
Merge in RED/ocr-service from RED-6126 to master

* commit '0bc4fea2a52c92efaaaf8cf93c2ae02766168a80':
  RED-6126: In the OCRService, OCR Text is not applied to Document *removed unnecessary getXObject() call, since it fails for inline_images
1.9.0
2023-02-14 09:57:28 +01:00
Kilian Schuettler
0bc4fea2a5 RED-6126: In the OCRService, OCR Text is not applied to Document
*removed unnecessary getXObject() call, since it fails for inline_images
RED-6126-9ada4 RED-6126_9
2023-02-13 17:55:02 +01:00
Kilian Schuettler
001719a34c Pull request #7: RED-6126 performance test
Merge in RED/ocr-service from RED-6126-performance-test to master

* commit '37f1e03ebcd5356e0f0b403a5c0cdd20fc133997':
  RED-6126: performance-test *refactor to improve cleanness *closed inputStream
  RED-6126: performance-test *fixed NullPointerException *fixed StackOverFlowError by ignoring very small images and moving to while loop instead of recursion
  RED-6126: performance-test *fixed time calculation
  RED-6126: performance-test *improved error logging
  RED-6126: performance-test *re-enabled overlap detection *re-creating helper document for every page instead of reusing and adding/removing pages
  RED-6126: Performance Tests *moved to streams for pdf file transfer *disabled overlap detection
1.8.0
2023-02-10 15:00:55 +01:00
Kilian Schuettler
37f1e03ebc RED-6126: performance-test
*refactor to improve cleanness
*closed inputStream
RED-6126-performance-test_31
2023-02-10 14:49:10 +01:00
Kilian Schuettler
b3fa14b342 RED-6126: performance-test
*fixed NullPointerException
*fixed StackOverFlowError by ignoring very small images and moving to while loop instead of recursion
RED-6126-performance-test_30
2023-02-10 12:27:16 +01:00
Kilian Schuettler
7065d098f3 RED-6126: performance-test
*fixed time calculation
RED-6126-c0ea3
2023-02-09 16:31:42 +01:00
Kilian Schuettler
8db0b712f7 RED-6126: performance-test
*improved error logging
kilian-2
2023-02-09 13:57:21 +01:00
Kilian Schuettler
6ccf3f80fc RED-6126: performance-test
*re-enabled overlap detection
*re-creating helper document for every page instead of reusing and adding/removing pages
performance-test
2023-02-09 11:22:39 +01:00
Kilian Schuettler
e705f869fd RED-6126: Performance Tests
*moved to streams for pdf file transfer
*disabled overlap detection
2023-02-09 11:09:52 +01:00
Timo Bejan
efaa291e43 Pull request #6: RED-4609 - added ocr metric, enabled prometheus, added test for metric
Merge in RED/ocr-service from RED-4609 to master

* commit '7c71d8ad041f839c21ec26023ee8eaef670a4924':
  RED-4609 - added ocr metric, enabled prometheus, added test for metric
1.7.0
2023-02-09 10:57:37 +01:00
Timo Bejan
7c71d8ad04 RED-4609 - added ocr metric, enabled prometheus, added test for metric RED-4609_2 2023-02-08 16:46:51 +02:00
Kilian Schuettler
b0a658213d Pull request #5: RED-6126
Merge in RED/ocr-service from RED-6126 to master

* commit '00cfe9e44948c153857ad59442dbc9349e1d4555':
  RED-6126: In the OCRService, OCR Text is not applied to Document *reformatted InvisibleElementRemovalService with new Code Style
  RED-6126: In the OCRService, OCR Text is not applied to Document *updated some comments *very slight refactor
  RED-6126: In the OCRService, OCR Text is not applied to Document *complete refactor of the OCRService *moved image position retrieval to new class instead of image service *added new tests for image rotation
  RED-6126: In the OCRService, OCR Text is not applied to Document *removed private configuration
  RED-6126: In the OCRService, OCR Text is not applied to Document *formatted one line
  RED-6126: In the OCRService, OCR Text is not applied to Document *reverted application of OCR Text to Document to old state *refactored OCR Service slightly *added meaningful test cases
1.6.0
2023-02-07 13:35:32 +01:00
Kilian Schuettler
00cfe9e449 RED-6126: In the OCRService, OCR Text is not applied to Document
*reformatted InvisibleElementRemovalService with new Code Style
RED-6126_7
2023-02-07 12:52:09 +01:00
Kilian Schuettler
d0d6bf70a4 RED-6126: In the OCRService, OCR Text is not applied to Document
*updated some comments
*very slight refactor
RED-6126_6
2023-02-07 12:09:04 +01:00
Kilian Schuettler
a415224db5 RED-6126: In the OCRService, OCR Text is not applied to Document
*complete refactor of the OCRService
*moved image position retrieval to new class instead of image service
*added new tests for image rotation
RED-6126_5
2023-02-07 12:05:24 +01:00
Kilian Schuettler
355887c865 RED-6126: In the OCRService, OCR Text is not applied to Document
*removed private configuration
RED-6126_4
2023-02-03 13:16:56 +01:00
Kilian Schuettler
ab566a11a9 RED-6126: In the OCRService, OCR Text is not applied to Document
*formatted one line
RED-6126_3
2023-02-03 13:03:47 +01:00
Kilian Schuettler
edd044395e RED-6126: In the OCRService, OCR Text is not applied to Document
*reverted application of OCR Text to Document to old state
*refactored OCR Service slightly
*added meaningful test cases
RED-6126_2
2023-02-03 13:01:01 +01:00
Kilian Schuettler
b37ec5afc9 Pull request #4: RED-6019: Remove hidden text when processing OCR
Merge in RED/ocr-service from RED-6019 to master

* commit 'a96260f77fd5b546a5d27d84f34861742f13ddff':
  RED-6019: Remove hidden text when processing OCR *moved InvisibleElementRemovalDto to private inner record of InvisibleElementRemovalService *added comments for color choices
  RED-6019: Remove hidden text when processing OCR *moved to release version of platform-dependencies *restored annotationProcessors
  RED-6019: Remove hidden text when processing OCR *code refactor *upgrade to java 17
  RED-6019: Remove hidden text when processing OCR handled cases:      Text which is transparent or is set to not render      Elements outside of clipping path      Elements that have been painted over by visible and filled Paths unhandled cases:      Elements covered by widely stroked path      Elements same color as background      Any Text set to clipping with its many interactions with other elements
1.5.0
2023-02-02 13:05:03 +01:00
Kilian Schuettler
a96260f77f RED-6019: Remove hidden text when processing OCR
*moved InvisibleElementRemovalDto to private inner record of InvisibleElementRemovalService
*added comments for color choices
RED-6019_5
2023-02-02 13:01:58 +01:00
Kilian Schuettler
12fbdbee50 RED-6019: Remove hidden text when processing OCR
*moved to release version of platform-dependencies
*restored annotationProcessors
RED-6019_4
2023-02-02 10:53:19 +01:00
Kilian Schuettler
99a0cb51d0 RED-6019: Remove hidden text when processing OCR
*code refactor
*upgrade to java 17
RED-6019_3
2023-02-02 10:27:01 +01:00