ComfyUI > Nodes > ComfyUI-PuLID-Flux2 > PuLID — Face Debug Preview

ComfyUI Node: PuLID — Face Debug Preview

Class Name

PuLIDFacePreview

Category
PuLID-Flux2
Author
iFayens (Account age: 0days)
Extension
ComfyUI-PuLID-Flux2
Latest Updated
2026-03-21
Github Stars
0.04K

How to Install ComfyUI-PuLID-Flux2

Install this extension via the ComfyUI Manager by searching for ComfyUI-PuLID-Flux2
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-PuLID-Flux2 in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

PuLID — Face Debug Preview Description

PuLIDFacePreview visually displays detected faces in images with bounding boxes for debugging.

PuLID — Face Debug Preview:

PuLIDFacePreview is a specialized node designed to visually display detected faces within an input image by drawing bounding boxes around them. This node is particularly useful for debugging and verifying the accuracy of face detection processes. By providing a visual representation of detected faces, it allows you to quickly assess whether the face detection algorithm is functioning correctly and identify any potential issues. The node leverages the capabilities of the InsightFace library to analyze images and detect facial features, ensuring that the bounding boxes are accurately placed around the faces. This visual feedback is invaluable for developers and AI artists who need to ensure that their face detection models are performing as expected.

PuLID — Face Debug Preview Input Parameters:

face_analysis

The face_analysis parameter is an instance of the InsightFace analysis object, which is responsible for detecting faces within the input image. This parameter is crucial as it provides the necessary functionality to identify and analyze facial features, enabling the node to draw accurate bounding boxes around detected faces. The effectiveness of the face detection process heavily relies on the quality and configuration of this analysis object.

image

The image parameter represents the input image in which faces are to be detected and highlighted. This image should be in a format compatible with the InsightFace library, typically a tensor representation of the image data. The quality and resolution of the input image can significantly impact the accuracy of face detection, so it is advisable to use clear and well-lit images for optimal results.

PuLID — Face Debug Preview Output Parameters:

debug_image

The debug_image output parameter is an image that contains the original input image with bounding boxes drawn around detected faces. This output serves as a visual confirmation of the face detection process, allowing you to see exactly where faces have been identified within the image. The bounding boxes are typically drawn in a contrasting color to ensure they are easily visible, providing a clear indication of the detection results.

PuLID — Face Debug Preview Usage Tips:

  • Ensure that the input image is of high quality and resolution to improve the accuracy of face detection. Well-lit images with clear facial features will yield the best results.
  • Use the face_analysis parameter to configure the face detection settings according to your specific requirements. Adjusting these settings can help optimize the detection process for different types of images or lighting conditions.

PuLID — Face Debug Preview Common Errors and Solutions:

[PuLID-Flux2] cv2 non disponible pour preview.

  • Explanation: This error occurs when the OpenCV library (cv2) is not available in your environment, which is required for drawing bounding boxes on the image.
  • Solution: Install the OpenCV library by running pip install opencv-python in your environment to ensure that the node can perform the necessary image processing tasks.

[PuLID-Flux2] Aucun visage détecté. Modèle non modifié.

  • Explanation: This warning indicates that no faces were detected in the input image, which means that the node could not perform its intended function of drawing bounding boxes.
  • Solution: Verify that the input image contains clear and visible faces. If the issue persists, consider adjusting the face detection settings or using a different image to ensure that faces are detectable.

PuLID — Face Debug Preview Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-PuLID-Flux2
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

PuLID — Face Debug Preview