Giter VIP home page Giter VIP logo

lihongsong / uyalibeautyfacesdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from daiyangyang945/uyalibeautyfacesdk

0.0 0.0 0.0 46.4 MB

UyaliBeautyFaceSDK supports beauty filters, LUTs (Look-Up Tables), facial adjustments such as enlarging eyes and slimming faces, and millisecond-level facial recognition and tracking.UyaliBeautyFace美颜SDK,支持美颜(Beauty Filter),滤镜(LUTs),脸部微调如大眼、瘦脸等,毫秒级人脸识别、人脸跟踪。

C 0.27% Objective-C 53.28% Swift 46.45%

uyalibeautyfacesdk's Introduction

UyaliBeautyFaceSDK:Commercial-grade beauty enhancement SDK

UyaliBeautyFaceSDK is a comprehensive beauty enhancement SDK comparable to commercial-grade standards, integrating various functions such as beauty enhancement, facial shaping, and stickers. Currently, only the basic development of the facial shaping module has been completed, with beauty enhancement and sticker features to be gradually added in later stages.

**If you think this project is good, could you give it a star to show your support? Thank you!**🙏

English/中文

Attention:

Note: As this is self-developed, there may be undiscovered bugs. It is advisable to use with caution for commercial purposes.

Function Planning

  • Beauty: Functions include whitening, smoothing, brightening eyes, whitening teeth, etc.(Completed filters for whitening, smoothing, brightening eyes, and whitening teeth.
  • Reshape: Features for adjusting facial aspects such as small head, slim face, large eyes, forehead, cheekbones, eyebrows, etc.(Nineteen facial enhancement filters have been completed.
  • Makeup: Features include eyebrows, eye makeup, contact lenses, blush, lipstick, etc.(Preliminary planning for all cosmetic filters has been completed.
  • Stickers: Planned (Not Completed)
  • Adaptation for Android (Not Completed)

Partial Feature Showcase

Demonstration materials are sourced from the internet. If there are any copyright concerns, please contact [email protected] for removal.

Reshape:

Face Chin Eye distance
face_thin chin eye_distance
Nose Eyebrow distance
nose_thin eye_distance

美妆:

Makeup: eyebrow Makeup: Lipstick
makeup_eyebrow makeup_rouge

Stickers:

To be continued...

Integration Method

Simply copy the UyaliBeautyFaceSDK from the demo into your own project.

iOS

Initialization:

private let filter = UyaliBeautyFaceEngine()

Image Rendering Processing:

filter.process(pixelBuffer: pixelBuffer!)

Reshape Parameter Configuration:

filter.faceThin_delta = 100 //Range of Slimming Parameters for the Face 0 - 100

Beauty Parameter Configuration:

filter.white_delta = 100 //Range of Whitening Parameters 0 - 100

Makeup Parameter Configuration:

//Makeup filters require two parameters to be set: the first one is the makeup intensity value, and the second one is the makeup style.
filter.makeup_eyebrow_delta = 100 // Makeup: Eyebrow Parameter Range 0 - 100
filter.makeup_eyebrow_type = .eyebrow_cupin //Set the style of the eyebrows to "Cupin".

If there are prompts during integration,

Library not loaded: @rpath/UyaliBeautyFaceSDK.framework/UyaliBeautyFaceSDK

You can enter Build Phases, click on the plus sign at the top left corner, select New Copy Files Phase, then click on the created Copy Files. Set Destination to Frameworks, then click on the plus sign below and add UyaliBeautyFaceSDK.framework.

ios_bug

Android

To be continued

iPhone7 测试

美颜渲染(小头、瘦脸、大眼、瘦鼻等)
CPU cpu
Memory memory
Energy energy
GPU gpu

uyalibeautyfacesdk's People

Contributors

daiyangyang945 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.