Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Geometric hull calculator for 2D point sets supporting convex hull, concave hull (concave-hull, alphashape), and minimum bounding rectangle. Use when working...
Geometric hull calculator for 2D point sets supporting convex hull, concave hull (concave-hull, alphashape), and minimum bounding rectangle. Use when working...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
This module computes geometric hulls (convex and concave) for 2D point sets.
from pywayne.cv.geometric_hull_calculator import GeometricHullCalculator import numpy as np # Create calculator with random points points = GeometricHullCalculator.generate_random_points(num_points=50) calculator = GeometricHullCalculator(points, algorithm='concave-hull') # Get results print(f"MBR: {calculator.get_mbr()}") print(f"Convex Hull: {calculator.get_convex_hull()}") print(f"Concave Hull: {calculator.get_concave_hull()}") # Visualize with matplotlib calculator.visualize_matplotlib()
# algorithm options: 'concave-hull' or 'alphashape' # use_filtered_pts: Enable point filtering based on radius calculator = GeometricHullCalculator( points=your_points, algorithm='alphashape', use_filtered_pts=True )
AlgorithmDescriptionconcave-hullConcave hull using concave_hull libraryalphashapeConcave hull using alphashape library
TypeMethodDescriptionConvex Hullget_convex_hull()Outer hull containing all pointsConcave Hullget_concave_hull()Inner concave boundary
PropertyDescriptionpointsInput 2D points (NΓ2 numpy array)algorithmAlgorithm used for concave hulluse_filtered_ptsWhether filtered points were usedboxMinimum Bounding Rectangle cornerscenterCenter point of input pointsfilter_radiusRadius used for point filteringconcave_hull_resultConcave hull points or polygons
calculator.visualize_opencv() Displays: All input points, MBR, center, filter circle (if enabled), concave hull (green), convex hull (red).
calculator.visualize_matplotlib() Displays: All input points (red), MBR (blue), center, filter radius circle (if enabled), concave hull (orange), convex hull (purple).
numpy - Array operations cv2 (OpenCV) - For OpenCV visualization and MBR computation matplotlib - For matplotlib visualization scipy - For convex hull computation concave_hull - Concave hull algorithm alphashape - Alphashape algorithm shapely - Polygon operations for area calculation
Point filtering uses radius = 30% of shorter MBR edge length MBR computed using OpenCV's minAreaRect Convex hull uses scipy's ConvexHull Supports both single Polygon and MultiPolygon from alphashape results
Agent frameworks, memory systems, reasoning layers, and model-native orchestration.
Largest current source with strong distribution and engagement signals.