Introduce diffusion-inpaint restoration engine in HVideoTool: added support for a new restoration method that regenerates masked regions via an external SwarmUI server, requiring YOLO detections for mask creation. Updated configuration management to include diffusion parameters, enhanced the UI for engine selection, and improved documentation in README and CLAUDE.md to guide users on the new functionality.
This commit is contained in:
@@ -37,6 +37,12 @@ class Restorer(ABC):
|
||||
#: leave this False; the temporal DeepMosaics (BVDNet) sets it True.
|
||||
temporal: bool = False
|
||||
|
||||
#: Whether this engine needs the frame's detections (it builds an inpaint mask from
|
||||
#: them). DeepMosaics locates the mosaic itself, so it leaves this False and the
|
||||
#: caller passes ``[]``; the diffusion engine sets it True and must be fed the real
|
||||
#: detections (a frame with none comes back unchanged).
|
||||
needs_detections: bool = False
|
||||
|
||||
@property
|
||||
def name(self) -> str:
|
||||
return type(self).__name__
|
||||
|
||||
Reference in New Issue
Block a user