Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
Updated directory structure
Updated image and video lossless zoom function
Added image and video background removal function
  • Loading branch information
rnchg committed Nov 2, 2024
1 parent a305500 commit f008024
Show file tree
Hide file tree
Showing 252 changed files with 2,686 additions and 272 deletions.
Binary file removed .Assets/en-US/Pages/App/DashboardPage.PNG
Binary file not shown.
Binary file removed .Assets/en-US/Pages/App/SettingsPage.PNG
Binary file not shown.
Binary file removed .Assets/en-US/Pages/Chat/Gpt/IndexPage.PNG
Binary file not shown.
Binary file removed .Assets/en-US/Pages/Image/AutoWipe/IndexPage.PNG
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .Assets/en-US/Pages/Image/Convert3d/IndexPage.PNG
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .Assets/en-US/Pages/Video/Convert3d/IndexPage.PNG
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .Assets/zh-CN/Pages/App/DashboardPage.PNG
Binary file not shown.
Binary file removed .Assets/zh-CN/Pages/App/SettingsPage.PNG
Binary file not shown.
Binary file removed .Assets/zh-CN/Pages/Chat/Gpt/IndexPage.PNG
Binary file not shown.
Binary file removed .Assets/zh-CN/Pages/Image/AutoWipe/IndexPage.PNG
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .Assets/zh-CN/Pages/Image/Convert3d/IndexPage.PNG
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Binary file removed .Assets/zh-CN/Pages/Video/Convert3d/IndexPage.PNG
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
File renamed without changes
Binary file added .assets/en-US/chat_gpt.png
Binary file added .assets/en-US/dashboard.png
Binary file added .assets/en-US/image_auto_wipe.png
Binary file added .assets/en-US/image_super_resolution.png
Binary file added .assets/en-US/settings.png
Binary file added .assets/en-US/video_convert_3d.png
Binary file added .assets/zh-CN/chat_gpt.png
Binary file added .assets/zh-CN/dashboard.png
Binary file added .assets/zh-CN/image_auto_wipe.png
Binary file added .assets/zh-CN/image_super_resolution.png
Binary file added .assets/zh-CN/settings.png
Binary file added .assets/zh-CN/video_convert_3d.png
89 changes: 0 additions & 89 deletions General.Apt.App.csproj

This file was deleted.

59 changes: 22 additions & 37 deletions README.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,23 @@ Integrates various latest AI models that can be used in a local offline environm
- Provides a locally offline ChatGPT model for enjoying intelligent AI conversations anytime, anywhere.

### Image Processing
- **Super-Resolution**: Enhances image resolution without compromising quality.
- **Auto Wipe**: Removes watermarks, subtitles, and logos from images, restoring the original picture.
- **Cartoon and Comic Conversion**: Converts images to vibrant cartoon or comic styles.
- **3D Conversion**: Converts images to realistic 3D scenes.
- **Color Restoration**: Recolors old photos, giving them a new life.
- **Face Restoration**: Repairs blurry or damaged face images, enhancing details.
- **Image Super-Resolution**: Enhances image resolution without compromising quality.
- **Image Auto Wipe**: Removes watermarks, subtitles, and logos from images, restoring the original picture.
- **Image Cartoon Comic**: Converts images to vibrant cartoon or comic styles.
- **Image Convert 3d**: Converts images to realistic 3D scenes.
- **Image Color Restoration**: Recolors old photos, giving them a new life.
- **Image Frame Interpolation**: Automatically generate interpolated images for images.
- **Image Matting**: Easily remove the image background and export transparent background images.
- **Image Face Restoration**: Repairs blurry or damaged face images, enhancing details.

