Batch Face Extraction
created 3 months ago
img2img
upscale
31 nodes

2.8k

306

Outputs
example image output 0 for workflow.
example image output 1 for workflow.
example image output 2 for workflow.
example image output 3 for workflow.
example image output 4 for workflow.
example image output 5 for workflow.
example image output 6 for workflow.
example image output 7 for workflow.
example image output 8 for workflow.
example image output 9 for workflow.
example image output optimized_comfy_workflows_user_uploads/246c27e4-f656-43a8-a73f-548594f70b4f/assets/workflow (15).webp for workflow.
Description

Extract the face image from the image and save it as an image with a short side of 1024.

This was created to be used as the training data for LoRA.

1. Input image folder name to "path" that you want to extract face images at "Load Image Batch" node below.

2. Click "Queue" to 1 image in the path. If you have 5 images to mask in that path folder, you may click Queue with set Batch Count to 5, or click Queue 5 times.

イメージから顔イメージを抜き出して 短辺が 1024 の画像として保存します。

LoRAの学習元データにつかうように作成しました。

1. 顔イメージを抜き出ししたいイメージのあるフォルダを Load Image Batch ノードの 下の path にいれる

2. "Queue" で そのフォルダから 1枚読み込んで顔イメージ抜き出しが実行される。 path フォルダに変換したい画像が 5 枚ある場合、 Batch Count を 5 に設定してから Queue をクリックする。

Built-in nodes
Custom nodes
If ANY return A else B-🔬
Compare-🔬
ImageSizeInfo
MathExpression|pysssss
UltralyticsDetectorProvider
SEGSToImageList
Load Image Batch
BboxDetectorSEGS
TextSplit
SaveImageExtended
ShowText|pysssss
LoadImageExtended
Textbox
CR Upscale Image
Float-🔬
PreviewImage
4
0
0
0