(core:ChainImgProcessor)
| 8 | |
| 9 | # start function |
| 10 | def start(core:ChainImgProcessor): |
| 11 | manifest = { # plugin settings |
| 12 | "name": "Codeformer", # name |
| 13 | "version": "3.0", # version |
| 14 | |
| 15 | "default_options": { |
| 16 | "background_enhance": True, # |
| 17 | "face_upsample": True, # |
| 18 | "upscale": 2, # |
| 19 | "codeformer_fidelity": 0.8, |
| 20 | "skip_if_no_face":False, |
| 21 | |
| 22 | }, |
| 23 | |
| 24 | "img_processor": { |
| 25 | "codeformer": PluginCodeformer # 1 function - init, 2 - process |
| 26 | } |
| 27 | } |
| 28 | return manifest |
| 29 | |
| 30 | def start_with_options(core:ChainImgProcessor, manifest:dict): |
| 31 | pass |
nothing calls this directly
no outgoing calls
no test coverage detected