### Video Processing
- **Super-Resolution**: Enhances video resolution while maintaining clear quality.
- **Auto Wipe**: Removes watermarks, subtitles, and logos from videos, restoring the original footage.
- **Cartoon and Comic Conversion**: Converts videos to fun cartoon or comic styles.
- **3D Conversion**: Converts videos to immersive 3D effects.
- **Color Restoration**: Recolors old videos, providing a new visual experience.
- **Frame Interpolation**: Increases video frame rate for smoother playback.
- **Video Super-Resolution**: Enhances video resolution while maintaining clear quality.
- **Video Auto Wipe**: Removes watermarks, subtitles, and logos from videos, restoring the original footage.
- **Video Cartoon Comic**: Converts videos to fun cartoon or comic styles.
- **Video Convert 3d**: Converts videos to immersive 3D effects.
- **Video Color Restoration**: Recolors old videos, providing a new visual experience.
- **Video Frame Interpolation**: Increases video frame rate for smoother playback.
- **Video Matting**: Easily remove the video background and replace the background conveniently.
- **Video Organization**: Decrypts, synthesizes, and organizes downloaded and cached video files.

### Supported Platforms
Expand Down Expand Up @@ -60,36 +63,18 @@ Continue to integrate and optimize more AI models to meet diverse user needs.

### User Interface
Home
![Homepage](.Assets/en-US/Pages/App/DashboardPage.PNG)
![Homepage](.assets/en-US/dashboard.png)
Settings
![Settings](.Assets/en-US/Pages/App/SettingsPage.PNG)
![Settings](.assets/en-US/settings.png)
ChatGPT
![ChatGPT](.Assets/en-US/Pages/Chat/Gpt/IndexPage.PNG)
![ChatGPT](.assets/en-US/chat_gpt.png)
Image Super Resolution
![Image Super Resolution](.Assets/en-US/Pages/Image/SuperResolution/IndexPage.PNG)
![Image Super Resolution](.assets/en-US/image_super_resolution.png)
Image Auto Wipe
![Image Auto Wipe](.Assets/en-US/Pages/Image/AutoWipe/IndexPage.PNG)
Image Cartoon Comic
![Image Cartoon Comic](.Assets/en-US/Pages/Image/CartoonComic/IndexPage.PNG)
Image 3D Conversion
![Image 3D Conversion](.Assets/en-US/Pages/Image/Convert3d/IndexPage.PNG)
Image Color Restoration
![Image Color Restoration](.Assets/en-US/Pages/Image/ColorRestoration/IndexPage.PNG)
Image Face Restoration
![Image Face Restoration](.Assets/en-US/Pages/Image/FaceRestoration/IndexPage.PNG)
Video Super Resolution
![Video Super Resolution](.Assets/en-US/Pages/Video/SuperResolution/IndexPage.PNG)
Video Cartoon Comic
![Video Cartoon Comic](.Assets/en-US/Pages/Video/CartoonComic/IndexPage.PNG)
![Image Auto Wipe](.assets/en-US/image_auto_wipe.png)
Video 3D Conversion
![Video 3D Conversion](.Assets/en-US/Pages/Video/Convert3d/IndexPage.PNG)
Video Color Restoration
![Video Color Restoration](.Assets/en-US/Pages/Video/ColorRestoration/IndexPage.PNG)
Video Frame Interpolation
![Video Frame Interpolation](.Assets/en-US/Pages/Video/FrameInterpolation/IndexPage.PNG)
Video Organization
![Video Organization](.Assets/en-US/Pages/Video/Organization/IndexPage.PNG)
![Video 3D Conversion](.assets/en-US/video_convert_3d.png)

### Donation Support
If you find this project useful, you can buy the author a cup of coffee.
![Donation Support](.Assets/Pay.png)
![Donation Support](.assets/donate.png)
59 changes: 22 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,23 @@ Integrates various latest AI models that can be used in a local offline environm
- Provides a locally offline ChatGPT model for enjoying intelligent AI conversations anytime, anywhere.

