pullmoll / lualept

Lua language bindings for Leptonica

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lualept

Lua language bindings for Leptonica

This is a WIP (work in progress) to create a Lua script language wrapper for the image processing library Leptonica.

The project's goal is to cover most if not all of Leptonica's huge number of types and functions in a marriage of Lua's and Leptonica's concepts.

The project's Doxygen documentation can be found here.

The reason I started this was because I can use the result in a project I'm doing paid work for. This project already uses Leptonica and a C++ wrapper around some of its functions. Instead of inventing my own scripting language for running scripts doing things with Leptonica inside this project, I thought that using Lua for this purpose is most probably a better choice.

We already use Lua in a small portion of another part of that project.

This is my first larger Lua and C-functions project and I may well be doing some things in an awkward way or even outright wrong, so feel free to point your fingers at me and tell me where I'm missing the point.

Still, the project already runs some script (lua/script.lua) which I use for testing the language bindings as I write the wrapper functions.

Now for some good news (2018-05-30):

My customer ImageWare Components GmbH approved to contribute some money for the development of lualept, as they will probably use it in their product BCS2, which is the application I'm contributing my time, skills and knowledge to for money :-)

In fact I'll be adding the Lua scripting to the BCS2 C++ interface to Leptonica.

Jürgen Buchmüller

About

Lua language bindings for Leptonica

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 96.9%Language:Lua 1.8%Language:C 0.6%Language:CMake 0.6%Language:Makefile 0.1%Language:M4 0.1%Language:Shell 0.0%