Skip to content

Commit 89fda48

Browse files
committed
1.9.2 update readme, update command , fix log
1 parent b25f4f3 commit 89fda48

File tree

22 files changed

+200
-114
lines changed

22 files changed

+200
-114
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,6 @@
44
*.apk
55
*.zip
66
3rdparty/libwebp/*
7+
3rdparty/OpenCV-android-sdk/*
78
/*/*/build
89
/*/*/.cxx

3rdparty/copy_cli_build_result.bat

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ for /d %%D in (..\RealSR-NCNN-Android-CLI\*) do (
3131
)
3232
)
3333

34+
if exist "..\RealSR-NCNN-Android-CLI\Anime4k\build\intermediates\cmake\debug\obj\arm64-v8a\Anime4k" (
35+
xcopy "..\RealSR-NCNN-Android-CLI\Anime4k\build\intermediates\cmake\debug\obj\arm64-v8a\*" "%target_dir%" /Y
36+
)
3437

38+
if exist "..\RealSR-NCNN-Android-CLI\Anime4k\build\intermediates\cmake\release\obj\arm64-v8a\Anime4k" (
39+
xcopy "..\RealSR-NCNN-Android-CLI\Anime4k\build\intermediates\cmake\release\obj\arm64-v8a\*" "%target_dir%" /Y
40+
)
41+
3542
echo Done.
3643
pause

