Historical documents, as just one scenario, often have text that is faded or otherwise have low contrast compared to the background. Since it can be difficult to source documents that meet this criteria, we need an augmentation that can be used to render these scenarios.
Effect of InkColorSwap Augmentation
Randomly select contours of glyphs/letters
Randomly extend the contour selection to neighboring glyphs (horizontally-close contours) that approximate selecting words
Swap the color of the contours to a randomly-fixed color for the whole document or a random color for each contour
Reference Images
Note the effect of the red and black text in examples below. The examples illustrate these effects where (1) the red ink has a lower contrast than the black ink compared to the background color, (2) the red ink has faded more than the black over time, and (3) when converted to greyscale the red ink almost disappears since it lacks the color contrast to differentiate the ink from the ~paper~ papyrus.
Red / Black Ink (crisp, but low contrast compared to background)
Red Ink Faded More than Black Ink
Greyscale Version Illustrating Impact of Low Contrast Colors
Historical documents, as just one scenario, often have text that is faded or otherwise have low contrast compared to the background. Since it can be difficult to source documents that meet this criteria, we need an augmentation that can be used to render these scenarios.
Effect of
InkColorSwap
AugmentationReference Images
Note the effect of the red and black text in examples below. The examples illustrate these effects where (1) the red ink has a lower contrast than the black ink compared to the background color, (2) the red ink has faded more than the black over time, and (3) when converted to greyscale the red ink almost disappears since it lacks the color contrast to differentiate the ink from the ~paper~ papyrus.
Red / Black Ink (crisp, but low contrast compared to background)
Red Ink Faded More than Black Ink
Greyscale Version Illustrating Impact of Low Contrast Colors