A lightweight, high-performance cross-platform camera capture library with video file playback support, plus Rust bindings.
轻量级、高性能的跨平台相机捕获库,支持视频文件播放,并提供 Rust bindings。
Hardware-accelerated conversion with AVX2, Apple Accelerate, NEON
支持 AVX2、Apple Accelerate、NEON 硬件加速
Pre-built binaries for all supported platforms
所有支持平台的预编译二进制文件
Loading release information...
正在加载版本信息...
Hardware-accelerated pixel format conversion with up to 10x speedup using AVX2, Apple Accelerate, and NEON.
硬件加速的像素格式转换,使用 AVX2、Apple Accelerate 和 NEON 可提升高达 10 倍性能。
No third-party dependencies - uses only system frameworks for maximum portability.
无第三方库依赖,仅使用系统框架,实现最大可移植性。
Native support for Windows dual backends (DirectShow by default, Media Foundation also supported), macOS/iOS (AVFoundation), and Linux (V4L2).
原生支持 Windows 双后端(默认 DirectShow,同时支持 Media Foundation)、macOS/iOS (AVFoundation) 和 Linux (V4L2)。
Support for RGB, BGR, YUV (NV12/I420) with automatic format conversion.
支持 RGB、BGR、YUV(NV12/I420)及自动格式转换。
Both modern C++ API and pure C99 interface for various project integration and language bindings.
同时提供现代 C++ API 和纯 C99 接口,支持各种项目集成和语言绑定。
Comprehensive test suite with 95%+ accuracy validation and 50+ test cases.
完整测试套件,95%+ 精度验证,50+ 测试用例。
DirectShow default + Media Foundation support
MSVC 2019+
AVFoundation
Xcode 11+, macOS 10.13+
AVFoundation
Xcode 11+, iOS 13.0+
V4L2
GCC 7+ / Clang 6+
Most modern security software allows you to draw digital masks over specific areas of the camera's field of view. Use this feature to black out your neighbor's property or your internal doorways.
Privacy protection extends beyond your own household to your neighbors and the public. Avoid pointing cameras directly at a neighbor’s windows, backyards, or entryways, as this can create legal disputes regarding a reasonable expectation of privacy. Keep outdoor cameras focused strictly on your own property boundaries and immediate access points. Finding the Right Balance
Your camera’s field of view rarely ends at your property line. It records neighbors entering their homes, children playing across the street, and the comings and goings of delivery drivers. Legally, in most jurisdictions, you have no expectation of privacy in public. Ethically, however, constant recording alters community dynamics. It turns neighbors into suspects and inhibits casual, spontaneous behavior. Most modern security software allows you to draw
As technology continues to evolve, home security camera systems are likely to become even more sophisticated. Features such as facial recognition, object detection, and artificial intelligence may become more prevalent. However, these advancements also raise concerns about privacy and data security.
The proliferation of affordable, high-definition smart cameras has revolutionized home security. What was once the domain of wealthy homeowners or businesses is now a standard fixture in millions of households. However, this rapid adoption has created a significant tension between the desire for safety and the fundamental right to privacy. This review examines the current landscape of home surveillance, analyzing how modern systems function, where they fail to protect user data, and the broader societal implications of living in a "surveillance society." Avoid pointing cameras directly at a neighbor’s windows,
The evolution of home security cameras has transformed the domestic landscape from a private sanctuary into a data-rich environment, creating a complex tension between personal safety and the fundamental right to privacy The Evolution of the "Watchful Eye"
Before you mount that 4K dome camera on your eaves, you need a crash course in surveillance law. Note: I am not a lawyer. Laws vary by city, state, and country (GDPR in Europe is a whole other beast). It records neighbors entering their homes, children playing
The paradox of modern home security is that the tools used to keep intruders out can sometimes invite digital intruders in. If a camera system is compromised, a bad actor gains a literal window into your home, turning a safety tool into a surveillance threat. Cloud Storage vs. Local Storage: Where Does Your Data Go?
Eliminates reliance on proprietary corporate cloud networks.
git clone https://github.com/wysaid/CameraCapture.git
cd CameraCapture
./scripts/build_and_install.sh
include(FetchContent)
FetchContent_Declare(ccap
GIT_REPOSITORY https://github.com/wysaid/CameraCapture.git
GIT_TAG main)
FetchContent_MakeAvailable(ccap)
target_link_libraries(your_app PRIVATE ccap::ccap)
brew tap wysaid/ccap
brew install ccap
cargo add ccap-rs
# Recommended in Cargo.toml:
# ccap = { package = "ccap-rs", version = "<latest>" }
find_package(ccap REQUIRED)
target_link_libraries(your_app ccap::ccap)
| Platform平台 | Compiler编译器 | Requirements要求 |
|---|---|---|
| Windows | MSVC 2019+ | DirectShow default + Media Foundation support |
| macOS | Xcode 11+ | macOS 10.13+ |
| iOS | Xcode 11+ | iOS 13.0+ |
| Linux | GCC 7+ / Clang 6+ | V4L2 (Linux 2.6+) |
Build Requirements: CMake 3.14+, C++17 (C++ interface), C99 (C interface) 构建要求:CMake 3.14+,C++17(C++ 接口),C99(C 接口)