from pyzbar.pyzbar import decode
from PIL import Image
from io import BytesIO
import requests as req
def isQr(url):
response = req.get(url)
captcha = Image.open(BytesIO(response.content))
barcodes = decode(captcha)
return barcodes
Identify picture QR code url