ComfyUI Node: BAE Normal Map

Class Name

BAE-NormalMapPreprocessor

Category
ControlNet Preprocessors/Normal and Depth Estimators
Author
Fannovel16 (Account age: 3127days)
Extension
ComfyUI's ControlNet Auxiliary Preprocessors
Latest Updated
2024-06-18
Github Stars
1.57K

How to Install ComfyUI's ControlNet Auxiliary Preprocessors

Install this extension via the ComfyUI Manager by searching for ComfyUI's ControlNet Auxiliary Preprocessors
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI's ControlNet Auxiliary Preprocessors 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
  • High-speed GPU machines
  • 200+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 50+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

BAE Normal Map Description

Generate detailed normal maps from input images for enhanced 3D rendering and computer vision tasks using NormalBaeDetector model.

BAE Normal Map:

The BAE-NormalMapPreprocessor node is designed to generate normal maps from input images, which are essential for various 3D rendering and computer vision tasks. This node leverages the NormalBaeDetector model to estimate the surface normals of objects within an image, providing a detailed representation of the image's geometry. By converting the visual information into a normal map, you can enhance the depth and realism of your 3D models or improve the accuracy of other image processing tasks. This node is particularly useful for AI artists looking to add depth and texture to their digital creations without needing extensive technical knowledge.

BAE Normal Map Input Parameters:

image

The input image that you want to process into a normal map. This parameter is essential as it provides the visual data from which the normal map will be generated. The quality and content of the input image directly impact the accuracy and detail of the resulting normal map.

resolution

The resolution parameter determines the size of the output normal map. It accepts an integer value, with a default of 512. Higher resolutions can provide more detailed normal maps but may require more computational resources. The minimum value is 1, and there is no explicitly stated maximum value, but it should be within the capabilities of your hardware.

BAE Normal Map Output Parameters:

IMAGE

The output is an image representing the normal map of the input image. This normal map encodes the surface normals of the objects in the input image, which can be used to add depth and texture in 3D rendering or other image processing tasks. The normal map is a crucial tool for enhancing the visual realism of digital art and models.

BAE Normal Map Usage Tips:

  • For optimal results, use high-quality input images with clear details and minimal noise. This will help the NormalBaeDetector model generate more accurate normal maps.
  • Adjust the resolution parameter based on your specific needs. Higher resolutions provide more detail but require more computational power. Start with the default value of 512 and increase if necessary for finer details.

BAE Normal Map Common Errors and Solutions:

RuntimeError: CUDA out of memory.

  • Explanation: This error occurs when the GPU does not have enough memory to process the input image at the specified resolution.
  • Solution: Reduce the resolution parameter or use a smaller input image to decrease the memory requirements. Alternatively, ensure that no other memory-intensive processes are running on the GPU.

FileNotFoundError: Model file not found.

  • Explanation: This error indicates that the NormalBaeDetector model file could not be located.
  • Solution: Ensure that the model file is correctly installed and accessible. Reinstall the model if necessary or check the file path for any errors.

TypeError: Input image must be a valid image format.

  • Explanation: This error occurs when the input image is not in a supported format.
  • Solution: Verify that the input image is in a valid format such as JPEG, PNG, or BMP. Convert the image to a supported format if necessary before processing.

BAE Normal Map Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI's ControlNet Auxiliary Preprocessors
RunComfy

© Copyright 2024 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals.