Accuracy of scraping data

Hi and good day there :wave:

Thanks for looking thru this post

Looking for some insight on how to “accurately” get data.
The issue however is the data only shows on a mouse-hover event graph/visualization :sweat_smile:

So given the webpage below, to get the data for scraping is required for mouse-hover on the graph.

My current process actually is thru UiPath’s Screen Scraping function.
Whats going to happen is:

  1. Login to webpage.
  2. Hover(Activity) on the specific graph(to the right most part of the graph to get the latest data)
  3. Take Screen-Shot(Activity)
  4. Open the Captured Image
  5. Screen Scrape the Image
    - 5.A Tesseract OCR
  • - 5.B Allowed Numbers only*
    
  • - 5.C tried adusting Scale property from 0-20*
    

Sometimes this method gets accurate results but most of the time its not.
Code 404: 99 —> Correct
Code 499: 1123 -->Correct
Code 408: 37 —>Incorrect

Sometimes the scraping results empty too :upside_down_face:
Get OCR Text ‘custom D2DImageControl’: Scrape returned empty text.

So the questions now would be:

  1. Is there a way to have a more accurate OCR Screen Scraping result?
  2. Would there be an alternative approach to get the data aside from screen scraping(OCR)?

:confused: :question:

Any insight, advice would be a great help.

Thank you in advance :slightly_smiling_face: :bowing_man:

Hi @im_sre-ps !
Interesting use case :smile:
Unfortunately, the OCR results depend mainly on the input image and the strengh of your OCR, so I don’t think that you might have lots of help on it… maybe try with different free OCR (like Microsoft or Omnipage) to see if it has better results.

Otherwise, I would go with avoiding OCR situations.

  1. When you hover on the specific graph, does a url appear at the bottom left ? If yes, you could use a “navigate to” activity and go straight to the graphic page.
  2. after launching UiExplorer, when you hover on the graph and hover on the grey zone with statistics, are selectors recognized ? If yes, we could find a trick to pull these data !

Hi @Hiba_B,

Thanks for the insight.

I am actually already trying to move away from possibility of using OCR since I have tried other OCR technologies and still not accurate with the result.
I even downloaded a different language package just to test it out.

Still not good enough

As for your 2 inquiries.

  1. No. There is no link of the graph.
  2. I tried getting to recognize it in uiExplorer(Activity as Find Element etc.) but its getting unrecognized results(All red in locating elements)

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.