{"id":15715899,"url":"https://github.com/rockncoder/opencv","last_synced_at":"2025-03-30T20:18:51.135Z","repository":{"id":208216653,"uuid":"720910971","full_name":"Rockncoder/opencv","owner":"Rockncoder","description":"build an opencv app on m1 mac using c++, cmake, and brew","archived":false,"fork":false,"pushed_at":"2023-11-20T15:01:24.000Z","size":32128,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T20:18:45.931Z","etag":null,"topics":["brew","cmake","cpp","opencv"],"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/Rockncoder.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":"2023-11-20T00:17:49.000Z","updated_at":"2023-11-30T09:59:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"422487fa-9213-451b-8097-9eafd0e19b60","html_url":"https://github.com/Rockncoder/opencv","commit_stats":null,"previous_names":["rockncoder/opencv"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rockncoder%2Fopencv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rockncoder%2Fopencv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rockncoder%2Fopencv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rockncoder%2Fopencv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rockncoder","download_url":"https://codeload.github.com/Rockncoder/opencv/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246372804,"owners_count":20766642,"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":["brew","cmake","cpp","opencv"],"created_at":"2024-10-03T21:43:23.738Z","updated_at":"2025-03-30T20:18:51.111Z","avatar_url":"https://github.com/Rockncoder.png","language":"C++","readme":"## OpenCV C++ Development on Apple Silicon Macs using VS Code ##\n*19 November 2023*\n\nThis is based on project is based on `Elliotcodes` YouTube video `How to Setup OpenCV for C++ on Visual Studio Code (MacOS)` https://youtu.be/Ozc3zWJ_NhQ?si=kJsDgmfhg79IAQvg. This project adds a few bits which make using OpenCV or any other modern C++ project easier on the Mac.\n\n* It uses the still experimental but nonetheless excellent CMake extension for VS Code. (Version is 0.0.17 at time of writing)\n    * CMake does all of the grunt work of finding libraries that you have installed. You don't have to create and configure `tasks.json` or `c_cpp_properties.json`.\n* It includes a video and it is of me of course, talking about Android development in 2012.\n\n### Install Software ###\n\n1. You should have the following already installed on your Mac:\n    1. Xcode, from Mac App Store, ` -\u003e App Store`\n    1. Be sure to install Xcode command line extensions.\n        1. Open the Terminal app and enter:\n        1. `xcode-select --install`\n    1. Homebrew: go to `https://brew.sh/`\n    1. Use brew to install:\n        1. cmake, `brew install cmake`\n        1. pkg-config, `brew install pkg-config`\n        1. opencv, `brew install opencv`\n    1. Visual Studio Code: go to `https://code.visualstudio.com/download`\n\n### Install Essential Extensions: ###\n\n* Main Tools\n    * C/C++\n    * C/C++ Extension Pack\n    * C/C++ Themes\n    * CMake Tools\n    * CMake\n* Check each extension to be sure it is `Enabled`.\n\n### Install Optional Extensions: ###\n\n* Docker and Remote Tools (Not needed for this app but useful to have)\n    * Dev Containers\n    * Docker\n    * Remote - SSH\n    * Remote - SSH: Editing Configuration Files\n    * Remote Explore\n\n### Building, Debugging, and Running ###\n1. CMake: Select a Kit,\n    1. Select: Clang 13.0.0\n    1. This will create a build folder\n1. CMake: Select a Variant\n    1. Select Debug (typical while developing)\n1. CMake: Configure\n1. Build \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frockncoder%2Fopencv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frockncoder%2Fopencv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frockncoder%2Fopencv/lists"}