# センターライン トレース（オンライン）

> 線画、手書き文字、細い線のロゴを開いてください。線の周りを囲む輪郭ではなく、線の中心を通る1本のパスが得られます。彫刻やスコア加工が速くなり、ペンプロッターやCricutのペンに必要な形式です。

Human page: https://unmakelabs.com/ja-jp/centerline-trace-online/. This is the version for AI agents.

## What it does

センターライン トレースで、線の真ん中に1本のパスを。 線画、手書き文字、細い線のロゴを開いてください。線の周りを囲む輪郭ではなく、線の中心を通る1本のパスが得られます。彫刻やスコア加工が速くなり、ペンプロッターやCricutのペンに必要な形式です。

## 輪郭線と中心線の違い

通常のトレースは線の外側をなぞるため、レーザーは1本の線を2周し、ペンでは二重線になります。中心線は各線の真ん中を通る1本の開いたパスで、もともと線が描かれた位置にあたります。

## 仕組み

黒い線を1ピクセル幅の骨格まで細線化し、線幅より短い小さな枝を取り除いたうえで、各枝をなめらかにして曲線に変換します。Oのような閉じた形は閉じたまま残ります。

## Facts

- **出力:** 開いた単線パス、青（スコア）
- **線幅:** 線幅を測定して表示
- **ファイル:** SVG、DXF（開いたポリライン）、PDF
- **適した画像:** 明るい背景に、太さが均一な濃い線

## How a person does it

1. **線画を開く.** 線画のスキャンや写真、またはPNG。「シングルライン」があらかじめ選択されています。
2. **線を確認する.** 変換前と変換後を比べます。曲線を落ち着かせたいときは「なめらかさ」を上げ、ほこりの多いスキャンには「ゴミ除去」を使います。
3. **ダウンロード.** LightBurn（スコアレイヤー）、Inkscape、プロッターにはSVG、CADにはDXFを使います。

## Open a file by link (works today)

The viewer runs in a browser. Any public file URL can be opened by adding `?src=` (URL-encoded): `https://unmakelabs.com/ja-jp/centerline-trace-online/?src=https://unmakelabs.com/apps/vectorize/samples/logo.png`. The host must allow cross-origin reads (GitHub raw, most object storage and CDNs do). A camera view can be added after `#`: `?src=<public picture URL>&size=<width in mm>&mode=laser|vinyl|cnc|line` (the picture must allow CORS; nothing else goes in the link).

Embed: `<iframe src="https://unmakelabs.com/embed/vectorize/?src=<url-encoded file URL>" width="100%" height="480" style="border:0"></iframe>`.

## Metadata and pictures as data (coming)

the traced paths as SVG (layer per colour, mm), DXF R12 (closed polylines per layer) and PDF, with the size, node count and the closed-path check (from the page today; an API copy of the same engine, vectorize_logo, is planned)

```
curl -s -X POST "https://y64b3d8qbc.execute-api.eu-central-1.amazonaws.com/v1/vectorize/jobs" -H "Content-Type: application/json" -d '{"file_url": "https://unmakelabs.com/apps/vectorize/samples/logo.png", "size_mm": 100, "mode": "laser"}'
```

## Good to know

太さが大きく異なる線、塗りつぶし部分、陰影には中心が1つに定まらないため、複数の線として出力されます。太さが均一なペン画が最も適しています。すべての中心線はチェックされ、自己交差するパスはありません。

## Not done by this tool

- 入力したテキストから単線フォントは作成しません
- 線幅は保持しません（すべてのパスが極細線になります）
- 領域をハッチングで塗りつぶしません
- 画像のアップロードや保存は行いません

## Value

Turns a logo, drawing or photo of a sign into clean vector paths in the browser, for lasers, vinyl cutters and CNC: finds the picture's flat colours (automatic or 1-8, blend-aware so anti-aliased edges never become extra colours), leaves the background out, removes specks, traces each colour with its holes, keeps corners sharp, fits smooth Béziers (or straight lines) with a smoothness slider, and scales the design to an exact width or height in mm or inches. Modes: Laser (each colour a filled engrave layer in LightBurn-distinct colours, a red hairline cut outline with kerf, optional border and cut holes), Cricut / vinyl (a layer per colour in its own colour), CNC (closed outlines per colour) and Single line (centre lines for scoring, engraving and pen plotters). Every path is checked closed and not crossing itself; parts thinner than the machine's smallest detail are ringed. Downloads: SVG (layer per colour, mm), DXF R12 (closed polylines per layer, mm) and PDF (layers as optional content). Before / after compare. Nothing is uploaded. Free, no sign-up.

