https://github.com/fidelxyz/dxcam-cpp
A high performance screen capturing library for Windows rewriting DXcam in C++.
https://github.com/fidelxyz/dxcam-cpp
capture screenshot windows
Last synced: 9 months ago
JSON representation
A high performance screen capturing library for Windows rewriting DXcam in C++.
- Host: GitHub
- URL: https://github.com/fidelxyz/dxcam-cpp
- Owner: Fidelxyz
- License: mit
- Created: 2023-10-30T06:06:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-06-29T12:54:54.000Z (12 months ago)
- Last Synced: 2025-09-30T15:12:31.481Z (9 months ago)
- Topics: capture, screenshot, windows
- Language: C++
- Homepage: https://dxcam-cpp.readthedocs.io
- Size: 156 KB
- Stars: 42
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DXCam-CPP
A high performance screen capturing library for Windows
rewriting [DXcam](https://github.com/ra1nty/DXcam) in C++.
[Documentation](https://dxcam-cpp.readthedocs.io/)
[](https://pypi.org/project/dxcam-cpp/)
[](https://pypi.org/project/dxcam-cpp/)
[](https://github.com/Fidelxyz/DXCam-CPP/actions/workflows/workflow.yml)
[](https://github.com/Fidelxyz/DXCam-CPP/blob/main/LICENSE)
## Features
- C++ Dynamic Library
- Python Module (Compatible with the original
Python [DXcam](https://github.com/ra1nty/DXcam) as an alternative)
### Roadmap
- Benchmark comparing with other libs
Contributions are welcome!
## Build
### Dependencies
- CMake
- Visual Studio 2022
- [OpenCV](https://github.com/opencv/opencv)
#### For Documentation
- [Doxygen](https://github.com/doxygen/doxygen)
- [Sphinx](https://github.com/sphinx-doc/sphinx)
- [Breathe](https://github.com/breathe-doc/breathe)
### Build for C++ Library
```shell
cmake -B ./build
cmake --build ./build --config Release
cmake --install ./build --config Release --prefix ./build/install
```
### Build for Python Package
```shell
cd python
pip install .
```
## Benchmarks
> Benchmark is not available currently, due to some unresolved issues.
_Data obtained from running on my Laptop (i7-11800H & RTX 3060 Laptop)
with [**UFO Test**](https://www.testufo.com/), which a capturing region of
1920x1080._