{
  "name": "patch",
  "description": "Embroidered patches, fabric cutting",
  "preprocessing": {
    "denoise_d": 9,
    "denoise_sigma_color": 75.0,
    "denoise_sigma_space": 75.0,
    "clahe_clip_limit": 2.0,
    "clahe_tile_grid_size": [8, 8],
    "threshold_manual": null,
    "edge_detect": false,
    "morph_kernel_size": 3,
    "morph_dilate_iterations": 1,
    "morph_erode_iterations": 1
  },
  "vectorization": {
    "mode": "potrace",
    "potrace": {
      "turdsize": 4,
      "alphamax": 1.3,
      "opticurve": true,
      "opttolerance": 0.15
    },
    "vtracer": {
      "colormode": "binary",
      "hierarchical": "stacked",
      "filter_speckle": 8,
      "corner_threshold": 45,
      "length_threshold": 4.0,
      "splice_threshold": 45,
      "mode": "spline"
    }
  },
  "postprocessing": {
    "epsilon": 1.0,
    "close_tolerance": 1.5,
    "auto_close": true
  }
}
