From f723b227da680b293ee2b2fa5952b7df5aa96ba5 Mon Sep 17 00:00:00 2001 From: Dobbie <459642390@qq.com> Date: Tue, 3 Dec 2024 17:56:40 +0800 Subject: [PATCH 1/2] Update README_CN.md Update the README_CN to keep it synchronized with the latest English README. --- README_CN.md | 103 +++++++++++++++++++++++++++------------------------ 1 file changed, 54 insertions(+), 49 deletions(-) diff --git a/README_CN.md b/README_CN.md index 20032c60..573c32f0 100644 --- a/README_CN.md +++ b/README_CN.md @@ -10,7 +10,7 @@

编译 · - Demo + 示例 · 集成

@@ -19,30 +19,35 @@ GPUPixel Stars GPUPixel Release GPUPixel Stars + GPUPixel Stars

+

+pixpark%2Fgpupixel | Trendshift +

+ --- -> 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). 👏 +> 欢迎加入我们,通过参与[讨论](https://github.com/pixpark/gpupixel/discussions)、创建[问题](https://github.com/pixpark/gpupixel/issues/new/choose)、提交[PRs](https://github.com/pixpark/gpupixel/pulls),让GPUPixel变得更好。👏 ## 简介 ## -⛰️ GPUPixel是一个使用C++11编写的高性能图像和视频AI美颜效果库,非常容易编译和集成,并且库文件非常小。 +⛰️ GPUPixel是一个实时、高性能图像和视频AI美颜效果库,非常容易编译和集成,并且库文件非常小。 -🔑 它是基于GPU的,并且带有内置的美颜效果滤镜,可以实现商业级别的效果。 +🔑 它是使用C++11编写的,基于OpenGL/ES,并且带有内置的美颜效果滤镜,可以实现商业级别的效果。 -🔌 它支持的平台包括iOS、Mac和Android,理论上可以移植到任何支持OpenGL/ES的平台。 +🔌 它支持的平台包括`iOS`、`Android`、`Mac`、`Win`和`Linux`,理论上可以移植到任何支持OpenGL/ES的平台。 -## 效果 +## 效果预览 ## 👉 **视频: YouTube | BiliBili** -| **原图** | **磨皮** | **美白** | **ThinFace** | +| **原图** | **磨皮** | **美白** | **瘦脸** | | :--------------------------------: | :------------------------------------: | :----------------------------------: | :------------------------------------: | | ![origin](./docs/image/origin.gif) | ![smooth](./docs/image/smooth.gif) | ![white](./docs/image/white.gif) | ![thinface](./docs/image/thinface.gif) | -| **大眼** | **口红** | **腮红** | **开 | 关** | +| **大眼** | **口红** | **腮红** | **开关** | | ![bigeye](./docs/image/bigeye.gif) | ![lipstick](./docs/image/lipstick.gif) | ![blusher](./docs/image/blusher.gif) | ![on-off](./docs/image/on-off.gif) | ## 架构流程 @@ -50,51 +55,47 @@ ## 特性对比 +此表比较了**GPUPixel**、**GPUImage**和**Android GPUImage**支持的功能: + ✅: 支持 | ❌: 不支持 | ✏️: 计划中 -| | [GPUPixel](https://github.com/pixpark/gpupixel) | [GPUImage](https://github.com/BradLarson/GPUImage) | -| :---------------- | :---------------------------------------------: | :------------------------------------------------: | -| 🍎**滤镜:** | ✅ | ❌ | -| 磨皮 | ✅ | ❌ | -| 美白 | ✅ | ❌ | -| 瘦脸 | ✅ | ❌ | -| 大眼 | ✅ | ❌ | -| 口红 | ✅ | ❌ | -| 腮红 | ✅ | ❌ | -| 内建滤镜 | ✅ | ✅ | -| 🍓**输入格式:** | | | -| YUV420P(I420) | ✅ | ❌ | -| RGBA | ✅ | ✅ | -| JPEG | ✅ | ✅ | -| PNG | ✅ | ✅ | -| NV21(for Android) | ✏️ | ❌ | -| 🍉**输出格式 :** | | | -| RGBA | ✅ | ✅ | -| YUV420P(I420) | ✅ | ❌ | -| 🥑**平台系统:** | | | -| iOS | ✅ | ✅ | -| Mac | ✅ | ✅ | -| Android | ✅ | ❌ | -| Win | ✅ | ❌ | -| Linux | ✅ | ❌ | - - -## 系统最低版本 -| OS | iOS | OSX | Android | Windows | Linux | -| :--------------------: | :---: | :---: | :----------: | :-----: | :---: | -| Min Support OS Version | 10.0 | 10.13 | 5.0 (API 21) | - | - | +| | [GPUPixel](https://github.com/pixpark/gpupixel) | [GPUImage](https://github.com/BradLarson/GPUImage) | [Android-GPUImage](https://github.com/cats-oss/android-gpuimage) | +| :-------------------- | :---------------------------------------------: | :------------------------------------------------: | :----------------------------------------------------------: | +| 📷 **滤镜:** | ✅ | ❌ | ❌ | +| 磨皮 | ✅ | ❌ | ❌ | +| 美白 | ✅ | ❌ | ❌ | +| 瘦脸 | ✅ | ❌ | ❌ | +| 大眼 | ✅ | ❌ | ❌ | +| 口红 | ✅ | ❌ | ❌ | +| 腮红 | ✅ | ❌ | ❌ | +| 内建滤镜 | ✅ | ✅ | ✅ | +| 🎬 **输入格式:** | | | | +| YUV420P(I420) | ✅ | ❌ | ❌ | +| RGBA | ✅ | ✅ | ✅ | +| JPEG | ✅ | ✅ | ✅ | +| PNG | ✅ | ✅ | ✅ | +| NV21(for Android) | ✏️ | ❌ | ❌ | +| 🎥 **输出格式:** | | | | +| RGBA | ✅ | ✅ | ✅ | +| YUV420P(I420) | ✏️ | ❌ | ❌ | +| 💻 **平台系统:** | | | | +| iOS | ✅ | ✅ | ❌ | +| Mac | ✅ | ✅ | ❌ | +| Android | ✅ | ❌ | ✅ | +| Win | ✅ | ❌ | ❌ | +| Linux | ✅ | ❌ | ❌ | ## 性能 ### 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 | +| **耗时** | 10ms | 4ms | 3ms | 3ms | 3ms | ### Android | - | Xiaomi 10 | Huawei Mate30 | Vivo | SAMSUNG | Google Pixel | | :--------: | :-------: | :-----------: | :---: | :-----: | :----------: | | CPU | 3% | 5% | - | - | - | -| Time Taken | 6ms | 5ms | - | - | - | +| 耗时 | 6ms | 5ms | - | - | - | ## 库体积 @@ -104,7 +105,7 @@ ## 开始之前 -⭐️ 老铁给个星星,求点赞! +⭐️ 老铁给个星星,求点赞!您也可以第一时间收到新版本的通知! ![](./docs/image/give-star.gif) @@ -115,13 +116,17 @@ ## 参与贡献 -欢迎参与此项目,贡献代码,同时希望通过在社交媒体分享 GPUPixel 项目来支持本项目 👏🏻. +欢迎参与此项目,贡献代码,同时希望通过在社交媒体、活动、会议上分享GPUPixel来支持本项目👏🏻。 + +## 贡献者 + +[![](https://opencollective.com/gpupixel/contributors.svg?width=890&button=false)](https://github.com/pixpark/gpupixel/graphs/contributors) ## 联系 & 支持 -- [Doc](https://gpupixel.pixpark.net/): 在线文档. -- [Issues](https://github.com/pixpark/gpupixel/issues/new/choose): Github Issues -- [Mail](mailto:jaaronkot@gmail.com?subject=[GitHub] Questions%20About%20GPUPixel) 👉:向我们发送邮件 - - [添加微信]() 👉: +- [文档](https://gpupixel.pixpark.net/):在线文档。 +- [提问](https://github.com/pixpark/gpupixel/issues/new/choose):👉 Github问题。 +- [邮件](mailto:jaaronkot@gmail.com?subject=[GitHub]Questions%20About%20GPUPixel):👉 向我们发送邮件。 +- [微信]():

wechat

@@ -133,6 +138,6 @@ 3. [AwemeLike](https://github.com/ZZZZou/AwemeLike) 4. [VNN](https://github.com/joyycom/VNN) -## License -This repository is available under the [MIT License](https://github.com/pixpark/gpupixel?tab=MIT-1-ov-file#readme). +## 许可证 +此开源项目遵从[MIT许可证](https://github.com/pixpark/gpupixel?tab=MIT-1-ov-file#readme). From 5cf6eb59b6795b10e54118190ffda7c22509562f Mon Sep 17 00:00:00 2001 From: Dobbie <459642390@qq.com> Date: Tue, 3 Dec 2024 18:12:30 +0800 Subject: [PATCH 2/2] Update README_CN.md minor changes --- README_CN.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/README_CN.md b/README_CN.md index 573c32f0..ccd73d01 100644 --- a/README_CN.md +++ b/README_CN.md @@ -31,7 +31,7 @@ > 欢迎加入我们,通过参与[讨论](https://github.com/pixpark/gpupixel/discussions)、创建[问题](https://github.com/pixpark/gpupixel/issues/new/choose)、提交[PRs](https://github.com/pixpark/gpupixel/pulls),让GPUPixel变得更好。👏 -## 简介 ## +## 简介 ⛰️ GPUPixel是一个实时、高性能图像和视频AI美颜效果库,非常容易编译和集成,并且库文件非常小。 @@ -39,11 +39,9 @@ 🔌 它支持的平台包括`iOS`、`Android`、`Mac`、`Win`和`Linux`,理论上可以移植到任何支持OpenGL/ES的平台。 - -## 效果预览 ## +## 效果预览 👉 **视频: YouTube | BiliBili** - | **原图** | **磨皮** | **美白** | **瘦脸** | | :--------------------------------: | :------------------------------------: | :----------------------------------: | :------------------------------------: | | ![origin](./docs/image/origin.gif) | ![smooth](./docs/image/smooth.gif) | ![white](./docs/image/white.gif) | ![thinface](./docs/image/thinface.gif) | @@ -109,14 +107,15 @@ ![](./docs/image/give-star.gif) - ## 快速开始 -查看文档: [简介](https://gpupixel.pixpark.net/zh/guide/build) | [编译](https://gpupixel.pixpark.net/zh/guide/build) | [示例](https://gpupixel.pixpark.net/zh/guide/demo) | [集成](https://gpupixel.pixpark.net/zh/guide/integrated) +查看文档:[简介](https://gpupixel.pixpark.net/zh/guide/build) | [编译](https://gpupixel.pixpark.net/zh/guide/build) | [示例](https://gpupixel.pixpark.net/zh/guide/demo) | [集成](https://gpupixel.pixpark.net/zh/guide/integrated) ## 参与贡献 -欢迎参与此项目,贡献代码,同时希望通过在社交媒体、活动、会议上分享GPUPixel来支持本项目👏🏻。 +欢迎加入我们,通过参与[讨论](https://github.com/pixpark/gpupixel/discussions)、创建[问题](https://github.com/pixpark/gpupixel/issues/new/choose)、提交[PRs](https://github.com/pixpark/gpupixel/pulls),让GPUPixel变得更好。 + +同时,希望您可以通过在社交媒体、活动、会议上分享GPUPixel来支持本项目。 ## 贡献者 @@ -139,5 +138,4 @@ 4. [VNN](https://github.com/joyycom/VNN) ## 许可证 -此开源项目遵从[MIT许可证](https://github.com/pixpark/gpupixel?tab=MIT-1-ov-file#readme). - +此开源项目遵从[MIT许可证](https://github.com/pixpark/gpupixel?tab=MIT-1-ov-file#readme)。