{"id":13670442,"url":"https://github.com/hanFengSan/realcugan-ncnn-webassembly","last_synced_at":"2025-04-27T13:32:28.050Z","repository":{"id":37392531,"uuid":"505495409","full_name":"hanFengSan/realcugan-ncnn-webassembly","owner":"hanFengSan","description":"Super-resolution processing for anime images based on WASM; 基于WASM的动漫图片超分辨率处理","archived":false,"fork":false,"pushed_at":"2022-06-22T06:13:48.000Z","size":19274,"stargazers_count":203,"open_issues_count":5,"forks_count":22,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-07T23:37:51.020Z","etag":null,"topics":["emscripten","ncnn","super-resolution","wasm","webassembly"],"latest_commit_sha":null,"homepage":"https://real-cugan.animesales.xyz/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hanFengSan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-06-20T15:23:56.000Z","updated_at":"2025-04-01T15:05:25.000Z","dependencies_parsed_at":"2022-07-14T04:00:41.310Z","dependency_job_id":null,"html_url":"https://github.com/hanFengSan/realcugan-ncnn-webassembly","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanFengSan%2Frealcugan-ncnn-webassembly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanFengSan%2Frealcugan-ncnn-webassembly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanFengSan%2Frealcugan-ncnn-webassembly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hanFengSan%2Frealcugan-ncnn-webassembly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hanFengSan","download_url":"https://codeload.github.com/hanFengSan/realcugan-ncnn-webassembly/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251145642,"owners_count":21543075,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["emscripten","ncnn","super-resolution","wasm","webassembly"],"created_at":"2024-08-02T09:00:42.425Z","updated_at":"2025-04-27T13:32:23.031Z","avatar_url":"https://github.com/hanFengSan.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# RealCUGAN-ncnn-webassembly\n[中文](https://github.com/hanFengSan/realcugan-ncnn-webassembly/blob/main/README_CN.md)\n\nThis project uses Web Assembly technology to run the Real-CUGAN model based on ncnn. \n\n[Real-CUGAN](https://github.com/bilibili/ailab/tree/main/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. It supports 2x\\3x\\4x super resolving. For different enhancement strength, now 2x Real-CUGAN supports 5 model weights, 3x/4x Real-CUGAN supports 3 model weights.\n\nThe code implementation deeply refers to [realcugan-ncnn-vulkan](https://github.com/nihui/realcugan-ncnn-vulkan) and [ncnn-webassembly-nanodet](https://github.com/nihui/ncnn-webassembly-nanodet).\n\n# Usage\nWebsite： https://real-cugan.animesales.xyz/\n\niOS: is not currently supported.\n\nAndroid: please open in a browser app.\n\nPC/Mac/Linux: recommend using the latest version of Chrome or Firefox.\n\n# How to build\n 1. Install [emscripten](https://github.com/emscripten-core/emscripten):\n ```shell\n git clone https://github.com/emscripten-core/emsdk.git\ncd emsdk\n./emsdk install 3.1.13\n./emsdk activate 3.1.13\n\nsource emsdk/emsdk_env.sh # or add it to .zshrc etc.\n```\n2. build:\n```shell\ngit clone https://github.com/hanfengsan/realcugan-ncnn-webassembly.git\ncd realcugan-ncnn-webassembly\n\ngit submodule update --init\nsh build.sh\n\ngo run local_server.go\n```\nopen in brower: http://localhost:8000\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FhanFengSan%2Frealcugan-ncnn-webassembly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FhanFengSan%2Frealcugan-ncnn-webassembly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FhanFengSan%2Frealcugan-ncnn-webassembly/lists"}