Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pixpark/gpupixel
Real-time image and video processing library similar to GPUImage, with built-in beauty filters, achieving commercial-grade beauty effects. Written in C++11 and based on OpenGL/ES.
https://github.com/pixpark/gpupixel
ai android beautyface face-detection filter gpu gpuimage image ios landmarks opengl thinface video webrtc
Last synced: 6 days ago
JSON representation
Real-time image and video processing library similar to GPUImage, with built-in beauty filters, achieving commercial-grade beauty effects. Written in C++11 and based on OpenGL/ES.
- Host: GitHub
- URL: https://github.com/pixpark/gpupixel
- Owner: pixpark
- License: mit
- Created: 2022-06-28T09:25:41.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-10T12:15:03.000Z (4 months ago)
- Last Synced: 2024-10-29T15:45:28.588Z (4 months ago)
- Topics: ai, android, beautyface, face-detection, filter, gpu, gpuimage, image, ios, landmarks, opengl, thinface, video, webrtc
- Language: C++
- Homepage: https://gpupixel.pixpark.net/
- Size: 84.6 MB
- Stars: 1,358
- Watchers: 14
- Forks: 176
- Open Issues: 41
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
Build
·
Examples
·
Integration---
> Welcome to join us to make GPUPixel better by participating [discussions](https://github.com/pixpark/gpupixel/discussions), opening [issues](https://github.com/pixpark/gpupixel/issues/new/choose), submitting [PRs](https://github.com/pixpark/gpupixel/pulls) 👏.
## Introduction
⛰️ GPUPixel is a real-time, high-performance image and video filter library, extremely easy to compile and integrate with small library size.
🔑 GPUPixel is written in C++11 and is based on OpenGL/ES, incorporating a built-in beauty face filter.
🔌 GPUPixel supports platforms including `iOS`, `Android`, `Mac`, `Win` and `Linux`. It can theoretically be ported to any platform that supports OpenGL/ES.
## Effects Preview
👉 **Video: YouTube
| **Origin** | **Smooth** | **White** |
| :--------------------------: | :--------------------------: | :-------------------------: |
|  |  |  |## Architecture
## Features
This table compares the features supported by **GPUPixel** and **GPUImage** and **Android-GPUImage**:
✅: Supported | ❌: Not supported | ✏️: Planning
| | [GPUPixel](https://github.com/pixpark/gpupixel) | [GPUImage](https://github.com/BradLarson/GPUImage) | [Android-GPUImage](https://github.com/cats-oss/android-gpuimage) |
| :-------------------- | :---------------------------------------------: | :------------------------------------------------: | :--------------------------------------------------------------: |
| 📷 **Filters:** | ✅ | ❌ | ❌ |
| Skin Smoothing Filter | ✅ | ❌ | ❌ |
| Skin Whitening Filter | ✅ | ❌ | ❌ |
| More Build in Filter | ✅ | ✅ | ✅ |
| 🎬 **Input Formats:** | | | |
| YUV420P(I420) | ✅ | ❌ | ❌ |
| RGBA | ✅ | ✅ | ✅ |
| JPEG | ✅ | ✅ | ✅ |
| PNG | ✅ | ✅ | ✅ |
| NV21(for Android) | ✏️ | ❌ | ❌ |
| 🎥 **Output Formats:** | | | |
| RGBA | ✅ | ✅ | ✅ |
| YUV420P(I420) | ✏️ | ❌ | ❌ |
| 💻 **Platform:** | | | |
| iOS | ✅ | ✅ | ❌ |
| Mac | ✅ | ✅ | ❌ |
| Android | ✅ | ❌ | ✅ |
| Win | ✅ | ❌ | ❌ |
| Linux | ✅ | ❌ | ❌ |## Performance
### iPhone
| - | iPhone 6P | iPhone 8 | iPhone X | iPhone 11 | iPhone 14 pro |
| :------------: | :-------: | :------: | :------: | :-------: | :-----------: |
| **CPU** | 5% | 5% | 3% | 3% | 3% |
| **Time Taken** | 10ms | 4ms | 3ms | 3ms | 3ms |
### Android
| - | Xiaomi 10 | Huawei Mate30 | Vivo | SAMSUNG | Google Pixel |
| :--------: | :-------: | :-----------: | :---: | :-----: | :----------: |
| CPU | 3% | 5% | - | - | - |
| Time Taken | 6ms | 5ms | - | - | - |## Lib Size
| | iOS(.framework) | MacOS(.framework) | Android(.aar) |
| :---: | :-------------: | :---------------: | :-----------: |
| Size | 2.4 MB | 2.6 MB | 2.1 MB |## Before You Start
⭐️ Star us on GitHub, and be instantly notified for new releases!
## Getting Started
See the doc: [Introduction](https://gpupixel.pixpark.net/guide/build) | [Build](https://gpupixel.pixpark.net/guide/build) | [Examples](https://gpupixel.pixpark.net/guide/demo) | [Integrated](https://gpupixel.pixpark.net/guide/integrated)
## Contributing
Welcome to join us to make GPUPixel better by participating [discussions](https://github.com/pixpark/gpupixel/discussions), opening [issues](https://github.com/pixpark/gpupixel/issues/new/choose), submitting [PRs](https://github.com/pixpark/gpupixel/pulls).
At the same time, please consider supporting GPUPixel by sharing it on social media and at events and conferences.
## Contributors
[](https://github.com/pixpark/gpupixel/graphs/contributors)
## Contact & Support
- [Doc](https://gpupixel.pixpark.net/) : Online documentation.
- [Issues](https://github.com/pixpark/gpupixel/issues/new/choose) : 👉 Github Issues.
- [Mail](mailto:[email protected]?subject=[GitHub]Questions%20About%20GPUPixel) : 👉 Send email to us.
## Acknowledgement
### Reference Project
1. [GPUImage](https://github.com/BradLarson/GPUImage)
2. [CainCamera](https://github.com/CainKernel/CainCamera)
3. [AwemeLike](https://github.com/ZZZZou/AwemeLike)## License
This repository is available under the [MIT License](https://github.com/pixpark/gpupixel?tab=MIT-1-ov-file#readme).