{"id":15020361,"url":"https://github.com/chordizm/rxcv","last_synced_at":"2025-10-25T19:30:49.430Z","repository":{"id":65351636,"uuid":"590772533","full_name":"chordizm/rxcv","owner":"chordizm","description":"RxCV provide Rust programming experience to OpenCV.","archived":false,"fork":false,"pushed_at":"2023-06-05T23:33:53.000Z","size":579,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-01T05:09:42.539Z","etag":null,"topics":["computer-vision","opencv","rust"],"latest_commit_sha":null,"homepage":"https://docs.rs/rxcv","language":"Rust","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/chordizm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2023-01-19T07:01:15.000Z","updated_at":"2023-10-31T07:36:48.000Z","dependencies_parsed_at":"2023-02-12T21:30:33.627Z","dependency_job_id":null,"html_url":"https://github.com/chordizm/rxcv","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chordizm%2Frxcv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chordizm%2Frxcv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chordizm%2Frxcv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chordizm%2Frxcv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chordizm","download_url":"https://codeload.github.com/chordizm/rxcv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219865145,"owners_count":16555931,"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":["computer-vision","opencv","rust"],"created_at":"2024-09-24T19:54:57.792Z","updated_at":"2025-10-25T19:30:49.072Z","avatar_url":"https://github.com/chordizm.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RxCV\n\nRxCV provide Rust programming experience to OpenCV.\n\n| Platform | Arch    | Status |\n| :------- | :------ | :----- |\n| Linux    | x86_64  | 0.1.0  |\n| Linux    | aarch64 | 0.1.0  |\n| Windows  | All     | TBA    |\n| macOS    | All     | TBA    |\n\nCurrently support opencv installed from apt.\n\n# Modules\n\n| Module     | Status     |\n| :--------- | :--------- |\n| core       | [WIP]0.1.0 |\n| imgproc    | [WIP]0.1.0 |\n| imgcodecs  | [WIP]0.1.0 |\n| videoio    | TBA        |\n| calib3d    | TBA        |\n| features2d | TBA        |\n| objdetect  | TBA        |\n| dnn        | TBA        |\n| ml         | TBA        |\n| flann      | TBA        |\n| photo      | TBA        |\n| stiching   | TBA        |\n| gapi       | TBA        |\n\n# Get started\n\n```c\nstd::vector\u003cuchar\u003e data = /* Some binary */;\ncv::Mat src = cv::imdecode(data, cv::IMREAD_COLOR), dst;\n\n// Execution time error.\nauto thresh = cv::threshold(src, dst, 0, 255, cv::THRESH_BINARY | cv::THRESH_OTSU);\n```\n\n```rust,ignore\nuse rxcv::{\n    imgproc::{Threshold, ThresholdTypes},\n    Mat,\n};\nlet data:\u0026[u8] = \u0026[1, 2, 3, 4, 5, 6];\nlet src = Mat::\u003cu8, 3\u003e::decode(data).unwrap();\n/**\nNot implemented threshold on Mat::\u003cu8, 3\u003e\nlet (thresh, dst) = src.threshold(\n        0,\n        255,\n        ThresholdTypes::THRESH_BINARY | ThresholdTypes::THRESH_OTSU\n    );\n*/\n// Convert Color;\nlet src = src.cvt_color_bgr2gray().unwrap();\nlet (thresh, dst) = src.threshold(\n        0,\n        255,\n        ThresholdTypes::THRESH_BINARY | ThresholdTypes::THRESH_OTSU\n    ).unwrap();\n```\n\n# Example\n\n```c\nstd::vector\u003cuchar\u003e data = /* Some binary */;\ncv::Mat src = cv::imdecode(data);\n```\n\n```rust,ignore\nuse rxcv::Mat;\nlet data:\u0026[u8] = \u0026[1, 2, 3, 4, 5, 6];\nlet src = Mat::\u003cu8, 3\u003e::decode(data).unwrap();\n```\n\n# License\n\nThis project is licensed under either of [Apache License, Version 2.0](./LICENSE-APACHE) or [MIT license](./LICENSE-MIT) at your option.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchordizm%2Frxcv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchordizm%2Frxcv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchordizm%2Frxcv/lists"}