waifu2x.go

command module
v1.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 3, 2022 License: MIT Imports: 3 Imported by: 0

README

Go Reference

waifu2x.go

Image super-resolution using deep convolutional neural network (CNN). waifu2x.go is a clone of waifu2x-js.

waifu2x-js: https://github.com/takuyaa/waifu2x-js

Changes

  • 2022-02-09: Imported changes from go-waifu2x, a fork of this repository. This is an excellent job done by @puhitaku and @orisano. It is 14x faster than the original in the non-GPU case.

Install

go install github.com/ikawaha/waifu2x.go@latest

Usage

$ waifu2x.go --help
Usage of waifu2x:
  -i string
    	input file (default stdin)
  -m string
    	waifu2x mode, choose from 'anime' and 'photo' (default "anime")
  -n int
    	noise reduction level 0 <= n <= 3
  -o string
    	output file (default stdout)
  -p int
    	concurrency (default 8)
  -s float
    	scale multiplier >= 1.0 (default 2)
  -v	verbose
image

The Go gopher was designed by Renée French.

Note

This software includes a binary and/or source version of model data from waifu2x which can be obtained from https://github.com/nagadomi/waifu2x.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL