added getscanner method in zbarfragmet