You can automatically read barcodes, including QR codes, EAN-13 and UPC-A 1D barcodes by using a simulated camera in RoboDK.
You can drag and drop barcode images in RoboDK and create a new simulated camera that points to your barcode.
You’ll find the example in the RoboDK Python API section: https://robodk.com/doc/en/PythonAPI/examples.html#qr-codes-and-barcodes