Poor 2D edge detection

Problem

The results of machine vision algorithms that utilize 2D edge detection, e.g. 2D template matching and barcode scanning, are poor with Zivid 2 cameras.

Causes

The resolution of Zivid 2 cameras is 2.3 MP, which can be too low for 2D template matching, barcode scanning, and other machine vision algorithms that depend on good 2D edges. In addition, the demosaicing algorithm used with these cameras may leave image artifacts including RGB aliasing, erroneous interpolation direction and zipper effects.

Possible Solution

Replace your Zivid 2 camera with a Zivid 2+ camera. Zivid 2+ cameras have a 5MP image sensor, which means that more pixels are used to describe an image feature such as an edge. In addition, the demosaicing algorithm that Zivid 2+ cameras utilize is better than the one used with Zivid 2 cameras.

The figures below are from a 2D image taken with different Zivid cameras: Zivid 2+ M130 on the left side and Zivid 2 on the right side. In both cases, the 2D image is captured at a distance of 1.3 meters.

Barcodes

Zivid 2+로 촬영한 2D 이미지의 바코드 라인은 선명한 반면, 다른 카메라의 경우 주변 라인과 혼합되어 지퍼 효과가 강합니다. 숫자와 문자의 가독성도 Zivid 2+에서 더 좋습니다.

../_images/2d_comparison_m130_m70_barcodes.png

Text

Zivid 2+를 사용하면 텍스트가 더 읽기 쉽고 선이 더 선명하고 더 잘 보존됩니다.

../_images/2d_comparison_m130_m70_text.png

Patterns

Zivid 2+를 사용하면 색상 패턴과 선이 더 선명하고 더 잘 보존됩니다.

../_images/2d_comparison_m130_m70_patterns.png