Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Contrast Detection - Picking the right Font color

Hello,

I hope this not off topic. For a data augmentation task (i need to generate a ocr dataset - and yes i already tried some public dataset) i want to generate text on images.

The text must still be readable. Is there some opencv algorithm which would help me deteremine the font color or areas in the picture where i can safly render the fonts?

Doing this manually take a some time for me and i want to automate this. Any ideas(no code needed) are highly welcome.

Greetings, Holger