PYTHON PIL: remove everything from image expect text (based on pixel color)
Budget: $20 – $50 USD
I have some images that have subtitle/text on them and i want to remove everything from picture but let clear text on that,(most important is that text need to be clear and good so any ocr program can read it).
-In original image(1.png) text should be white but that doesnt mean it is RGB:255,255,255 so it vary from pixel to pixel. so this is problem that i cant find a way to get just text.
Maybe i need to convert rgb to something different , maybe any value with percentage or idk
i tried with below code (check code.txt) to convert image 1.png to 2.png and here are the results but they are not good enought
here u can see how pixels are in text if you zoom in.(check pixel.png)
you can make you own code and try to convert image 1.png and send me results .
if results are good ill pay you and u will send me code
u can use python or any other linux command that i can run on system
-In original image(1.png) text should be white but that doesnt mean it is RGB:255,255,255 so it vary from pixel to pixel. so this is problem that i cant find a way to get just text.
Maybe i need to convert rgb to something different , maybe any value with percentage or idk
i tried with below code (check code.txt) to convert image 1.png to 2.png and here are the results but they are not good enought
here u can see how pixels are in text if you zoom in.(check pixel.png)
you can make you own code and try to convert image 1.png and send me results .
if results are good ill pay you and u will send me code
u can use python or any other linux command that i can run on system