# How to find the whether the word/letter bold or not?

**URL:** <https://forums.eggplantsoftware.com/t/how-to-find-the-whether-the-word-letter-bold-or-not/8379>\
**Category:** Uncategorized\
**Created:** [March 22, 2023, 11:48am UTC](https://forums.eggplantsoftware.com/t/how-to-find-the-whether-the-word-letter-bold-or-not/8379 "2023-03-22T11:48:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thanagaraj](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/t/e495f1/32.png) [@Thanagaraj](https://forums.eggplantsoftware.com/u/Thanagaraj)\
**Post date:** [March 22, 2023, 11:48am UTC](https://forums.eggplantsoftware.com/t/how-to-find-the-whether-the-word-letter-bold-or-not/8379/1 "2023-03-22T11:48:03Z")

</div>

Hello Team,

Is there any way we can find the bold word or letter from screen and validate?

Test

**Test**

---

<div class="post-metadata">

**Author:** ![DSDeep](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/d/c89c15/32.png) [@DSDeep](https://forums.eggplantsoftware.com/u/DSDeep)\
**Post date:** [March 22, 2023, 6:29pm UTC](https://forums.eggplantsoftware.com/t/how-to-find-the-whether-the-word-letter-bold-or-not/8379/2 "2023-03-22T18:29:51Z")

</div>

Capture an image of the bold version (image\_b) and then a waitfor for it.

---

<div class="post-metadata">

**Author:** ![Thanagaraj](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/t/e495f1/32.png) [@Thanagaraj](https://forums.eggplantsoftware.com/u/Thanagaraj)\
**Post date:** [March 23, 2023, 2:35am UTC](https://forums.eggplantsoftware.com/t/how-to-find-the-whether-the-word-letter-bold-or-not/8379/3 "2023-03-23T02:35:03Z")

</div>

The text will be change dynamically. ( based on certain condition)

---

<div class="post-metadata">

**Author:** ![shenpeng](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/s/b77776/32.png) [@shenpeng](https://forums.eggplantsoftware.com/u/shenpeng)\
**Post date:** [March 24, 2023, 12:39pm UTC](https://forums.eggplantsoftware.com/t/how-to-find-the-whether-the-word-letter-bold-or-not/8379/4 "2023-03-24T12:39:08Z")

</div>

You can capture images of bold version of A to Z and a to z, named bold\_A to bold\_Z and bold\_a to bold\_z, then find the bold word through OCR , such as “Test”, finally repeat orderly for each character of the bold word, find if x locations of bold\_T，bold\_e, bold\_s, bold\_t are in increased order.

---

<div class="post-metadata">

**Author:** ![SenseTalkDoug](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/sensetalkdoug/32/88_2.png) [@SenseTalkDoug](https://forums.eggplantsoftware.com/u/SenseTalkDoug)\
**Post date:** [March 27, 2023, 8:23pm UTC](https://forums.eggplantsoftware.com/t/how-to-find-the-whether-the-word-letter-bold-or-not/8379/5 "2023-03-27T20:23:02Z")

</div>

The OCR engine will read (or find) the text whether it is bold or not, but it can’t tell you whether the text it found was bold. Since the actual text will change dynamically, you’ll either need to cobble together a custom solution along the lines that shenpeng suggested, or use character collections.

If you create a character collection using plain characters, and another using bold characters, then you can try reading the text with the plain collection. If that succeeds, you know the text is plain. If that fails, try again using the bold collection and if it succeeds then you know the text is bold.
