You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: demos/python_demos/image_inpainting_demo/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,15 @@ to fill holes in images.
7
7
This demo can work in 2 modes:
8
8
9
9
* GUI mode: areas for inpainting can be marked interactively using mouse painting
10
-
* Auto mode (use -am or -ar option for it): image will be processed automatically using randomly applied mask (-ar option) or using specific color-based mask (-am option)
10
+
* Auto mode (use -ac or -ar option for it): image will be processed automatically using randomly applied mask (-ar option) or using specific color-based mask (-ac option)
11
11
12
12
Running the application with the `-h` option yields the following usage message:
13
13
14
14
```
15
15
usage: image_inpainting_demo.py [-h] -m MODEL [-i INPUT] [-d DEVICE]
16
16
[-p PARTS] [-mbw MAX_BRUSH_WIDTH]
17
17
[-ml MAX_LENGTH] [-mv MAX_VERTEX] [--no_show]
18
-
[-o OUTPUT] [-am C C C] [-ar]
18
+
[-o OUTPUT] [-ac C C C] [-ar]
19
19
20
20
Options:
21
21
-h, --help Show this help message and exit.
@@ -45,15 +45,15 @@ Options:
45
45
-o OUTPUT, --output OUTPUT
46
46
Optional. Save output to the file with provided
47
47
filename. Ignored in GUI mode
48
-
-am C C C, --auto_mask_color C C C
48
+
-ac C C C, --auto_mask_color C C C
49
49
Optional. Use automatic (non-interactive) mode with
50
50
color mask.Provide color to be treated as mask (3 RGB
51
51
components in range of 0...255). Cannot be used
52
52
together with -ar.
53
53
-ar, --auto_mask_random
54
54
Optional. Use automatic (non-interactive) mode with
55
55
random mask for inpainting (with parameters set by -p,
56
-
-mbw, -mk and -mv). Cannot be used together with -am.
56
+
-mbw, -mk and -mv). Cannot be used together with -ac.
57
57
```
58
58
59
59
To run the demo, you can use public or pretrained models. You can download the pretrained models with the OpenVINO™[Model Downloader](../../../tools/downloader/README.md).
0 commit comments