### Image Processing
- **Super-Resolution**: Enhances image resolution without compromising quality.
- **Auto Wipe**: Removes watermarks, subtitles, and logos from images, restoring the original picture.
- **Cartoon and Comic Conversion**: Converts images to vibrant cartoon or comic styles.
- **3D Conversion**: Converts images to realistic 3D scenes.
- **Color Restoration**: Recolors old photos, giving them a new life.
- **Face Restoration**: Repairs blurry or damaged face images, enhancing details.
- **Image Super-Resolution**: Enhances image resolution without compromising quality.
- **Image Auto Wipe**: Removes watermarks, subtitles, and logos from images, restoring the original picture.
- **Image Cartoon Comic**: Converts images to vibrant cartoon or comic styles.
- **Image Convert 3d**: Converts images to realistic 3D scenes.
- **Image Color Restoration**: Recolors old photos, giving them a new life.
- **Image Frame Interpolation**: Automatically generate interpolated images for images.
- **Image Matting**: Easily remove the image background and export transparent background images.
- **Image Face Restoration**: Repairs blurry or damaged face images, enhancing details.

### Video Processing
- **Super-Resolution**: Enhances video resolution while maintaining clear quality.
- **Auto Wipe**: Removes watermarks, subtitles, and logos from videos, restoring the original footage.
- **Cartoon and Comic Conversion**: Converts videos to fun cartoon or comic styles.
- **3D Conversion**: Converts videos to immersive 3D effects.
- **Color Restoration**: Recolors old videos, providing a new visual experience.
- **Frame Interpolation**: Increases video frame rate for smoother playback.
- **Video Super-Resolution**: Enhances video resolution while maintaining clear quality.
- **Video Auto Wipe**: Removes watermarks, subtitles, and logos from videos, restoring the original footage.
- **Video Cartoon Comic**: Converts videos to fun cartoon or comic styles.
- **Video Convert 3d**: Converts videos to immersive 3D effects.
- **Video Color Restoration**: Recolors old videos, providing a new visual experience.
- **Video Frame Interpolation**: Increases video frame rate for smoother playback.
- **Video Matting**: Easily remove the video background and replace the background conveniently.
- **Video Organization**: Decrypts, synthesizes, and organizes downloaded and cached video files.

### Supported Platforms
Expand Down Expand Up @@ -60,36 +63,18 @@ Continue to integrate and optimize more AI models to meet diverse user needs.

### User Interface
Home
![Homepage](.Assets/en-US/Pages/App/DashboardPage.PNG)
![Homepage](.assets/en-US/dashboard.png)
Settings
![Settings](.Assets/en-US/Pages/App/SettingsPage.PNG)
![Settings](.assets/en-US/settings.png)
ChatGPT
![ChatGPT](.Assets/en-US/Pages/Chat/Gpt/IndexPage.PNG)
![ChatGPT](.assets/en-US/chat_gpt.png)
Image Super Resolution
![Image Super Resolution](.Assets/en-US/Pages/Image/SuperResolution/IndexPage.PNG)
![Image Super Resolution](.assets/en-US/image_super_resolution.png)
Image Auto Wipe
![Image Auto Wipe](.Assets/en-US/Pages/Image/AutoWipe/IndexPage.PNG)
Image Cartoon Comic
![Image Cartoon Comic](.Assets/en-US/Pages/Image/CartoonComic/IndexPage.PNG)
Image 3D Conversion
![Image 3D Conversion](.Assets/en-US/Pages/Image/Convert3d/IndexPage.PNG)
Image Color Restoration
![Image Color Restoration](.Assets/en-US/Pages/Image/ColorRestoration/IndexPage.PNG)
Image Face Restoration
![Image Face Restoration](.Assets/en-US/Pages/Image/FaceRestoration/IndexPage.PNG)
Video Super Resolution
![Video Super Resolution](.Assets/en-US/Pages/Video/SuperResolution/IndexPage.PNG)
Video Cartoon Comic
![Video Cartoon Comic](.Assets/en-US/Pages/Video/CartoonComic/IndexPage.PNG)
![Image Auto Wipe](.assets/en-US/image_auto_wipe.png)
Video 3D Conversion
![Video 3D Conversion](.Assets/en-US/Pages/Video/Convert3d/IndexPage.PNG)
Video Color Restoration
![Video Color Restoration](.Assets/en-US/Pages/Video/ColorRestoration/IndexPage.PNG)
Video Frame Interpolation
![Video Frame Interpolation](.Assets/en-US/Pages/Video/FrameInterpolation/IndexPage.PNG)
Video Organization
![Video Organization](.Assets/en-US/Pages/Video/Organization/IndexPage.PNG)
![Video 3D Conversion](.assets/en-US/video_convert_3d.png)

