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:
Leonid Pershin
2026-06-08 06:21:44 +03:00
parent 8a366ed43d
commit 15f89b395d
14 changed files with 903 additions and 70 deletions
+6
View File
@@ -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__