{"id":21373767,"url":"https://github.com/ura14h/OpenCVSample","last_synced_at":"2025-07-13T08:30:39.836Z","repository":{"id":36276111,"uuid":"40580590","full_name":"ura14h/OpenCVSample","owner":"ura14h","description":"Sample programs for OpenCV and Swift and iOS and macOS.","archived":false,"fork":false,"pushed_at":"2020-01-05T04:31:19.000Z","size":27158,"stargazers_count":131,"open_issues_count":1,"forks_count":27,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-22T08:37:50.329Z","etag":null,"topics":["ios","macos","opencv","swift"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ura14h.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":"2015-08-12T04:45:38.000Z","updated_at":"2024-09-03T05:42:11.000Z","dependencies_parsed_at":"2022-09-06T11:40:36.782Z","dependency_job_id":null,"html_url":"https://github.com/ura14h/OpenCVSample","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ura14h/OpenCVSample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ura14h%2FOpenCVSample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ura14h%2FOpenCVSample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ura14h%2FOpenCVSample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ura14h%2FOpenCVSample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ura14h","download_url":"https://codeload.github.com/ura14h/OpenCVSample/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ura14h%2FOpenCVSample/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265109673,"owners_count":23712730,"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":["ios","macos","opencv","swift"],"created_at":"2024-11-22T08:29:30.618Z","updated_at":"2025-07-13T08:30:39.435Z","avatar_url":"https://github.com/ura14h.png","language":"Swift","funding_links":[],"categories":["OOM-Leaks-Crash"],"sub_categories":["Graphs Processing And Rendering"],"readme":"# OpenCVSample\n\nSample programs for OpenCV and Swift and iOS and macOS.\n\n![Screenshot on iOS](Screenshot_ios.jpg)\n\n\n## OpenCV\n\nThose projects uses OpenCV version 4.2.\nHowever, OpenCV binary isn't include in those projects.\nYou can get OpenCV binary by following steps.\n\n### OpenCV for iOS\n\nA binary version is available as it is.\n\n1. Download `opencv-4.2.0-ios-framework.zip` from [https://github.com/opencv/opencv/releases/download/4.2.0/opencv-4.2.0-ios-framework.zip](https://github.com/opencv/opencv/releases/download/4.2.0/opencv-4.2.0-ios-framework.zip).\n2. Unpack the file.\n3. Copy `opencv2.framework` into `OpenCVSample_iOS` directory.\n\n### OpenCV for macOS\n\nNo binary version, so you need to build a source version.\n\n1. Prepare CMake. (e.g. `brew install cmake`)\n2. Download `opencv-4.2.0.zip` from [https://github.com/opencv/opencv/archive/4.2.0.zip](https://github.com/opencv/opencv/archive/4.2.0.zip).\n3. Prepare a working directory. (e.g. `mkdir ~/foo`)\n4. Unpack the file into the working directory.\n5. Open terminal at the working directory. (e.g. `cd ~/foo`)\n6. Run a build script by python 2. `python opencv-4.2.0/platforms/osx/build_framework.py osx`\n8. Copy `osx/opencv2.framework` into `OpenCVSample_macOS` directory.\n\n\n## Requirements\n\n* macOS 10.15.2\n* iOS 13.3\n* Xcode 11.3\n* Swift 5\n\n\n## License\n\nPlease read [this file](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fura14h%2FOpenCVSample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fura14h%2FOpenCVSample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fura14h%2FOpenCVSample/lists"}