/install crane-hook-annotation
Crane Hook Annotation
Use this skill when the user has many similar site-monitoring images and wants the crane hook outlined with a strict polygon rather than a loose box.
Workflow
- Confirm the images are from a similar viewpoint.
- Run annotate-crane-hooks.ps1 on one sample image first.
- Inspect the annotated output and the manifest JSON.
- If the hook is consistently shifted, edit default-monitoring-profile.json.
- Re-run the same script on the full directory once the sample looks right.
Quick Start
Run a sample image:
powershell -ExecutionPolicy Bypass -File .\skills\crane-hook-annotation\scripts\annotate-crane-hooks.ps1 `
-InputPath .\sample-image.jpg `
-OutputDir .\hook-batch-output `
-WriteDebugRoi
Run a directory:
powershell -ExecutionPolicy Bypass -File .\skills\crane-hook-annotation\scripts\annotate-crane-hooks.ps1 `
-InputPath .\incoming-images `
-OutputDir .\hook-batch-output `
-Recurse
Outputs
annotated/: annotated images with the strict hook polygon and labeldebug-roi/: optional ROI crops for inspectionmanifest.json: one record per image with component bbox, polygon points, and status
Tuning
Read profile-tuning.md when:
- the hook is detected but the outline is systematically shifted
- the hook search area is too narrow or too wide
- the user changes camera angle or image resolution
- a different site needs its own profile
Adjust these fields first:
search_roi_normbright_thresholdfiltersreference_component_bbox_normpolygon_points_in_bbox_norm
Notes
- The current default profile is calibrated from the accepted hook outline in this workspace.
- The script assumes a bright metal hook against a darker construction background.
- Batch execution is safest when images come from the same or a very similar camera setup.\r
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install crane-hook-annotation - After installation, invoke the skill by name or use
/crane-hook-annotation - Provide required inputs per the skill's parameter spec and get structured output
What is Crane Hook Annotation?
Detect and tightly annotate tower-crane hook outlines in similar construction-site monitoring images. Use when Codex needs to batch-process `.png`, `.jpg`, o... It is an AI Agent Skill for Claude Code / OpenClaw, with 101 downloads so far.
How do I install Crane Hook Annotation?
Run "/install crane-hook-annotation" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Crane Hook Annotation free?
Yes, Crane Hook Annotation is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Crane Hook Annotation support?
Crane Hook Annotation is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Crane Hook Annotation?
It is built and maintained by Genlk (@genlk); the current version is v1.0.0.