A barcode is a graphical representation of data that is generally used in automatic identification and tracking operations. It is made up of parallel lines, bars, and spaces that are of a variety of widths, which are symbols in a readable format machine. A barcode can be shot off by a barcode scanner or smartphone camera, which captures the bars and spaces of a code and interprets it to a machine-readable form. Information in this way can be on any item which could be a product, non-productive stocks or anything else such as serial numbers or a particular part number.Regarding the classification of barcodes types, a distinction is usually made between linear (1D) barcodes characterised by parallel lines of different widths and 2D barcodes that encode data along both the x and y axes, thus requiring less space to encode more data. Barcodes have become a universal tool across several industries such as retail, healthcare, logistics, manufacturing, and transportation due to their ability to enforce efficiency in operations, accuracy and productivity by means of automation that glues the process of data capture and tracking.