my version of ZBar,for learning.