I must probably check for other places too, but this directly addresses #82. Closes #82
MTB Nodes
Translated Readme (using DeepTranslate, PRs are welcome):
日本語による説明
中文说明
Welcome to the MTB Nodes project! This codebase is open for you to explore and utilize as you wish. Its primary purpose is to build proof-of-concepts (POCs) for implementation in MLOPs. Many nodes in this project are inspired by existing community contributions or built-in functionalities.
Before proceeding, please be aware of the licenses associated with certain libraries used in this project. For example, the deepbump library is licensed under GPLv3.
Node List
bbox
Bounding Box: BBox constructor (custom type),BBox From Mask: From a mask extract the bounding boxCrop: Crop image from BBoxUncrop: Uncrop image from BBox
colors
Colored Image: Constant color image of given sizeRGB to HSV: -,HSV to RGB: -,Color Correct: Basic color correction tools
face detection / swapping
Warning
Those nodes were among the first to be implemented they do work, but on windows the installation is still not properly handled for everyone
As alternatives you can use reactor for face swap and facerestore for restoration
You can check this video for a tutorial by Ferniclestix using these alternatives
Face Swap: Face swap using deepinsight/insightface models (this node used to be calledRoopin early versions, it does the same, roop is just an app that uses those model)Note
The face index allow you to choose which face to replace as you can see here:
Load Face Swap Model: Load an insightface model for face swappingRestore Face: Using GFPGan to restore faces, works great in conjunction withFace Swapand supports Comfy native upscalers for thebg_upscaler
image interpolation (animation)
Warning
Windows only issue: This requires tensorflow-gpu that is unfortunately not a thing anymore on Windows since 2.10.1 (unless you use a complex WSL passthrough setup but it's still not "Windows")
Using this old version is quite clunky and require some patching that install.py does automatically, but the main issue is that no wheels are available for python > 3.10 Comfy-nightly is already using Python 11 so installing this old tf version won't work there.
You can in any case install the normal up to date tensorflow but that will run on CPU and is much MUCH slower for FILM inference.
Load Film Model: Loads a FILM modelFilm Interpolation: Process input frames using FILM
Export to Prores (experimental): Exports the input frames to a ProRes 4444 mov file. This is using ffmpeg stdin to send raw numpy arrays, used withFilm Interpolationand very simple for now but could be expanded upon.
image ops
Blur: Blur an image using a Gaussian filter.Deglaze Image: taken from FN16,Denoise: Denoise the input image,Image Compare: Compare two images and return a difference imageImage Premultiply: Premultiply image with maskImage Remove Background Rembg: RemBG powered background removal.
Image Resize Factor: Extracted mostly from WAS Node Suite, with a few edits (most notably multiple image support) and less features.Mask To Image: Converts a mask (alpha) to an RGB image with a color and backgroundSave Image Grid: Save all the images in the input batch as a grid of images.
latent utils
Latent Lerp: Linear interpolation (blend) between two latent
misc utils
Concat Images: Takes two image stream and merge them as a batch of images supported by other Comfy pipelines.Image Resize Factor: Deprecated, I since discovered the builtin image resize.Text To Image: Utils to convert text to image using a fontStyles Loader: Load csv files and populate a dropdown from the rows (à la A111)
Smart Step: A very basic node to get step percent to use in KSampler advanced,Qr Code: Basic QR Code generatorSave Tensors: Debug node that will probably be removed in the futureInt to Number: Supplement for WASSuite number nodesSmart Step: A very basic tool to control the steps (start/stop) of theKAdvancedSamplerusing percentage
textures
DeepBump: Normal & height maps generation from single pictures
Comfy Resources
Misc
- Slick ComfyUI by NoCrypt: A colab notebook with batteries included!
Guides:
-
ComfyUI Community Manual (eng) by @BlenderNeko
-
Tomoaki's personal Wiki (jap) by @tjhayasaka
Extensions and Custom Nodes:
-
Plugins for Comfy List (eng) by @WASasquatch
