ComfyUI_LayerStyle_Advance

LayerUtility: Decode QRCode(Advance)

节点功能:二维码解码器 - 从图像中提取二维码/条形码信息。


LayerUtility: Decode QRCode(Advance)-节点参数说明
输入参数
image要解码的图像输入,支持多个二维码图像批次。
输出参数
string返回从图像中提取的二维码文本(逐图像列表返回)。
控件参数
pre_blur解码前对图像进行高斯模糊的半径,0 表示不模糊。默认值为 2。

当把二维码变模糊后,pre_blur值越小,解码能力越强,下图中pre_blur为2时把内容解码出来了,pre_blur为3时解码失败。