Disabling Computer Vision by Default

Hi everyone

Is there a way to disable Computer Vision by default? I’m aware of the option to disable it in the project settings, but it’s inconvenient to always disable it whenever i use a new project.

I wasn’t able to find anything in the Studio settings or on Automation Ops.

Thanks for your help!

1 Like

Since you already know about how to disable in project settings.

You can do it in project setting json file…
{
“UiPath.UIAutomation.Activities.Settings”: {
“UseComputerVision”: false
}
}

Using Automation Ops. follow these steps:

  1. Go to Automation Ops and Create a Studio Governance Policy
  2. Go to UI Automation Settings and Disable “Enable Computer Vision Activities”
  3. Then deploy this policy.

Automation Ops - Settings for Studio Policies

But doesn’t that mean that developers can’t turn it on if they need it for an automation?

Disabling it per project is what i’m currently doing. Changing it in the settings file does the exact same thing, so same inconvenience there.

I can’t find the setting you mention in Automation Ops, but i don’t believe it would solve my problem as it seems to only disable the CV activities.
And as @postwick also mentions, ideally I don’t want to completely disable it. I just want to have it disabled by default so i can still enable it if needed in certain projects.

Hi @Patrick_Wirth

In that case, it’s better to continue doing the same as you do for each project. We can’t assume that every project won’t require Computer Vision.

Also, remember that Computer Vision is helpful when selectors fail. As a fallback method, it allows the bot to interact with UI elements reliably, preventing unexpected failures. It definitely has its use, and there’s no harm in including it. Try not to avoid it unnecessarily.

Hope it helps!!

1 Like

@Patrick_Wirth

one way you can achieve it is by publishing a template

create a process or blank onw with required settings and export as template and publish it

then everytime when creating new process use the template so that the settings are retained

cheers

2 Likes

Hi @mkankatala

I fully agree that Computer Vision can be useful in some cases. The reason why i want to disable it by default is purely for privacy reasons. I saw that UiPath stores information when designing processes using Computer Vision. This is unfortunately not acceptable in some enterprise environments. So i want to be able to opt-in instead of having to opt-out. Would make it more manageable.

Thanks for your reply!

Hi @Anil_G

This might be a viable workaround. I will try this out!

Thanks for your help!

1 Like