Super Resolution

# Create super-resolution object.
obj = cv2.dnn_superres.DnnSuperResImpl_create()

# Path to the model.
obj.readModel(modelPath)

# Specify the method (one of "fsrcnn", "espcn", "lapsrn", "edsr") and scale.
obj.setModel(method, scale)

# Perform Upsampling
obj.upsample(image)

References