I'm doing a paper that tries to extract the text from these captions.
Examples:

Font colors may change
I would like a result like that.

I'm having a lot of trouble when the font color is gray
(as in the last 2 pictures)

Code used.
Code: Select all
convert Screenshot_2.bmp -channel rgba -alpha set -fuzz 10%% -fill none -opaque "#786965" -opaque "#B9B1B9" -opaque "#D6D5D7" -opaque "#E8F4F7" -opaque "#19191C" -opaque "#39383A" -opaque "#8A8A8B" -opaque "#524C4E" -opaque "#3C4B4C" -opaque "#425353" -opaque "#425353" gil.bmp
Sorry for bad English .
Thank you.