Coder Social home page Coder Social logo

long-jq / realcugan-ncnn-webassembly Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hanfengsan/realcugan-ncnn-webassembly

0.0 0.0 0.0 18.81 MB

基于Wasm的动漫图片超分辨率处理

Home Page: https://real-cugan.animesales.xyz/

License: MIT License

Shell 0.06% JavaScript 47.03% C++ 1.74% C 46.41% Go 0.07% HTML 4.42% CMake 0.27%

realcugan-ncnn-webassembly's Introduction

RealCUGAN-ncnn-webassembly

本项目使用Web Assembly技术,基于ncnn运行Real-CUGAN模型。目前只能使用CPU进行计算。

Real-CUGAN 是一个使用百万级动漫数据进行训练的,结构与Waifu2x兼容的通用动漫图像超分辨率模型。它支持2x\3x\4x倍超分辨率,其中2倍模型支持4种降噪强度与保守修复,3倍/4倍模型支持2种降噪强度与保守修复。

代码实现上深度参考了nihui大佬的realcugan-ncnn-vulkanncnn-webassembly-nanodet

How to build

  1. 安装emscripten
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install 3.1.13
./emsdk activate 3.1.13

source emsdk/emsdk_env.sh # 或者添加到.zshrc等地方
  1. 构建项目:
git clone https://github.com/hanfengsan/realcugan-ncnn-webassembly.git
cd realcugan-ncnn-webassembly

git submodule update --init
sh build.sh

go run local_server.go

然后打开: http://localhost:8000

realcugan-ncnn-webassembly's People

Contributors

hanfengsan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.