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推論サンプル
- Host: GitHub
- URL: https://github.com/kazuhito00/lyt-net-onnx-sample
- Owner: Kazuhito00
- License: mit
- Created: 2024-04-24T11:17:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-24T11:28:14.000Z (over 1 year ago)
- Last Synced: 2025-04-23T00:44:44.440Z (6 months ago)
- Topics: colaboratory, llie, low-light-image-enhancement, onnx, python
- Language: Jupyter Notebook
- Homepage:
- Size: 15.9 MB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)を使用しています。