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.
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
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 statusRead profile-tuning.md when:
Adjust these fields first:
search_roi_normbright_thresholdfiltersreference_component_bbox_normpolygon_points_in_bbox_norm共 1 个版本