This node is mainly based on the Yolov8 model for object detection, and it outputs related images, masks, and JSON information.
https://github.com/prodogape/Comfyui-Yolov8-JSON
git clone https://github.com/prodogape/Comfyui-Yolov8-JSON
comfy node install comfyui-yolov8-json