{"id":25841471,"url":"https://github.com/lyxlplhy/sam2onnx_inference","last_synced_at":"2025-08-30T17:46:05.515Z","repository":{"id":266001474,"uuid":"892517874","full_name":"lyxlplhy/Sam2Onnx_Inference","owner":"lyxlplhy","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-19T06:39:39.000Z","size":10679,"stargazers_count":13,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-03T20:03:12.310Z","etag":null,"topics":["cpp","onnx","sam2"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lyxlplhy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-11-22T09:08:52.000Z","updated_at":"2025-03-06T07:36:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"ca6bb8ee-c94a-4c70-b92b-f2578e09b02d","html_url":"https://github.com/lyxlplhy/Sam2Onnx_Inference","commit_stats":null,"previous_names":["lyxlplhy/sam2onnx_inference"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lyxlplhy/Sam2Onnx_Inference","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyxlplhy%2FSam2Onnx_Inference","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyxlplhy%2FSam2Onnx_Inference/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyxlplhy%2FSam2Onnx_Inference/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyxlplhy%2FSam2Onnx_Inference/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lyxlplhy","download_url":"https://codeload.github.com/lyxlplhy/Sam2Onnx_Inference/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lyxlplhy%2FSam2Onnx_Inference/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272884345,"owners_count":25009599,"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","status":"online","status_checked_at":"2025-08-30T02:00:09.474Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cpp","onnx","sam2"],"created_at":"2025-03-01T05:29:23.452Z","updated_at":"2025-08-30T17:46:05.473Z","avatar_url":"https://github.com/lyxlplhy.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sam2Onnx_Inference\nSAM2分割实现文件包含Model.h、Sam2.h、Sam2.cpp和测试代码main.cpp，支持float32、float16推理\n\n\n\n\n## 功能：\n  * Sam2单帧照片，单目标分割，使用点或者框作为提示信息(节省推理效率，去除了视频推理中记忆模块的使用)\n  * 输入多个提示点、框同时分割单张照片中多目标代码调试中，位于 [Multi-object-segmentation](https://github.com/lyxlplhy/Sam2Onnx_Inference/edit/Multi-object-segmentation/)\n  * yolo目标检测+sam2分割\n  * Sam2所使用onnx权重格式生成代码[Sam2Onnx_Inference](https://github.com/lyxlplhy/Sam2-collection?tab=readme-ov-file#onnx%E5%AF%BC%E5%87%BA)\n\n## 依赖\n  * opencv=4.8\n  * onnxruntime=1.18.0\n  * cuda=12.4\n  * cudnn\n\n## 参考\n  * Sam2:[https://github.com/facebookresearch/sam2](https://github.com/facebookresearch/sam2)\n  * OrtInference：[https://github.com/Aimol-l/OrtInference?tab=readme-ov-file](https://github.com/Aimol-l/OrtInference?tab=readme-ov-file)\n  * ONNX-SAM2-Segment-Anything:[https://github.com/ibaiGorordo/ONNX-SAM2-Segment-Anything](https://github.com/ibaiGorordo/ONNX-SAM2-Segment-Anything)\n  * Sam2-collection: [https://github.com/lyxlplhy/Sam2-collection/tree/master](https://github.com/lyxlplhy/Sam2-collection/tree/master)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyxlplhy%2Fsam2onnx_inference","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flyxlplhy%2Fsam2onnx_inference","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flyxlplhy%2Fsam2onnx_inference/lists"}