Two-Stage Punch-Code Recognition Using a CNN and the Hough Transform

Several technologies are available for marking logs. One of the oldest wood tracking information systems still in use today is log punching. This is primarily required by log companies to trace log information such as ownership and usability. Automating the identification and decoding of such punch codes, using image processing and morphological tools, presents itself as a challenging problem. Typically these challenging conditions are caused by poor image quality, varying light conditions, and the similarity between the punch code symbols and the wood grain patterns. We aim to build a two-stage system with a Mask R-CNN-based code detector and Hough transform-based decoder to recognise and decode individual instances of punch codes. Each punch code on a log consists of two parts: several arrow symbols in different orientations and a reference bar symbol. Our detection model correctly segmented and identified all arrows in all the 76 images in our test set. However, it failed to find the reference bar in some images due to poor punching or ambiguity between the background wood grain patterns and the symbols, a critical feature in being able to decode the symbols. In stage 2, we used an approach based on the Hough transform line detection method to recognise the orientation of the arrows with respect to the reference bar. Our system correctly recognised the arrow direction with 87% accuracy in the segmented images.

Authors

Institutions

Publication Details

Published
2024-12-04
DOI
https://doi.org/10.1109/ivcnz64857.2024.10794469
Primary Topic
Image and Video Stabilization
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Two-Stage Punch-Code Recognition Using a CNN and the Hough Transform

Kapila Pahalawatta, Jaco Fourie
Image and Video Stabilization
article

Two-Stage Punch-Code Recognition Using a CNN and the Hough Transform

Kapila Pahalawatta, Jaco Fourie
article en

Abstract

Several technologies are available for marking logs. One of the oldest wood tracking information systems still in use today is log punching. This is primarily required by log companies to trace log information such as ownership and usability. Automating the identification and decoding of such punch codes, using image processing and morphological tools, presents itself as a challenging problem. Typically these challenging conditions are caused by poor image quality, varying light conditions, and the similarity between the punch code symbols and the wood grain patterns. We aim to build a two-stage system with a Mask R-CNN-based code detector and Hough transform-based decoder to recognise and decode individual instances of punch codes. Each punch code on a log consists of two parts: several arrow symbols in different orientations and a reference bar symbol. Our detection model correctly segmented and identified all arrows in all the 76 images in our test set. However, it failed to find the reference bar in some images due to poor punching or ambiguity between the background wood grain patterns and the symbols, a critical feature in being able to decode the symbols. In stage 2, we used an approach based on the Hough transform line detection method to recognise the orientation of the arrows with respect to the reference bar. Our system correctly recognised the arrow direction with 87% accuracy in the segmented images.

Lincoln Agritech (New Zealand) (NZ)
Openalex Percentile: Top 77%
Image and Video Stabilization
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.