This is what I have so far... can't figure out how to read image from buffer vs file?
import pyqrcode
import io
from cv2 import cv2
qr = pyqrcode.create("Hello")
buffer = io.BytesIO()
qr.svg(buffer)
# image = cv2.imread(path) // How to read image from buffer instead?
cv2.imshow('Image', image)
cv2.waitKey(0)
cv2.destroyAllWindows()