daxcay / ComfyUI-JDCN

ComfyUI-JDCN, Custom Utility Nodes for Artists, Designers and Animators.
MIT License
93 stars 9 forks source link

Node Request: Dataset Caption Visualisers--"Word Cloud" and "Network Graph" Nodes #10

Closed rafstahelin closed 7 months ago

rafstahelin commented 7 months ago

These nodes are basic tools for visualising the concepts in a dataset of paired images and caption files

The Word Cloud preview image, gives an intuitive way of seeing what is in the dataset. Words with biggest frequency appear in larger fonts. Network Graph similarly shows a node based frequency visualisation. Both visualisers are python libraries that can easily built into a comfyui workflow

Input:

path to directory--AnyfileList Node

Output:

Image

Examples: image image

Optional Frequency Table: image

An example of repo that uses these visualisers: https://github.com/jiayev/GPT4V-Image-Captioner Here's how it looks on their webapp: image

daxcay commented 7 months ago

Node Made

https://github.com/daxcay/ComfyUI-JDCN/commit/596b5d1c110c0cc96dcb7c3dd80678e94766fd30