Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bfactory-ai/zignal
Image processing library in Zig, heavily inspired by dlib
https://github.com/bfactory-ai/zignal
image-processing zig
Last synced: about 1 month ago
JSON representation
Image processing library in Zig, heavily inspired by dlib
- Host: GitHub
- URL: https://github.com/bfactory-ai/zignal
- Owner: bfactory-ai
- License: mit
- Created: 2024-04-13T06:47:14.000Z (2 months ago)
- Default Branch: master
- Last Pushed: 2024-05-11T04:43:40.000Z (about 1 month ago)
- Last Synced: 2024-05-11T16:07:22.622Z (about 1 month ago)
- Topics: image-processing, zig
- Language: Zig
- Homepage:
- Size: 187 KB
- Stars: 40
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-zig - bfactory-ai/zignal
README
# Zignal
![]()
Zignal is an image processing library heavily inspired by the amazing [dlib](http://dlib.net).
## Reason of being
This library is used by [Ameli](https://ameli.co.kr/) for its makeup virtual try on.
## Features
Initially, the features in this library are the ones required to get the virtual makeup try on working.
However, we hope that it can be a foundation from which we can build a high quality image processing library, collaboratively.Current features include:
- color space conversions
- simple matrix struct with common linear algebra operations
- singular value decomposition (SVD) ported from dlib
- geometry
- points and rectangles
- projective and similarity transforms
- convex hull
- simple image struct with common operations (resize, rotate)
- more features will be added soon, like cropping and blurring## Examples
I plan to add examples for most of the features of this library as simple HTML/JS + Wasm. One of the greatest things about dlib
is the large amount of examples illustrating how to use many of that library features.## Acknowledgements
First of all, this project would not have been possible without the existance of [dlib](http://dlib.net).
In fact, the first version of the virtual makeup try on was written in C++ with dlib and Emscripten.
However, we decided to give Zig a go, even if that meant rewriting the world, but we have no dependencies now.Finally, [B factory, Inc](https://www.bfactory.ai/), which is my employer and graciously agreed to release this library to the public.