|
@@ -12,15 +12,17 @@
|
|
|
}
|
|
|
fieldset {
|
|
|
margin-top: 1em;
|
|
|
- margin-bottom: 1em;
|
|
|
+ margin-bottom: 1em;
|
|
|
}
|
|
|
.about {
|
|
|
+ position: relative;
|
|
|
+ display: inline-block;
|
|
|
font-size: 0.8em;
|
|
|
- margin: 1em 0 1em 0;
|
|
|
+ padding: 1em 5px 0.2em 0;
|
|
|
}
|
|
|
.help {
|
|
|
font-size: 0.8em;
|
|
|
- margin: 1em 0 1em 0;
|
|
|
+ margin: 1em 0 0 0;
|
|
|
}
|
|
|
</style>
|
|
|
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
|
|
@@ -42,46 +44,46 @@
|
|
|
<body>
|
|
|
<h1>waifu2x</h1>
|
|
|
<div class="header">
|
|
|
- <a href="https://github.com/nagadomi/waifu2x">
|
|
|
- <img style="position: absolute; top: 0; left: 540px; border: 0;" src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png">
|
|
|
- </a>
|
|
|
- <a href="index.ja.html">ja</a>/<a href="index.html">en</a>
|
|
|
+ <div style="position:absolute; display:block; top:0; left:540px; max-height:140px;">
|
|
|
+ <img style="position:absolute; display:block; left:0; top:0; width:149px; height:149px; border:0;" src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png">
|
|
|
+ <a href="https://github.com/nagadomi/waifu2x" target="_blank" style="position:absolute; display:block; left:0; top:0; width:149px; height:130px;"></a>
|
|
|
+ </div>
|
|
|
+ <a href="index.html">en</a>/<a href="index.ja.html">ja</a>/<a href="index.ru.html">ru</a>
|
|
|
</div>
|
|
|
<div class="about">
|
|
|
- <div>深層畳み込みニューラルネットワークによる二次元画像のための超解像システム.</div>
|
|
|
- <div><a href="https://raw.githubusercontent.com/nagadomi/waifu2x/master/images/slide.png" target="_blank">about</a>.</div>
|
|
|
+ <div>深層畳み込みニューラルネットワークによる二次元画像のための超解像システム. <a href="https://raw.githubusercontent.com/nagadomi/waifu2x/master/images/slide.png" target="_blank">about</a>.</div>
|
|
|
</div>
|
|
|
<form action="/api" method="POST" enctype="multipart/form-data" target="_blank">
|
|
|
<fieldset>
|
|
|
- <legend>画像</legend>
|
|
|
- <div>
|
|
|
- URL: <input id="url" type="text" name="url" style="width:400px"> or
|
|
|
- </div>
|
|
|
- <div>
|
|
|
- FILE: <input id="file" type="file" name="file">
|
|
|
- </div>
|
|
|
- <div class="help">
|
|
|
- 制限: サイズ: 2MB, ノイズ除去: 2560x2560px, 拡大: 1280x1280px
|
|
|
- </div>
|
|
|
+ <legend>画像</legend>
|
|
|
+ <div>
|
|
|
+ URL: <input id="url" type="text" name="url" style="width:400px"> or
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ FILE: <input id="file" type="file" name="file">
|
|
|
+ </div>
|
|
|
+ <div class="help">
|
|
|
+ 制限: サイズ: 2MB, ノイズ除去: 2560x2560px, 拡大: 1280x1280px
|
|
|
+ </div>
|
|
|
</fieldset>
|
|
|
<fieldset>
|
|
|
- <legend>ノイズ除去 (JPEGノイズを想定)</legend>
|
|
|
- <label><input type="radio" name="noise" value="0"> なし</label>
|
|
|
- <label><input type="radio" name="noise" value="1" checked="checked"> 弱</label>
|
|
|
- <label><input type="radio" name="noise" value="2"> 強</label>
|
|
|
+ <legend>ノイズ除去 (JPEGノイズを想定)</legend>
|
|
|
+ <label><input type="radio" name="noise" value="0"> なし</label>
|
|
|
+ <label><input type="radio" name="noise" value="1" checked="checked"> 弱</label>
|
|
|
+ <label><input type="radio" name="noise" value="2"> 強</label>
|
|
|
</fieldset>
|
|
|
<fieldset>
|
|
|
- <legend>拡大</legend>
|
|
|
- <label><input type="radio" name="scale" value="0" checked="checked"> なし</label>
|
|
|
- <label><input type="radio" name="scale" value="1"> 1.6x</label>
|
|
|
- <label><input type="radio" name="scale" value="2"> 2x</label>
|
|
|
+ <legend>拡大</legend>
|
|
|
+ <label><input type="radio" name="scale" value="0" checked="checked"> なし</label>
|
|
|
+ <label><input type="radio" name="scale" value="1"> 1.6x</label>
|
|
|
+ <label><input type="radio" name="scale" value="2"> 2x</label>
|
|
|
</fieldset>
|
|
|
<input type="submit" value="実行"/>
|
|
|
</form>
|
|
|
<div class="help">
|
|
|
- <ul>
|
|
|
- <li>なし/なしで入力画像を変換せずに出力する。ブラウザのタブで変換結果を比較したい人用。</li>
|
|
|
- <li>Firefoxの方は、右クリから画像が保存できないようなので、CTRL+SキーかALTキー後 ファイル - ページを保存 で画像を保存してください。</li>
|
|
|
+ <ul style="padding-left: 15px;">
|
|
|
+ <li>なし/なしで入力画像を変換せずに出力する。ブラウザのタブで変換結果を比較したい人用。
|
|
|
+ <li>Firefoxの方は、右クリから画像が保存できないようなので、CTRL+SキーかALTキー後 ファイル - ページを保存 で画像を保存してください。
|
|
|
</ul>
|
|
|
</div>
|
|
|
</body>
|