I want to extract and print only the bold text from an image using any OCR tesseract, easyOCR etc. Thanks in advance
import easyocr
import cv2
from matplotlib import pyplot as plt
import numpy as np
IMAGE_PATH = 'captcha4.JPG'
reader = easyocr.Reader(['en'])
result = reader.readtext(IMAGE_PATH)
print(result)
Below is the output i am getting
[([[3, 21], [19, 21], [19, 45], [3, 45]], 'B', 0.9924401414986086), ([[32, 18], [72, 18], [72, 44], [32, 44]], 'IdE', 0.08095396599328475), ([[92, 2], [218, 2], [218, 50], [92, 50]], 'EP', 0.612884916567028)]