nihui/opencv-mobile

The minimal opencv for Android, iOS, ARM Linux, Windows, Linux, MacOS, HarmonyOS, WebAssembly, watchOS, tvOS, visionOS

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 51 minutes ago
Added to GitGenius on September 20th, 2026
Created on January 8th, 2021
Open Issues & Pull Requests: 64 (+0)
GitHub issues: Enabled
Number of forks: 461
Total Stargazers: 3,359 (+0)
Total Subscribers: 51 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 28
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 537 days
Stale 30+ days: 28
Stale 90+ days: 28

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (4)
  • enhancement (2)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

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.