## When it fits

- An Etsy laser seller turns a customer's PNG logo into an engrave + cut file for LightBurn or Glowforge at the ordered size.
- A sign maker turns a photo of an old sign or a low-resolution logo into a DXF for the router or plasma table, or an SVG for the vinyl plotter.
- A Cricut crafter turns a PNG into a multi-colour SVG on a phone, a layer per vinyl colour.
- A maker needs single-line paths from a line drawing for fast laser scoring or a pen plotter.

### When not

- Photos with gradients to engrave as a picture: use a greyscale engraving (our depth map / photo tools), not vectors.
- Signs photographed at an angle: straighten first with our photo-straightening tool.
- Redrawing a blurry logo by AI: this traces what is in the picture.

## Why use it instead of the alternatives

- Nothing to install: ?src=<public picture>&size=<mm>&mode=laser|vinyl|cnc|line opens a picture with the settings; embeddable at /embed/vectorize/.
- A server copy for agents (POST /v1/vectorize/jobs: SVG, DXF, PDF, size, nodes, closed-path check) is specified, not live.
- VTracer web demo (free, in the browser, MIT): similar shape match on our tests, slightly better on thin lines in small pictures; its SVG is in pixels with stacked colour layers, a background shape and many more nodes on JPGs and photos, so it needs scaling and cleaning before a laser or Cricut.
- vectorizer.ai (paid download, AI) and Illustrator / Inkscape Image Trace are strong general tracers; they don't make laser layers, kerf, true-size DXF or thin-part checks in one step.

### What rebuilding it would take

- Quantise colours robustly (flat-pixel peaks, k-means in Lab) and label edge pixels as blends of two colours.
- Clean specks and slivers, trace contours with holes, detect corners, smooth and fit Béziers with a tolerance; thin a mask to centre lines and prune spurs.
- Write true-size SVG with layers, R12 DXF with closed polylines, PDF with optional content, with kerf offset and program checks of every path.
- Plus an eval on public-domain vectors drawn at known geometry and a side-by-side run of the best free rival.

## Quality

No score published; the limits above say what it does not do. Check results that matter before you rely on them.

## Risk for the user

- Free and unlimited; no sign-up, no ads, no watermark.
- Pictures are traced on the user's device and never uploaded.

_Status: colours, tracing, laser / vinyl / CNC / single-line modes, kerf, checks and SVG/DXF/PDF exports work in the browser; the agent API is planned._

## Privacy

- Pictures are processed on the user's device and not uploaded; there is no share link for pictures.
- opencv.js downloads from this site's own server at a pinned version; the picture is never sent anywhere.

## Data

ブラウザ内で動作し、画像はお使いの端末から出ません。アップロードは一切ありません。

## FAQ

- **センターライン トレースとは何ですか？** 線の輪郭ではなく中心をなぞるトレースで、1本の線につき1本のパスになります。レーザーでは高速なスコア加工に、ペンプロッターやCricutのペンでは、ペンが1本のパスを必要とするために使われます。
- **輪郭線で出力することもできますか？** はい。設定の上部で「レーザー」「Cricut / カッティングシート」「CNC」に切り替えると、同じ画像を輪郭線でトレースできます。
- **手書き文字にも使えますか？** はい、文字が濃く、太さがある程度均一であれば使えます。スキャン画像か、まっすぐ正面から均一な明るさで撮った写真を使ってください。
- **本当に無料ですか？** はい。広告、登録、透かしはなく、サイズやダウンロード回数の制限もありません。
- **画像はアップロードされますか？** いいえ。画像はお使いの端末上、このページ内でトレースされます。アップロードも共有リンクもありません。
- **AIエージェントから使えますか？** エージェントは ?src= に公開画像を指定し、&size= にミリ単位のサイズ、&mode= に laser、vinyl、cnc、line のいずれかを付けてページを開けます。SVG、DXF、検証結果をデータとして返すAPIは予定段階で、まだ公開されていません。
- **運営者は？** Unmake Labs（Julien Salomon）。連絡先：hello@unmakelabs.com

## Related pages

- [画像をレーザー用SVGに変換](https://unmakelabs.com/ja-jp/image-to-svg-for-laser/)
- [ロゴ DXF 変換](https://unmakelabs.com/ja-jp/logo-to-dxf/)
- [PNGをCricut用SVGに変換](https://unmakelabs.com/ja-jp/png-to-svg-cricut/)
- [PNG SVG 変換ツール](https://unmakelabs.com/ja-jp/png-to-svg/)
