2023-09-06 11:20:04 +02:00
2023-08-12 23:41:24 +02:00
2023-07-07 14:24:51 +02:00
2023-09-02 21:09:37 +02:00
2023-09-02 23:05:32 +02:00
2023-08-08 23:16:29 +02:00
2023-09-06 10:53:00 +02:00
2023-07-22 03:25:42 +02:00
2023-07-07 14:24:51 +02:00
2023-07-24 22:24:38 +02:00
2023-06-23 04:53:43 +02:00
2023-08-25 22:07:01 +02:00
2023-07-09 18:04:01 +02:00
2023-08-11 22:22:07 +02:00
2023-07-28 20:47:27 +02:00
2023-08-12 00:11:54 +02:00
2023-08-12 00:11:54 +02:00
2023-06-23 04:00:22 +02:00

MTB Nodes

embedded test

Translated Readme (using DeepTranslate, PRs are welcome):
image 日本語による説明
image 中文说明

Buy Me A Coffee

Install Guide | Examples

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 box
  • Crop: Crop image from BBox
  • Uncrop: Uncrop image from BBox

colors

  • Colored Image: Constant color image of given size
  • RGB 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 called Roop in 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 swapping
  • Restore Face: Using GFPGan to restore faces, works great in conjunction with Face Swap and supports Comfy native upscalers for the bg_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 model
  • Film 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 with Film Interpolation and 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 image
  • Image Premultiply: Premultiply image with mask
  • Image 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 background
  • Save 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 font
  • Styles 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 generator
  • Save Tensors: Debug node that will probably be removed in the future
  • Int to Number: Supplement for WASSuite number nodes
  • Smart Step: A very basic tool to control the steps (start/stop) of the KAdvancedSampler using percentage

textures

  • DeepBump: Normal & height maps generation from single pictures

Comfy Resources

Misc

Guides:

Extensions and Custom Nodes:

S
Description
No description provided
Readme MIT
8.1 MiB
Languages
JavaScript 75.9%
Python 23.6%
Nushell 0.3%
CSS 0.2%