{"id":28278069,"url":"https://github.com/kareem-ghazi/smart-surveillance-system","last_synced_at":"2026-04-17T09:31:38.522Z","repository":{"id":256798700,"uuid":"789860970","full_name":"kareem-ghazi/smart-surveillance-system","owner":"kareem-ghazi","description":"A smart surveillance system with facial detection and recognition built in C++ using OpenCV and cvui. ","archived":false,"fork":false,"pushed_at":"2025-06-13T20:24:41.000Z","size":14276,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-13T21:28:16.709Z","etag":null,"topics":["computer-vision","cpp","cvui","face-detection","face-recognition","opencv"],"latest_commit_sha":null,"homepage":"","language":"C++","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/kareem-ghazi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2024-04-21T18:45:35.000Z","updated_at":"2025-06-13T20:24:46.000Z","dependencies_parsed_at":"2025-06-13T21:33:48.420Z","dependency_job_id":null,"html_url":"https://github.com/kareem-ghazi/smart-surveillance-system","commit_stats":null,"previous_names":["kareem-ghazi/smart-surveillance-system"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/kareem-ghazi/smart-surveillance-system","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kareem-ghazi%2Fsmart-surveillance-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kareem-ghazi%2Fsmart-surveillance-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kareem-ghazi%2Fsmart-surveillance-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kareem-ghazi%2Fsmart-surveillance-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kareem-ghazi","download_url":"https://codeload.github.com/kareem-ghazi/smart-surveillance-system/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kareem-ghazi%2Fsmart-surveillance-system/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31923088,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T09:10:15.403Z","status":"ssl_error","status_checked_at":"2026-04-17T09:10:14.455Z","response_time":62,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["computer-vision","cpp","cvui","face-detection","face-recognition","opencv"],"created_at":"2025-05-21T07:14:29.264Z","updated_at":"2026-04-17T09:31:38.501Z","avatar_url":"https://github.com/kareem-ghazi.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Smart Surveillance System\n\nThis project is a smart surveillance system that could be used to recognize registered people on the system, detect how many people are there, or to monitor for suspicious or unknown people in a certain area.\n\nThe system has been built in C++ using [OpenCV 4.9](https://github.com/opencv/opencv) along with a header-only library for the GUI called [cvui 2.7](https://github.com/Dovyski/cvui). It utilizes the [Viola–Jones](https://en.wikipedia.org/wiki/Viola%E2%80%93Jones_object_detection_framework) algorithm for the facial detection. Additionally, it utilizes the [Eigenfaces](https://en.wikipedia.org/wiki/Eigenface) algorithm for facial recognition. The image processing runs on the CPU.\n\n## Features\n\nSome of the features currently implemented are: \n\n- Detecting faces.\n- Recognizing registered faces.\n- Information panel for keeping track of currently detected people in the frame.\n- Options for enabling/disabling the webcam and the FPS counter.\n- Adding people to the system.\n- Removing people from the system. \n\n## Roadmap\n\nThese are some of the missing or uncompleted features for the project.\n\n- String input isn't sanitized (*could write literally anything*).\n\n## Screenshots\n\n![](meta/application.png)\n\n## Installation\n\nDownload the latest version from the [releases](https://github.com/kareem-ghazi/smart-surveillance-system/releases) section.\n    \n## Run Locally\n\n### Building OpenCV\n1. Download the source of the latest version of [opencv](https://github.com/opencv/opencv) and [opencv_contrib](https://github.com/opencv/opencv_contrib) (make sure both versions are the same).\n\n2. Download [CMake](https://cmake.org/download/) and [Visual Studio 2022](https://visualstudio.microsoft.com/). \n- ![](meta/devc++.png)\n\n3. Place the opencv and opencv_contrib sources in the same folder along with an empty folder called build. \n- ![](meta/prebuild.png)\n\n4. Set the source path to be your OpenCV source folder and the build path to be the build folder. After setting, configure. \n- ![](meta/cmake-config.png) \n\n5. Set the `OPENCV_EXTRA_MODULES_PATH` option to be the opencv_contrib/modules folder. After setting, configure. \n- ![](meta/extra-modules.png)\n\n6. Check the `BUILD_opencv_world` and `BUILD_opencv_face` options. After setting, configure and generate files. \n- ![](meta/opencv-world.png) \n- ![](meta/opencv-face.png)\n\n7. Open the project through CMake. Search for the INSTALL module and build it (two times, release \u0026 debug configurations). \n- ![](meta/install.png)\n- ![](meta/install-build.png)\n\n8. You're done! The binaries, lib, and include files are in the install folder. Do not forget to edit your environmental variables to include OpenCV in your users PATH. \n- ![](meta/build.png)\n\n### Running the Project\n1. Clone the project\n\n```bash\n  git clone https://github.com/kareem-ghazi/smart-surveillance-system\n```\n\n2. Edit the `PATH` user environmental variable and add the path of OpenCV. (a pre-built version is available in the `lib` directory)\n```\n{LOCATION}\\opencv\\x64\\vc17\\bin\n```\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkareem-ghazi%2Fsmart-surveillance-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkareem-ghazi%2Fsmart-surveillance-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkareem-ghazi%2Fsmart-surveillance-system/lists"}