How can we make CV Click activity faster?

Hi,

I had to use CV Click for parts of my workflow, it works perfectly fine.
However, I am just wondering is there any way it can be made faster?

I am thinking is there anything in the properties i can change to make it read the page quick and click quicker etc.

Thanks,

TestSequence.xaml (48.5 KB)

Hello,

Need urgent help,

@ashokkarale @AJ_Ask @Gautham_Pattabiraman @sanjay3 @balupad14 @lrtetala @RAKESH_KUMAR_BEHERA

Regards
Akhil

@Anonymouss,

Sorry buddy don’t have a machine handy to check your xaml but this is what LLM suggest and I validate these pointers could be a checklist for speeding up your CV Click.

Check whatever Applicable only for Click CV

When using Computer Vision activities like CV Click in UiPath, there are a few factors you can consider to potentially improve its speed and efficiency:

  1. Tuning Confidence Thresholds: Adjusting the confidence thresholds can impact the speed and accuracy of CV activities. Lowering the confidence threshold may result in faster execution, but it could also lead to more false positives. Experiment with different confidence levels to find the optimal balance between speed and accuracy for your specific use case.
  2. Reducing Image Complexity: Simplifying the images that CV activities need to process can speed up their execution. If possible, try to minimize clutter and irrelevant elements on the screen that the CV activities need to analyze.
  3. Optimizing Selector Properties: Ensure that the selectors used in your workflow are as specific as possible. This can help reduce the amount of time spent searching for elements on the screen.
  4. Using Wait Image Appear: Instead of using a long delay or loop to wait for an element to appear on the screen, consider using the “Wait Image Appear” activity. This activity waits for a specified image to appear on the screen before proceeding, which can be faster and more efficient than a delay or loop.
  5. Hardware Performance: The speed of CV activities can also be influenced by the hardware performance of the machine running the workflow. Ensure that the machine has sufficient resources (CPU, memory, etc.) to handle the workload efficiently.
  6. Parallel Execution: If your workflow allows for it, consider breaking it into smaller parts and executing them in parallel. This can help distribute the workload and potentially speed up execution.
  7. Update to the Latest Version: Make sure you are using the latest version of UiPath Studio and the Computer Vision package. Newer versions may include performance improvements and optimizations.

Thnks,
Ashok :slight_smile:

Hi @Anonymouss ,

Use the ‘Simulate’ option in the InputMethod Property. That is the fastest method to click on a target element.
Also you can try changing the CV Screen Scope , Wait for ready property to ‘Interactive’ (which actually is default if no other option is selected).

Of course , there are few other factors to consider as well. Providing a quick read which compares the different methods for your reference.
Studio - Input Methods (uipath.com)

The Above are few steps we can do to make it faster. Try the above if it suits the need they would help you reduce the time.

Cheers.!

Thanks,
Gautham.

Still issue was not solve

Hi @Anonymouss ,

Can you zip the folder and share.

Thanks,
Gautham.

i have attached xaml file with this topic which require ACME Credentials

Solution: in this case

instead of using CV Click Activity , I have use CheckAppState Activity. it is much faster than CV Activities

in CV Click it takes 30 Sec. if elements don’t get.
in CheckAppState Activity it checks State and if elements are not found- it takes only 5 Sec.

Thank you all of you.
Akhil

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