中文
Node Documentation

Track dual-color bar

OtherConfigured target requireddual-color-bar.track

Track a narrow cursor relative to a wide target bar using column clusters in an explicit image region.

Example use

Detect the two-color bar in an image and use pointer position, target width and confidence for later control decisions.

Node preview

Right-drag to pan and scroll to zoom. Expand inputs and edit parameters to see how ports change. This preview does not run the node; reopening the page restores the example.

Loading node preview…

Data inputs 11

Source imageimageImage

Image to analyze.

RequiredDefault: None
Cursor colorinner-rangeColor range

RGB or HSV range for the narrow cursor.

RequiredDefault: None
Value format examples
{"maximum":[255,80,80],"minimum":[220,0,0],"space":"rgb"}
{"maximum":[75,100,100],"minimum":[45,30,60],"space":"hsv"}
Target colorouter-rangeColor range

RGB or HSV range for the wide target bar.

RequiredDefault: None
Value format examples
{"maximum":[255,80,80],"minimum":[220,0,0],"space":"rgb"}
{"maximum":[75,100,100],"minimum":[45,30,60],"space":"hsv"}
Tracking regionregionRegion

Ratio or pixel rectangle containing the two-color bar.

Default availableDefault: {"height":1,"unit":"ratio","width":1,"x":0,"y":0}
Value format examples
{"height":0.5,"unit":"ratio","width":0.5,"x":0.25,"y":0.25}
Minimum cursor widthinner-minimum-widthInteger

Minimum valid cursor cluster width in pixels.

Default availableDefault: 2
  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42
Maximum cursor widthinner-maximum-widthInteger

Maximum valid cursor cluster width in pixels; zero selects automatic sizing.

Default availableDefault: 0
  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42
Minimum target widthouter-minimum-widthInteger

Minimum valid target cluster width in pixels; zero selects automatic sizing.

Default availableDefault: 0
  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42
Band height ratioband-height-ratioNumber

Target scan-band height relative to the region.

Default availableDefault: 0.3
Cursor height ratioband-inner-height-ratioNumber

Target scan-band height relative to the cursor height.

Default availableDefault: 0.85
Cursor confidence weightinner-confidence-weightNumber

Cursor contribution to combined confidence.

Default availableDefault: 0.42
Target confidence weightouter-confidence-weightNumber

Target contribution to combined confidence.

Default availableDefault: 0.58

Data outputs 7

FoundfoundBoolean

Whether both cursor and target clusters are valid.

Cursor Xinner-xNumber

Cursor center X in source-image pixels.

Target Xouter-xNumber

Target center X in source-image pixels.

Target widthouter-widthNumber

Target cluster width in pixels.

ConfidenceconfidenceNumber

Combined detection confidence.

Cursor pixelsinner-pixelsInteger

Pixels matching the cursor range.

  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42
Target pixelsouter-pixelsInteger

Pixels matching the target range.

  • Minimum: -9007199254740991
  • Maximum: 9007199254740991
Value format examples
0
42
Version and node identity

Version 1.0.0

sha256:5c4a5144e1508fc53c7bf0d3457e2700a94ee748c1ac6df1ff67f2bb851c1fce