1 Star 0 Fork 0

ItalianSC / LYT-Net-ONNX-Sample

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README
MIT

LYT-Net-ONNX-Sample

Low-Light Image Enhancementモデルであるalbrateanu/LYT-NetのONNX推論サンプルです。
ONNXに変換したモデルも同梱しています。変換自体を試したい方はColaboratoryで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

デモの実行方法は以下です。

python sample.py --movie=night01.mp4
  • --device
    カメラデバイス番号の指定
    デフォルト:0
  • --movie
    動画ファイルの指定 ※指定時はカメラデバイスより優先
    デフォルト:指定なし
  • --model
    ロードするモデルの格納パス
    デフォルト:model/lyt_net_lolv2_real_320x240.onnx

Reference

Author

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

License

LYT-Net-ONNX-Sample is under MIT License.

License(Movie)

サンプル動画はNHKクリエイティブ・ライブラリー雨イメージ 夜の道路を走る車を使用しています。

MIT License Copyright (c) 2024 KazuhitoTakahashi Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

No description expand collapse
Jupyter Notebook and 2 more languages
MIT
Cancel

Releases

No release

Contributors

All

Activities

Load More
can not load any more
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/ItalianSCLov/LYT-Net-ONNX-Sample.git
git@gitee.com:ItalianSCLov/LYT-Net-ONNX-Sample.git
ItalianSCLov
LYT-Net-ONNX-Sample
LYT-Net-ONNX-Sample
main

Search