Merge in RED/ocr-service from RED-4609 to master
* commit '7c71d8ad041f839c21ec26023ee8eaef670a4924':
RED-4609 - added ocr metric, enabled prometheus, added test for metric
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
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
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
Merge in RED/ocr-service from RED-5911 to master
* commit '7a4c5c2f898e83623a66ef29ab9ed696e2057e24':
RED-5911: Reverted to old ocr logic that uses ContentReplacer/TextExtractor to remove text behind images
Merge in RED/ocr-service from RSS-146 to master
* commit '37548ddbf89c0ca5e25d18b19af9400ef5e608c0':
RSS-146: Install Ghostscript to imporve ocr quality