Yolo11
by atalaydenknalbantco.huggingface.atalaydenknalbant/yolo11
- Remote endpoint
- 2 tools
Tools
Yolo11_update_visibilityAdjusts the visibility of Gradio components based on the selected input type. This function dynamically shows or hides the image and video input/output components in the Gradio interface to ensure only relevant fields are visible. Returns: tuple: A tuple of `gr.update` objects for the visibility of:, (image input, video input, image output, video output).Yolo11_yolo_inferencePerforms object detection, instance segmentation, pose estimation, oriented object detection, or classification using a YOLOv11 model on either an image or a video. This function loads the specified YOLOv11 model and applies it to the provided input. For images, it returns an annotated image. For videos, it processes each frame and returns an annotated video. It includes error handling for missing inputs, returning blank outputs with informative messages. If a user passes a file as an input, use the upload_file_to_gradio tool, if present, to upload the file to the gradio app and create a Gradio File Input. Then use the returned path as the input to the tool. Returns: tuple: A tuple containing two elements:, - PIL.Image.Image or None: The annotated image if `input_type` was "Image",, otherwise None., - str or None: The path to the annotated video file if `input_type` was "Video",, otherwise None.
No tool matches.
As the server's own listing gives them. We never call a tool.