tencent cloud

Feedback

Hair Dyeing

Last updated: 2024-03-22 18:45:44

    Introduction

    Hair dyeing, which separates the hair of the shooting object and dyes or adds special effects to specific hair areas. Through the segmentation function in hair dyeing, the hair can be dyed in different colors. Tencent Effect can also automatically add hair segmentation mask and yin-yang segmentation mask, which can quickly achieve the hair dyeing effect of the full head, left half of hair, or right half of hair.

    Basic Usage

    1. Create a hair dyeing object

    1.1 Add hair dyeing in the object/component panel;
    Adding hair dyeing is similar to adding human body segmentation ability. It does not add a layer, but adds an ability block. This ability can process the content input by the camera and output the result. We can use these output results for further processing.
    
    
    
    1.2 After adding the hair dyeing ability, two files will be added to the Resource window.
    HairSegmentation.hair: After adding the hair dyeing component, a mask that recognizes the full head of hair will be added.
    yyHairMask.png: Based on the recognition of the full head of hair, yyHairMask will divide the hair into left and right halves.
    
    
    
    1.3 The files will be automatically filled in the corresponding file input box in the component panel.
    If there are special requirements, you can add the mask file to the resource panel yourself and then import the file selection box.
    
    
    

    2. Configure hair dyeing parameters

    After adding the hair dyeing object, the component will enable a hair dyeing effect by default. Hair dyeing effects can be added and deleted repeatedly.
    
    The hair dyeing area provides three options: full head, left half, and right half, to achieve regional hair dyeing.
    
    
    
    Hair dyeing effects are divided into stickers and Lut. After selecting one, the corresponding input box and corresponding parameters will appear. Sticker files include JPG, PNG, PAG, and other common texture materials.
    
    
    
    Import a lut-hair file,and Click the lut box to configure the effect.
    
    
    
    
    
    
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support