{"id":18737939,"url":"https://github.com/rocketlaunchr/showerglass","last_synced_at":"2026-03-15T22:09:59.563Z","repository":{"id":41912066,"uuid":"476205012","full_name":"rocketlaunchr/showerglass","owner":"rocketlaunchr","description":"A soothing face filter where you can appreciate the beauty but not fully identify the person.","archived":false,"fork":false,"pushed_at":"2023-07-22T02:01:49.000Z","size":591,"stargazers_count":26,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-27T02:49:13.141Z","etag":null,"topics":["face","face-detection","filter","privacy"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rocketlaunchr.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":"2022-03-31T07:50:57.000Z","updated_at":"2025-09-03T08:28:41.000Z","dependencies_parsed_at":"2024-06-19T04:00:36.030Z","dependency_job_id":"f1f32568-5871-41d3-aefc-2bc560b5fcc4","html_url":"https://github.com/rocketlaunchr/showerglass","commit_stats":{"total_commits":8,"total_committers":2,"mean_commits":4.0,"dds":0.125,"last_synced_commit":"e134c5a8feb3081dcd29accb3e77cded9c2a14f4"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rocketlaunchr/showerglass","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocketlaunchr%2Fshowerglass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocketlaunchr%2Fshowerglass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocketlaunchr%2Fshowerglass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocketlaunchr%2Fshowerglass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rocketlaunchr","download_url":"https://codeload.github.com/rocketlaunchr/showerglass/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rocketlaunchr%2Fshowerglass/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000740,"owners_count":26082933,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["face","face-detection","filter","privacy"],"created_at":"2024-11-07T15:27:28.351Z","updated_at":"2025-10-09T05:14:42.880Z","avatar_url":"https://github.com/rocketlaunchr.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"right\"\u003e\n  ⭐ \u0026nbsp;\u0026nbsp;\u003cstrong\u003ethe project to show your appreciation.\u003c/strong\u003e :arrow_upper_right:\n\u003c/p\u003e\n\n\u003cp align=\"right\"\u003e\n  \u003ca href=\"http://godoc.org/github.com/rocketlaunchr/showerglass/core\"\u003e\u003cimg src=\"http://godoc.org/github.com/rocketlaunchr/showerglass/core?status.svg\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://goreportcard.com/report/github.com/rocketlaunchr/showerglass/core\"\u003e\u003cimg src=\"https://goreportcard.com/badge/github.com/rocketlaunchr/showerglass/core\" /\u003e\u003c/a\u003e\n  \u003ca href=\"https://gocover.io/github.com/rocketlaunchr/showerglass/core\"\u003e\u003cimg src=\"http://gocover.io/_badge/github.com/rocketlaunchr/showerglass/core\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n\n# Showerglass\n\nA soothing face filter where you can appreciate the beauty but not fully identify the person.\nUseful for social applications, blogging etc.\n\nYou can read how it works in this [article](https://itnext.io/profile-photos-privacy-and-social-media-e66a908cd054). \n\n# Features\n\n1. Resizing (Caire, NearestNeighbor, ApproxBiLinear, BiLinear, CatmullRom)\n2. Automatic Face detection\n3. _Frosted_ Showerglass filter (delaunay triangulation) over only face\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://github.com/rocketlaunchr/showerglass/raw/master/example.jpg\" alt=\"female face\" /\u003e\n\u003c/p\u003e\n\nImage credit: https://unsplash.com/photos/tCJ44OIqceU\n\n## Installation\n\n```\ngo get -u github.com/rocketlaunchr/showerglass/core\n```\n\n```go\nimport \"github.com/rocketlaunchr/showerglass/core\"\n```\n\n## Usage\n\n\n```go\nimport\t(\"image/jpeg\"; \"os\";)\nimport\t\"github.com/rocketlaunchr/showerglass/core\"\n\nf, _ := os.Open(\"face.jpg\")\ndefer f.Close()\n\nopts := showerglass.Options{\n\tNewHeight: 100.0,\n\tNewWidth:  100.0,\n\tResizeAlg: showerglass.CatmullRom,\n\tTriangleConfig: func(QRank, facearea int, Q float32, h, w int, c showerglass.MaxPoints) *showerglass.TriangleConfig {\n\t\tif QRank \u003c 1 {\n\t\t\t// only modify first detected face\n\t\t\treturn \u0026showerglass.TriangleConfig{\n\t\t\t\tMaxPoints:  1500,\n\t\t\t\tBlurRadius: 4,\n\t\t\t\tBlurFactor: 1,\n\t\t\t\tEdgeFactor: 6,\n\t\t\t\tPointRate:  0.075,\n\t\t\t}\n\t\t}\n\t\treturn nil\n\t},\n}\n\nmasked, _, _ := showerglass.FaceMask(f, opts)\n\nout, _ := os.Create(\"masked.jpg\")\n\njpeg.Encode(out, masked, \u0026jpeg.Options{Quality: 100})\n```\n\n### Calibration\n\n* A higher `MaxPoints` means the face looks closer to the original.\n* A lower `MaxPoints` (with the exception of `0`) means a more obfuscated face.\n\nBased on the `facearea`, you need to calibrate `MaxPoints` to achieve the desired _feel_.\n\n## Credits\n\n- [Endre Simo](https://github.com/esimov) - One of the masters of Image Processing **[worth following]**\n\n\n## Other useful packages\n\n- [awesome-svelte](https://github.com/rocketlaunchr/awesome-svelte) - Resources for killing react\n- [dataframe-go](https://github.com/rocketlaunchr/dataframe-go) - Statistics and data manipulation\n- [dbq](https://github.com/rocketlaunchr/dbq) - Zero boilerplate database operations for Go\n- [electron-alert](https://github.com/rocketlaunchr/electron-alert) - SweetAlert2 for Electron Applications\n- [google-search](https://github.com/rocketlaunchr/google-search) - Scrape google search results\n- [igo](https://github.com/rocketlaunchr/igo) - A Go transpiler with cool new syntax such as fordefer (defer for for-loops)\n- [mysql-go](https://github.com/rocketlaunchr/mysql-go) - Properly cancel slow MySQL queries\n- [react](https://github.com/rocketlaunchr/react) - Build front end applications using Go\n- [remember-go](https://github.com/rocketlaunchr/remember-go) - Cache slow database queries\n- [testing-go](https://github.com/rocketlaunchr/testing-go) - Testing framework for unit testing\n\n#\n\n### Legal Information\n\nThe license is a modified MIT license. Refer to `LICENSE` file for more details.\n\n**© 2022 PJ Engineering and Business Solutions Pty. Ltd.**","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocketlaunchr%2Fshowerglass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frocketlaunchr%2Fshowerglass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frocketlaunchr%2Fshowerglass/lists"}