Repository: stable-diffusion-webui
Issue: [Bug]: ModuleNotFoundError: No module named 'cv2.ximgproc'
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

(stable-diffusion) M:\stable-diffusion-webui>M:\stable-diffusion-webui\webui-user.bat
venv "M:\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:14:58) [MSC v.1929 64 bit (AMD64)]
Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2
Installing requirements for Web UI

Launching Web UI with arguments: --xformers
Loading weights [fbcf965a62] from M:\stable-diffusion-webui\models\Stable-diffusion\anything-v4.5.ckpt
Creating model from config: M:\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(0):
Model loaded in 147.1s (load weights from disk: 123.2s, create model: 2.6s, apply weights to model: 1.7s, apply half(): 1.5s, move model to device: 1.1s, load textual inversion embeddings: 17.0s).
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 225.7s (import gradio: 21.4s, import ldm: 13.6s, other imports: 23.3s, list extensions: 0.4s, list SD models: 0.4s, setup codeformer: 0.8s, list builtin upscalers: 0.1s, load scripts: 4.6s, load SD checkpoint: 147.8s, create ui: 12.6s, gradio launch: 0.5s).
Error running install.py for extension M:\stable-diffusion-webui\extensions\stable-diffusion-webui-adverse-cleaner-tab.
Command: "M:\stable-diffusion-webui\venv\Scripts\python.exe" "M:\stable-diffusion-webui\extensions\stable-diffusion-webui-adverse-cleaner-tab\install.py"
Error code: 1
stdout: Installing requirements for Adverse Cleaner

