読者です 読者をやめる 読者になる 読者になる

Waifuで拡大時の画質劣化を抑える

 

 

sudo apt update

sudo apt install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev

sudo apt install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev

sudo apt install cmake freeglut3-dev libglew-dev git

git clone https://github.com/glfw/glfw && mkdir build && cd build && cmake ../glfw && make -j4 && sudo make install

wget https://github.com/opencv/opencv/archive/3.2.0.zip

unzip 3.2.0.zip

cd opencv-3.2.0/

cmake .

make

sudo make install

cd

git clone https://github.com/khws4vl/waifu2x-converter-glsl.git

cd waifu2x-converter-glsl/