When i use the live locator example the output is an image , how to send the scanned barcode to a text field ?