
Sankey Diagram Editor
Make a picture of where things flow. Build and export diagrams in your browser.
One photo becomes a 3D relief, sliced into layers for a metal portrait.
From a frontal photograph to cutting patterns for a layered portrait — a topographic relief made from sheet metal, bonded by hand, layer by layer.
Faceslice turns a frontal photograph into cutting patterns for a layered relief in sheet metal or cardstock. Enter an interpupillary distance (IPD) in millimeters to set the scale. The result is a relief of the visible side of the head, not a scan of the whole head.
Faceslice combines three computer vision models to estimate the relief: segmentation traces the silhouette; monocular depth estimates broad volume; and facial landmarks add detail around the nose, eyes, and lips. The geometry is an estimate from a single image.
The relief is sliced into parallel planes at adjustable angles. Frontal slices nest inside one another, with engraved alignment guides. The tool can remove concealed interior material and export DXF cutting sheets. Check dimensions and cutting settings with the workshop before fabrication.
Vanilla JavaScript (ES Modules), responsive canvas and SVG contour rendering, real-time parametric sliders, and offline-capable PWA architecture.
The Python 3 engine uses MediaPipe, ONNX Runtime, NumPy, SciPy, and OpenCV. Its own geometry and DXF modules handle slicing and cutting sheets.
The source includes a Podman container recipe and local run instructions. CPU processing time depends on the image and machine. A public deployment needs HTTPS and a private administration endpoint.