I have been experimenting latley with Tesseract OCR. I am able to find characters in an image, but I have trouble finding only the bold characters in an image (know if a character in a document image is bold or not). I saw the function WordFontAttributes() mentioned in another question (Can I use OCR to detect font style (bold, italic)?) from the Tesseract API but I am not able to implement it in Python.