Spaces:
Paused
Paused
A newer version of the Gradio SDK is available:
5.35.0
Line Art Standard
Line Art Standard was copied from the comfyui_controlnet_aux repository. This preprocessor applies a Gaussian blur to the image to reduce noise and detail, then calculates the intensity difference between the blurred and original images to highlight edges.
Usage
from image_gen_aux import LineArtStandardPreprocessor
from image_gen_aux.utils import load_image
input_image = load_image(
"https://huggingface.co/datasets/OzzyGT/testing-resources/resolve/main/simple_upscale/hippowaffle.png"
)
lineart_standard_preprocessor = LineArtStandardPreprocessor()
image = lineart_standard_preprocessor(input_image)[0]
image.save("lineart_standard.png")