Closed mitesh-db closed 4 years ago
@mitjnextt sure, you can use recognizeTokens, and provide the token level you want to recognize (LEVEL_BLOCK | LEVEL_LINE | LEVEL_PARAGRAPH | LEVEL_SYMBOL | LEVEL_WORD). This method will return an array of Tokens
type Bounding = {
bottom: number;
left: number;
right: number;
top: number;
};
type Token = {
token: string;
confidence: number;
bounding: Bounding;
};
Hi @mitjnextt I wanted to follow up on this to check if what I proposed was useful for you?
Hello @jonathanpalma ,
As you suggested that this has not been implemented for iOS so I have never tried with above code, but I appreciated your help/reply for that code.
After that my colleague has worked on the demo with different native code, so then, we did not used any repo.
Hi @jonathanpalma Is there any way to get data with proper formatting like space and tab-spaces. The following image shows how my scanned data looks like...
But If I wanted spaces too, Is there anything I can implement?