stderr: Traceback (most recent call last):
  File "M:\stable-diffusion-webui\extensions\stable-diffusion-webui-adverse-cleaner-tab\install.py", line 4, in <module>
    launch.run_pip(
  File "M:\stable-diffusion-webui\launch.py", line 145, in run_pip
    return run(f'"{python}" -m pip {args} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}")
  File "M:\stable-diffusion-webui\launch.py", line 113, in run
    raise RuntimeError(message)
RuntimeError: Couldn't install requirements for Adverse Cleaner.
Command: "M:\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install opencv-contrib-python --user --prefer-binary
Error code: 1
stdout: <empty>
stderr: ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv.

[notice] A new release of pip available: 22.3.1 -> 23.0.1
[notice] To update, run: M:\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip




Closing server running on port: 7860
Restarting UI...
Error loading script: main.py
Traceback (most recent call last):
  File "M:\stable-diffusion-webui\modules\scripts.py", line 248, in load_scripts
    script_module = script_loading.load_module(scriptfile.path)
  File "M:\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "M:\stable-diffusion-webui\extensions\stable-diffusion-webui-adverse-cleaner-tab\scripts\main.py", line 7, in <module>
    from cv2.ximgproc import guidedFilter
ModuleNotFoundError: No module named 'cv2.ximgproc'

Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 2.1s (list extensions: 0.6s, load scripts: 1.0s, create ui: 0.4s).

### Steps to reproduce the problem

1. Go to .... 
2. Press ....
3. ...


### What should have happened?

Update extensions and same during installation. 

### Commit where the problem happens

a9fed7c3

### What platforms do you use to access the UI ?

Windows

### What browsers do you use to access the UI ?

Google Chrome

### Command Line Arguments

```Shell
--xformers
```


### List of extensions

not

### Console logs

```Shell
(stable-diffusion) F:\stable-diffusion-webui>F:

(stable-diffusion) F:\stable-diffusion-webui>cd F:
F:\stable-diffusion-webui

(stable-diffusion) F:\stable-diffusion-webui>cd F:\

(stable-diffusion) F:\>del /Q  F:\stable-diffusion-webui

(stable-diffusion) F:\>del /Q  F:\stable-diffusion-webui

(stable-diffusion) F:\>del /Q  F:\stable-diffusion-webui

(stable-diffusion) F:\>M:

(stable-diffusion) M:\>cd M:\stable-diffusion-webui

(stable-diffusion) M:\stable-diffusion-webui>M:\stable-diffusion-webui\webui-user.bat
venv "M:\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.9 | packaged by conda-forge | (main, Feb  2 2023, 20:14:58) [MSC v.1929 64 bit (AMD64)]
Commit hash: a9fed7c364061ae6efb37f797b6b522cb3cf7aa2
Installing requirements for Web UI

Launching Web UI with arguments: --xformers
Loading weights [fbcf965a62] from M:\stable-diffusion-webui\models\Stable-diffusion\anything-v4.5.ckpt
Creating model from config: M:\stable-diffusion-webui\configs\v1-inference.yaml
LatentDiffusion: Running in eps-prediction mode
DiffusionWrapper has 859.52 M params.
Applying xformers cross attention optimization.
Textual inversion embeddings loaded(0):
Model loaded in 147.1s (load weights from disk: 123.2s, create model: 2.6s, apply weights to model: 1.7s, apply half(): 1.5s, move model to device: 1.1s, load textual inversion embeddings: 17.0s).
Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 225.7s (import gradio: 21.4s, import ldm: 13.6s, other imports: 23.3s, list extensions: 0.4s, list SD models: 0.4s, setup codeformer: 0.8s, list builtin upscalers: 0.1s, load scripts: 4.6s, load SD checkpoint: 147.8s, create ui: 12.6s, gradio launch: 0.5s).
Error running install.py for extension M:\stable-diffusion-webui\extensions\stable-diffusion-webui-adverse-cleaner-tab.
Command: "M:\stable-diffusion-webui\venv\Scripts\python.exe" "M:\stable-diffusion-webui\extensions\stable-diffusion-webui-adverse-cleaner-tab\install.py"
Error code: 1
stdout: Installing requirements for Adverse Cleaner

stderr: Traceback (most recent call last):
  File "M:\stable-diffusion-webui\extensions\stable-diffusion-webui-adverse-cleaner-tab\install.py", line 4, in <module>
    launch.run_pip(
  File "M:\stable-diffusion-webui\launch.py", line 145, in run_pip
    return run(f'"{python}" -m pip {args} --prefer-binary{index_url_line}', desc=f"Installing {desc}", errdesc=f"Couldn't install {desc}")
  File "M:\stable-diffusion-webui\launch.py", line 113, in run
    raise RuntimeError(message)
RuntimeError: Couldn't install requirements for Adverse Cleaner.
Command: "M:\stable-diffusion-webui\venv\Scripts\python.exe" -m pip install opencv-contrib-python --user --prefer-binary
Error code: 1
stdout: <empty>
stderr: ERROR: Can not perform a '--user' install. User site-packages are not visible in this virtualenv.

[notice] A new release of pip available: 22.3.1 -> 23.0.1
[notice] To update, run: M:\stable-diffusion-webui\venv\Scripts\python.exe -m pip install --upgrade pip




Closing server running on port: 7860
Restarting UI...
Error loading script: main.py
Traceback (most recent call last):
  File "M:\stable-diffusion-webui\modules\scripts.py", line 248, in load_scripts
    script_module = script_loading.load_module(scriptfile.path)
  File "M:\stable-diffusion-webui\modules\script_loading.py", line 11, in load_module
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "M:\stable-diffusion-webui\extensions\stable-diffusion-webui-adverse-cleaner-tab\scripts\main.py", line 7, in <module>
    from cv2.ximgproc import guidedFilter
ModuleNotFoundError: No module named 'cv2.ximgproc'

Running on local URL:  http://127.0.0.1:7860

To create a public link, set `share=True` in `launch()`.
Startup time: 2.1s (list extensions: 0.6s, load scripts: 1.0s, create ui: 0.4s).
Traceback (most recent call last):
  File "M:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 337, in run_predict
    output = await app.get_blocks().process_api(
  File "M:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1013, in process_api
    inputs = self.preprocess_data(fn_index, inputs, state)
  File "M:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 911, in preprocess_data
    processed_input.append(block.preprocess(inputs[i]))
  File "M:\stable-diffusion-webui\venv\lib\site-packages\gradio\components.py", line 1282, in preprocess
    return self.choices.index(x)
ValueError: 'task(7ivnmfd7rzwq3n7)' is not in list
Traceback (most recent call last):
  File "M:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 337, in run_predict
    output = await app.get_blocks().process_api(
  File "M:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1013, in process_api
    inputs = self.preprocess_data(fn_index, inputs, state)
  File "M:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 911, in preprocess_data
    processed_input.append(block.preprocess(inputs[i]))
IndexError: list index out of range
Traceback (most recent call last):
  File "M:\stable-diffusion-webui\venv\lib\site-packages\gradio\routes.py", line 337, in run_predict
    output = await app.get_blocks().process_api(
  File "M:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 1013, in process_api
    inputs = self.preprocess_data(fn_index, inputs, state)
  File "M:\stable-diffusion-webui\venv\lib\site-packages\gradio\blocks.py", line 911, in preprocess_data
    processed_input.append(block.preprocess(inputs[i]))
IndexError: list index out of range
```


### Additional information

_No response_