An open API service indexing awesome lists of open source software.

https://github.com/kazuhito00/lyt-net-onnx-sample

Low-Light Image Enhancementモデルであるalbrateanu/LYT-NetのONNX推論サンプル
https://github.com/kazuhito00/lyt-net-onnx-sample

colaboratory llie low-light-image-enhancement onnx python

Last synced: 6 months ago
JSON representation

Low-Light Image Enhancementモデルであるalbrateanu/LYT-NetのONNX推論サンプル

Awesome Lists containing this project

README

          

# LYT-Net-ONNX-Sample
Low-Light Image Enhancementモデルである[albrateanu/LYT-Net](https://github.com/albrateanu/LYT-Net)のONNX推論サンプルです。

ONNXに変換したモデルも同梱しています。変換自体を試したい方はColaboratoryで[LYT-Net-Convert2ONNX.ipynb](https://colab.research.google.com/github/Kazuhito00/LYT-Net-ONNX-Sample/blob/main/LYT-Net-Convert2ONNX.ipynb)を使用ください。

https://github.com/Kazuhito00/LYT-Net-ONNX-Sample/assets/37477845/8ad2245d-51e0-44bc-bd9e-a08551feeac2

# Requirement
* OpenCV 4.5.3.56 or later
* onnxruntime 1.13.0 or later

# Demo
デモの実行方法は以下です。
```bash
python sample.py --movie=night01.mp4
```
* --device

カメラデバイス番号の指定

デフォルト:0
* --movie

動画ファイルの指定 ※指定時はカメラデバイスより優先

デフォルト:指定なし
* --model

ロードするモデルの格納パス

デフォルト:model/lyt_net_lolv2_real_320x240.onnx

# Reference
* [albrateanu/LYT-Net](https://github.com/albrateanu/LYT-Net)

# Author
高橋かずひと(https://twitter.com/KzhtTkhs)

# License
LYT-Net-ONNX-Sample is under [MIT License](LICENSE).

# License(Movie)
サンプル動画は[NHKクリエイティブ・ライブラリー](https://www.nhk.or.jp/archives/creative/)の[雨イメージ 夜の道路を走る車](https://www2.nhk.or.jp/archives/creative/material/view.cgi?m=D0002161702_00000)を使用しています。