{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/masked-face-recognition-for-secure","title":"Masked Face Recognition for Secure Authentication","arxiv_id":"2008.11104","date":"2020-08-25","proceeding":null,"authors":["Aqeel Anwar","Arijit Raychowdhury"],"abstract":"With the recent world-wide COVID-19 pandemic, using face masks have become an important part of our lives. People are encouraged to cover their faces when in public area to avoid the spread of infection. The use of these face masks has raised a serious question on the accuracy of the facial recognition system used for tracking school/office attendance and to unlock phones. Many organizations use facial recognition as a means of authentication and have already developed the necessary datasets in-house to be able to deploy such a system. Unfortunately, masked faces make it difficult to be detected and recognized, thereby threatening to make the in-house datasets invalid and making such facial recognition systems inoperable. This paper addresses a methodology to use the current facial datasets by augmenting it with tools that enable masked faces to be recognized with low false-positive rates and high overall accuracy, without requiring the user dataset to be recreated by taking new pictures for authentication. We present an open-source tool, MaskTheFace to mask faces effectively creating a large dataset of masked faces. The dataset generated with this tool is then used towards training an effective facial recognition system with target accuracy for masked faces. We report an increase of 38% in the true positive rate for the Facenet system. We also test the accuracy of re-trained system on a custom real-world dataset MFR2 and report similar accuracy.","url_abs":"https://arxiv.org/abs/2008.11104v1","url_pdf":"https://arxiv.org/pdf/2008.11104v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"masked-face-recognition-for-secure","repo_url":"https://github.com/aqeelanwar/MaskTheFace","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":null},{"paper_slug":"masked-face-recognition-for-secure","repo_url":"https://github.com/nodefluxio/automatic-masking-master","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"masked-face-recognition-for-secure","repo_url":"https://github.com/v-trungdt21/MaskTheFace","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"masked-face-recognition-for-secure","repo_url":"https://github.com/Faceplugin-ltd/FaceRecognition-Android","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"masked-face-recognition-for-secure","repo_url":"https://github.com/Recognito-Vision/Android-FaceRecognition-FaceLivenessDetection","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"masked-face-recognition-for-secure","repo_url":"https://github.com/Recognito-Vision/Linux-FaceRecognition-FaceLivenessDetection","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"none","reach":{"status":"ok"}}],"tasks":[{"task_slug":"face-recognition","task_name":"Face Recognition"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2008.11104","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2008.11104"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Recognito-Vision/Linux-FaceRecognition-FaceLivenessDetection","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/aqeelanwar/MaskTheFace","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Recognito-Vision/Android-FaceRecognition-FaceLivenessDetection","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/nodefluxio/automatic-masking-master","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Faceplugin-ltd/FaceRecognition-Android","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/v-trungdt21/MaskTheFace","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":1,"unverified":11},"by_repo_kind":{"official":{"samples":2,"ran":1,"repositories":1},"listed":{"samples":10,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"8a001e27f9296b3a","entry":"Convert","repo":"aqeelanwar/MaskTheFace","repo_kind":"official","path":"utils/fetch_dataset.py","file_url":"https://github.com/aqeelanwar/MaskTheFace/blob/HEAD/utils/fetch_dataset.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8a001e27f9296b3a"}},{"code_sha256_prefix":"fa68555bed5641ba","entry":"ConvertIfStringIsInt","repo":"nodefluxio/automatic-masking-master","repo_kind":"listed","path":"utils/read_cfg.py","file_url":"https://github.com/nodefluxio/automatic-masking-master/blob/HEAD/utils/read_cfg.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fa68555bed5641ba"}},{"code_sha256_prefix":"64be372fe1de64d5","entry":"color_the_mask","repo":"nodefluxio/automatic-masking-master","repo_kind":"listed","path":"utils/create_mask.py","file_url":"https://github.com/nodefluxio/automatic-masking-master/blob/HEAD/utils/create_mask.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"64be372fe1de64d5"}},{"code_sha256_prefix":"b37e60c17b4e8e9e","entry":"download","repo":"aqeelanwar/MaskTheFace","repo_kind":"official","path":"utils/fetch_dataset.py","file_url":"https://github.com/aqeelanwar/MaskTheFace/blob/HEAD/utils/fetch_dataset.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b37e60c17b4e8e9e"}},{"code_sha256_prefix":"8757f40657e3bed9","entry":"ellipse_angle_of_rotation","repo":"nodefluxio/automatic-masking-master","repo_kind":"listed","path":"utils/fit_ellipse.py","file_url":"https://github.com/nodefluxio/automatic-masking-master/blob/HEAD/utils/fit_ellipse.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8757f40657e3bed9"}},{"code_sha256_prefix":"d8254c0f147a5940","entry":"ellipse_center","repo":"nodefluxio/automatic-masking-master","repo_kind":"listed","path":"utils/fit_ellipse.py","file_url":"https://github.com/nodefluxio/automatic-masking-master/blob/HEAD/utils/fit_ellipse.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d8254c0f147a5940"}},{"code_sha256_prefix":"328f2900ec685445","entry":"fitEllipse","repo":"nodefluxio/automatic-masking-master","repo_kind":"listed","path":"utils/fit_ellipse.py","file_url":"https://github.com/nodefluxio/automatic-masking-master/blob/HEAD/utils/fit_ellipse.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"328f2900ec685445"}},{"code_sha256_prefix":"135b3dc835ffe6ad","entry":"get_confirm_token","repo":"nodefluxio/automatic-masking-master","repo_kind":"listed","path":"utils/fetch_dataset.py","file_url":"https://github.com/nodefluxio/automatic-masking-master/blob/HEAD/utils/fetch_dataset.py","link_basis":"plan_row","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"135b3dc835ffe6ad"}},{"code_sha256_prefix":"3743d0caaf51e752","entry":"get_line","repo":"nodefluxio/automatic-masking-master","repo_kind":"listed","path":"utils/aux_functions.py","file_url":"https://github.com/nodefluxio/automatic-masking-master/blob/HEAD/utils/aux_functions.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3743d0caaf51e752"}},{"code_sha256_prefix":"f2e13aa47113ab54","entry":"get_points_on_chin","repo":"nodefluxio/automatic-masking-master","repo_kind":"listed","path":"utils/aux_functions.py","file_url":"https://github.com/nodefluxio/automatic-masking-master/blob/HEAD/utils/aux_functions.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f2e13aa47113ab54"}},{"code_sha256_prefix":"7483746051031462","entry":"line_intersection","repo":"nodefluxio/automatic-masking-master","repo_kind":"listed","path":"utils/aux_functions.py","file_url":"https://github.com/nodefluxio/automatic-masking-master/blob/HEAD/utils/aux_functions.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7483746051031462"}},{"code_sha256_prefix":"b5776a643f464bbe","entry":"texture_the_mask","repo":"nodefluxio/automatic-masking-master","repo_kind":"listed","path":"utils/create_mask.py","file_url":"https://github.com/nodefluxio/automatic-masking-master/blob/HEAD/utils/create_mask.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b5776a643f464bbe"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}