Finding Boxes Of Known Size From Overhead Depth logo

Finding Boxes Of Known Size From Overhead Depth

Organization
runtime-si
finding-boxes-of-known-size-from-overhead-depth

Finds an open box, bin or tray whose outer size and rim height are already known in one overhead depth frame - takes the depth points in a band round the rim height, and slides the box's own outline (every 2 degrees of turn) over them in the plan view to where most of the outline is covered, so a rim seen in pieces, a box touching another, or a box beside something as tall (an arm resting on the table) is still placed where a blob or minimum-area-rectangle fit merges or mistakes it. Returns the box as an upright OrientedBoundingBox of the stated size, the share of the outline seen, and a flag when a nearly square box's turn may be a quarter out. Use when a container of measured size must be located from a fixed overhead RGB-D camera before picking from it or placing into it, with its size and rim height in hand and the hand out of the camera's view; call it once per box, passing the boxes already found as exclude_obbs. CPU only.

Overview

Publisherruntime-si
RepositoryRoboSkillHub
Skill namefinding-boxes-of-known-size-from-overhead-depth
Stars
242
Forks
27
Bundled files
2
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by runtime-si on GitHub. Read the source before you install it.

Installation

Install the Finding Boxes Of Known Size From Overhead Depth AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/runtime-si/RoboSkillHub/tree/main/skills/finding-boxes-of-known-size-from-overhead-depth
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/runtime-si/RoboSkillHub.git /tmp/RoboSkillHub
mkdir -p .claude/skills
cp -r /tmp/RoboSkillHub/skills/finding-boxes-of-known-size-from-overhead-depth .claude/skills/finding-boxes-of-known-size-from-overhead-depth
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Finding Boxes Of Known Size From Overhead Depth in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Finding Boxes Of Known Size From Overhead Depth on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Finding Boxes Of Known Size From Overhead Depth is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

finding-boxes-of-known-size-from-overhead-depth

Where is the box, when its size is already known? A fit that measures the box from what it sees (connected rim blobs, a minimum-area rectangle) goes wrong exactly when a station is busy: two boxes pushed together read as one, an arm lying beside the box is as tall as its rim, and a wall end-on to the camera leaves a gap in the rim. This skill does not measure the box. It places it.

How

  1. Rim band. The camera's depth is lifted to world points with the camera's pose; those from band_below (3 cm) under to band_above (2 cm) over rim_z are kept, inside roi and outside every exclude_obbs footprint grown by 2 cm.
  2. Outline slide. The points are binned on a 4 mm plan-view grid, grown one cell. For each turn of the box (2 degree steps over 180), the rectangle's outline, two cells thick, is correlated with the grid; the value at a cell is the share of the outline covered with the box centred there. The best cell and turn win.
  3. Answer. coverage at or over min_coverage is found. The box returned has the stated size (it is not re-measured), the fitted centre and turn, and stands from support_z to rim_z.

Inputs and frames

Everything is in the world frame of the camera's pose. size_long and size_short are the outer rim. rim_z and support_z are world heights; on a station whose world origin is not the table top, pass support_z.

Gotchas

  • Nearly square boxes. When the sides differ by under 20 %, the outline fits almost as well a quarter turn round; yaw_ambiguous is then true. On the station this came from, a 238 x 196 mm box read -38 and -54 degrees in two frames of one afternoon, and nobody established which was right.
  • Something of the same outline. The score is coverage only. Two boxes of the same size are not told apart; use roi or exclude_obbs.
  • The hand over the box hides the rim and adds points in the band. Move it out of the camera's view first.
  • Overhead-to-arm calibration. found is where the overhead camera puts the box. On the source station the wrist camera of the arm that had to reach it put the same box 2 to 7 cm away (arm pose error, not this fit, as far as could be told); four parts in a row were let go beside the box when the overhead position was used alone. Follow with locating-a-container-from-the-wrist-camera before anything is dropped.
  • A caller should still sanity-check the result against the last good one. The source task kept a fallback to the last fitted box for frames where the fit failed.

Constants, and what they were measured on

All from one YAM station (two i2rt YAM arms, one overhead depth camera over a kitchen counter, the median of 3 frames), two cardboard boxes, 449 x 262 mm with a 154 mm rim and 238 x 196 mm with a 66 mm rim, in that task's real runs of 2026-11-15, in two layouts (the boxes as first set out, and swapped).

  • CELL = 4 mm, YAW_STEP_DEG = 2: chosen, not swept.
  • BAND_BELOW / BAND_ABOVE = 3 cm / 2 cm: used for the tall box; the low box used 2 cm / 3 cm.
  • MIN_COVERAGE = 0.35, MIN_POINTS = 150: chosen, not swept.
  • NEAR_SQUARE = 0.20: from the one box above.

Evidence

What prompted it, on that station: a blob fit read two boxes pushed together as one 48 x 45 cm box and a 12 x 7 cm one (2026-11-14), and took an arm resting on the counter for the tall box (2026-11-15). The size-given fit replaced it for that task's remaining real runs. That is the whole of the evidence: a fallback to the last good fit stayed in place and how often it fired was not counted, and no ground-truth position was measured. Nothing here was run in a simulator suite. Maturity is community.

Required end states

  • found: container_obb, center (on the rim plane), yaw_deg, coverage.
  • not_found: nothing placed; detail gives the reason.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Finding Boxes Of Known Size From Overhead Depth AI skill do?

Finds an open box, bin or tray whose outer size and rim height are already known in one overhead depth frame - takes the depth points in a band round the rim height, and slides the box's own outline (every 2 degrees of turn) over them in the plan view to where most of the outline is covered, so a rim seen in pieces, a box touching another, or a box beside something as tall (an arm resting on the table) is still placed where a blob or minimum-area-rectangle fit merges or mistakes it. Returns the box as an upright OrientedBoundingBox of the stated size, the share of the outline seen, and a fl...

Why use Finding Boxes Of Known Size From Overhead Depth on TypingMind?

Because you install it once and use it with any model. Finding Boxes Of Known Size From Overhead Depth is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Finding Boxes Of Known Size From Overhead Depth in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/runtime-si/RoboSkillHub/tree/main/skills/finding-boxes-of-known-size-from-overhead-depth. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Finding Boxes Of Known Size From Overhead Depth?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Finding Boxes Of Known Size From Overhead Depth?

As many as you like. As long as a model supports skills, you can use Finding Boxes Of Known Size From Overhead Depth with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Finding Boxes Of Known Size From Overhead Depth AI skill free?

Yes. It is published on GitHub by runtime-si under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