### Donation Support
If you find this project useful, you can buy the author a cup of coffee.
![Donation Support](.Assets/Pay.png)
![Donation Support](.assets/donate.png)
35 changes: 10 additions & 25 deletions README.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
- **图片卡通漫画**:将图片转换为生动的卡通或漫画风格。
- **图片转制3D**:将图片转换为逼真的3D场景。
- **图片上色修复**:为老旧照片重新着色,焕发新生。
- **图片插值补帧**:为图片自动生成补帧图片。
- **图片背景抠除**:轻松抠除图片背景,导出透明背景图片。
- **图片人脸修复**:修复模糊或受损的人脸图片,增强细节。

### 视频处理
Expand All @@ -31,6 +33,7 @@
- **视频转制3D**:将视频转换为身临其境的3D效果。
- **视频上色修复**:为老旧视频重新着色,体验全新视觉效果。
- **视频插值补帧**:提高视频帧率,播放更流畅。
- **视频背景抠除**:轻松抠除视频背景,便捷替换背景。
- **视频合成整理**:将下载缓存的视频文件解密、合成、整理。

### 支持平台
Expand Down Expand Up @@ -60,36 +63,18 @@

### 运行界面
主页
![主页](.Assets/zh-CN/Pages/App/DashboardPage.PNG)
![主页](.assets/zh-CN/dashboard.png)
设置
![设置](.Assets/zh-CN/Pages/App/SettingsPage.PNG)
![设置](.assets/zh-CN/settings.png)
ChatGPT
![ChatGPT](.Assets/zh-CN/Pages/Chat/Gpt/IndexPage.PNG)
![ChatGPT](.assets/zh-CN/chat_gpt.png)
图片无损放大
![图片无损放大](.Assets/zh-CN/Pages/Image/SuperResolution/IndexPage.PNG)
![图片无损放大](.assets/zh-CN/image_super_resolution.png)
图片擦除水印
![图片擦除水印](.Assets/zh-CN/Pages/Image/AutoWipe/IndexPage.PNG)
图片卡通漫画
![图片卡通漫画](.Assets/zh-CN/Pages/Image/CartoonComic/IndexPage.PNG)
图片转制3D
![图片转制3D](.Assets/zh-CN/Pages/Image/Convert3d/IndexPage.PNG)
图片上色修复
![图片上色修复](.Assets/zh-CN/Pages/Image/ColorRestoration/IndexPage.PNG)
图片人脸修复
![图片人脸修复](.Assets/zh-CN/Pages/Image/FaceRestoration/IndexPage.PNG)
视频无损放大
![视频无损放大](.Assets/zh-CN/Pages/Video/SuperResolution/IndexPage.PNG)
视频卡通漫画
![视频卡通漫画](.Assets/zh-CN/Pages/Video/CartoonComic/IndexPage.PNG)
![图片擦除水印](.assets/zh-CN/image_auto_wipe.png)
视频转制3D
![视频转制3D](.Assets/zh-CN/Pages/Video/Convert3d/IndexPage.PNG)
视频上色修复
![视频上色修复](.Assets/zh-CN/Pages/Video/ColorRestoration/IndexPage.PNG)
视频插值补帧
![视频插值补帧](.Assets/zh-CN/Pages/Video/FrameInterpolation/IndexPage.PNG)
视频合成整理
![视频合成整理](.Assets/zh-CN/Pages/Video/Organization/IndexPage.PNG)
![视频转制3D](.assets/zh-CN/video_convert_3d.png)

