Try this out!!!
Run the bot for multiple pdf’s of different DPI.
Check if the bot is finding any text after the sign “Tomei conhecimento”
If yes, you can mark it as if any text found - Signature done
Else not found
Hope this helps
Good day
Thanks,
Shubham