{"id":30367208,"url":"https://github.com/elfsundae/faceunity","last_synced_at":"2025-08-19T23:13:59.394Z","repository":{"id":56061512,"uuid":"249940781","full_name":"ElfSundae/FaceUnity","owner":"ElfSundae","description":"iOS face-beautification toolkit built upon FaceUnity Nama SDK and FULiveDemo. 相芯美颜 SDK 集成工具包。","archived":false,"fork":false,"pushed_at":"2023-02-01T07:17:59.000Z","size":18542,"stargazers_count":5,"open_issues_count":2,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-23T23:42:03.856Z","etag":null,"topics":["animoji","ar-model","face-beautification","face-beautify","face-detection","face-tracking","faceunity","video-effect","video-processing"],"latest_commit_sha":null,"homepage":"","language":"Objective-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/ElfSundae.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}},"created_at":"2020-03-25T09:49:03.000Z","updated_at":"2024-08-27T10:29:32.000Z","dependencies_parsed_at":"2023-02-17T03:01:20.571Z","dependency_job_id":null,"html_url":"https://github.com/ElfSundae/FaceUnity","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/ElfSundae/FaceUnity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElfSundae%2FFaceUnity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElfSundae%2FFaceUnity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElfSundae%2FFaceUnity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElfSundae%2FFaceUnity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ElfSundae","download_url":"https://codeload.github.com/ElfSundae/FaceUnity/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ElfSundae%2FFaceUnity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271236297,"owners_count":24723983,"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-08-19T02:00:09.176Z","response_time":63,"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":["animoji","ar-model","face-beautification","face-beautify","face-detection","face-tracking","faceunity","video-effect","video-processing"],"created_at":"2025-08-19T23:13:58.266Z","updated_at":"2025-08-19T23:13:59.384Z","avatar_url":"https://github.com/ElfSundae.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FaceUnity\n\n[![Build status](https://github.com/ElfSundae/FaceUnity/workflows/Build/badge.svg)](https://github.com/ElfSundae/FaceUnity/actions?query=workflow%3ABuild)\n![CocoaPods](https://img.shields.io/cocoapods/v/FaceUnity)\n\niOS face-beautification toolkit built upon [FaceUnity](https://www.faceunity.com) Nama SDK and [FULiveDemo](https://github.com/Faceunity/FULiveDemo).\n\n相芯美颜 SDK 集成工具包。\n\n## Installation\n\nInstall along with the **lite** version of Nama SDK which without physics engine:\n\n```ruby\npod 'FaceUnity'\n```\n\nOr install along with the **full** version of Nama SDK:\n\n```ruby\npod 'FaceUnity/Full'\n```\n\n## Usage\n\n### Configure auth data for Nama SDK\n\nYou must call `FUSetAuthData()` to configure your FaceUnity auth data before invoking any methods of Nama SDK:\n\n```objc\n#import \u003cFaceUnity/FaceUnity.h\u003e\n#import \"authpack.h\"\n\nFUSetAuthData(\u0026g_auth_package, sizeof(g_auth_package));\n```\n\n`FUSetAuthData()` can be called multiple times before you use any FaceUnity functions, it is useful when you want to load the auth data from a remote location, for example:\n\n```objc\nif (! loadFromCache(cacheFile)) {\n    // Load the default authpack.\n    FUSetAuthData(\u0026g_auth_package, sizeof(g_auth_package));\n}\n\ndownloadAuthData(cacheFile, ^{\n    loadFromCache(cacheFile);\n});\n```\n\n### Preload items\n\nAfter configuring the auth data, you may preload items to speed up the first loading time:\n\n```objc\n// Preload FaceUnity dataSource and items.\ndispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{\n    [[FUManager shareManager] loadFilter];\n});\n```\n\n### Nama SDK documentation\n\nSee [Docs](Docs/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felfsundae%2Ffaceunity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felfsundae%2Ffaceunity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felfsundae%2Ffaceunity/lists"}