{"id":21476788,"url":"https://github.com/kazuhito00/bread-onnx-sample","last_synced_at":"2025-10-05T19:38:10.658Z","repository":{"id":65559009,"uuid":"594600975","full_name":"Kazuhito00/Bread-ONNX-Sample","owner":"Kazuhito00","description":"Low-Light Image EnhancementモデルであるBreadのPythonでのONNX推論サンプル","archived":false,"fork":false,"pushed_at":"2023-01-29T09:20:46.000Z","size":11321,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2023-03-04T13:14:37.658Z","etag":null,"topics":["llie","onnx","opencv","pytorch"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Kazuhito00.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2023-01-29T03:23:29.000Z","updated_at":"2023-01-30T06:09:41.000Z","dependencies_parsed_at":"2023-02-15T22:00:50.221Z","dependency_job_id":null,"html_url":"https://github.com/Kazuhito00/Bread-ONNX-Sample","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2FBread-ONNX-Sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2FBread-ONNX-Sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2FBread-ONNX-Sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2FBread-ONNX-Sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kazuhito00","download_url":"https://codeload.github.com/Kazuhito00/Bread-ONNX-Sample/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226033263,"owners_count":17563125,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["llie","onnx","opencv","pytorch"],"created_at":"2024-11-23T11:10:18.926Z","updated_at":"2025-10-05T19:38:05.628Z","avatar_url":"https://github.com/Kazuhito00.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bread-ONNX-Sample\nLow-Light Image Enhancementモデルである[Bread](https://github.com/mingcv/bread)のPythonでのONNX推論サンプルです。\u003cbr\u003e\nONNXに変換したモデルも同梱しています。変換自体を試したい方は[Convert2ONNX.ipynb](Convert2ONNX.ipynb)を使用ください。\u003cbr\u003e\n\nhttps://user-images.githubusercontent.com/37477845/215316878-dbd191c0-726c-46a2-9fff-55048b9e58a6.mp4\n\n# Requirement \n* OpenCV 4.5.3.56 or later\n* onnxruntime 1.12.0 or later\n* Pytorch 1.8 or later ※ONNX変換を実施する場合のみ\n\n# Demo\nデモの実行方法は以下です。\n```bash\npython demo_onnx.py\n```\n* --device\u003cbr\u003e\nカメラデバイス番号の指定\u003cbr\u003e\nデフォルト：0\n* --movie\u003cbr\u003e\n動画ファイルの指定 ※指定時はカメラデバイスより優先\u003cbr\u003e\nデフォルト：指定なし\n* --model\u003cbr\u003e\nロードするモデルの格納パス\u003cbr\u003e\nデフォルト：model/Bread_320x240.onnx\n\n# Reference\n* [mingcv/Bread](https://github.com/mingcv/bread)\n* [Dovyski/cvui](https://github.com/Dovyski/cvui)\n\n# Author\n高橋かずひと(https://twitter.com/KzhtTkhs)\n \n# License \nBread-ONNX-Sample is under [Apache2.0 License](LICENSE).\n\n# License(Movie)\nサンプル動画は[NHKクリエイティブ・ライブラリー](https://www.nhk.or.jp/archives/creative/)の[雨イメージ　夜の道路を走る車](https://www2.nhk.or.jp/archives/creative/material/view.cgi?m=D0002161702_00000)を使用しています。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazuhito00%2Fbread-onnx-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkazuhito00%2Fbread-onnx-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazuhito00%2Fbread-onnx-sample/lists"}