Robot guidance & feeding

Part positioning: locate the cause of pick offset

Separate image-center drift, coordinate transformations and robot/tool error before correcting an apparent vision-guided pick offset.

Send samples for engineering review
Part positioning: locate the cause of pick offset
Engineering illustration, not a photograph or measured result.

Inspection task

An offset at the gripper is not automatically an image localization error. Freeze the failed capture and inspect the target center in original pixels first. If it matches the independent image mark, investigate the downstream coordinate transform, camera mounting and tool reference. Do not tune segmentation to hide a robot calibration problem.

Prerequisites and sample controls

Declare whether the task is a pixel-position check or a calibrated motion command. The simple fixed-station baseline checks the horizontal center of one separated dark target. It does not certify vertical position, rotation, height or a robot pick. Prepare one visible target, no target and multiple targets; preserve the original coordinate origin and independently annotated centers.

Choose the camera route

Use a fixed area-scan camera for a stable plane and observable feature. A global-shutter route helps when the part still moves during capture. If height or overlap affects the pickup point, evaluate a verified depth route instead of treating a 2D center as a 3D pose. Camera-to-robot transformation and tool calibration are separate from image localization.

Run the controlled procedure

Freeze a copy of the failing workflow and retain the original failed image before testing a correction. Reproduce the symptom on saved data first, then determine whether it follows the part, illumination, acquisition or software state. A changed final answer is insufficient: the relevant intermediate evidence must improve for the expected physical reason. Do not erase the initial failure after a successful rerun.

  1. Replay the failed image and verify its original center.
  2. Compare crop offsets and axis directions with the stored map.
  3. Inspect fixed-part center stability across lighting changes.
  4. Only after localization is stable, test the approved robot mapping safely.

Process map

Trace error from original center through coordinate map to physical tool point, testing each boundary independently.

  1. Original failure
  2. One change
  3. Replay controls
  4. Residual risk
Engineering illustration, not a photograph or measured result.
View full-size diagram

Record the evidence

Record image-center error and physical pick error in separate units. Preserve the original map and one changed setting per trial. A pixel residual cannot be added directly to a millimeter tool offset.

Start the offset investigation with a boundary-by-boundary record. Keep the original frame and independently marked image datum, then save the reported image center before any conversion. Record the mapped machine point separately and identify the exact transform used. Finally record the physical tool point with its independent measurement method. Compare each transition without mixing units. If the image datum disagrees with the reported center, the locator or its visible evidence is implicated. If the original center agrees but the mapped point does not, investigate coordinates or calibration. If both agree yet the physical tool misses, investigate tool reference, robot motion or the physical presentation. This sequence keeps a downstream mechanical problem from being compensated by a distorted image threshold.

Illustrative recording sheet; enter your own results
ControlRequired observationDecision boundary
X32: one visible targetIllustrative original-image center x = 32 pxExample window: 28–35 px; not a robot tolerance
X26: one visible targetIllustrative original-image center x = 26 pxOutside the example horizontal window
M: multiple or hidden targetsNo unique observable target centerReview; no motion command inferred

Diagnose failed cases

A shadow changes the mask, a crop error changes coordinates and a tool change alters the physical pickup point. Each can appear as the same visible miss. Multiple targets or a stale frame invalidate localization before any compensation.

Failure isolation

Compare mask bias, coordinate-map error and tool error; do not use a single arbitrary offset to conceal all three.

  1. Mask bias
  2. Map error
  3. Tool error
  4. Stale frame
Engineering illustration, not a photograph or measured result.
View full-size diagram

Validate independently

Alter one suspected cause per trial and replay all previously failing controls. Keep image IDs, parameter differences, ROI and runtime identity in the log. If the result changes without a corresponding change in the expected intermediate observation, investigate timing or provenance. Inconclusive frames should remain explicit review cases instead of being removed to make a comparison look better.

Verify the corrected cause with independent image marks and a separately approved physical test. Keep y, angle and height outside this simple horizontal baseline unless another verified workflow supplies them.

Run fixed-input and fixed-part tests before an authorized motion test. Replay the same image to check deterministic image coordinates, then capture a physically fixed target across the suspect lighting or acquisition states. Retain all frame identities so a stale input can be distinguished from a stable locator. Check whether the error follows field position, part height, orientation or the tool configuration, changing only one condition at a time. Do not move the robot merely to make a diagnostic overlay appear centered. Any physical test must follow the local safe commissioning process with a verified transform and controlled target. After correction, replay the original offset case and a withheld image case, then verify the physical target independently if motion is part of the project. Record unresolved height, angle or multiple-target limitations and keep them out of an approved pickup command.

Continue the engineering handoff

Send the original failure, corrected result, parameter difference and remaining boundary cases to Deyi Vision for review. Verify corrections on the live installation only after saved-image isolation succeeds. A correction demonstrated on one file is not evidence of physical-camera reliability, robot calibration or production acceptance.

Save the original image and the resulting record together.

Sources and technical references

These references explain the methods and limits used in this tutorial. Example checks are guidance; production acceptance requires evidence from your own samples.

  1. Visual inspection system design checklistDeyi Vision

    Define sample decisions, station constraints and measurable acceptance before hardware selection.

    Checked
  2. Morphological transformationsOpenCV

    Erosion and dilation alter binary regions; kernels can remove details or join regions.

    Checked
  3. 2D and 3D machine vision selectionDeyi Vision

    Image contrast and calibrated depth answer different inspection questions.

    Checked

Engineering review

Bring the inspection problem and the evidence.

Send sample images, your current setup and the check that failed. Include field of view, working distance, line speed and acceptance criteria for a practical review.

Send samples for engineering review
Contact

Direct RFQ contact

Talk to engineering about the inspection problem.

Send sample images, competitor model, FOV, working distance and line speed before model selection.

Target: selection brief within 24h
Send sample images