Region getChar instead of getWord

Asked by aobahou

Hi Raiman,

I used the region.text() function in my project, and I found that it can't work well when there is only one character.
Could you please add a region.getChar function in the Region class? Or could you tell me how to add it on my own?

I try to add it on my own but the error message shows that there is linkerror.

I have try to use tess4J in my project but found out that the whole project is too big for me? I prefer to use sikulix.

Thanks for your great work of sikulix and waiting for your response.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
aobahou
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

not sure, what you are talking about: what is getWord() in SikuliX?

... anyways: I cannot help you currently (other priorities)

Revision history for this message
aobahou (aobahou) said :
#2

Thank you for your answer, I will try to solve it by myself. The problem is the region.text() function can't work well when there is only one character in the region. I am wondering whether you can add a getChar() function in region function.
Anyway, I will try to fix it by add tess4j in sikulix.