{
  "schemaVersion": "1.0",
  "item": {
    "slug": "geometric-hull-calculator",
    "name": "Pywayne Cv Geometric Hull Calculator",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/wangyendt/geometric-hull-calculator",
    "canonicalUrl": "https://clawhub.ai/wangyendt/geometric-hull-calculator",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/geometric-hull-calculator",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=geometric-hull-calculator",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/geometric-hull-calculator"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/geometric-hull-calculator",
    "agentPageUrl": "https://openagent3.xyz/skills/geometric-hull-calculator/agent",
    "manifestUrl": "https://openagent3.xyz/skills/geometric-hull-calculator/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/geometric-hull-calculator/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Pywayne Geometric Hull Calculator",
        "body": "This module computes geometric hulls (convex and concave) for 2D point sets."
      },
      {
        "title": "Quick Start",
        "body": "from pywayne.cv.geometric_hull_calculator import GeometricHullCalculator\nimport numpy as np\n\n# Create calculator with random points\npoints = GeometricHullCalculator.generate_random_points(num_points=50)\ncalculator = GeometricHullCalculator(points, algorithm='concave-hull')\n\n# Get results\nprint(f\"MBR: {calculator.get_mbr()}\")\nprint(f\"Convex Hull: {calculator.get_convex_hull()}\")\nprint(f\"Concave Hull: {calculator.get_concave_hull()}\")\n\n# Visualize with matplotlib\ncalculator.visualize_matplotlib()"
      },
      {
        "title": "Initialization",
        "body": "# algorithm options: 'concave-hull' or 'alphashape'\n# use_filtered_pts: Enable point filtering based on radius\ncalculator = GeometricHullCalculator(\n    points=your_points,\n    algorithm='alphashape',\n    use_filtered_pts=True\n)"
      },
      {
        "title": "Supported Algorithms",
        "body": "AlgorithmDescriptionconcave-hullConcave hull using concave_hull libraryalphashapeConcave hull using alphashape library"
      },
      {
        "title": "Hull Types",
        "body": "TypeMethodDescriptionConvex Hullget_convex_hull()Outer hull containing all pointsConcave Hullget_concave_hull()Inner concave boundary"
      },
      {
        "title": "Properties",
        "body": "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"
      },
      {
        "title": "OpenCV Visualization",
        "body": "calculator.visualize_opencv()\n\nDisplays: All input points, MBR, center, filter circle (if enabled), concave hull (green), convex hull (red)."
      },
      {
        "title": "Matplotlib Visualization",
        "body": "calculator.visualize_matplotlib()\n\nDisplays: All input points (red), MBR (blue), center, filter radius circle (if enabled), concave hull (orange), convex hull (purple)."
      },
      {
        "title": "Requirements",
        "body": "numpy - Array operations\ncv2 (OpenCV) - For OpenCV visualization and MBR computation\nmatplotlib - For matplotlib visualization\nscipy - For convex hull computation\nconcave_hull - Concave hull algorithm\nalphashape - Alphashape algorithm\nshapely - Polygon operations for area calculation"
      },
      {
        "title": "Notes",
        "body": "Point filtering uses radius = 30% of shorter MBR edge length\nMBR computed using OpenCV's minAreaRect\nConvex hull uses scipy's ConvexHull\nSupports both single Polygon and MultiPolygon from alphashape results"
      }
    ],
    "body": "Pywayne Geometric Hull Calculator\n\nThis module computes geometric hulls (convex and concave) for 2D point sets.\n\nQuick Start\nfrom pywayne.cv.geometric_hull_calculator import GeometricHullCalculator\nimport numpy as np\n\n# Create calculator with random points\npoints = GeometricHullCalculator.generate_random_points(num_points=50)\ncalculator = GeometricHullCalculator(points, algorithm='concave-hull')\n\n# Get results\nprint(f\"MBR: {calculator.get_mbr()}\")\nprint(f\"Convex Hull: {calculator.get_convex_hull()}\")\nprint(f\"Concave Hull: {calculator.get_concave_hull()}\")\n\n# Visualize with matplotlib\ncalculator.visualize_matplotlib()\n\nInitialization\n# algorithm options: 'concave-hull' or 'alphashape'\n# use_filtered_pts: Enable point filtering based on radius\ncalculator = GeometricHullCalculator(\n    points=your_points,\n    algorithm='alphashape',\n    use_filtered_pts=True\n)\n\nSupported Algorithms\nAlgorithm\tDescription\nconcave-hull\tConcave hull using concave_hull library\nalphashape\tConcave hull using alphashape library\nHull Types\nType\tMethod\tDescription\nConvex Hull\tget_convex_hull()\tOuter hull containing all points\nConcave Hull\tget_concave_hull()\tInner concave boundary\nProperties\nProperty\tDescription\npoints\tInput 2D points (N×2 numpy array)\nalgorithm\tAlgorithm used for concave hull\nuse_filtered_pts\tWhether filtered points were used\nbox\tMinimum Bounding Rectangle corners\ncenter\tCenter point of input points\nfilter_radius\tRadius used for point filtering\nconcave_hull_result\tConcave hull points or polygons\nVisualization\nOpenCV Visualization\ncalculator.visualize_opencv()\n\n\nDisplays: All input points, MBR, center, filter circle (if enabled), concave hull (green), convex hull (red).\n\nMatplotlib Visualization\ncalculator.visualize_matplotlib()\n\n\nDisplays: All input points (red), MBR (blue), center, filter radius circle (if enabled), concave hull (orange), convex hull (purple).\n\nRequirements\nnumpy - Array operations\ncv2 (OpenCV) - For OpenCV visualization and MBR computation\nmatplotlib - For matplotlib visualization\nscipy - For convex hull computation\nconcave_hull - Concave hull algorithm\nalphashape - Alphashape algorithm\nshapely - Polygon operations for area calculation\nNotes\nPoint filtering uses radius = 30% of shorter MBR edge length\nMBR computed using OpenCV's minAreaRect\nConvex hull uses scipy's ConvexHull\nSupports both single Polygon and MultiPolygon from alphashape results"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/wangyendt/geometric-hull-calculator",
    "publisherUrl": "https://clawhub.ai/wangyendt/geometric-hull-calculator",
    "owner": "wangyendt",
    "version": "0.1.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/geometric-hull-calculator",
    "downloadUrl": "https://openagent3.xyz/downloads/geometric-hull-calculator",
    "agentUrl": "https://openagent3.xyz/skills/geometric-hull-calculator/agent",
    "manifestUrl": "https://openagent3.xyz/skills/geometric-hull-calculator/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/geometric-hull-calculator/agent.md"
  }
}