A barcode is series of alternating black and white bars that encodes information in the relative thickness of the bars. There are two major types of electronic scanners in the market: laser and imaging scanners. The two limiting factors of both laser and imaging scanner accuracy are signal blur and low signal resolution. To solve the blurring problem, we present a deconvolution approach based on the minimization of the Total Variation (TV) norm. To approach the low resolution problem in imaging scanners, we discuss a projection that maps the pixels in a 2D image to a 1D signal.