One-dimensional barcode recognition technique based on halcon