Skip to main content
Solution library
Orientation & straightnessNo training needed · classical

Line / Seam Straightness Check

Grade a weld seam, rolled edge or fabric warp against its expected orientation — flag frames that drift off-angle.

Synthetic demo frame, generated on your device. Swap in your own photos.

How it works

  1. 1Local FolderSources
  2. 2GrayscalePreprocessing
  3. 3Dominant Angle (Radon)Feature Extraction
  4. 4ExpressionVision Tasks
  5. 5GateVision Tasks
  6. 6Results ExportDeploy / Export

Dominant Angle (Radon) sweeps the whole frame for its strongest linear direction and publishes it as a measurement (degrees from horizontal) plus an anisotropy strength — no ROI placement needed. The Expression rule below first requires a real line signal (anisotropy of at least 0.5 — a blank, flat or directionless frame has none, so it FAILS instead of passing as "horizontal"), then grades the angle's distance from horizontal, measured around the 180° wrap so -2° and +2° are treated alike, against ±3° (edit the constants for your expected orientation) into a real PASS/FAIL, which the gate reads: it opens on FAIL so only drifted or signal-less frames reach Export. This template grades the frame's overall ORIENTATION only; it does not measure how far the seam deviates from a straight line. Note: Line Segments (fast) (ft-elsed) finds individual straight segments and is also gate/expression-gradeable (segment_count, segment_max_length_px, segment_dominant_angle_deg) — this template grades on the whole-frame Radon reading instead because it needs no ROI/segment-picking at all; swap in ft-elsed when you want to grade one specific seam/edge segment rather than the frame's overall orientation.

The deploy story

Every block in this pipeline exports and runs off-platform as-is — a self-contained portable bundle, no browser required.

Where a pipeline exports, the package is self-contained (one zip for every platform, with a compose.yaml for Docker), can write results to MQTT, Modbus-TCP and OPC-UA (MQTT and OPC-UA need a one-time npm install), can check itself against a stored test result when it starts (select Self-test), and sends no request to us. A model kit (Python scripts) carries the model and a runner only.

Every block here is a real, editable node — open it on the canvas and make it yours.

Open in Studio