How to get coordinates of text in image Using Microsoft ocr
Need to find Result(IEnumerable<KeyValuePair<Rectangle,String>>)
Please suggest with some example.
How to get coordinates of text in image Using Microsoft ocr
Need to find Result(IEnumerable<KeyValuePair<Rectangle,String>>)
Please suggest with some example.
fine
sorry for the delayed response
–once after using microsoft ocr (here i have used Google ocr)
use a for each loop activity and pass the output variable of type microsoft ocr as input and keep the type argument as object
–inside the loop use a write line activity and mention like this
item.tostring
which would give us the coordinates buddy, for the region we have choosen
but make sure that while SCREEN SCRAPPING YOU SHOULD HAVE ENABLED THIS OPTION THEN ONLY we will get the coordinates of each word like this
it worked as well
Cheers @abhiseky93
Thanks for your instant reply but unable to find Google Ocr there is Google Vision Ocr which has Key can you help me out how can i store
Main.xaml (6.6 KB)
@abhiseky93 Search for tesseract ocr this is nothing but google ocr in older version it was named as google ocr now it is renamed to tesseract ocr
@indra How to access IEnumerable output variable ? IEnumerable<KeyValuePair<Rectangle,String>> How to declare and get value can you provide some example