The qr_gen application splits a text into chunks and generates qr codes , the scanner reads those qr codes and regenerates the text
In qr generation there are some prefix header qrs too that are sent and those are mandatory for actual text scan to begin
Videos for more details: