floyo logobeta logo
Powered by
ThinkDiffusion
floyo logobeta logo
Powered by
ThinkDiffusion

Underage Filter

0

Last updated
2025-05-30

This tool is an extension for ComfyUI that introduces nodes specifically designed for moderating and filtering content based on age classification. It utilizes a vision transformer model to assess images and determine whether they contain underage subjects, thereby enhancing content moderation capabilities.

  • Provides age classification through the AgeCheckerNode, which can block underage content based on user-defined settings.
  • Includes the UnderageFilterNode, a lightweight classifier that quickly assesses images against defined underage age brackets with a specified confidence threshold.
  • Features the MultiTypeGateNode, a versatile tool that can halt workflows based on various input types and conditions, ensuring flexible workflow management.

Context

This extension is designed to enhance ComfyUI by adding nodes that focus on content moderation, particularly in filtering out underage imagery. Its primary purpose is to provide users with tools that can analyze images for age classification, helping maintain compliance with content standards.

Key Features & Benefits

The AgeCheckerNode allows for precise age predictions from images, enabling users to block content that is deemed inappropriate based on age. The UnderageFilterNode offers a simple yet effective way to classify images as underage or not, which is crucial for maintaining content integrity. The MultiTypeGateNode adds flexibility by allowing users to set specific conditions under which workflows can be halted, enhancing overall control.

Advanced Functionalities

The AgeCheckerNode not only predicts age but also provides a confidence score, allowing users to assess the reliability of the predictions. The ability to toggle local models for age classification adds a layer of customization, enabling users to adapt the tool to their specific needs. The MultiTypeGateNode's capability to work with multiple data types (boolean, integer, float, string) offers advanced users a powerful means to create complex conditional workflows.

Practical Benefits

This tool significantly streamlines the process of content moderation in ComfyUI by automating age classification and enabling users to easily filter out unsuitable content. The integration of these nodes into existing workflows increases efficiency and control, helping users maintain high standards for content quality and compliance.

Credits/Acknowledgments

The extension is built on the work of the original authors and contributors, particularly leveraging the age classification model from nateraw/vit-age-classifier. The repository is available under an open-source license, allowing for community contributions and improvements.