QR Detection basic working