原文地址:http://python.jobbole.com/80448/

假设我们要检测下图中的条形码:

# load the image and convert it to grayscale