{"id":17950942,"url":"https://github.com/brucemacd/swap-cat-and-human-faces","last_synced_at":"2025-04-03T16:15:15.604Z","repository":{"id":85118741,"uuid":"174282876","full_name":"BruceMacD/Swap-Cat-and-Human-Faces","owner":"BruceMacD","description":":smiley_cat: \u003c=\u003e :woman: Swapping cat and human faces for fun and profit.","archived":false,"fork":false,"pushed_at":"2019-03-07T06:38:20.000Z","size":74064,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-01T21:57:18.238Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BruceMacD.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":"2019-03-07T06:10:17.000Z","updated_at":"2024-02-21T07:27:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"c9815962-de38-42a6-9693-9b9563cccd22","html_url":"https://github.com/BruceMacD/Swap-Cat-and-Human-Faces","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/BruceMacD%2FSwap-Cat-and-Human-Faces","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceMacD%2FSwap-Cat-and-Human-Faces/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceMacD%2FSwap-Cat-and-Human-Faces/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BruceMacD%2FSwap-Cat-and-Human-Faces/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BruceMacD","download_url":"https://codeload.github.com/BruceMacD/Swap-Cat-and-Human-Faces/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247033813,"owners_count":20872532,"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-10-29T09:41:26.316Z","updated_at":"2025-04-03T16:15:15.586Z","avatar_url":"https://github.com/BruceMacD.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Swap-Cat-and-Human-Faces\n![swap sample](https://raw.githubusercontent.com/BruceMacD/Swap-Cat-and-Human-Faces/master/data/results/side_by_side.png)\n\nThis is a basic face-swap implementation between a cat and a human using OpenCV. This works as a basic proof-of-concept for face-swapping a human with any mask. The application works by simply matching points from cat facial landmarks to corresponding points in the human face mask. \n\nOriginally I developed this with the intention of creating an app to swap cat and human faces, but I found that it isn't accurate enough for a great app experience. Feel free to implement or extend this code in your own application.\n\n## Usage\n./face_swap.py -i \u003cdata/human_img.jpg\u003e -i \u003cdata/cat_img.jpg\u003e\n\n```\n./face_swap.py -i data/headshot.jpg -i data/mimi.jpg\n```\n\n## Requirements\n* OpenCV v3.0+\n* numpy\n* dlib (for the landmark detection)\n* Python 3\n\n## Sources\nHeadshot\n\nhttps://www.pexels.com/photo/adult-attractive-beautiful-beauty-415829/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrucemacd%2Fswap-cat-and-human-faces","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrucemacd%2Fswap-cat-and-human-faces","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrucemacd%2Fswap-cat-and-human-faces/lists"}