Spaces:
Runtime error
Runtime error
| INSTRUCTIONS_VECTORIZE_SIMPLIFY=''' | |
| <style> | |
| body { | |
| font-family: Arial, sans-serif; | |
| line-height: 1.6; | |
| margin: 20px; | |
| } | |
| ul { | |
| list-style-type: disc; | |
| margin-left: 20px; | |
| } | |
| </style> | |
| <body> | |
| <p>Step1: 上传一个需要矢量化的图片 Upload a image to vectorize</p> | |
| <p>Step2: 调整矢量化参数 Adjust the parameters</p> | |
| <ul> | |
| <li>使用 GPU 加速 (GPU Accelerate): 对于颜色复杂的图形, 建议使用GPU加速</li> | |
| <li>超分倍数 (Super Resolution Scale): suggested for small image 对于小图片, 可以选择 2-4 倍, 可提升矢量化效果</li> | |
| <li>简化矢量图 (Simplify SVG): reduce control points number 是否简化矢量图, 可减少控制点数量</li> | |
| <li>优化矢量图 (Optimize SVG): optimize svg to make it closer to input 是否优化矢量图, 可使得矢量图更接近原图,推荐配合cutout模式使用,可减少图形之间空隙</li> | |
| <li>小面积图形 (Small Speckles): remove small areas 是否移除小面积图形</li> | |
| <li>排序方法 (Sorting Method): sort shape in lightness or area 色块排序方式, 可以选择按亮度排序或者面积排序</li> | |
| <li>排序顺序 (Sorting Order): sort in ascend or descend 从大到小或者从小到大</li> | |
| <li>追踪模式 (Trace Mode): trace in cutout or overlap mode 路径追踪模式, 可以选择 Cutout 或者 Overlap。Cutout 模式图形没有重叠,Overlap 模式图形会根据排序方法和顺序进行重叠</li> | |
| </ul> | |
| <p>Step3: 点击转化矢量图 Press the button to vectorize</p> | |
| </body> | |
| ''' | |
| INSTRUCTIONS_T2V=''' | |
| <p>Step 1: Choose a vector style</p> | |
| <p>Step 2: Input Prompt | |
| <p>Step 3: Adjust the details levels of shape</p> | |
| <p>Step 4: Generate vectors</p> | |
| <p> More parameters can be found in Image Options and Vector Options</p> | |
| ''' |