Improved agent name detection
I was finding that the parsed agent name had trailing characters (probably from the share icon). Changing line 11 of the ingressocr script to truncate characters after the first space resolved this for me:
INGRESSUSER=$(grep -A2 AGENT $TEMPFILE | fgrep -v "LVL" | egrep "[a-z]" | tail -1 | cut -d' ' -f1)
This didn't work with my sample image (http://i.imgur.com/6v0Qntd.png) but the current code (commit 9d6d01d7f83482624b02c20c10dd34341748563b) does. Can you provide a sample where your code works but the current doesn't? That way I can try to come up with something that works for both cases.
Attached is a sample profile, that gives me an extra character after the agent name was parsed.


Here is an other profile which does not work with the current code. It tells me, my name is: tabachaC
I think the C is the Google+ Icon.
Is this issue related to the agent names not being parsed at all ? I have a number of profiles where when ran through the script it leaves the Username blank
We've made some improvements in this area using grayscale. Mostly it's an issue with the underlying OCR engine. I've looked into other engines but haven't yet found one that is perfect or even markedly better overall.