cjf8899 / Barcode-Detection-and-Recognition

:camera:Barcode Detection + Recognition Zbar

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Barcode Detection with Computer vision
+ Multiple Recognition using Zbar

바코드의 특성을 활용하여 영상처리 및 OpenCV를 바탕으로 카메라로 통해 들어오는 영상에서의 바코드 영역들을
탐지한다. 또한, 오픈라이브러리인 Zbar를 사용하여 탐지된 바코드 영역들을 다중으로 인식한다.

Demo

memoryblock

Barcode Detection Algorithm

바코드를 디텍션 하기위해 아래 이미지와 같은 영상처리기법들을 사용하였다.

memoryblock

Barcode Enhancement

딥러닝 기반의 합성곱신경망(CNN)인 SR(Super resolution)을 활용한 Deblurring을 통하여 손 떨림 등과 같은 현실에서 발생할 수 있는 노이즈를 제거한다.

memoryblock

super resolution architecture

memoryblock

memoryblock

SR before(↑) & after(↓)

Crop & Multiple Recognition using Zbar

오픈 라이브러리 Zbar를 사용하여 앞서 시행한 전처리를 통해 얻은 바코드 영역을 다중으로 인식한다.

memoryblockmemoryblock

only zbar result, detection + zbar result

Development Environment

  • C++
  • OpenCV 4.4.0
  • Zbar 0.2.3
  • Ubunto 16.04
  • Webcam

About

:camera:Barcode Detection + Recognition Zbar