Engine of https://kliptools.com/page-straightener/ ================================================ Everything here is loaded only after a visitor chooses a photo and presses the button. It runs inside the visitor's browser; no file is uploaded. Component Version Licence -------------------- ----------- ------------------------------------------ Pyodide 314.0.8 Mozilla Public License 2.0 CPython (in Pyodide) 3.14.2 PSF License NumPy 2.4.6 BSD-3-Clause (and bundled notices) OpenCV (opencv-python) 4.11.0.86 Apache-2.0; wrapper MIT; third-party notices msgspec 0.20.0 BSD-3-Clause Pillow 12.2.0 MIT-CMU page-dewarp 0.3.4 MIT (c) 2016 Matt Zucker; packaged by Louis Maddox Licence texts are in the licences/ folder beside this file, and inside each package archive. Sources Pyodide https://github.com/pyodide/pyodide/tree/314.0.8 page-dewarp https://github.com/lmmx/page-dewarp Packages https://cdn.jsdelivr.net/pyodide/v314.0.8/full/ and https://pypi.org/project/page-dewarp/0.3.4/ Changes Files are upstream bytes under other names (pyodide.mjs -> pyodide.loader.js, pyodide.asm.mjs -> pyodide.asm.js, *.whl -> *.whl.zip); pyodide.asm.wasm is gzipped. At run time /js/page-straightener/dewarp_core.py.txt replaces page-dewarp's two SciPy optimiser calls with a NumPy least-squares solver; the package files themselves are not modified. Rebuild: python page-straightener/engine-src/build_engine.py