Slide a red block across the table. It's still red, but the robot has to reach somewhere else. On August 19, 2022, Elephant Robotics published a tabletop teaching project on Hackster. The maker describes its myCobot 280 M5, paired with the original AI Kit, picking up colored blocks one at a time and putting them in programmed bins by color. That's the write-up date, not a launch or filming date. The maker didn't name the operator or disclose the exact location.

A camera mounted separately from the arm looks down at a fixed workspace. OpenCV looks for areas within the selected color ranges and finds a candidate block's center in the image. Two reference markers establish a workspace origin for the image offsets and a scale, letting the software express the block's tabletop position relative to the arm's base. That tells the arm where to reach. The block's color separately chooses the bin.

A red block moves across the table: same color, different pickup position

Figure 1. The red block's destination hasn't changed, but its pickup location has. Original BotsTest illustration, not maker footage.

A point in a picture isn't yet a point the arm can reach

The color filter makes candidate regions stand out so the program can find their centers. But an image coordinate just says where the block appears in the picture. Treating pixels as physical distance would be like measuring a route on a map with no scale: a point on the map is useful only if you can place it in the world.

Flow from the fixed camera to the image center, pickup and sorting bin

Figure 2. Locate the center in the image, convert it to a tabletop position, pick up the block and place it by color. Simplified workflow.

How two marks give the picture a scale

In this fixed layout, two ArUco markers a known distance apart give the system a reference. The distance between them in pixels, compared with their physical spacing, gives the scale. The software measures how far and in which direction the block appears from the reference center. With the preset relationship between the tabletop and the arm's base, that offset becomes two position coordinates the arm can use. Move the block and its coordinates change. Leave it red and the bin stays the same.

Two reference markers set a position and a scale; a separate point marks the block center

Figure 3. Establish the reference and scale first, then measure the offset to the block's center. Positions and distances are illustrative.

What if the camera moves?

Don't assume the old conversion still works. Move or tilt the camera and a pixel can point to a different spot on the table; the new setup needs its calibration checked. This example explains how to locate a pickup point on a fixed plane. It doesn't show how to reconstruct arbitrary three-dimensional objects or establish a picking success rate. The sorting outcome is described by the maker, not independently tested by BotsTest.

Text diagram distinguishing a fixed tabletop example from unsupported arbitrary 3D positioning

Figure 4. Mapping positions on a fixed tabletop is different from locating objects in an arbitrary 3D scene.

The useful distinction: coordinates give the pickup address; color gives the delivery address.

Sources

Illustrations and corrections: All illustrations are original BotsTest diagrams, not site photos or test data. For factual, rights or attribution concerns, contact BotsTest so we can check and correct the record.

Turn the shortlist into a decision

Write down the task, operating conditions, success criteria and total ownership costs. Ask shortlisted suppliers to demonstrate your representative task, including failure recovery. Use the same acceptance test for each candidate.

Explore the full robotics directory →