{"id":18261659,"url":"https://github.com/timudk/smart_doorbell","last_synced_at":"2025-04-09T00:37:28.331Z","repository":{"id":91804014,"uuid":"141492437","full_name":"timudk/smart_doorbell","owner":"timudk","description":"Find out who is ringing your door bell","archived":false,"fork":false,"pushed_at":"2018-08-06T21:47:59.000Z","size":33836,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T18:53:16.491Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/timudk.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-07-18T21:32:14.000Z","updated_at":"2018-08-06T21:48:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"c89d564c-0f37-4f3b-8921-749182b77999","html_url":"https://github.com/timudk/smart_doorbell","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/timudk%2Fsmart_doorbell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timudk%2Fsmart_doorbell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timudk%2Fsmart_doorbell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timudk%2Fsmart_doorbell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timudk","download_url":"https://codeload.github.com/timudk/smart_doorbell/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247952740,"owners_count":21023942,"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":[],"created_at":"2024-11-05T11:04:35.861Z","updated_at":"2025-04-09T00:37:28.306Z","avatar_url":"https://github.com/timudk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Smart doorbell\nFind out who is ringing your door bell and pass on personalized messages to your visitors when you are not at home.\n\n## Neural network\nThe smart doorbell is based on [multilayer perceptron](https://github.com/timudk/smart_doorbell/blob/master/face_model_L2.h5) using the database [Labeled Faces in the Wild](http://vis-www.cs.umass.edu/lfw/). The network is trained by feeding in (**just 8460**) pairs of pictures that are either labeled 1 (same person) or 0 (not same person). The architecture of the neural network is visualized in the following picture.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/timudk/smart_doorbell/blob/master/neural_network/L2model_plot.png\" width=\"300\"\u003e\n\n## Getting started\nThis application uses [Clarifai's face embedding model](https://clarifai.com/models/face-embedding-image-recognition-model-d02b4508df58432fbb84e800597b8959). You can create a free account [here](https://clarifai.com/developer/) to get an api key. \n\nIn order to use the smart doorbell you have to create a hidden file (**you never want to share this information**) containting your api key:\n```console\nfoo@bar:~$ echo \"your api key\" \u003e .clarifai_api_key.txt \n```\n\n### Prerequisites\n\nThe code is based on the following packages that have to be installed in advance:\n* NumPy\n* OpenCV\n* Clarifai\n* Tensorflow\n* Keras\n\n### Running the test\n\nIn order to test the application, I have created Anon's frienst list including:\n* Angela Merkel\n* Angelique Kerber\n* Barack Obama\n* Cristiano Ronaldo\n* Marie Curie\n* Messi\n* Richard Feynman\n\nYou can now test if the doorbell works by:\n```console\nfoo@bar:~$ python3 doorbell.py \n```\n* Press *Quit* in the first textbox\n* Press *l* and type test_friend_list/friend_list_anon\n* A message should pop up saying that the friend list has been loaded\n* Show a picture of either of Anon's friends to your webcam and press *c*\n* A message for Anon's frined (e.g. **Hello Marie**) should pop up\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimudk%2Fsmart_doorbell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimudk%2Fsmart_doorbell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimudk%2Fsmart_doorbell/lists"}