{"id":21222263,"url":"https://github.com/evanwieland/shady","last_synced_at":"2026-05-17T20:03:16.440Z","repository":{"id":122491286,"uuid":"427780253","full_name":"EvanWieland/Shady","owner":"EvanWieland","description":"😎 Little OpenCV program written in C++ that augments glasses onto a persons face.","archived":false,"fork":false,"pushed_at":"2021-11-15T20:37:49.000Z","size":37469,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-21T17:14:19.358Z","etag":null,"topics":["augmented-reality","computer-vision","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/EvanWieland.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":"2021-11-13T21:52:50.000Z","updated_at":"2021-11-15T20:37:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"6673350a-87de-46d8-bb59-df3a41ec8f65","html_url":"https://github.com/EvanWieland/Shady","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvanWieland%2FShady","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvanWieland%2FShady/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvanWieland%2FShady/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EvanWieland%2FShady/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EvanWieland","download_url":"https://codeload.github.com/EvanWieland/Shady/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243668234,"owners_count":20328042,"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":["augmented-reality","computer-vision","cpp","opencv"],"created_at":"2024-11-20T22:42:41.262Z","updated_at":"2026-05-17T20:03:11.408Z","avatar_url":"https://github.com/EvanWieland.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e😎 Shady\u003c/h1\u003e\n\u003cp align=\"center\"\u003eLittle OpenCV program written in C++ that augments glasses onto a persons face.\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003c/p\u003e\n\u003cp align=\"center\"\u003e❗ The following instructions are for Ubuntu 20.04. A similiar process will work for other platforms. ❗\u003c/p\u003e\n\u003cp align=\"center\"\u003e\u003c/p\u003e\n\u003c/p\u003e\n\n![Example](https://github.com/EvanWieland/Shady/raw/main/readme.png \"Example\")\n\n## Requirements\n\n### CMake\n\n```console\n$ sudo snap install cmake --classic\n```\n\n### OpenCV\n\n```console\n$ sudo apt update\n$ sudo apt install libopencv-dev python3-opencv\n```\n\n## Running\n\n### Build from source and run\n\nInstall requirements mentioned above\n\n```console\n$ sudo apt install build-essential # If no compiler already installed\n$ git clone https://github.com/EvanWieland/Shady.git\n$ cd /path/to/shady/project\n$ mkdir cmake-build-release \u0026\u0026 cd cmake-build-release \u0026\u0026 cmake ../\n$ cmake --build .\n$ ./shady\n```\n\n### Run pre-compiled release\n\nInstall requirements mentioned above\n\nDownload [Release v1.0.0](https://github.com/EvanWieland/Shady/releases/download/1.0.0/1.0.0.zip)\n\n```console\n# Decompress the downloaded release zip file\n$ cd /path/to/shady/release/filese\n$ ./shady\n```\n\n### Usage\n\nThe Shady program will launch a window showing a stream from your machine's webcam. It will scan for faces and augment readers and sunglasses onto faces that are found.\n\nPress the `ENTER` key to swap between reading glasses and sunglasses.\n\nPress and hold the `ESC` key to terminate the program.\n\n### Credits\n\n[This post](https://learnopencv.com/facemark-facial-landmark-detection-using-opencv/) by LearnOpenCV helped get me up to speed for this project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevanwieland%2Fshady","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fevanwieland%2Fshady","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fevanwieland%2Fshady/lists"}