i want to extract only blue color text in image uisng tesseract ocr. please help me regarding this.
basic code i tried:
import PIL.Image import cv import pytesseract,re my_image = PIL.Image.open(r"C:\Users\sony\Desktop\Cap_sample\MicrosoftTeams-image (4).png") pytesseract.pytesseract.tesseract_cmd = (r'C:\Program Files\Tesseract-OCR\tesseract.exe') my_image_text = pytesseract.image_to_string(my_image) print(my_image_text)