RoboGeeks

Can't Read 2D Codes? Reading Principles and Two Points to Check | KEYENCE

Keyence · Uploaded · 5:33 · Watch on YouTube

Keyence walks through the principles of reading 2D codes on production lines, where codes are often marked directly on parts. It covers the three marking-quality elements to check (contrast, position patterns, and square cells) and how a code reader separates image acquisition from decoding.

Transcript

Captions as a .vtt fileEmbed with the transcript

  1. 0:01A 2D code looks simple to read, so why can't your code reader read it?
  2. 0:06This is the Keyence Technical Guide, The Guide to Read When You Can't Read 2D Codes, Volume 1.
  3. 0:13In about six minutes, what reading 2D codes means and the two points to check.
  4. 0:19What does reading 2D codes mean?
  5. 0:22Reading 2D codes is now commonplace in daily life, such as paying via QR code or boarding a train or plane.
  6. 0:29But on production sites, 2D codes cause a variety of problems.
  7. 0:34An act that appears simple at a glance is actually very difficult to implement.
  8. 0:39Here are examples of 2D codes marked directly on materials.
  9. 0:43A flexible PCB, a steel medical accessory, an automotive motor, a PE bottle, a lead frame, an ECU PCB, an in-vehicle resin part and a carbide tool.
  10. 0:56The majority of problems when reading 2D codes are caused by codes marked directly on materials.
  11. 1:03There is an international standard for marking quality, and problems can be eliminated by using it to perform correct marking.
  12. 1:10Its main points are summarized in a separate Keyence document, the Barcode, Two-Dimensional Code Verification Guidebook.
  13. 1:18It is necessary to think about two points when reading 2D codes.
  14. 1:23Point one, is the target a correct 2D code?
  15. 1:26The guide shows examples such as missing dots, missing fixed patterns, misaligned dots, gradation, insufficient margins, uneven marking and scratches.
  16. 1:37Point two, can you master the code reader being used?
  17. 1:40Here, the guide shows installation distance, angle adjustment and lighting optimization.
  18. 1:47Point one, what exactly are correct 2D codes?
  19. 1:51A 2D code first fulfills its role when it is read, so the important point is how easy it is to read.
  20. 1:57However, at production sites, codes marked directly on materials, called direct part marking or DPM, sometimes cannot be read.
  21. 2:07ISO, IEC, TR29158 is the marking verification standard for DPM excluding overall judgment.
  22. 2:16There are 12 evaluation items, such as decode, cell contrast, fixed pattern damage and print growth.
  23. 2:24Three elements have a noted effect on reading.
  24. 2:27Contrast between white and black, the pattern that identifies the code position information, and cells that are close to square.
  25. 2:36Element one, whether there is contrast between white and black.
  26. 2:40Without sufficient contrast during marking, it may not be possible to read the code.
  27. 2:45In this example of marking with laser markers, slight tilting during conveyance shifts the focal distance, and uneven marking occurs.
  28. 2:53With no shifts, the marking is uniform.
  29. 2:56The histograms of light intensity compare the two.
  30. 3:00Element two, whether the pattern that identifies the code position information is accurate.
  31. 3:06Reading is not possible if this part is damaged.
  32. 3:09In a data matrix code, the data area is surrounded by an L-shaped alignment pattern
  33. 3:14and a dotted clock pattern.
  34. 3:16Code readers capture these patterns to determine the position of the code, so data matrix codes can be read from any direction.
  35. 3:24Element three, whether the cells are close to square.
  36. 3:27On the right, the black and white parts are close to square.
  37. 3:31On the left, unstable marking left the black parts off the lines, so the white parts cannot be called square.
  38. 3:37Point two, what is the principle of reading 2D codes?
  39. 3:42With the lighting turned on, the code reader acquires an image and recognizes the difference in reflected light intensity.
  40. 3:49Low from the black code, and high from the white background.
  41. 3:54Reading is easier to understand when separated into two actions.
  42. 3:58One, image acquisition, creating a binary image with contrast between white and black.
  43. 4:04Two, decoding, searching for the 2D code, correcting items such as cell ratio, and then recognizing it as a 2D code.
  44. 4:13In image acquisition, if glare occurs, it must be removed, because it can make it impossible to obtain contrast.
  45. 4:21With this black resin cylinder, the result is an error without a polarizing filter, and OK with a polarizing filter.
  46. 4:30In decoding, if the installation distance and angle are suitable, reading success will be determined by the code reader's search and correction functions.
  47. 4:40In search processing, even if another pattern looks like a code, the image is binarized and only the 2D code is searched for immediately.
  48. 4:48Correction processing automatically selects the best filter and filtering intensity.
  49. 4:55To summarize, when you can't read 2D codes, check two points.
  50. 4:59Point one, is the 2D code correct? Check the three elements, contrast, position pattern, and close to square.
  51. 5:06Point two, have you mastered the code reader? Separate reading into two actions, image acquisition and decoding.
  52. 5:13This way of thinking can help implement appropriate countermeasures.
  53. 5:18For full details, see the Keyence Technical Guide, The Guide to Read When You Can't Read 2D Codes, Volume 1.
  54. 5:25The technical guide link is in the description below.
Embed this video with its transcript

Paste this into your page. The frame holds the player and the transcript; the link below it says where the transcript comes from.

Discussion

You pick a name in the next step. Already a member? Log in.

A mail when somebody comments. No account needed.

The newsletter

Get our free newsletter with new robots, prices and robotics news.