The engine room

The Hast Rekha Engine

Most palm apps say "AI" and show you a result. The Hast Rekha Engine shows its work instead — watch a reading get computed, stage by stage, including the parts that are approximate, stated plainly.

heart head life fate
Benham 1900 Cheiro Samudrika

1 / 6 ·

1 · Guided capture

An animated coach shows the posture: palm flat, fingers slightly spread, even light, no flash glare. You take up to 4 photos. Each is scored for sharpness and exposure; the best is picked automatically, and you're asked to retake if none pass.

2 · Enhancement pipeline

Your photo is converted to grayscale, highlights are compressed, shadows lifted, contrast adapted per-region (CLAHE), noise smoothed while preserving edges, and ridge structures enhanced with directional filters. You see a before/after slider — the work is visible.

3 · 21 landmarks, on your phone

An on-device model (MediaPipe Hand Landmarker, running fully in your browser) finds 21 hand joints. This orients the palm and defines where each line is anatomically expected. Your photo never leaves the device; there is no server to send it to.

4 · Line tracing

From the enhanced ridge map, the tracer follows the strongest continuous ridges starting from each line's expected zone: heart line across the upper palm, head line across the middle, life line arcing the thumb, fate line rising from the wrist. Every line gets a confidence score. Below 0.35, we report "not detected" instead of guessing.

5 · You verify

Traced lines are plotted over your photo as editable curves. Drag any point to correct them; mark any line "not visible". The reading is generated only from the lines you approve — this converts an approximate detection into a verified input.

6 · Classical reading

A deterministic rules engine maps each verified line's measured features — length, depth, curvature, breaks, branches, forks, termination — to interpretations summarized from classical palmistry texts (Benham 1900, Cheiro, Samudrika Shastra, Chinese palmistry), cited on every result. Same lines, same reading, every time.

What we claim — and don't

We claim

Your photo stays on your device. You see and correct every detected line. Readings faithfully summarize named classical sources. Confidence scores are shown, not hidden.

We don't claim

Perfect line detection — it's approximate and we say so. Scientific validity for palmistry — it's a traditional art of reflection. Predictions about your future — we describe traditional associations only.

Try the engine — scan your palm