ComfyUI > Nodes > ComfyUI-LexTools > ArtOrHumanClassifierNode

ComfyUI Node: ArtOrHumanClassifierNode

Class Name

ArtOrHumanClassifierNode

Category
LexTools/ImageProcessing/Classification
Author
SOELexicon (Account age: 4757days)
Extension
ComfyUI-LexTools
Latest Updated
2025-03-28
Github Stars
0.03K

How to Install ComfyUI-LexTools

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

ArtOrHumanClassifierNode Description

Classifies images as "artificial" or "human" with probabilistic accuracy using AI models.

ArtOrHumanClassifierNode:

The ArtOrHumanClassifierNode is designed to distinguish between images that are artificially generated and those that are human-created. This node leverages advanced image classification models to analyze the input image and provide a probabilistic assessment of its origin. By utilizing a pre-trained model specifically tailored for AI image detection, it offers a reliable method for users to understand the nature of their images. This capability is particularly beneficial for AI artists and content creators who wish to verify the authenticity of images or ensure that their work aligns with specific creative or ethical guidelines. The node's primary function is to classify images into two categories: "artificial" and "human," providing a percentage probability for each class, which can be used to make informed decisions about the image's use or further processing.

ArtOrHumanClassifierNode Input Parameters:

image

The image parameter is the primary input for the node, representing the image that needs to be classified. This parameter accepts an image in the form of a tensor, which is then processed by the node to determine its classification. The image should be pre-processed to fit the expected input format of the model, typically involving normalization and resizing. The quality and resolution of the input image can impact the accuracy of the classification, so it is advisable to use clear and well-defined images for optimal results.

show_on_node

The show_on_node parameter is a boolean option that determines whether the classification results should be displayed directly on the node interface. By default, this parameter is set to False, meaning the results will not be shown unless explicitly requested. When set to True, the node will output a textual representation of the classification probabilities, providing immediate feedback on the node's assessment. This feature is useful for users who want to quickly verify the classification results without delving into the output data.

ArtOrHumanClassifierNode Output Parameters:

FLOAT

The first FLOAT output represents the probability that the input image is artificially generated. This value is a floating-point number between 0 and 1, where a higher value indicates a greater likelihood that the image is artificial. This output is crucial for users who need to assess the authenticity of images, especially in contexts where distinguishing between AI-generated and human-created content is important.

FLOAT

The second FLOAT output represents the probability that the input image is human-created. Similar to the first output, this is a floating-point number between 0 and 1, with a higher value suggesting a higher likelihood of the image being human-made. This output complements the artificial probability, providing a comprehensive view of the image's classification and helping users make informed decisions based on the combined probabilities.

ArtOrHumanClassifierNode Usage Tips:

  • Ensure that the input image is pre-processed correctly to match the model's expected input format, as this can significantly affect the classification accuracy.
  • Use the show_on_node parameter to quickly verify classification results during experimentation or when fine-tuning your workflow.

ArtOrHumanClassifierNode Common Errors and Solutions:

ModelNotLoadedError

  • Explanation: This error occurs when the model or feature extractor is not properly loaded before classification.
  • Solution: Ensure that the node's initialization process is completed successfully, and the required models are available and correctly referenced in the environment.

InvalidImageFormatError

  • Explanation: This error indicates that the input image is not in the expected format or is corrupted.
  • Solution: Verify that the input image is a valid tensor and conforms to the expected dimensions and data type required by the node.

ArtOrHumanClassifierNode Related Nodes

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

ArtOrHumanClassifierNode