24 lines
528 B
Markdown
24 lines
528 B
Markdown
### Start
|
|
|
|
See the `conf.py`:
|
|
```
|
|
scheme = 'B'
|
|
|
|
schemeA = {
|
|
'image_name': 'd1.jpg',
|
|
'is_lama': False,
|
|
'inpaint_radius': 3,
|
|
'is_gaussianblur': True,
|
|
'gaussian_radius': 9 # Odd number
|
|
}
|
|
|
|
schemeB = {
|
|
'image_name': 'd1.jpg',
|
|
'gaussian_radius': 51, # Odd number
|
|
'is_use_fill_color': False,
|
|
'fill_color': [227, 234, 244]
|
|
}
|
|
```
|
|
You can choose scheme whcih you want.
|
|
The A is useof openCV inpaint or model(LaMa); And B is useof openCV but no inpaint.
|
|
When you finished the conf, run `python main.py`. |