This is just a slight modification of the Google Vision sample code for scanning QR and barcodes. It copies the first detected code to clipboard and closes. Nothing more, nothing less.
这只是用于扫描QR和条形码的Google Vision示例代码的略微修改。它将第一个检测到的代码复制到剪贴板并关闭。没有更多,没有更少。