cocoa-xu/evision
Evision: An OpenCV-Erlang/Elixir binding
What it solves
Evision brings OpenCV's computer vision capabilities to Elixir. Instead of manually writing bindings, it automatically generates them from OpenCV's source code, so Elixir developers can use OpenCV functions directly. It also provides precompiled binaries for many platforms to avoid compiling from source.
How it works
It pulls OpenCV source code from GitHub, parses it (using modified versions of OpenCV's own Python tools), and generates Elixir bindings. It can use precompiled binaries by default, or compile from source if needed. It supports optional modules like opencv_contrib and CUDA. It also handles platform-specific dependencies like FFmpeg for video, Tesseract for OCR on macOS, and OpenBLAS on FreeBSD.
Who it’s for
Elixir developers who need computer vision functionality (image processing, video, etc.) and want to use OpenCV without writing C or Python. It's also useful for Nerves (embedded Elixir) users, and those who want to use OpenCV in Livebook notebooks.
Highlights
- Automatically generates OpenCV-Elixir bindings from OpenCV source code
- Precompiled binaries for many platforms (Linux, macOS, Windows, FreeBSD, various architectures)
- Optional opencv_contrib modules and CUDA support
- Can compile from source if precompiled binaries don't fit needs
- Integrates with Nx (mentioned in wiki links) and supports Nerves
Related
- Project
- Project
- Project
- Project
- Project