### 捐赠支持
如果您觉得这个项目有用,可以请作者喝一杯咖啡。
![Donation Support](.Assets/Pay.png)
![Donation Support](.assets/donate.png)
Empty file added build/.keep
Empty file.
Empty file added doc/.keep
Empty file.
Empty file added models/.keep
Empty file.
8 changes: 8 additions & 0 deletions models/download.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
Google Drive:
https://drive.google.com/drive/folders/1o-SxxA2oAKjQkh-X83TN_zHjHIvOBe0V?usp=sharing

Baidu Cloud:
https://pan.baidu.com/s/1I_DwtX15492z6B6ZHDhJ-Q?pwd=1234

Tencent Weiyun:
https://share.weiyun.com/vGiBjW8d
Empty file added ref/.keep
Empty file.
Empty file added res/.keep
Empty file.
14 changes: 7 additions & 7 deletions General.Apt.App.sln → src/Apt.sln
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.10.35122.118
VisualStudioVersion = 17.11.35312.102
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "General.Apt.App", "General.Apt.App.csproj", "{A8B4FF9B-4ABB-4432-8836-36A774CB7F8F}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "General.Apt.App", "General.Apt.App\General.Apt.App.csproj", "{ECCE2964-6F04-4946-9B1B-8231DF5E7F4F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A8B4FF9B-4ABB-4432-8836-36A774CB7F8F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{A8B4FF9B-4ABB-4432-8836-36A774CB7F8F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A8B4FF9B-4ABB-4432-8836-36A774CB7F8F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A8B4FF9B-4ABB-4432-8836-36A774CB7F8F}.Release|Any CPU.Build.0 = Release|Any CPU
{ECCE2964-6F04-4946-9B1B-8231DF5E7F4F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{ECCE2964-6F04-4946-9B1B-8231DF5E7F4F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{ECCE2964-6F04-4946-9B1B-8231DF5E7F4F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{ECCE2964-6F04-4946-9B1B-8231DF5E7F4F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {330CF579-59E3-4930-85E5-E607AB8F1537}
SolutionGuid = {DC998F20-3E98-4B47-908A-97868CE8D2B2}
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ namespace General.Apt.App.Adapters.Windows
public static class Adapter
{
private static readonly string[] _virtualGpuKeys = ["Virtual", "Microsoft"];
private static bool IsVirtualGpu(string name) => _virtualGpuKeys.Any(e => name.Contains(e, StringComparison.OrdinalIgnoreCase));

private static IEnumerable<Cpu> CpuAdapters { get; } = GetCpuAdapters();
private static IEnumerable<Gpu> GpuAdapters { get; } = GetGpuAdapters();
private static bool IsVirtualGpu(string name) => _virtualGpuKeys.Any(e => name.Contains(e, StringComparison.OrdinalIgnoreCase));

public static ObservableCollection<ComBoBoxItem<string>> CpuAndGpu { get; } = GetCpuAndGpu();

Expand All @@ -34,7 +35,7 @@ private static IEnumerable<Cpu> GetCpuAdapters()
private static IEnumerable<Gpu> GetGpuAdapters()
{
DXGI.CreateDXGIFactory1(out IDXGIFactory1 factory);
for (var i = 0; factory.EnumAdapters1(i, out var adapter).Success; i++)
for (uint i = 0; factory.EnumAdapters1(i, out var adapter).Success; i++)
{
var name = adapter.Description.Description;
if (IsVirtualGpu(name))
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit f008024

Please sign in to comment.