Dedicated to Cute Anime Girls.
Please refrain from using LiSSARA Core for any other purpose.
|
|
Upload an image. Let LiSSARA analyse its edges. Explore the resulting curves and their equations.
LiSSARA Core is intended to be distributed through Emtypyie.cli, the Emtypyie project manager.
Install Emtypyie.cli on Windows:
winget install emtypyie.cliAlternatively, install it through npm:
npm install -g emtypyie-cliThen install LiSSARA Core through the project manager:
emtypyie /get lissaraThe project package and setup script handle the application installation and its required runtime components. Once installed, launch LiSSARA Core using the installed application shortcut or the entry point provided by the package.
See the documentation for package-manager commands and updates.
For development or running directly from the repository:
git clone https://github.com/emtypyie/LiSSARA.git
cd LiSSARA
py -m venv .venv
.\.venv\Scripts\python.exe -m pip install --upgrade pip
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
.\.venv\Scripts\python.exe launch_gui.pyOpen LiSSARA Core and select Upload Image. You can choose an image file, drag and drop an image into the upload area, or paste an image from your clipboard.
Select Analyse Image to begin reconstruction.
When analysis finishes, LiSSARA plots the reconstructed curves on its interactive Cartesian graph.
Use the graph to:
- Zoom in and out with the mouse wheel.
- Pan around the reconstruction.
- Fit the entire reconstruction into view.
- Reset the graph view.
- Toggle the original image and detected edge map.
- Show or hide individual curves.
- Change the colour of individual curves.
Reconstructed curves are black by default. Each curve can be assigned its own colour without changing the others.
Select a curve in the expression panel to inspect its mathematical representation.
LiSSARA displays the numerical parametric equations, cubic Bézier segments, control points and parameter domain. Paths made of multiple segments can be inspected segment by segment.
Each segment represents a portion of the reconstructed contour. The collection of segments approximates the original image's detected line structure.
Use the export panel to save the mathematical reconstruction.
Equation JSON — equation.json
Exports the reconstructed paths, segment definitions, Bézier control points, polynomial coefficients and parameter domains as structured mathematical data.
Vector SVG — .svg
Exports the reconstructed curves as vector paths. The geometry can be opened in a vector editor, scaled without raster pixelation, or used in other graphics workflows.
JSON is intended for accessing the underlying mathematical representation. SVG is intended for using the reconstructed vector artwork.
LiSSARA Core builds on established work in computer vision, curve geometry and vector graphics. The following references provide background for the techniques used in the project and related research.
-
Canny, J. (1986). A Computational Approach to Edge Detection. IEEE Transactions on Pattern Analysis and Machine Intelligence, 8(6), 679–698.
Read the paper — DOI: 10.1109/TPAMI.1986.4767851Foundational research on edge detection, including detection accuracy, edge localisation and reducing multiple responses to a single edge.
-
OpenCV — Edge Detection Using OpenCV.
Read the tutorialA practical reference for Canny, Sobel and Laplacian edge-detection methods.
-
Pomax — A Primer on Bézier Curves.
Read the interactive primerA detailed reference covering Bézier curves, Bernstein polynomials, control points, derivatives, subdivision, curve fitting and geometric properties.
-
Douglas, D. H., & Peucker, T. K. (1973). Algorithms for the Reduction of the Number of Points Required to Represent a Digitized Line or Its Caricature. Cartographica, 10(2), 112–122.
Read the paper — DOI: 10.3138/FM57-6770-U75U-7727Foundational work on reducing the number of points needed to represent a line while retaining its overall shape. Relevant background for contour simplification.
-
Encyclopedia of Mathematics — Bézier Curve.
Read the mathematical referenceA concise mathematical treatment of Bézier curves as parametric polynomials defined by control points.
-
W3C — Scalable Vector Graphics (SVG) 2: Paths.
Read the specificationThe specification for SVG path commands, including cubic Bézier geometry represented by the
Ccommand used for vector-path export.
-
Xiang, X., Liu, D., Yang, X., Zhu, Y., Shen, X., & Allebach, J. P. (2021). Adversarial Open Domain Adaptation for Sketch-to-Photo Synthesis.
Read the paper on arXiv -
Anime2Sketch — Sketch Extractor for Illustration, Anime Art and Manga.
Research implementation and project documentationRelated work on extracting sketch-like line art from illustrations. Anime2Sketch is an optional research direction for LiSSARA; its pretrained model is not part of the default classical reconstruction workflow.
These resources are provided for technical background and further study. Their inclusion does not imply that LiSSARA Core implements every referenced method or reproduces the results of the cited research.
LiSSARA produces an approximation of an illustration's line structure, not a guaranteed pixel-perfect reconstruction.
Results depend on image resolution, contrast, line thickness, overlapping details and the complexity of the source illustration. Fine hair strands, textured shading, crossed lines and low-contrast details can be difficult to separate reliably.
The number of reconstructed paths and Bézier segments depends on the image and the fitting parameters. More segments can represent detail more closely but also create a more complex mathematical representation.
Current scope: edge-based line reconstruction and mathematical curve plotting. Flat-colour region segmentation and flat-colour reconstruction are not included in the current version and may be explored in a later release.
LiSSARA Core
Mathematical Reconstruction of Illustrations
Engineered By Emtypyie&Co
All Rights Reserved.

