CV4

NoteCount Pro v4.0 (OpenCV)

OpenCV Canny + HoughLinesP Active

Gaussian Blur • Canny Hysteresis • Probabilistic Hough Transform (`HoughLinesP`) • Sheet-Boundary Pairing

OpenCV Test Presets:
OpenCV Detected Banknotes Exact Match
3 / 3 target

Zero false notes in empty gaps

HoughLinesP & Sheet Angle Angle: 14.0°
12.4 px sheet thickness

Resolution: 1100×440 px

Paired Canny Edge Strips 0 Flagged
0 suspect stuck pairs

Leading (+) & Trailing (-) Canny edges paired

Calculated Bundle Value
Denom:
$300

Bundle value matches target

OpenCV Canny + Probabilistic Hough Transform (`HoughLinesP`) Inspector

Pairs each sheet's Leading Canny Edge (Dark→Bright) with its Trailing Canny Edge (Bright→Dark) so empty spaces between notes are never counted.

Detected Hough Sheet Line Draggable ROI Spine (A → M → B) Stuck Pair Anomaly Manual Pin

OpenCV Canny Edge Pairs & Sheet Luminance Profile (Along A → M → B)

Each banknote is verified only where a Rising Canny Edge (+) and Falling Canny Edge (-) enclose an actual bright sheet above the absolute hysteresis floor. Empty spaces stay flat at zero.

Canny + HoughLinesP

OpenCV Canny & Hough Parameters

3 notes
0.50 (Low: 25 / High: 60)
High Threshold (Rejects Noise) Low Threshold (Faint Edges)
3.0 px

Merges double Canny edges inside a single thick banknote so 1 note is never counted twice.

7 bands

Requires each detected edge to form a true sheet line across multiple bands, rejecting random specks.

Thickness Anomaly Audit Queue

0 items

In large bundles (>15 notes), if two banknotes stick together without a Canny edge between them, the wide gap (>1.65x median pitch) is flagged here: