Skip to content

Conversation

@DNPMBHC
Copy link

@DNPMBHC DNPMBHC commented Oct 19, 2025

Description

Added a new custom node package: ComfyUI-ZiYu_LabelKit.

This node allows users to batch-load images from a directory while automatically retrieving their filenames. It helps streamline labeling and dataset preparation workflows by outputting both image data and structured file information.

Details

  • Supports batch image loading (.jpg, .png, .webp, .jxl)
  • Extracts filenames and file paths simultaneously
  • Provides outputs for images, masks, filenames, paths, and count
  • Designed to accelerate data labeling and preprocessing tasks

Version

v1.0.0 — Initial release

### Description
Added a new custom node package: **ComfyUI-ZiYu_LabelKit**.

This node allows users to batch-load images from a directory while automatically retrieving their filenames.  
It helps streamline labeling and dataset preparation workflows by outputting both image data and structured file information.

### Details
- Supports batch image loading (.jpg, .png, .webp, .jxl)
- Extracts filenames and file paths simultaneously
- Provides outputs for images, masks, filenames, paths, and count
- Designed to accelerate data labeling and preprocessing tasks

### Version
v1.0.0 — Initial release
@ltdrdata
Copy link
Member

Please write NODE_DISPLAY_NAME_MAPPINGS in English.
https://github.com/DNPMBHC/ComfyUI-ZiYu_LabelKit/blob/c3385094523f2129ecfd0a34a1adeb3094d12f5b/__init__.py#L10

For multilingual support, refer to the locale feature.
comfyanonymous/ComfyUI#6558

@DNPMBHC DNPMBHC closed this Oct 20, 2025
@DNPMBHC DNPMBHC reopened this Oct 20, 2025
@DNPMBHC
Copy link
Author

DNPMBHC commented Oct 20, 2025

Thank you for your suggestion! I have added the en_US mapping ("Batch Load Images With Names") to NODE_DISPLAY_NAME_MAPPINGS as requested, while keeping the zh_CN mapping ("批量加载图片并提取名称") in line with the ComfyUI#6558 guidelines. Please review my update, and let me know if any further changes are needed!

https://github.com/DNPMBHC/ComfyUI-ZiYu_LabelKit/blob/main/__init__.py

@ltdrdata
Copy link
Member

Multilingual support doesn’t work that way.
You need to write the nodeDefs.json file using a proper directory structure.

Refer to this for guidance:
https://github.com/ltdrdata/ComfyUI-Impact-Pack/tree/Main/locales/ko

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants