中文说明:摘要:实现MATLAB对一维条形码(EAN13)的识别。利用电脑摄像头从视频中采集一维条形码图像数据,然后对图像进行预处理,包括灰度处理和几何校正,最终要获取图像的二值化数据。设置采样点对二值化图像进行采样,把采集的数据用矩阵储存,然后根据一维编码的编码规则设计出相应的MATLAB解码程序,最后把矩阵代人解码程序从而得到阿拉伯数字码。 关键词:MATLAB、一维条形码、电脑摄像头、图像处理
English Description:
Abstract: the realization of MATLAB for one-dimensional barcodes (EAN13) identification. Using PC camera one-dimension barcode image data collected from video, and then to preprocess the image, including gray-scale processing and geometric correction, finally gets the binary data of the image. Set the sampling point of binary image sampling, data collection matrix storage, based on one-dimension encoding encoding rules to design the corresponding MATLAB decoding process, last generation matrix decoding process to get the digit code. Keywords: MATLAB, linear barcodes, computer cameras, image processing