README.md

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
[中文说明](https://github.com/tumuyan/RealSR-NCNN-Android/blob/master/README_CHS.md)
44

5-
RealSR-NCNN-Android is a simple Android application that based on [Waifu2x-NCNN](https://github.com/nihui/waifu2x-ncnn-vulkan), [SRMD-NCNN](https://github.com/nihui/srmd-ncnn-vulkan), [RealCUGAN-NCNN](https://github.com/nihui/realcugan-ncnn-vulkan), [RealSR-NCNN](https://github.com/nihui/realsr-ncnn-vulkan), & [Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN).
5+
RealSR-NCNN-Android is a simple Android application that based on [Waifu2x-NCNN](https://github.com/nihui/waifu2x-ncnn-vulkan), [SRMD-NCNN](https://github.com/nihui/srmd-ncnn-vulkan), [RealCUGAN-NCNN](https://github.com/nihui/realcugan-ncnn-vulkan), [RealSR-NCNN](https://github.com/nihui/realsr-ncnn-vulkan), & [Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN), [Anime4KCPP](https://github.com/TianZerL/Anime4KCPP).
66
The application does not collect any private information from your device.
77
Download: Github [Release](https://github.com/tumuyan/RealSR-NCNN-Android/releases)
88

99
This repository contains 3 project:
10-
1. RealSR-NCNN-Android-CLI can build programs that can be used by the console (for example, Termux) for Android.It contains 5 models (RealSR, SRMD, SRMD, Waifu2x and Resize)
10+
1. RealSR-NCNN-Android-CLI can build programs that can be used by the console (for example, Termux) for Android.It contains 6 models (Anime4k, RealSR, SRMD, SRMD, Waifu2x and Resize)
1111
- The RealSR program could use realsr models and real-esrgan models.
1212
- The Resize program contains classical interpolation mode `nearest` `bilinear` `bicubic` and `avir` `lancir`.
1313
2. RealSR-NCNN-Android-GUI can build a APK (has a GUI and easy to use). Actually it is a shell for the programs build from RealSR-NCNN-Android-CLI.
@@ -70,24 +70,39 @@ Real-ESRGAN is a Practical Algorithms for General Image Restoration.
7070
[[project]](https://github.com/bilibili/ailab/tree/main/Real-CUGAN)
7171
Real-CUGAN is an AI super resolution model for anime images, trained in a million scale anime dataset, using the same architecture as Waifu2x-CUNet.
7272

73+
## About Anime4kCPP
74+
[[Project]](- https://github.com/TianZerL/Anime4KCPP)
75+
Anime4KCPP provides an optimized [bloc97's Anime4K](https://github.com/bloc97/Anime4K) algorithm version 0.9, and it also provides its own CNN algorithm [ACNet](https://github.com/TianZerL/Anime4KCPP/wiki/ACNet), it provides a variety of way to use, including preprocessing and real-time playback, it aims to be a high performance tools to process both image and video.
76+
This project is for learning and the exploration task of algorithm course in SWJTU.
77+
- Anime4K is a simple high-quality anime upscale algorithm. The version 0.9 does not use any machine learning approaches, and can be very fast in real-time processing or pretreatment.
78+
- ACNet is a CNN based anime upscale algorithm. It aims to provide both high-quality and high-performance.
79+
HDN mode can better denoise, HDN level is from 1 to 3, higher for better denoising but may cause blur and lack of detail.
80+
![demo](https://github.com/TianZerL/Anime4KCPP/raw/master/images/example.png)
81+
82+
7383
## How to build RealSR-NCNN-Android-CLI
7484
### step1
7585
https://github.com/Tencent/ncnn/releases
7686
download ncnn-yyyymmdd-android-vulkan-shared.zip.
7787
https://github.com/webmproject/libwebp
7888
download the source of libwebp.
89+
https://opencv.org/releases/
90+
download opencv-android-sdk. (for anime4k)
7991

8092
### step2
8193
extract `ncnn-yyyymmdd-android-vulkan-shared.zip` into `../3rdparty/ncnn-android-vulkan-shared`
82-
extract the source of libwebp into `../3rdparty/libwebp`
83-
94+
extract the source of libwebp into `../3rdparty/libwebp`
95+
extract `opencv-version-android-sdk` into `../3rdparty/opencv-android-sdk`
8496
```
8597
RealSR-NCNN-Android
8698
├─3rdparty
99+
│ ├─opencv-android-sdk
100+
│ │ └─sdk
87101
│ ├─libwebp
88102
│ └─ncnn-android-vulkan-shared
89103
│ └─arm64-v8a
90104
├─RealSR-NCNN-Android-CLI
105+
│ ├─Anime4k
91106
│ ├─RealCUGAN
92107
│ ├─Waifu2x
93108
│ ├─RealSR
@@ -146,6 +161,7 @@ The direct download link for current version: https://github.com/tumuyan/RealSR-
146161
```
147162
RealSR-NCNN-Android-GUI\app\src\main\assets\
148163
└─realsr
164+
│ Anime4k
149165
│ colors.xml
150166
│ delegates.xml
151167
│ libc++_shared.so
@@ -244,13 +260,15 @@ RealSR-NCNN-Android-GUI\app\src\main\assets\
244260
- https://github.com/jixiaozhong/RealSR
245261
- https://github.com/cszn/SRMD
246262
- https://github.com/bilibili/ailab/tree/main/Real-CUGAN
263+
- https://github.com/bloc97/Anime4K
247264

248265
### ncnn projects and models
249266
Most of the C code is copied from Nihui, cause of the directory structure had to be adjusted, the original git was broken
250267
- https://github.com/nihui/realsr-ncnn-vulkan
251268
- https://github.com/nihui/srmd-ncnn-vulkan
252269
- https://github.com/nihui/waifu2x-ncnn-vulkan
253270
- https://github.com/nihui/realcugan-ncnn-vulkan
271+
- https://github.com/TianZerL/Anime4KCPP
254272

255273
## Other Open-Source Code Used
256274
- [https://github.com/Tencent/ncnn](https://github.com/Tencent/ncnn) for fast neural network inference on ALL PLATFORMS

README_CHS.md

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
为了获得更加高质量的视觉体验,或者出于更为基本的目的看清楚图片,图像恢复/超分辨率算法应运而生。而手机作为目前我们生活中最常使用的智能设备,显然有使用这一技术的迫切需求。
88

99
这个仓库正是为安卓设备构建的一个图像超分辨率的应用。具有如下特点:
10-
✅ 内置超分算法和模型多。最初使用了[RealSR-NCNN](https://github.com/nihui/realsr-ncnn-vulkan)[Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN)的成果,后来又添加了[SRMD-NCNN](https://github.com/nihui/srmd-ncnn-vulkan)[RealCUGAN-NCNN](https://github.com/nihui/realcugan-ncnn-vulkan)。同时也内置了[waifu2x-ncnn](https://github.com/nihui/waifu2x-ncnn-vulkan)(但是没有内置模型和预设命令,如有需求自行下载并添加)
10+
✅ 内置超分算法和模型多。最初使用了[RealSR-NCNN](https://github.com/nihui/realsr-ncnn-vulkan)[Real-ESRGAN](https://github.com/xinntao/Real-ESRGAN)的成果,后来又添加了[SRMD-NCNN](https://github.com/nihui/srmd-ncnn-vulkan)[RealCUGAN-NCNN](https://github.com/nihui/realcugan-ncnn-vulkan), [Anime4KCPP](https://github.com/TianZerL/Anime4KCPP)。同时也内置了[waifu2x-ncnn](https://github.com/nihui/waifu2x-ncnn-vulkan)(但是没有内置模型和预设命令,如有需求自行下载并添加)
1111
✅ 兼顾传统插值算法。包括常见的nearest、bilinear、bicubic算法,以及imagemagick的二十多种filter。
1212
✅ 内置缩小算法。除使用用户指定倍率和算法的缩小方式外,resize-ncnn设计了一种自动缩小的算法de-nearest。参见[笔记](https://note.youdao.com/s/6XlIFbWt)
1313
✅ 支持图形界面和命令行两种操作方式使用。
@@ -21,7 +21,7 @@
2121
[Github Release](https://github.com/tumuyan/RealSR-NCNN-Android/releases)
2222

2323
### 仓库结构
24-
1. RealSR-NCNN-Android-CLI 包含RealSR、SRMD、SRMD、Waifu2x、Resize五个模块,可以分别编译出对应的命令行程序,编译结果可以在安卓设备的Termux等虚拟终端中使用。其中:
24+
1. RealSR-NCNN-Android-CLI 包含RealSR、SRMD、SRMD、Waifu2x、Resize和Animk4k共6个模块,可以分别编译出对应的命令行程序,编译结果可以在安卓设备的Termux等虚拟终端中使用。其中:
2525
- RealSR 可以使用RealSR和Real-ESRGAN的模型。
2626
- Resize 可以使用了`nearest/最邻近``bilinear/两次线性``bicubic/两次立方`三种经典放大(interpolation/插值)算法,以及Lanczos插值算法相似的`avir/lancir`。特别的,nearest和bilinear可以通过`-n`参数,不使用ncnn进行运算,得到点对点放大的结果;当不使用`-n`。参数时,`-s`参数可以使用小数。
2727
2. RealSR-NCNN-Android-GUI 可以编译出APK文件,这样用户可以在图形环境下操作。(不过他的本质就是在给上述命令行程序套壳,而不是通过JNI调用库文件)
@@ -86,24 +86,37 @@ Real ESRGAN是一个实用的图像修复算法,可以用来对低分辨率图
8686
[[项目地址]](https://github.com/bilibili/ailab/tree/main/Real-CUGAN)
8787
Real-CUGAN是一个使用百万级动漫数据进行训练的,结构与Waifu2x兼容的通用动漫图像超分辨率模型。
8888

89+
## 关于 Anime4kCPP
90+
[[项目地址]](- https://github.com/TianZerL/Anime4KCPP)
91+
Anime4KCPP提供一个改进后的[bloc97的Anime4K](https://github.com/bloc97/Anime4K)算法0.9版本,同时也提供自己的CNN算法[ACNet](https://github.com/TianZerL/Anime4KCPP/wiki/ACNet)。Anime4KCPP提供多种使用方式,包括预处理与实时播放,其致力于成为高性能的视频或图像处理工具。
92+
- Anime4K算法是一种简单且高质量的动漫类图像超分辨率算法,它并不使用机器学习,因此速度非常快,可用于实时处理和预处理。
93+
- ACNet是一个基于卷积神经网络的超分辨率算法,旨在同时提供高质量和高性能。其中HDN模式能更好的降噪,HDN等级从1到3,越高降噪效果越好,但可能导致模糊和缺少细节。
94+
![demo](https://github.com/TianZerL/Anime4KCPP/raw/master/images/example.png)
95+
8996
## 如何编译 RealSR-NCNN-Android-CLI
9097
### step1
9198
https://github.com/Tencent/ncnn/releases
9299
下载 `ncnn-yyyymmdd-android-vulkan-shared.zip` 或者你自己编译ncnn为so文件
93100
https://github.com/webmproject/libwebp
94101
下载libwebp的源码
95-
102+
https://opencv.org/releases/
103+
下载opencv-android-sdk(供Anime4k使用)
96104
### step2
97105
解压 `ncnn-yyyymmdd-android-vulkan-shared.zip``../3rdparty/ncnn-android-vulkan-shared`
98-
解压libwebp源码到`../3rdparty/libwebp`
106+
解压libwebp源码到`../3rdparty/libwebp`
107+
解压 `opencv-version-android-sdk``../3rdparty/opencv-android-sdk`
99108

100109
```
101110
RealSR-NCNN-Android
102111
├─3rdparty
112+
113+
│ ├─opencv-android-sdk
114+
│ │ └─sdk
103115
│ ├─libwebp
104116
│ └─ncnn-android-vulkan-shared
105117
│ └─arm64-v8a
106118
├─RealSR-NCNN-Android-CLI
119+
│ ├─Anime4k
107120
│ ├─RealCUGAN
108121
│ ├─Waifu2x
109122
│ ├─RealSR
@@ -152,6 +165,7 @@ RealSR-NCNN-Android
152165
```
153166
RealSR-NCNN-Android-GUI\app\src\main\assets\
154167
└─realsr
168+
│ Anime4k
155169
│ colors.xml
156170
│ delegates.xml
157171
│ libc++_shared.so
@@ -163,7 +177,7 @@ RealSR-NCNN-Android-GUI\app\src\main\assets\
163177
│ resize-ncnn
164178
│ srmd-ncnn
165179
│ waifu2x-ncnn
166-
180+
|
167181
├─models-nose
168182
│ up2x-no-denoise.bin
169183
│ up2x-no-denoise.param
@@ -251,13 +265,15 @@ RealSR-NCNN-Android-GUI\app\src\main\assets\
251265
- https://github.com/jixiaozhong/RealSR
252266
- https://github.com/cszn/SRMD
253267
- https://github.com/bilibili/ailab/tree/main/Real-CUGAN
268+
- https://github.com/bloc97/Anime4K
254269

255270
### ncnn项目以及模型
256271
大部分C代码都来自nihui。由于Android直接编译比较困难,必须对项目目录做调整,因此破坏了原有Git。
257272
- https://github.com/nihui/realsr-ncnn-vulkan
258273
- https://github.com/nihui/srmd-ncnn-vulkan
259274
- https://github.com/nihui/waifu2x-ncnn-vulkan
260275
- https://github.com/nihui/realcugan-ncnn-vulkan
276+
- https://github.com/TianZerL/Anime4KCPP
261277

262278
## 使用的其他开源项目
263279
- [https://github.com/Tencent/ncnn](https://github.com/Tencent/ncnn) for fast neural network inference on ALL PLATFORMS

RealSR-NCNN-Android-CLI/Anime4k/src/main/jni/CLI/src/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,9 +541,9 @@ int main(int argc, char* argv[])
541541
);
542542

543543
std::cout
544-
<< "----------------------------------------------\n"
544+
<< "------------------------\n"
545545
<< "Welcome to Anime4KCPP\n"
546-
<< "----------------------------------------------\n";
546+
<< "------------------------\n";
547547

548548
try
549549
{

RealSR-NCNN-Android-CLI/Anime4k/src/main/jni/CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
cmake_minimum_required(VERSION 3.9)
22
project(Anime4KCPP LANGUAGES CXX)
3+
#set(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0 -s -Wall -g -ggdb -Wl,-rpath=./")
4+
#set(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -O3 -Wl,-rpath=./")
35

6+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wl,-rpath=./")
47
if(APPLE)
58
# using brew's llvm (see https://stackoverflow.com/a/54715120/1410221)
69
include_directories("/usr/local/include" "/usr/local/opt/llvm/include")
710
link_directories("/usr/local/lib" "/usr/local/opt/llvm/lib")
811
endif()
912

13+
set(OpenCV_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../../../../3rdparty/OpenCV-android-sdk/sdk/native/jni)
1014
set(ncnn_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../../../../3rdparty/ncnn-android-vulkan-shared/${ANDROID_ABI})
1115
add_library(ncnn SHARED IMPORTED)
1216
include_directories(${ncnn_DIR}/include/ncnn)
1317
set_target_properties(ncnn PROPERTIES IMPORTED_LOCATION
1418
${ncnn_DIR}/lib/libncnn.so)
1519

16-
set(OpenCV_DIR "C:\\Lib\\OpenCV-android-sdk\\sdk\\native\\jni")
17-
#include_directories("C:\\Lib\\OpenCV-android-sdk\\sdk\native\\jni\\include\\opencv2" "C:\\Lib\\OpenCV-android-sdk\\sdk\\native\\jni")
18-
#link_directories("C:\\Lib\\OpenCV-android-sdk\\sdk\\native\\staticlibs")
19-
2020
set(CMAKE_CXX_STANDARD 17)
2121
set(CMAKE_CXX_EXTENSIONS OFF)
2222
set(CMAKE_CXX_STANDARD_REQUIRED ON)

RealSR-NCNN-Android-CLI/Anime4k/src/main/jni/core/include/ACRegister.hpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33

44

55
// Helper macro
6-
//---------------------------------------
6+
//------------------------
77
#define REGISTER_PROCESSOR_IF(C, P, A) REGISTER_PROCESSOR_IF_IMPL(C, P, A)
88
#define REGISTER_PROCESSOR_IF_IMPL(C, P, A) REGISTER_PROCESSOR_IF_##C(P, A)
99

1010
#define REGISTER_PROCESSOR_IF_1(P, A) REGISTER_PROCESSOR(P, A)
1111
#define REGISTER_PROCESSOR_IF_0(P, A)
12-
//---------------------------------------
12+
//------------------------
1313

1414

1515
// Add flag here
16-
//---------------------------------------
16+
//------------------------
1717
#ifdef ENABLE_OPENCL
1818
#define OPENCL_FLAG 1
1919
#else
@@ -31,11 +31,11 @@
3131
#else
3232
#define NCNN_FLAG 0
3333
#endif
34-
//---------------------------------------
34+
//------------------------
3535

3636

3737
//Register processor here
38-
//---------------------------------------
38+
//------------------------
3939
#define PROCESSORS \
4040
REGISTER_PROCESSOR(CPU, Anime4K09)\
4141
REGISTER_PROCESSOR(CPU, ACNet)\
@@ -44,14 +44,14 @@ REGISTER_PROCESSOR_IF(OPENCL_FLAG ,OpenCL, ACNet)\
4444
REGISTER_PROCESSOR_IF(CUDA_FLAG, Cuda, Anime4K09)\
4545
REGISTER_PROCESSOR_IF(CUDA_FLAG, Cuda, ACNet)\
4646
REGISTER_PROCESSOR_IF(NCNN_FLAG, NCNN, ACNet)
47-
//---------------------------------------
47+
//------------------------
4848

4949

5050
#endif // !ANIME4KCPP_CORE_AC_REGISTER_HPP
5151

5252

5353
// Analysis
54-
//---------------------------------------
54+
//------------------------
5555
#ifdef REGISTER_PROCESSOR
5656
#undef REGISTER_PROCESSOR
5757
#endif
@@ -71,11 +71,11 @@ REGISTER_PROCESSOR_IF(NCNN_FLAG, NCNN, ACNet)
7171
#ifdef AC_CASE_UP_ITEM
7272
#define REGISTER_PROCESSOR(P, A) case Processor::Type::P##_##A: return std::make_unique<P::A>(parameters);
7373
#endif
74-
//---------------------------------------
74+
//------------------------
7575

7676

7777
// Define macros
78-
//---------------------------------------
78+
//------------------------
7979
#undef PROCESSOR_ENUM
8080
#ifdef AC_ENUM_ITEM
8181
#define PROCESSOR_ENUM PROCESSORS
@@ -95,4 +95,4 @@ REGISTER_PROCESSOR_IF(NCNN_FLAG, NCNN, ACNet)
9595
#ifdef AC_CASE_UP_ITEM
9696
#define PROCESSOR_CASE_UP PROCESSORS
9797
#endif
98-
//---------------------------------------
98+
//------------------------

RealSR-NCNN-Android-CLI/Anime4k/src/main/jni/core/src/AC.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -770,13 +770,13 @@ void Anime4KCPP::AC::process()
770770
std::string Anime4KCPP::AC::getInfo() const
771771
{
772772
std::ostringstream oss;
773-
oss << "----------------------------------------------" << '\n'
773+
oss << "------------------------" << '\n'
774774
<< "Parameter information" << '\n'
775-
<< "----------------------------------------------" << '\n';
775+
<< "------------------------" << '\n';
776776
if (orgImg.cols && orgImg.rows)
777777
{
778778
oss << orgImg.cols << "x" << orgImg.rows << " to " << width << "x" << height << '\n'
779-
<< "----------------------------------------------" << '\n';
779+
<< "------------------------" << '\n';
780780
}
781781
oss << "Processor info: \n "
782782
<< getProcessorInfo() << '\n';
@@ -787,9 +787,9 @@ std::string Anime4KCPP::AC::getInfo() const
787787
std::string Anime4KCPP::AC::getFiltersInfo() const
788788
{
789789
std::ostringstream oss;
790-
oss << "----------------------------------------------" << '\n'
790+
oss << "------------------------" << '\n'
791791
<< "Filter information" << '\n'
792-
<< "----------------------------------------------" << '\n';
792+
<< "------------------------" << '\n';
793793

794794
return oss.str();
795795
}

RealSR-NCNN-Android-CLI/Anime4k/src/main/jni/core/src/CPUACNet.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ std::string Anime4KCPP::CPU::ACNet::getInfo() const
1414
{
1515
std::ostringstream oss;
1616
oss << AC::getInfo()
17-
<< "----------------------------------------------" << '\n'
17+
<< "------------------------" << '\n'
1818
<< "Zoom Factor: " << param.zoomFactor << '\n'
1919
<< "HDN Mode: " << std::boolalpha << param.HDN << '\n'
2020
<< "HDN Level: " << (param.HDN ? param.HDNLevel : 0) << '\n'
21-
<< "----------------------------------------------" << '\n';
21+
<< "------------------------" << '\n';
2222
return oss.str();
2323
}
2424

2525
std::string Anime4KCPP::CPU::ACNet::getFiltersInfo() const
2626
{
2727
std::ostringstream oss;
2828
oss << AC::getFiltersInfo()
29-
<< "----------------------------------------------" << '\n'
29+
<< "------------------------" << '\n'
3030
<< "Filter not supported" << '\n'
31-
<< "----------------------------------------------" << '\n';
31+
<< "------------------------" << '\n';
3232
return oss.str();
3333
}
3434

RealSR-NCNN-Android-CLI/Anime4k/src/main/jni/core/src/CPUAnime4K09.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -290,24 +290,24 @@ std::string Anime4KCPP::CPU::Anime4K09::getInfo() const
290290
{
291291
std::ostringstream oss;
292292
oss << AC::getInfo()
293-
<< "----------------------------------------------" << '\n'
293+
<< "------------------------" << '\n'
294294
<< "Passes: " << param.passes << '\n'
295295
<< "pushColorCount: " << param.pushColorCount << '\n'
296296
<< "Zoom Factor: " << param.zoomFactor << '\n'
297297
<< "Fast Mode: " << std::boolalpha << param.fastMode << '\n'
298298
<< "Strength Color: " << param.strengthColor << '\n'
299299
<< "Strength Gradient: " << param.strengthGradient << '\n'
300-
<< "----------------------------------------------" << '\n';
300+
<< "------------------------" << '\n';
301301
return oss.str();
302302
}
303303

304304
std::string Anime4KCPP::CPU::Anime4K09::getFiltersInfo() const
305305
{
306306
std::ostringstream oss;
307307
oss << AC::getFiltersInfo()
308-
<< "----------------------------------------------" << '\n'
308+
<< "------------------------" << '\n'
309309
<< "Preprocessing filters list:" << '\n'
310-
<< "----------------------------------------------" << '\n';
310+
<< "------------------------" << '\n';
311311
if (!param.preprocessing)
312312
oss << "Preprocessing disabled" << '\n';
313313
else
@@ -320,9 +320,9 @@ std::string Anime4KCPP::CPU::Anime4K09::getFiltersInfo() const
320320
oss << filters << '\n';
321321
}
322322

323-
oss << "----------------------------------------------" << '\n'
323+
oss << "------------------------" << '\n'
324324
<< "Postprocessing filters list:" << '\n'
325-
<< "----------------------------------------------" << '\n';
325+
<< "------------------------" << '\n';
326326
if (!param.postprocessing)
327327
oss << "Postprocessing disabled" << '\n';
328328
else

0 commit comments

Comments
 (0)