22 lines
586 B
Python
22 lines
586 B
Python
"""ComfyUI-EnglishAnnotator
|
|
|
|
A custom node that draws bounding boxes and English word labels onto
|
|
an image — designed for building vocabulary learning cards.
|
|
|
|
Pairs naturally with kijai/ComfyUI-Florence2 which produces the
|
|
(bboxes, labels) outputs that this node consumes.
|
|
"""
|
|
from .nodes.annotator import EnglishWordAnnotator
|
|
|
|
NODE_CLASS_MAPPINGS = {
|
|
"EnglishWordAnnotator": EnglishWordAnnotator,
|
|
}
|
|
|
|
NODE_DISPLAY_NAME_MAPPINGS = {
|
|
"EnglishWordAnnotator": "📚 English Word Annotator",
|
|
}
|
|
|
|
WEB_DIRECTORY = None
|
|
|
|
__all__ = ["NODE_CLASS_MAPPINGS", "NODE_DISPLAY_NAME_MAPPINGS"]
|