opencv-mobile is a minimal build distribution of OpenCV that provides precompiled binaries for Android, iOS, ARM Linux, Windows, Linux, macOS, HarmonyOS, WebAssembly, watchOS, tvOS, and visionOS.
The project addresses the challenge of deploying OpenCV across diverse platforms while keeping binary sizes manageable. Rather than requiring developers to compile OpenCV from source for each target platform, opencv-mobile provides prebuilt packages that are significantly smaller than official OpenCV distributions. The approach involves stripping down OpenCV to essential functionality and compiling it specifically for each supported platform using automated builds on GitHub Actions, with binaries available for multiple OpenCV versions.
Developers should choose this tool if they need OpenCV on mobile platforms, embedded Linux systems, or web applications and want to avoid the complexity and time cost of cross-compilation. It suits projects where binary size matters, such as mobile apps with strict size constraints or embedded systems with limited storage. The tool includes several specialized features: support for full-width CJK characters in text rendering, framebuffer display on Linux, and HTTP-based JPEG streaming from VideoWriter. The README does not name alternative distributions for comparison.
The project maintains multiple active OpenCV versions simultaneously, with prebuilt packages available for versions spanning from 2.4 through 5.0.0. Binaries are compiled automatically through continuous integration workflows, and the maintainer explicitly documents that all builds are generated from source on GitHub Actions with no external dependencies or modifications. The project provides not only standard platform packages but also specialized variants including Mac-Catalyst, Apple xcframework, and WebAssembly builds, indicating sustained effort to support emerging Apple platforms and web-based deployment scenarios.