Used simple and robust computer vision techniques to detect Barcode in a video/image.
Displays image at different stages of the algorithm application which will help in debugging.
Used simple assumption: a)Bar code has more dominant horizontal edges as compared to vertical edge.
Inspired by pyimagesearch: https://www.pyimagesearch.com/2014/12/15/real-time-barcode-detection-video-python-opencv/