ComfyUI > Nodes > ComfyUI_pixel_snapping > Face Hand Crop (YOLO)

ComfyUI Node: Face Hand Crop (YOLO)

Class Name

FaceHandCrop

Category
image/transform
Author
flywhale-666 (Account age: 1010days)
Extension
ComfyUI_pixel_snapping
Latest Updated
2026-03-18
Github Stars
0.04K

How to Install ComfyUI_pixel_snapping

Install this extension via the ComfyUI Manager by searching for ComfyUI_pixel_snapping
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI_pixel_snapping 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

Face Hand Crop (YOLO) Description

Detects and crops faces and hands in images for enhanced human-centric image processing.

Face Hand Crop (YOLO):

The FaceHandCrop node is designed to efficiently detect and crop regions of an image that contain faces and hands. This node is particularly useful for applications where focusing on these specific areas is crucial, such as in portrait photography, video conferencing, or any AI-driven image processing tasks that require attention to human features. By automatically identifying and isolating these regions, the node helps streamline workflows that involve facial recognition or gesture analysis. The node's primary goal is to enhance image processing by providing precise cropping capabilities, ensuring that the most relevant parts of an image are highlighted and processed further. This functionality is achieved through a combination of image analysis techniques that detect and resize the target areas, making it an essential tool for AI artists and developers working with human-centric imagery.

Face Hand Crop (YOLO) Input Parameters:

The context does not provide specific input parameters for the FaceHandCrop node. Therefore, we cannot enumerate or describe them accurately. Typically, such nodes might require parameters like image input, detection thresholds, or resizing options, but these are speculative and not confirmed by the provided context.

Face Hand Crop (YOLO) Output Parameters:

cropped_image

The cropped_image output provides the portion of the original image that contains the detected faces and hands. This output is crucial for applications that need to focus on these specific areas, allowing further processing or analysis to be conducted on the most relevant parts of the image.

face_mask

The face_mask output is a binary mask that highlights the areas of the image where faces have been detected. This mask can be used to apply effects or further processing specifically to the facial regions, ensuring that any transformations or analyses are accurately targeted.

crop_mask_full

The crop_mask_full output is a comprehensive mask that includes all detected regions, both faces and hands. This mask is useful for applications that need to consider the entire cropped area for processing, providing a complete view of the detected regions.

crop_info

The crop_info output provides detailed information about the cropping process, including the original image size, the coordinates of the crop region, the size of the cropped image, and any padding applied. This information is valuable for understanding the context of the cropped image and for any subsequent processing steps that require knowledge of the image's dimensions and modifications.

face_count

The face_count output indicates the number of faces detected in the image. This count is useful for applications that need to quantify the presence of faces, such as in demographic analysis or for triggering specific actions based on the number of detected faces.

Face Hand Crop (YOLO) Usage Tips:

  • Ensure that the input images are of high quality and resolution to improve the accuracy of face and hand detection.
  • Use the crop_info output to adjust subsequent image processing steps, ensuring that any transformations are correctly aligned with the cropped regions.
  • Consider using the face_mask and crop_mask_full outputs to apply targeted effects or analyses, enhancing the focus on the detected regions.

Face Hand Crop (YOLO) Common Errors and Solutions:

Image not found

  • Explanation: This error occurs when the input image is not correctly loaded or specified.
  • Solution: Verify that the image path is correct and that the image file is accessible and in a supported format.

No faces detected

  • Explanation: The node did not detect any faces in the input image, possibly due to poor image quality or incorrect settings.
  • Solution: Ensure the image is clear and well-lit. Adjust detection thresholds if available, or try using a different image with more distinct facial features.

Output size mismatch

  • Explanation: The dimensions of the cropped output do not match the expected size, possibly due to incorrect resizing parameters.
  • Solution: Check the resizing settings and ensure they are correctly configured to maintain the desired output dimensions. Adjust the size_multiple parameter if applicable to ensure proper scaling.

Face Hand Crop (YOLO) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI_pixel_snapping
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.

Face Hand Crop (YOLO)