Skills: Modular Building Blocks for Robotics and Physical AI
SUMMARY
Skills are reusable modular operations for robotic perception, motion, and planning that can be chained into workflows for Physical AI applications in manufacturing, logistics and more.
Every Skill is one Python call with strictly typed inputs and outputs, so the output of one Skill feeds directly into the next. New here? Start with What is a Skill?
Browse the Skill Library
Object Detection Skills 6
RetinaDetect Circle Using Classic Hough
Detect circular objects in grayscale images using the classic Hough Circle Transform, returning circle centers and radii for geometric analysis.
RetinaDetect Contours
Extract object outlines from binary or high-contrast images using contour detection for shape analysis and measurement.
RetinaDetect Objects Using RF-DETR
Detect objects in images using RF-DETR with COCO 80-class categories, returning COCO-like detection results.
RetinaDetect Objects Using QWEN
Perform flexible, name-driven object detection in images using the QWEN Vision Language Model, returning COCO-like detection results with categories.
RetinaDetect Objects Using YOLOX
Detect objects in images using YOLOX with COCO 80-class categories, returning COCO-like detection results.
RetinaDetect Objects Using Grounding DINO
Perform open-vocabulary object detection using Grounding DINO with a list of target object names, returning COCO-like detection results.
Image Segmentation Skills 21
CorneaSegment Image Using RGB
Perform image segmentation based on RGB color ranges to identify objects by their specific color values.
CorneaSegment Image Using HSV
Perform robust color-based segmentation using HSV color space, separating hue, saturation, and value for consistent detection under varying lighting conditions.
CorneaSegment Image Using LAB
Perform perceptually uniform color-based segmentation using LAB color space, ideal for matching human color perception in image processing tasks.
CorneaSegment Image Using YCrCb
Perform YCrCb color space segmentation to detect objects based on chrominance, commonly used for skin detection and face detection.
CorneaSegment Image Using Flood Fill
Flood fill image segmentation for extracting connected regions based on a seed point and color tolerance for computer vision and image processing pipelines.
CorneaSegment Image Using Watershed
Perform marker-based watershed segmentation to separate touching or overlapping objects in an image.
CorneaSegment Image Using Focus Region
Focus region segmentation for identifying in-focus areas based on image sharpness for computer vision, depth estimation, and image processing pipelines.
CorneaSegment Image Using Otsu Threshold
Automatically segment an image with a single global threshold chosen by Otsu's method, ideal for clearly bimodal intensity histograms.
CorneaSegment Image Using Local Threshold
Segment images with non-uniform lighting or varying background intensity using a single-parameter, neighborhood-based local threshold.
CorneaSegment Image Using Yen Threshold
Automatically segment an image with a single global threshold chosen by Yen's entropy-based method, a parameter-free alternative to Otsu thresholding.
CorneaSegment Image Using Threshold
Perform manual global threshold segmentation with a chosen pixel value and one of five comparison modes to create a labeled segmentation mask.
CorneaSegment Image Using Adaptive Threshold
Adaptive per-pixel threshold segmentation for images with non-uniform lighting, shadows, and varying intensity, with control over the local-averaging method and comparison direction.
CorneaSegment Image Using Laplacian Threshold
Segment an image's edge-rich, textured regions from its smooth regions by thresholding the Laplacian (second-derivative) edge response.
CorneaSegment Image Using Felzenszwalb
Generate irregularly-shaped, boundary-following superpixels with Felzenszwalb's graph-based segmentation algorithm.
Segment Image Using SLIC Superpixel
Generate compact, near-uniform superpixels with the SLIC (Simple Linear Iterative Clustering) algorithm for predictable over-segmentation.
CorneaFilter Segments By Area
Remove segments smaller or larger than a given pixel-area range from an existing label map, discarding noise or implausibly large regions.
CorneaFilter Segments By Color
Remove segments from an existing label map whose mean pixel intensity falls outside a given range, keeping only bright or dark regions of interest.
CorneaFilter Segments By Mask
Keep only the segments of an existing label map that overlap a region-of-interest mask, discarding the rest.
CorneaSegment Image Using GrabCut
Perform foreground/background segmentation using GrabCut, an iterative graph cut algorithm for interactive object extraction and background removal.
cornea.segment_image_foreground_using_birefnet()CorneaSegment Image Using Foreground BiRefNet
Segment the salient foreground object from the background using BiRefNet, a deep-learning model that needs no bounding box or seed point.
CorneaSegment Image Using SAM
Segment objects inside bounding box prompts using Meta's Segment Anything Model (SAM), a deep-learning alternative to GrabCut for precise per-object masks.
Image Processing Skills 21
PupilBitwise AND Images
Compute the pixel-wise bitwise AND of two same-sized images or masks, keeping only pixels where both inputs are nonzero, such as intersecting a mask with a region.
PupilBitwise Difference Images
Compute the pixel-wise absolute difference between two same-sized images, highlighting regions where pixel intensities differ, such as for change or defect detection.
PupilBitwise NOT Image
Invert every pixel value in an image via a pixel-wise bitwise NOT, such as swapping the foreground and background regions of a binary mask.
PupilBitwise OR Images
Compute the pixel-wise bitwise OR of two same-sized images or masks, merging both into their union, such as combining two segmentation masks into one.
PupilBitwise XOR Images
Compute the pixel-wise bitwise XOR of two same-sized images or masks, keeping only pixels that differ between the two, such as highlighting mask disagreement.
PupilCalculate Mask Centroid
Compute the centroid (center of mass) of the non-zero pixels in a binary mask, returning pixel coordinates for object localization, alignment, or grasp planning.
PupilCalculate Mask PCA
Compute PCA on a mask or grayscale image to get its centroid, principal-axis eigenvectors and eigenvalues, and dominant orientation angle.
PupilConvert Image Color Space
Convert an image between color spaces such as RGB, HSV, GRAY, and LAB to prepare it for a color-based or grayscale-based downstream Skill.
PupilCrop Image Center
Crop an image to a fixed width and height centered on the image, padding with a fill color when the source is smaller than the target crop size.
PupilCrop Image Using Bounding Boxes
Crop multiple rectangular regions from a single image in one call, returning one cropped image per bounding box as an ImageBatch.
PupilCrop Image Using Polygon
Mask an image to an arbitrary polygon region, zeroing out pixels outside the polygon while keeping the original image size.
PupilEnhance Image Using CLAHE
Apply Contrast Limited Adaptive Histogram Equalization to boost local contrast per-tile while capping noise amplification, ideal for unevenly lit images.
PupilEnhance Image Using Gamma Correction
Automatically corrects image brightness with a gamma value estimated from the image's own luminance statistics, with no manual tuning required.
PupilEnhance Image Using White Balance
Automatically correct color casts caused by lighting conditions so that neutral colors in a color image appear natural, with no manual tuning required.
PupilFilter Image Using Bilateral
Smooth noise out of an image while preserving edges by weighting neighboring pixels on both spatial distance and color similarity.
PupilFilter Image Using Blur
Apply a simple box blur that averages pixel values within a kernel for fast, uniform image smoothing when edge preservation is not required.
PupilFilter Image Using Box
Apply a normalized or unnormalized box filter to an image with configurable kernel size, normalization, and output bit depth.
PupilFilter Image Using Frangi
Apply the Frangi multi-scale vesselness filter to enhance tubular structures such as vessels, wires, scratches, or cracks.
PupilFilter Image Using Gabor
Apply an oriented Gabor kernel to detect textures and features at a specific orientation, scale, and wavelength.
PupilFilter Image Using Gaussian Blur
Smooth an image and reduce noise with a Gaussian-weighted blur kernel, with configurable kernel size and per-axis standard deviation.
PupilFilter Image Using Hessian
Apply a Hessian eigenvalue-based vesselness filter to detect tubular structures, a faster alternative to the Frangi filter.

