{"id":21476668,"url":"https://github.com/kazuhito00/d-fine-onnx-sample","last_synced_at":"2026-02-07T14:30:59.436Z","repository":{"id":259695267,"uuid":"879153003","full_name":"Kazuhito00/D-FINE-ONNX-Sample","owner":"Kazuhito00","description":"D-FINEのPythonでのONNX推論サンプル","archived":false,"fork":false,"pushed_at":"2024-11-07T02:00:52.000Z","size":89683,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-02T01:46:45.320Z","etag":null,"topics":["colaboratory","d-fine","object-detection","objectdetection","onnx","python","pytorch","rt-detr"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-27T06:07:51.000Z","updated_at":"2025-05-13T21:12:12.000Z","dependencies_parsed_at":"2024-10-27T12:24:44.169Z","dependency_job_id":null,"html_url":"https://github.com/Kazuhito00/D-FINE-ONNX-Sample","commit_stats":null,"previous_names":["kazuhito00/d-fine-onnx-sample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kazuhito00/D-FINE-ONNX-Sample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2FD-FINE-ONNX-Sample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2FD-FINE-ONNX-Sample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2FD-FINE-ONNX-Sample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2FD-FINE-ONNX-Sample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kazuhito00","download_url":"https://codeload.github.com/Kazuhito00/D-FINE-ONNX-Sample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kazuhito00%2FD-FINE-ONNX-Sample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29197022,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-07T12:38:28.597Z","status":"ssl_error","status_checked_at":"2026-02-07T12:38:23.888Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["colaboratory","d-fine","object-detection","objectdetection","onnx","python","pytorch","rt-detr"],"created_at":"2024-11-23T11:09:46.112Z","updated_at":"2026-02-07T14:30:59.420Z","avatar_url":"https://github.com/Kazuhito00.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# D-FINE-ONNX-Sample\n[Peterande/D-FINE](https://github.com/Peterande/D-FINE)のPythonでのONNX推論サンプルです。\u003cbr\u003e\n変換自体を試したい方は、Google Colaboratory上で[Convert2ONNX.ipynb](Convert2ONNX.ipynb)を使用ください。\u003cbr\u003e\u003cbr\u003e\n![image](https://github.com/user-attachments/assets/f8597453-f9a5-478f-bfe9-e402166adc76)\n\n# Requirement \n* OpenCV 4.5.3.56 or later\n* onnxruntime 1.11.0 or later\n\n# Convert\n[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/Kazuhito00/D-FINE-ONNX-Sample/blob/main/Convert2ONNX.ipynb)\u003cbr\u003e\nColaboratoryでノートブックを開き、上から順に実行してください。\u003cbr\u003e\n\n# Demo\nデモの実行方法は以下です。\n```bash\npython sample_onnx.py\n```\n* --device\u003cbr\u003e\nカメラデバイス番号の指定\u003cbr\u003e\nデフォルト：0\n* --movie\u003cbr\u003e\n動画ファイルの指定 ※指定時はカメラデバイスより優先\u003cbr\u003e\nデフォルト：指定なし\n* --image\u003cbr\u003e\n画像ファイルの指定 ※指定時はカメラデバイスより優先\u003cbr\u003e\nデフォルト：指定なし\n* --model\u003cbr\u003e\nロードするモデルの格納パス\u003cbr\u003e\nデフォルト：model/dfine_s_obj2coco.onnx\n* --score_th\u003cbr\u003e\n検出閾値\u003cbr\u003e\nデフォルト：0.6\n* --unuse_gpu\u003cbr\u003e\nGPU推論なし（CPU推論）\u003cbr\u003e\nデフォルト：指定なし\n\n# Reference\n* [Peterande/D-FINE](https://github.com/Peterande/D-FINE)\n\n# Author\n高橋かずひと(https://twitter.com/KzhtTkhs)\n \n# License \nD-FINE-ONNX-Sample is under [Apache 2.0 License](LICENSE).\n\n# Note\nサンプルの画像は[ぱくたそ](https://www.pakutaso.com/)様の「[ものすごい数のバイクの列（ベトナムホーチミン）](https://www.pakutaso.com/20170628178post-12228.html)」を使用しています。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazuhito00%2Fd-fine-onnx-sample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkazuhito00%2Fd-fine-onnx-sample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkazuhito00%2Fd-fine-onnx-sample/lists"}