KR102386639B1 - Creation of a stroke special effect program file package and a method and apparatus for creating a stroke special effect - Google Patents

Creation of a stroke special effect program file package and a method and apparatus for creating a stroke special effect Download PDF

Info

Publication number
KR102386639B1
KR102386639B1 KR1020207018869A KR20207018869A KR102386639B1 KR 102386639 B1 KR102386639 B1 KR 102386639B1 KR 1020207018869 A KR1020207018869 A KR 1020207018869A KR 20207018869 A KR20207018869 A KR 20207018869A KR 102386639 B1 KR102386639 B1 KR 102386639B1
Authority
KR
South Korea
Prior art keywords
stroke
effect
parameter
target object
generating
Prior art date
Application number
KR1020207018869A
Other languages
Korean (ko)
Other versions
KR20200094768A (en
Inventor
친친 수
잔펭 리
Original Assignee
베이징 센스타임 테크놀로지 디벨롭먼트 컴퍼니 리미티드
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 베이징 센스타임 테크놀로지 디벨롭먼트 컴퍼니 리미티드 filed Critical 베이징 센스타임 테크놀로지 디벨롭먼트 컴퍼니 리미티드
Publication of KR20200094768A publication Critical patent/KR20200094768A/en
Application granted granted Critical
Publication of KR102386639B1 publication Critical patent/KR102386639B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/20Drawing from basic elements, e.g. lines or circles
    • G06T11/203Drawing of straight lines or curves
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/006Mixed reality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/12Edge-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/24Indexing scheme for image data processing or generation, in general involving graphical user interfaces [GUIs]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person
    • G06T2207/30201Face
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/107Static hand or arm
    • G06V40/113Recognition of static hand signs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • G06V40/171Local features and components; Facial parts ; Occluding parts, e.g. glasses; Geometrical relationships

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Graphics (AREA)
  • Processing Or Creating Images (AREA)
  • Image Analysis (AREA)

Abstract

본 출원의 실시예는 스트로크 특수 효과 프로그램 파일 패키지의 생성 및 스트로크 특수 효과 생성 방법과 장치를 개시하고, 여기서, 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은, 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하는 단계; 및 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 스트로크 특수 효과 프로그램 파일 패키지를 생성하는 단계를 포함한다. 본 출원의 실시예에 의해 제공된 스트로크 특수 효과 프로그램 파일 패키지를 생성하는 방안은, 프로그램 파일을 수동으로 작성할 필요없이, 랜더링 엔진이 실행 가능한 스트로크 특수 효과 프로그램 파일 패키지를 생성할 수 있으므로, 동작이 간단하고, 소요 시간이 짧으며, 스트로크 특수 효과를 구현하는 전체적인 효율을 향상시키며, 스트로크 특수 효과의 정확성을 효과적으로 확보한다.An embodiment of the present application discloses a method and apparatus for generating a stroke special effect program file package and generating a stroke special effect, wherein the method for generating a stroke special effect program file package includes: obtaining a parameter value of a stroke effect parameter of a target object to do; and generating a stroke special effect program file package according to the parameter value of the stroke effect parameter of the target object. The method of generating the stroke special effects program file package provided by the embodiment of the present application is simple and easy to operate because the rendering engine can generate an executable stroke special effect program file package without the need to manually create the program file. , the required time is short, the overall efficiency of implementing the stroke special effect is improved, and the accuracy of the stroke special effect is effectively secured.

Description

스트로크 특수 효과 프로그램 파일 패키지의 생성 및 스트로크 특수 효과 생성 방법과 장치Creation of a stroke special effect program file package and a method and apparatus for creating a stroke special effect

관련 출원의 상호 참조Cross-referencing of related applications

본 출원은 2018년 2월 6일에 중국 특허청에 제출한 출원 번호가 CN 201810118942.8이고, 발명의 명칭이 "특수 효과 프로그램 파일 패키지의 생성 및 특수 효과의 생성 방법과 장치"인 중국 특허 출원의 우선권을 요청하며, 그 전부 내용을 인용하여 본 출원에 결합하였다.This application has priority to the Chinese patent application filed with the Chinese Intellectual Property Office on February 6, 2018, the application number of which is CN 201810118942.8, and the title of the invention is "Method and Apparatus for Generating Special Effects Program File Package and Generating Special Effects" requested, and incorporated herein by reference in its entirety.

본 출원은 컴퓨터 시각 기술에 관한 것으로서, 특히 스트로크 특수 효과 프로그램 파일 패키지의 생성 및 스트로크 특수 효과의 생성 방법과 장치에 관한 것이다.The present application relates to computer vision technology, and more particularly, to a method and apparatus for generating a stroke special effect program file package and generating a stroke special effect.

증강 현실 기술(Augmented Reality, AR)은 현실 세계 정보 및 가상 세계 정보를 "끊김없이(Seamlessly)" 통합시키는 새로운 기술로서, 원래 현실 세계에서의 특정 시간 공간 범위 내의 엔티티 정보를 아날로그 시뮬레이션한 후 가상 정보를 중첩하며, 가상 정보를 현실 세계에 적용하여, 현실 세계의 인물, 환경 및 가상 물체를 동일한 화면 또는 공간에 동시에 존재하도록 실시간으로 중첩함으로써, 현실을 넘은 감각적 체험에 도달한다.Augmented Reality (AR) is a new technology that "seamlessly" integrates real-world information and virtual-world information, and after analog simulation of entity information within a specific temporal and spatial range in the original real world, virtual information By overlapping and applying virtual information to the real world, real-time people, environments, and virtual objects are superimposed in real time so that they exist simultaneously on the same screen or space, thereby reaching a sensory experience beyond reality.

본 출원의 실시예는 스트로크 특수 효과 생성의 기술 방안을 제공한다.An embodiment of the present application provides a technical method of generating a stroke special effect.

본 출원의 실시예의 일 측면에 따르면, 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법을 제공하고, 상기 방법은, According to one aspect of the embodiment of the present application, there is provided a method of generating a stroke special effect program file package, the method comprising:

목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하는 단계; 및 obtaining a parameter value of a stroke effect parameter of the target object; and

상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 스트로크 특수 효과 프로그램 파일 패키지를 생성하는 단계를 포함한다.and generating a stroke special effect program file package according to the parameter value of the stroke effect parameter of the target object.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법에 있어서, 상기 목표 대상은, 인물의 적어도 일부, 물체, 도입된 서브 머티리얼 중 어느 하나 또는 복수 개를 포함한다.Optionally, in the method of generating a stroke special effect program file package according to another embodiment, the target object includes at least a part of a person, an object, and any one or a plurality of introduced sub-materials.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은, Optionally, the method of generating a stroke special effects program file package in another embodiment includes:

상기 목표 대상의 스트로크될 영역과 상기 파라미터의 값 사이의 대응 관계를 확립하는 단계를 더 포함하고,establishing a correspondence relationship between a stroke-to-be-stroked area of the target object and a value of the parameter;

상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 스트로크 특수 효과 프로그램 파일 패키지를 생성하는 단계는, 상기 대응 관계 및 상기 파라미터 값에 따라, 상기 스트로크 특수 효과 프로그램 파일 패키지를 생성하는 단계를 포함한다.According to the parameter value of the stroke effect parameter of the target object, generating the stroke special effects program file package includes generating the stroke special effects program file package according to the correspondence relationship and the parameter value.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법에서, 상기 목표 대상의 스트로크될 영역은, 상기 목표 대상이 위치하는 이미지의 물체 분할 경계 영역의 적어도 일부 또는 상기 목표 대상의 적어도 두 개의 키 포인트의 피팅 라인을 포함한다.Optionally, in the method of generating a stroke special effects program file package according to another embodiment, the area to be stroked of the target object is at least a part of an object division boundary area of an image in which the target object is located or at least two of the target object Includes a fitting line of two key points.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은, 조작 바의 인터랙션 인터페이스를 통해 입력된 목표 대상 선택 명령어를 수신하고, 상기 목표 대상을 선택하며, 상기 목표 대상의 스트로크 효과 파라미터 설정 인터페이스를 생성하고, 상기 조작 바에서 상기 목표 대상의 스트로크 효과 파라미터 설정 인터페이스를 디스플레이하는 단계를 더 포함한다.Optionally, the method for generating a stroke special effects program file package in another embodiment includes receiving a target target selection command input through an interaction interface of a manipulation bar, selecting the target target, and a stroke effect parameter of the target target The method further includes generating a setting interface, and displaying a stroke effect parameter setting interface of the target object on the operation bar.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법에서, 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하는 단계는, 상기 목표 대상의 스트로크 효과 파라미터 설정 인터페이스에서의 인터랙션 인터페이스를 통해 송신된 스트로크 효과 파라미터의 파라미터 값을 수신하는 단계를 포함한다.Optionally, in the method of generating a stroke special effects program file package in another embodiment, the step of obtaining the parameter value of the stroke effect parameter of the target object is through an interaction interface in the stroke effect parameter setting interface of the target object and receiving a parameter value of the transmitted stroke effect parameter.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법에서, 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하는 단계는, 상기 목표 대상의 스트로크 효과 파라미터 설정 인터페이스에서의 인터랙션 인터페이스를 통해 송신된 스트로크 효과 파라미터의 파라미터 값이 수신된 것에 응답하여, 설정된 파라미터 값을 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값으로 사용하는 단계; 및 상기 목표 대상의 스트로크 효과 파라미터 설정 인터페이스에서의 인터랙션 인터페이스를 통해 송신된 스트로크 효과 파라미터의 파라미터 값이 미수신된 것에 응답하여, 기설정된 파라미터 값을 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값으로 사용하는 단계 중 적어도 하나를 포함한다.Optionally, in the method of generating a stroke special effects program file package in another embodiment, the step of obtaining the parameter value of the stroke effect parameter of the target object is through an interaction interface in the stroke effect parameter setting interface of the target object using the set parameter value as the parameter value of the stroke effect parameter of the target object in response to the received parameter value of the transmitted stroke effect parameter; and in response to not receiving the parameter value of the stroke effect parameter transmitted through the interaction interface in the stroke effect parameter setting interface of the target object, using a preset parameter value as the parameter value of the stroke effect parameter of the target object at least one of

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법에서, 상기 목표 대상은 하나 또는 복수 개이다.Optionally, in the method of generating a stroke special effect program file package according to another embodiment, the target object is one or more.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법에서, 상기 스트로크 효과 파라미터는,Optionally, in the method of generating a stroke special effect program file package in another embodiment, the stroke effect parameter includes:

스트로크 효과 디스플레이 여부를 제어하기 위한 디스플레이 파라미터; a display parameter for controlling whether to display a stroke effect;

스트로크의 너비를 나타내기 위한 너비 파라미터; a width parameter to indicate the width of the stroke;

스트로크의 색상을 나타내기 위한 색상 파라미터; a color parameter for indicating the color of the stroke;

스트로크 효과 디스플레이를 트리거하는 트리거 이벤트를 나타내기 위한 트리거 이벤트 파라미터; a trigger event parameter for indicating a trigger event that triggers the stroke effect display;

스트로크 효과 디스플레이 지연 시간을 나타내기 위한 지연 트리거 파라미터; a delay trigger parameter for indicating the stroke effect display delay time;

스트로크 효과를 디스플레이하는 프레임 수를 나타내기 위한 디스플레이 프레임 수 파라미터; a display frame number parameter for indicating the number of frames for displaying the stroke effect;

스트로크 효과의 디스플레이를 종료하는 트리거 이벤트를 나타내기 위한 트리거 종료 파라미터; 및 a trigger end parameter for indicating a trigger event that ends the display of the stroke effect; and

스트로크 효과를 디스플레이할 때 기설정된 부위에서 디스플레이되는 뷰티/메이크업 효과를 나타내기 위한 뷰티/메이크업 효과 파라미터 중 어느 하나 또는 복수 개를 포함한다.When the stroke effect is displayed, any one or a plurality of beauty/makeup effect parameters for representing the beauty/makeup effect displayed on a preset portion are included.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법에서, 상기 트리거 이벤트는, 이벤트가 없는 트리거, 눈 동작, 머리 동작, 눈썹 동작, 손 동작, 입술 동작, 어깨 동작, 변형 특수 효과, 스티커 특수 효과 및 사운드 특수 효과 중 어느 하나 또는 복수 개를 포함한다Optionally, in the method of generating a stroke special effect program file package in another embodiment, the trigger event is a trigger without an event, an eye action, a head action, an eyebrow action, a hand action, a lip action, a shoulder action, a transformation special effect , include any one or multiple of sticker special effects and sound special effects

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은, 조작 바의 인터랙션 인터페이스를 통해 입력된 목표 대상의 스트로크 효과를 취소하기 위한 취소 명령어를 수신하고, 상기 목표 대상의 스트로크 효과 파라미터를 삭제하는 단계를 더 포함한다.Optionally, the method of generating a stroke special effect program file package in another embodiment includes receiving a cancellation command for canceling a stroke effect of a target target input through an interaction interface of a manipulation bar, and a stroke effect parameter of the target target It further includes the step of deleting.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은, 컨텐츠 디스플레이 바를 통해 상기 목표 대상의 참조 이미지를 디스플레이하는 단계를 더 포함한다.Optionally, the method of generating a stroke special effect program file package in another embodiment further includes displaying a reference image of the target object through a content display bar.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법에서, 상기 목표 대상이 인물일 경우, 상기 인물의 적어도 일부의 참조 이미지는 상기 인물의 완전한 이미지, 머리 이미지, 얼굴 이미지, 어깨 이미지, 팔 이미지, 제스처 이미지, 허리 이미지, 다리 이미지 및 발 이미지 중 어느 하나 또는 복수 개를 포함한다.Optionally, in the method of generating a stroke special effects program file package in another embodiment, when the target object is a person, the reference image of at least a part of the person is a complete image of the person, a head image, a face image, and a shoulder image , includes any one or a plurality of an arm image, a gesture image, a waist image, a leg image, and a foot image.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은, 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 상기 컨텐츠 디스플레이 바에서 상기 목표 대상의 스트로크 효과를 디스플레이하는 단계를 더 포함한다.Optionally, in another embodiment, the method of generating a stroke special effect program file package further includes: displaying, on the content display bar, a stroke effect of the target object according to a parameter value of a stroke effect parameter of the target object do.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은, 상기 컨텐츠 디스플레이 바에서 상기 목표 대상의 키 포인트를 디스플레이하는 단계를 더 포함한다.Optionally, the method of generating a stroke special effect program file package in another embodiment further includes displaying a key point of the target object on the content display bar.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법에서, 상기 키 포인트는, 머리 키 포인트, 얼굴 키 포인트, 어깨 키 포인트, 팔 키 포인트, 제스처 키 포인트, 허리 키 포인트, 다리 키 포인트, 발 키 포인트 및 인체 골격 키 포인트 중 어느 하나 또는 복수 개를 포함한다.Optionally, in the method of generating a stroke special effect program file package in another embodiment, the key points are: a head key point, a face key point, a shoulder key point, an arm key point, a gesture key point, a waist key point, a leg key It includes any one or a plurality of key points, foot key points, and human skeleton key points.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법에서, 상기 머리 키 포인트가 머리 상부 키 포인트, 코 끝 키 포인트 및 턱 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것; Optionally, in the method of generating a stroke special effects program file package in another embodiment, the hair key point includes any one or a plurality of upper head key points, nose tip key points, and chin key points;

상기 얼굴 키 포인트가 얼굴 윤곽 키 포인트, 눈 키 포인트, 눈썹 키 포인트, 코 키 포인트 및 입 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것;wherein the face key points include any one or a plurality of face contour key points, eye key points, eyebrow key points, nose key points, and mouth key points;

상기 어깨 키 포인트가 어깨와 머리의 교차 위치에 위치한 어깨 및 머리 교차 키 포인트, 및 팔 뿌리 윤곽 키 포인트와 어깨 및 머리 교차 키 포인트 사이의 중간점 위치에 위치한 어깨 윤곽 중간점 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것;any one of a shoulder and head cross key point, wherein the shoulder key point is located at the shoulder and head intersection position, and a shoulder contour midpoint key point located at a midpoint position between the arm root outline key point and the shoulder and head cross key point; or including a plurality;

상기 팔 키 포인트가 손목 윤곽 키 포인트, 팔꿈치 윤곽 키 포인트, 팔 뿌리 윤곽 키 포인트, 손목 윤곽 키 포인트와 팔꿈치 윤곽 키 포인트 사이의 중간점 위치에 위치한 아래팔 윤곽 중간점 키 포인트, 및 팔꿈치 윤곽 키 포인트와 팔 뿌리 윤곽 키 포인트 사이의 중간점 위치에 위치한 위팔 중간점 키 포인트 중 어느 하나 또는 복수 개를 포함하는것;wherein the arm key point is a wrist contour key point, an elbow contour key point, an arm root contour key point, a forearm contour midpoint key point located at a midpoint position between the wrist contour key point and the elbow contour key point, and an elbow contour key point and any one or a plurality of upper arm midpoint key points located at a midpoint position between the arm root contour key points;

상기 제스처 키 포인트가 제스처 박스의 4 개의 정점 키 포인트 및 제스처 박스의 중심 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것;the gesture key point includes any one or a plurality of four vertex key points of a gesture box and a central key point of a gesture box;

상기 다리 키 포인트가 가랑이 키 포인트, 무릎 윤곽 키 포인트, 발목 윤곽 키 포인트, 허벅지 뿌리 부분 외측 윤곽 키 포인트, 무릎 윤곽 키 포인트와 발목 윤곽 키 포인트 사이의 중간점 위치에 위치한 종아리 윤곽 중간점 키 포인트, 무릎 내부 윤곽 키 포인트와 가랑이 키 포인트 사이의 중간점 위치에 위치한 허벅지 내부 윤곽 중간점 키 포인트, 및 무릎 외부 윤곽 키 포인트와 허벅지 뿌리 부분 외측 윤곽 키 포인트 사이의 중간점 위치에 위치한 허벅지 외부 윤곽 중간점 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것;The leg key points are a crotch key point, a knee contour key point, an ankle contour key point, a thigh root outer contour key point, and a calf contour midpoint key point located at a midpoint position between the knee contour key point and the ankle contour key point; The inner thigh contour midpoint key point located at the midpoint position between the knee inner contour key point and the crotch key point, and the outer thigh contour midpoint located at the midpoint position between the knee outer contour key point and the thigh root outer contour key point including any one or a plurality of key points;

상기 허리 키 포인트가 허벅지 뿌리 부분 외측 윤곽 키 포인트와 팔 뿌리 윤곽 키 포인트 사이를 N 등분 하여 생성된 N 개의 등분점 중 어느 하나 또는 복수 개를 포함하는 것 - 상기 N은 1보다 큼 -;wherein the waist key point includes any one or a plurality of N equalization points generated by dividing N equal parts between the thigh root outer contour key point and the arm root contour key point, wherein N is greater than 1;

상기 발 키 포인트가 발 끝 키 포인트 및 발꿈치 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것; 및 that the foot key point includes any one or a plurality of toe key points and heel key points; and

상기 인체 골격 키 포인트가 오른쪽 어깨 골격 키 포인트, 오른쪽 팔꿈치 골격 키 포인트, 오른쪽 손목 골격 키 포인트, 왼쪽 어깨 골격 키 포인트, 왼쪽 팔꿈치 골격 키 포인트, 왼쪽 손목 골격 키 포인트, 오른쪽 엉덩이 골격 키 포인트, 오른쪽 무릎 골격 키 포인트, 오른쪽 발목 골격 키 포인트, 왼쪽 엉덩이 골격 키 포인트, 왼쪽 무릎 골격 키 포인트, 왼쪽 발목 골격 키 포인트, 머리 상부 골격 키 포인트 및 목 골격 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것; 중 적어도 하나이다.The human skeleton key points are a right shoulder skeleton key point, a right elbow skeleton key point, a right wrist skeleton key point, a left shoulder skeleton key point, a left elbow skeleton key point, a left wrist skeleton key point, a right hip skeleton key point, and a right knee skeleton key point. comprising any one or a plurality of skeletal key points, right ankle skeletal key points, left hip skeletal key points, left knee skeletal key points, left ankle skeletal key points, upper head skeletal key points, and neck skeletal key points; at least one of

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법에서, 상기 눈 키 포인트가 왼쪽 눈구멍 키 포인트, 왼쪽 눈 동공 중심 키 포인트, 왼쪽 눈 중심 키 포인트, 오른쪽 눈구멍 키 포인트, 오른쪽 눈 동공 중심 키 포인트 및 오른쪽 눈 중심 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것; Optionally, in the method of generating a stroke special effect program file package in another embodiment, the eye key point is a left eye socket key point, a left eye pupil center key point, a left eye center key point, a right eye hole key point, a right eye pupil including any one or a plurality of central key points and right eye central key points;

상기 눈썹 키 포인트가 왼쪽 눈썹 키 포인트 및 오른쪽 눈썹 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것; the eyebrow key point includes any one or a plurality of left eyebrow key points and right eyebrow key points;

상기 코 키 포인트가 콧등 키 포인트, 코 하측 가장자리 키 포인트 및 코 외측 윤곽 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것; 및 that the nose key point includes any one or a plurality of nose bridge key points, lower nose edge key points, and outer nose contour key points; and

상기 입술 키 포인트가 윗입술 키 포인트 및 아랫입술 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것; 중 적어도 하나이다.the lip key point includes any one or a plurality of upper lip key points and lower lip key points; at least one of

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은, 조작 인터페이스를 디스플레이하는 단계 - 상기 조작 인터페이스는, 상기 조작 바, 컨텐츠 디스플레이 바 및 프로그램 파일 바 중 적어도 하나를 포함함 - 를 더 포함한다.Optionally, in another embodiment, the method of generating a stroke special effect program file package includes: displaying an operation interface, wherein the operation interface includes at least one of the operation bar, the content display bar and the program file bar. include more

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법에서, 상기 조작 인터페이스는 왼쪽, 중간 및 오른쪽에 위치한 세 개의 영역을 포함하며; Optionally, in the method of generating a stroke special effect program file package in another embodiment, the manipulation interface includes three regions located on the left, middle and right;

상기 조작 인터페이스를 디스플레이하는 단계는, 상기 조작 인터페이스의 왼쪽에서 상기 조작 바를 디스플레이하고, 상기 조작 인터페이스의 중간에서 상기 컨텐츠 디스플레이 바를 디스플레이하며, 상기 조작 인터페이스의 오른쪽에서 상기 프로그램 파일 바를 디스플레이하는 단계를 포함한다.The displaying of the operation interface includes displaying the operation bar on the left side of the operation interface, displaying the content display bar in the middle of the operation interface, and displaying the program file bar on the right side of the operation interface. .

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법에서, 상기 스트로크 특수 효과 프로그램 파일 패키지를 생성한 후, 수신된 저장 명령어에 따라 상기 저장 명령어에 의해 지시된 위치에 상기 스트로크 특수 효과 프로그램 파일 패키지를 저장하는 단계를 포함한다.Optionally, in the method of generating a stroke special effects program file package in another embodiment, after generating the stroke special effects program file package, the stroke special effect is located at a location indicated by the storage instruction according to a received storage instruction. and storing the program file package.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법에서, 상기 수신된 저장 명령어에 따라 상기 저장 명령어에 의해 지시된 위치에 상기 스트로크 특수 효과 프로그램 파일 패키지를 저장하는 단계는,Optionally, in the method of generating a stroke special effects program file package in another embodiment, according to the received storage instruction, storing the stroke special effects program file package in a location indicated by the storage instruction comprises:

저장 명령어를 수신한 것에 응답하여, 저장 경로 선택 인터페이스 및 압축 인터페이스를 디스플레이하는 단계;in response to receiving the storage instruction, displaying a storage path selection interface and a compression interface;

상기 저장 경로 선택 인터페이스를 통해 송신된 저장 위치를 수신하는 단계; 상기 압축 인터페이스에 기반하여 송신된 압축 모드를 수신하고, 상기 압축 모드에 따라 상기 스트로크 특수 효과 프로그램 파일 패키지를 압축하여, 압축 파일 패키지를 생성하는 단계; 및 receiving a storage location transmitted through the storage path selection interface; receiving a compression mode transmitted based on the compression interface, compressing the stroke special effects program file package according to the compression mode, and generating a compressed file package; and

상기 압축 파일 패키지를 상기 저장 위치가 지시하는 폴더에 저장하는 단계를 포함한다.and storing the compressed file package in a folder indicated by the storage location.

본 출원의 실시예의 다른 측면에 따르면, 스트로크 특수 효과 생성 방법을 제공하고, 상기 방법은,According to another aspect of an embodiment of the present application, there is provided a method for generating a stroke special effect, the method comprising:

목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하는 단계; 및 obtaining a parameter value of a stroke effect parameter of the target object; and

처리될 이미지 중의 목표 대상 및 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 상기 처리될 이미지에서 상기 목표 대상의 스트로크 특수 효과를 생성하는 단계를 포함한다.and generating a stroke special effect of the target object in the image to be processed, based on a target object in the image to be processed and a parameter value of a stroke effect parameter of the target object.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 방법에서, 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하기 전, 상기 스트로크 특수 효과 생성 방법은,Optionally, in the stroke special effect generating method in another embodiment, before acquiring the parameter value of the stroke effect parameter of the target object, the stroke special effect generating method includes:

스트로크 특수 효과 프로그램 파일 패키지를 도입하는 단계를 더 포함하며,Further comprising the step of introducing a stroke special effects program file package,

상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하는 단계는, 상기 스트로크 특수 효과 프로그램 파일 패키지 중 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하는 단계를 포함한다.The acquiring of the parameter value of the stroke effect parameter of the target object includes acquiring the parameter value of the stroke effect parameter of the target object in the stroke special effect program file package.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 방법에서, 상기 스트로크 특수 효과 프로그램 파일 패키지는, 본 출원의 어느 한 실시예에 따른 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법을 사용하여 생성된다.Optionally, in the method for generating a special stroke effect according to another embodiment, the stroke special effect program file package is generated using the method for generating a special effect program file package for stroke according to an embodiment of the present application.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 방법은,Optionally, the method of generating a stroke special effect in another embodiment includes:

목표 대상의 스트로크될 영역을 결정하는 단계를 더 포함하고,Further comprising the step of determining an area to be stroked of the target object,

상기 처리될 이미지 중의 상기 목표 대상 및 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 상기 처리될 이미지에서 상기 목표 대상의 스트로크 효과를 생성하는 단계는, 상기 스트로크 특수 효과 프로그램 파일 패키지 중 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값과 상기 목표 대상의 스트로크될 영역 사이의 대응 관계에 기반하여, 상기 스트로크될 영역에서 상기 스트로크 특수 효과를 생성하는 단계를 포함한다.The generating of the stroke effect of the target object in the image to be processed based on parameter values of the target object in the image to be processed and the stroke effect parameter of the target object may include: and generating the stroke special effect in the to-be-stroked region based on a corresponding relationship between the parameter value of the stroke effect parameter of the target and the to-be-stroked region of the target object.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 방법에서, 상기 목표 대상의 스트로크될 영역을 결정하는 단계는,Optionally, in the method for generating a special stroke effect in another embodiment, the step of determining an area to be stroked of the target object includes:

상기 처리될 이미지 중의 상기 목표 대상과 상기 처리될 이미지 중의 상기 목표 대상 이외의 부분에 대한 물체 분할 결과를 획득하는 단계; 및 obtaining an object segmentation result for the target object in the image to be processed and a portion other than the target object in the image to be processed; and

물체 분할 결과에 기반하여 적어도 일부 분할 경계 영역을 상기 목표 대상의 스트로크될 영역으로 결정하는 단계를 포함한다.and determining at least a partial division boundary area as an area to be stroked of the target object based on a result of object division.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 방법에서, 상기 목표 대상의 스트로크될 영역을 결정하는 단계는,Optionally, in the method for generating a special stroke effect in another embodiment, the step of determining an area to be stroked of the target object includes:

상기 처리될 이미지 중의 상기 목표 대상의 키 포인트 검출 결과를 획득하는 단계; 및obtaining a key point detection result of the target object in the image to be processed; and

상기 키 포인트 검출 결과에 기반하여, 상기 목표 대상의 적어도 두 개의 키 포인트의 피팅 라인을 상기 목표 대상의 스트로크될 영역으로 결정하는 단계를 포함한다.and determining a fitting line of at least two key points of the target target as a stroke-to-be-stroked area of the target target based on a result of detecting the key point.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 방법에서, 상기 처리될 이미지 중의 상기 목표 대상의 키 포인트 검출 결과를 획득하는 단계는, 신경 네트워크를 통해, 상기 처리될 이미지에 대해 상기 목표 대상의 키 포인트 검출을 수행하고, 키 포인트 검출 결과를 출력하는 단계를 포함한다.Optionally, in the method for generating a special stroke effect in another embodiment, the step of obtaining a key point detection result of the target object in the to-be-processed image includes, via a neural network, a key of the target object for the to-be-processed image performing point detection and outputting a key point detection result.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 방법에서, 상기 키 포인트 검출 결과는, 상기 키 포인트가 상기 이미지에서의 위치; 및 상기 키 포인트의 기설정된 번호 중 어느 하나 또는 복수 개를 포함한다.Optionally, in the method for generating a special stroke effect according to another embodiment, the key point detection result may include: a location of the key point in the image; and any one or a plurality of preset numbers of the key points.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 방법에서, 상기 처리될 이미지는, 정적 이미지 및 비디오의 이미지 중 어느 하나 또는 복수 개를 포함한다.Optionally, in the method for generating a special stroke effect according to another embodiment, the image to be processed includes any one or a plurality of images of a static image and a video.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 방법에서, 상기 스트로크 효과 파라미터는 트리거 이벤트 파라미터를 포함하며, 상기 트리거 이벤트 파라미터는 스트로크 효과 디스플레이를 트리거하는 트리거 이벤트를 나타내기 위한 것이며,Optionally, in the method for generating a stroke special effect in another embodiment, the stroke effect parameter includes a trigger event parameter, wherein the trigger event parameter is for indicating a trigger event triggering the stroke effect display,

상기 스트로크 특수 효과 생성 방법은, 상기 처리될 이미지에 상기 트리거 이벤트 파라미터의 파라미터 값에 대응하는 트리거 이벤트가 출현하는지 여부를 검출하는 단계를 더 포함하고,The stroke special effect generating method further includes detecting whether a trigger event corresponding to a parameter value of the trigger event parameter appears in the image to be processed,

상기 처리될 이미지 중의 목표 대상 및 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 상기 처리될 이미지에서 상기 목표 대상의 스트로크 효과를 생성하는 단계는, 상기 처리될 도면에서 상기 트리거 이벤트 파라미터의 파라미터 값에 대응하는 트리거 이벤트가 출현한 것이 검출된 것에 응답하여, 처리될 이미지 중의 목표 대상 및 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 상기 처리될 이미지에서 상기 목표 대상의 스트로크 특수 효과를 생성하는 단계를 포함한다.The generating of the stroke effect of the target object in the image to be processed based on a parameter value of a target object in the image to be processed and a stroke effect parameter of the target object may include: a parameter of the trigger event parameter in the image to be processed In response to detecting occurrence of a trigger event corresponding to a value, based on a target object in the image to be processed and a parameter value of a stroke effect parameter of the target object, a stroke special effect of the target object in the image to be processed is determined comprising the steps of creating

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 방법에서, 상기 스트로크 효과 파라미터는 트리거 종료 파라미터를 포함하며, 상기 트리거 종료 파라미터는 스트로크 효과의 디스플레이를 종료하는 트리거 이벤트를 나타내기 위한 것이고,Optionally, in the method of generating a stroke special effect in another embodiment, the stroke effect parameter includes a trigger end parameter, wherein the trigger end parameter is for indicating a trigger event that ends display of the stroke effect,

상기 스트로크 특수 효과 생성 방법은, 상기 처리될 이미지에 상기 트리거 종료 파라미터의 파라미터 값에 대응하는 트리거 이벤트가 출현하는지 여부를 검출하는 단계; 및 상기 처리될 이미지에서 상기 트리거 종료 파라미터의 파라미터 값에 대응하는 트리거 이벤트가 출현한 것이 검출된 것에 응답하여, 상기 처리될 이미지에서 생성된 상기 목표 대상의 스트로크 특수 효과를 취소하는 단계를 더 포함한다.The stroke special effect generating method may include: detecting whether a trigger event corresponding to a parameter value of the trigger termination parameter appears in the image to be processed; and in response to detecting occurrence of a trigger event corresponding to the parameter value of the trigger termination parameter in the image to be processed, canceling a stroke special effect of the target object generated in the image to be processed. .

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 방법에서, 상기 스트로크 효과 파라미터는 뷰티/메이크업 효과 파라미터를 포함하며, 상기 뷰티/메이크업 효과 파라미터는 스트로크 효과를 디스플레이할 때 기설정된 부위에서 디스플레이되는 뷰티/메이크업 효과를 나타내기 위한 것이고; Optionally, in the method for generating a special stroke effect in another embodiment, the stroke effect parameter includes a beauty/makeup effect parameter, and the beauty/makeup effect parameter is a beauty/makeup effect parameter displayed in a preset area when displaying the stroke effect. for showing a makeup effect;

상기 스트로크 특수 효과 생성 방법은, 처리될 이미지 중의 목표 대상 및 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 상기 처리될 이미지에서 상기 목표 대상의 스트로크 특수 효과를 생성할 경우, 상기 뷰티/메이크업 효과 파라미터에 따라, 상기 처리될 이미지에서 뷰티/메이크업 효과를 디스플레이하는 단계를 더 포함한다.The method for generating a special stroke effect includes: when generating a special stroke effect of the target object in the image to be processed based on a target object in the image to be processed and a parameter value of a stroke effect parameter of the target object, the beauty/makeup The method further includes displaying, according to the effect parameter, a beauty/makeup effect in the image to be processed.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 방법에서, 상기 스트로크 특수 효과 프로그램 파일 패키지를 도입하는 단계는, 파일 패키지를 판독하기 위한 인터페이스 함수를 호출하는 것을 통해, 상기 스트로크 특수 효과 프로그램 파일 패키지를 내부 저장소로 판독하는 단계; 및 상기 스트로크 특수 효과 프로그램 파일 패키지를 해석하여, 스트로크 특수 효과 프로그램 파일을 획득하는 단계를 포함하며 상기 스트로크 특수 효과 프로그램 파일은 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 포함한다.Optionally, in the method of generating a stroke special effect in another embodiment, the step of introducing the stroke special effect program file package may include, through calling an interface function for reading the file package, the stroke special effect program file package. reading into internal storage; and analyzing the stroke special effects program file package to obtain a stroke special effects program file, wherein the stroke special effects program file includes parameter values of the stroke effect parameters of the target object.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 방법에서, 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하는 단계는, 스티커 핸들을 생성하기 위한 인터페이스 함수를 통해 스티커 핸들을 생성하는 단계; 및 상기 스트로크 특수 효과 프로그램 파일에서의 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 판독하고, 상기 스티커 핸들에 저장하는 단계를 포함한다.Optionally, in the method for generating a special stroke effect in another embodiment, the obtaining of the parameter value of the stroke effect parameter of the target object includes: generating a sticker handle through an interface function for generating the sticker handle; and reading the parameter value of the stroke effect parameter of the target object in the stroke special effect program file, and storing the parameter value in the sticker handle.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 방법에서, 상기 처리될 이미지가 비디오의 이미지일 경우, 상기 스트로크 특수 효과 생성 방법은, 상기 스티커 핸들의 상기 스트로크 특수 효과 프로그램 파일 중 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 상기 목표 대상의 스트로크 특수 효과가 상기 비디오에서 디스플레이될 비디오 프레임 수를 획득하고, 상기 비디오로부터 상기 비디오 프레임 수에 대응하는 비디오 이미지를 미리 판독하는 단계를 더 포함한다.Optionally, in the method for generating a special stroke effect according to another embodiment, when the image to be processed is an image of a video, the method for generating a special effect for stroke includes: a stroke effect of a target object among the stroke special effect program file of the sticker handle The method further includes: according to a parameter value of the parameter, obtaining a number of video frames in which the stroke special effect of the target object is to be displayed in the video, and pre-reading a video image corresponding to the number of video frames from the video.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 방법은, 상기 스트로크 특수 효과 프로그램 파일 패키지가 재생 완료된 것에 응답하여, 스티커 핸들을 제거하기 위한 인터페이스 함수를 호출하는 것을 통해 상기 스티커 핸들을 제거하는 단계를 더 포함한다.Optionally, the method for generating a special stroke effect in another embodiment includes, in response to the stroke special effect program file package being reproduced, removing the sticker handle through calling an interface function for removing the sticker handle. include more

본 출원의 실시예의 또 다른 측면에 따르면, 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치를 제공하고, 상기 장치는, According to another aspect of the embodiment of the present application, there is provided an apparatus for generating a stroke special effect program file package, the apparatus comprising:

목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하기 위한 제1 획득 모듈; 및 a first acquiring module for acquiring a parameter value of a stroke effect parameter of the target object; and

상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 스트로크 특수 효과 프로그램 파일 패키지를 생성하기 위한 제1 생성 모듈을 포함한다.and a first generating module for generating a stroke special effect program file package according to the parameter value of the stroke effect parameter of the target object.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치에서, 상기 목표 대상은, 인물의 적어도 일부, 물체, 도입된 서브 머티리얼 중 어느 하나 또는 복수 개를 포함한다.Optionally, in the apparatus for generating a stroke special effect program file package according to another embodiment, the target object includes at least a part of a person, an object, and any one or a plurality of introduced sub-materials.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치는,Optionally, the apparatus for generating a stroke special effect program file package in another embodiment includes:

상기 목표 대상의 스트로크될 영역과 상기 파라미터의 값 사이의 대응 관계를 확립하기 위한 확립 모듈을 더 포함하고,an establishing module for establishing a correspondence relationship between the stroke-to-be-stroked area of the target object and the value of the parameter;

상기 제1 생성 모듈은, 상기 대응 관계 및 상기 파라미터 값에 따라, 상기 스트로크 특수 효과 프로그램 파일 패키지를 생성하기 위한 것이다.The first generating module is configured to generate the stroke special effect program file package according to the correspondence relationship and the parameter value.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치에서, 상기 목표 대상의 스트로크될 영역은, 상기 목표 대상이 위치하는 이미지의 물체 분할 경계 영역의 적어도 일부 또는 상기 목표 대상의 적어도 두 개의 키 포인트의 피팅 라인을 포함한다.Optionally, in the apparatus for generating a stroke special effect program file package according to another embodiment, the area to be stroked of the target object is at least a part of an object division boundary area of an image in which the target object is located or at least two of the target object Includes a fitting line of two key points.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치는, 인터랙션 인터페이스를 포함하는 조작 바를 더 포함하고, 상기 인터랙션 인터페이스는 상기 인터랙션 인터페이스를 통해 입력된 목표 대상 선택 명령어를 수신하고, 상기 목표 대상을 선택하며, 상기 목표 대상의 스트로크 효과 파라미터 설정 인터페이스를 생성하고, 상기 조작 바에서 상기 목표 대상의 스트로크 효과 파라미터 설정 인터페이스를 디스플레이하기 위한 것이며,Optionally, the apparatus for generating a stroke special effects program file package according to another embodiment further includes a manipulation bar including an interaction interface, the interaction interface receiving a target object selection command input through the interaction interface, the selecting a target object, generating a stroke effect parameter setting interface of the target object, and displaying the stroke effect parameter setting interface of the target object on the operation bar;

상기 제1 획득 모듈은, 상기 목표 대상의 스트로크 효과 파라미터 설정 인터페이스에서의 인터랙션 인터페이스를 통해 송신된 스트로크 효과 파라미터의 파라미터 값을 수신하기 위한 것이다.The first acquiring module is configured to receive the parameter value of the stroke effect parameter transmitted through the interaction interface in the stroke effect parameter setting interface of the target object.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치에서, 상기 제1 획득 모듈은, 상기 목표 대상의 스트로크 효과 파라미터 설정 인터페이스에서의 인터랙션 인터페이스를 통해 송신된 스트로크 효과 파라미터의 파라미터 값이 수신된 것에 응답하여, 설정된 파라미터 값을 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값으로 사용하기 위한 것; 및 상기 목표 대상의 스트로크 효과 파라미터 설정 인터페이스에서의 인터랙션 인터페이스를 통해 송신된 스트로크 효과 파라미터의 파라미터 값이 미수신된 것에 응답하여, 기설정된 파라미터 값을 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값으로 사용하기 위한 것 중 적어도 하나이다.Optionally, in the apparatus for generating a stroke special effect program file package according to another embodiment, the first acquiring module is configured to: the parameter value of the stroke effect parameter transmitted through the interaction interface in the stroke effect parameter setting interface of the target object is in response to being received, using the set parameter value as a parameter value of the stroke effect parameter of the target object; and in response to not receiving the parameter value of the stroke effect parameter transmitted through the interaction interface in the stroke effect parameter setting interface of the target object, using a preset parameter value as the parameter value of the stroke effect parameter of the target object. at least one of

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치에서, 상기 스트로크 효과 파라미터는, Optionally, in the apparatus for generating a stroke special effect program file package according to another embodiment, the stroke effect parameter includes:

스트로크 효과 디스플레이 여부를 제어하기 위한 디스플레이 파라미터; a display parameter for controlling whether to display a stroke effect;

스트로크의 너비를 나타내기 위한 너비 파라미터; a width parameter to indicate the width of the stroke;

스트로크의 색상을 나타내기 위한 색상 파라미터; a color parameter for indicating the color of the stroke;

스트로크 효과 디스플레이를 트리거하는 트리거 이벤트를 나타내기 위한 트리거 이벤트 파라미터; a trigger event parameter for indicating a trigger event that triggers the stroke effect display;

스트로크 효과 디스플레이 지연 시간을 나타내기 위한 지연 트리거 파라미터; a delay trigger parameter for indicating the stroke effect display delay time;

스트로크 효과를 디스플레이하는 프레임 수를 나타내기 위한 디스플레이 프레임 수 파라미터; a display frame number parameter for indicating the number of frames for displaying the stroke effect;

스트로크 효과의 디스플레이를 종료하는 트리거 이벤트를 나타내기 위한 트리거 종료 파라미터; 및 a trigger end parameter for indicating a trigger event that ends the display of the stroke effect; and

스트로크 효과를 디스플레이할 때 기설정된 부위에서 디스플레이되는 뷰티/메이크업 효과를 나타내기 위한 뷰티/메이크업 효과 파라미터 중 어느 하나 또는 복수 개를 포함한다.When the stroke effect is displayed, any one or a plurality of beauty/makeup effect parameters for representing the beauty/makeup effect displayed on a preset portion are included.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치에서, 상기 트리거 이벤트는, 이벤트가 없는 트리거, 눈 동작, 머리 동작, 눈썹 동작, 손 동작, 입술 동작, 어깨 동작, 변형 특수 효과, 스티커 특수 효과 및 사운드 특수 효과 중 어느 하나 또는 복수 개를 포함한다Optionally, in the device for generating a stroke special effect program file package according to another embodiment, the trigger event is a trigger without an event, an eye action, a head action, an eyebrow action, a hand action, a lip action, a shoulder action, a transformation special effect , include any one or multiple of sticker special effects and sound special effects

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치에서, 상기 제1 획득 모듈은, 조작 바의 인터랙션 인터페이스를 통해 입력된 목표 대상의 스트로크 효과를 취소하기 위한 취소 명령어를 수신하고, 상기 목표 대상의 스트로크 효과 파라미터를 삭제하기 위한 것이다.Optionally, in the device for generating a stroke special effect program file package in another embodiment, the first acquiring module receives a cancellation command for canceling the stroke effect of the target object input through the interaction interface of the operation bar, This is to delete the stroke effect parameter of the target object.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치에서, 상기 조작 바는, 상기 목표 대상의 참조 이미지를 디스플레이하기 위한 컨텐츠 디스플레이 바를 더 포함한다.Optionally, in the apparatus for generating a stroke special effect program file package according to another embodiment, the operation bar further includes a content display bar for displaying the reference image of the target object.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치에서, 상기 목표 대상이 인물일 경우, 상기 인물의 적어도 일부의 참조 이미지는, 완전한 이미지, 머리 이미지, 얼굴 이미지, 어깨 이미지, 팔 이미지, 제스처 이미지, 허리 이미지, 다리 이미지 및 발 이미지 중 어느 하나 또는 복수 개를 포함한다.Optionally, in the device for generating a stroke special effect program file package according to another embodiment, when the target object is a person, the reference image of at least a part of the person is a complete image, a head image, a face image, a shoulder image, an arm It includes any one or a plurality of images, gesture images, waist images, leg images, and foot images.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치에서, 상기 컨텐츠 디스플레이 바는 또한, 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 상기 목표 대상의 스트로크 효과를 디스플레이하기 위한 것이다.Optionally, in the apparatus for generating a stroke special effect program file package in another embodiment, the content display bar is further configured to display, according to a parameter value of a stroke effect parameter of the target object, a stroke effect of the target object .

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치에서, 상기 컨텐츠 디스플레이 바는 또한, 상기 목표 대상의 키 포인트를 디스플레이하기 위한 것이다.Optionally, in the apparatus for generating a stroke special effect program file package according to another embodiment, the content display bar is also configured to display the key point of the target object.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치에서, 상기 키 포인트는, 머리 키 포인트, 얼굴 키 포인트, 어깨 키 포인트, 팔 키 포인트, 제스처 키 포인트, 허리 키 포인트, 다리 키 포인트, 발 키 포인트 및 인체 골격 키 포인트 중 어느 하나 또는 복수 개를 포함한다.Optionally, in the device for generating a stroke special effect program file package in another embodiment, the key points are: a head key point, a face key point, a shoulder key point, an arm key point, a gesture key point, a waist key point, a leg key It includes any one or a plurality of key points, foot key points, and human skeleton key points.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치에서, 상기 머리 키 포인트가 머리 상부 키 포인트, 코 끝 키 포인트 및 턱 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것;Optionally, in the apparatus for generating a stroke special effects program file package according to another embodiment, the hair key point includes any one or a plurality of upper head key points, nose tip key points, and chin key points;

상기 얼굴 키 포인트가 얼굴 윤곽 키 포인트, 눈 키 포인트, 눈썹 키 포인트, 코 키 포인트 및 입 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것; wherein the face key points include any one or a plurality of face contour key points, eye key points, eyebrow key points, nose key points, and mouth key points;

상기 어깨 키 포인트가 어깨와 머리의 교차 위치에 위치한 어깨 및 머리 교차 키 포인트, 및 팔 뿌리 윤곽 키 포인트와 어깨 및 머리 교차 키 포인트 사이의 중간점 위치에 위치한 어깨 윤곽 중간점 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것;any one of a shoulder and head cross key point, wherein the shoulder key point is located at the shoulder and head intersection position, and a shoulder contour midpoint key point located at a midpoint position between the arm root outline key point and the shoulder and head cross key point; or including a plurality;

상기 팔 키 포인트가 손목 윤곽 키 포인트, 팔꿈치 윤곽 키 포인트, 팔 뿌리 윤곽 키 포인트, 손목 윤곽 키 포인트와 팔꿈치 윤곽 키 포인트 사이의 중간점 위치에 위치한 아래팔 윤곽 중간점 키 포인트 및 팔꿈치 윤곽 키 포인트와 팔 뿌리 윤곽 키 포인트 사이의 중간점 위치에 위치한 위팔 중간점 키 포인트 중 어느 하나 또는 복수 개를 포함하는것; wherein the arm key point is a wrist contour key point, an elbow contour key point, an arm root contour key point, a forearm contour midpoint key point and an elbow contour key point located at a midpoint position between the wrist contour key point and the elbow contour key point; comprising any one or a plurality of upper arm midpoint key points located at midpoint positions between the arm root contour key points;

상기 제스처 키 포인트가 제스처 박스의 4 개의 정점 키 포인트 및 제스처 박스의 중심 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것;the gesture key point includes any one or a plurality of four vertex key points of a gesture box and a central key point of a gesture box;

상기 다리 키 포인트가 가랑이 키 포인트, 무릎 윤곽 키 포인트, 발목 윤곽 키 포인트, 허벅지 뿌리 부분 외측 윤곽 키 포인트, 무릎 윤곽 키 포인트와 발목 윤곽 키 포인트 사이의 중간점 위치에 위치한 종아리 윤곽 중간점 키 포인트, 무릎 내부 윤곽 키 포인트와 가랑이 키 포인트 사이의 중간점 위치에 위치한 허벅지 내부 윤곽 중간점 키 포인트 및 무릎 외부 윤곽 키 포인트와 허벅지 뿌리 부분 외측 윤곽 키 포인트 사이의 중간점 위치에 위치한 허벅지 외부 윤곽 중간점 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것; The leg key points are a crotch key point, a knee contour key point, an ankle contour key point, a thigh root outer contour key point, and a calf contour midpoint key point located at a midpoint position between the knee contour key point and the ankle contour key point; The inner thigh contour midpoint key point located at the midpoint position between the knee inner contour key point and the crotch key point and the outer thigh contour midpoint key point located at the midpoint position between the knee outer contour key point and the thigh root outer contour key point including any one or a plurality of points;

상기 허리 키 포인트가 허벅지 뿌리 부분 외측 윤곽 키 포인트와 팔 뿌리 윤곽 키 포인트 사이를 N 등분 하여 생성된 N 개의 등분점 중 어느 하나 또는 복수 개를 포함하는 것 - 상기 N은 1보다 큼 -; wherein the waist key point includes any one or a plurality of N equalization points generated by dividing N equal parts between the thigh root outer contour key point and the arm root contour key point, wherein N is greater than 1;

상기 발 키 포인트가 발 끝 키 포인트 및 발꿈치 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것; 및 that the foot key point includes any one or a plurality of toe key points and heel key points; and

상기 인체 골격 키 포인트가 오른쪽 어깨 골격 키 포인트, 오른쪽 팔꿈치 골격 키 포인트, 오른쪽 손목 골격 키 포인트, 왼쪽 어깨 골격 키 포인트, 왼쪽 팔꿈치 골격 키 포인트, 왼쪽 손목 골격 키 포인트, 오른쪽 엉덩이 골격 키 포인트, 오른쪽 무릎 골격 키 포인트, 오른쪽 발목 골격 키 포인트, 왼쪽 엉덩이 골격 키 포인트, 왼쪽 무릎 골격 키 포인트, 왼쪽 발목 골격 키 포인트, 머리 상부 골격 키 포인트 및 목 골격 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것; 중 적어도 하나이다.The human skeleton key points are a right shoulder skeleton key point, a right elbow skeleton key point, a right wrist skeleton key point, a left shoulder skeleton key point, a left elbow skeleton key point, a left wrist skeleton key point, a right hip skeleton key point, and a right knee skeleton key point. comprising any one or a plurality of skeletal key points, right ankle skeletal key points, left hip skeletal key points, left knee skeletal key points, left ankle skeletal key points, upper head skeletal key points, and neck skeletal key points; at least one of

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치에서, 상기 눈 키 포인트가 왼쪽 눈구멍 키 포인트, 왼쪽 눈 동공 중심 키 포인트, 왼쪽 눈중심 키 포인트, 오른쪽 눈구멍 키 포인트, 오른쪽 눈 동공 중심 키 포인트 및 오른쪽 눈중심 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것; Optionally, in the device for generating a stroke special effect program file package in another embodiment, the eye key point is a left eye socket key point, a left eye pupil center key point, a left eye center key point, a right eye hole key point, a right eye pupil including any one or a plurality of the central key point and the right eye center key point;

상기 눈썹 키 포인트가 왼쪽 눈썹 키 포인트 및 오른쪽 눈썹 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것; the eyebrow key point includes any one or a plurality of left eyebrow key points and right eyebrow key points;

상기 코 키 포인트가 콧등 키 포인트, 코 하측 가장자리 키 포인트 및 코 외측 윤곽 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것; 및that the nose key point includes any one or a plurality of nose bridge key points, lower nose edge key points, and outer nose contour key points; and

상기 입술 키 포인트가 윗입술 키 포인트 및 아랫입술 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것; 중 적어도 하나이다.the lip key point includes any one or a plurality of upper lip key points and lower lip key points; at least one of

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치는, 조작 인터페이스를 더 포함하며, 상기 조작 인터페이스는 상기 조작 바, 상기 컨텐츠 디스플레이 바 및 프로그램 파일 바 중 적어도 하나를 포함한다.Optionally, the apparatus for generating a stroke special effect program file package according to another embodiment further includes a manipulation interface, wherein the manipulation interface includes at least one of the manipulation bar, the content display bar, and the program file bar.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치에서, 상기 조작 인터페이스는, 왼쪽, 중간 및 오른쪽에 위치한 세 개의 영역을 포함하며; 상기 조작 인터페이스의 왼쪽은 상기 조작 바이고, 상기 조작 인터페이스의 중간은 상기 컨텐츠 디스플레이 바이며, 상기 조작 인터페이스의 오른쪽은 상기 프로그램 파일 바이다.Optionally, in the apparatus for generating a stroke special effect program file package in another embodiment, the operation interface includes three regions located on the left, the middle and the right; The left side of the operation interface is the operation bar, the middle of the operation interface is the content display bar, and the right side of the operation interface is the program file bar.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치는, 수신된 저장 명령어에 따라 상기 스트로크 특수 효과 프로그램 파일 패키지를 상기 저장 명령어에 의해 지시되는 위치에 저장하기 위한 저장 모듈을 더 포함한다.Optionally, the apparatus for generating a stroke special effects program file package in another embodiment further includes a storage module for storing the stroke special effects program file package in a location indicated by the storage instruction according to the received storage instruction do.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치에서, 상기 저장 모듈은, 저장 명령어를 수신한 것에 응답하여, 저장 경로 선택 인터페이스 및 압축 인터페이스를 디스플레이하고; 상기 저장 경로 선택 인터페이스를 통해 송신된 저장 위치를 수신하며; 상기 압축 인터페이스에 기반하여 송신된 압축 모드를 수신하고, 상기 압축 모드에 따라 상기 스트로크 특수 효과 프로그램 파일 패키지를 압축하여, 압축 파일 패키지를 생성하며; 상기 압축 파일 패키지를 상기 저장 위치가 지시하는 폴더에 저장하기 위한 것이다.Optionally, in the apparatus for generating a stroke special effects program file package in another embodiment, the storage module is configured to: in response to receiving the storage instruction, display a storage path selection interface and a compression interface; receive a storage location sent through the storage path selection interface; receive a compression mode transmitted according to the compression interface, compress the stroke special effects program file package according to the compression mode, to generate a compressed file package; It is for storing the compressed file package in a folder indicated by the storage location.

본 출원의 실시예의 또 다른 측면에 따르면, 스트로크 특수 효과 생성 장치를 제공하고, 상기 장치는,According to another aspect of the embodiment of the present application, there is provided an apparatus for generating a stroke special effect, the apparatus comprising:

목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하기 위한 제2 획득 모듈; 및 a second acquiring module for acquiring a parameter value of a stroke effect parameter of the target object; and

처리될 이미지 중의 목표 대상 및 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 상기 처리될 이미지에서 상기 목표 대상의 스트로크 특수 효과를 생성하기 위한 제2 생성 모듈을 포함한다.a second generating module, configured to generate a stroke special effect of the target object in the image to be processed, based on a target object in the image to be processed and a parameter value of a stroke effect parameter of the target object.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 장치에서, Optionally, in the stroke special effect generating device in another embodiment,

스트로크 특수 효과 프로그램 파일 패키지를 도입하기 위한 도입 모듈을 더 포함하고, Further comprising an introduction module for introducing a stroke special effect program file package,

상기 제2 획득 모듈은, 상기 스트로크 특수 효과 프로그램 파일 패키지 중 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하기 위한 것이다.The second acquiring module is configured to acquire a parameter value of a stroke effect parameter of a target object in the stroke special effect program file package.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 장치에서, 상기 스트로크 특수 효과 프로그램 파일 패키지는, 본 출원의 어느 한 실시예에 따른 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법 또는 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치를 사용하여 생성된 스트로크 특수 효과 프로그램 파일 패키지이다Optionally, in the stroke special effects generating apparatus according to another embodiment, the stroke special effects program file package includes the method for generating a special stroke program file package or a special stroke program file package according to an embodiment of the present application. It is a package of stroke special effects program files created using the generator device.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 장치는, 목표 대상의 스트로크될 영역을 결정하기 위한 결정 모듈을 더 포함하고, Optionally, the apparatus for generating a stroke special effect in another embodiment further includes a determining module for determining an area to be stroked of the target object,

상기 제2 생성 모듈은, 상기 스트로크 특수 효과 프로그램 파일 패키지 중 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값과 상기 목표 대상의 스트로크될 영역 사이의 대응 관계에 기반하여, 상기 스트로크될 영역에서 상기 스트로크 특수 효과를 생성하기 위한 것이다.The second generating module is configured to generate the stroke special effect in the to-be-stroked region based on a corresponding relationship between a parameter value of a stroke effect parameter of the target object in the stroke special effect program file package and a to-be-stroked region of the target object. is to create

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 장치에서, 상기 결정 모듈은, 상기 처리될 이미지 중의 상기 목표 대상과 상기 처리될 이미지 중의 상기 목표 대상 이외의 부분에 대한 물체 분할 결과를 획득하고; 물체 분할 결과에 기반하여 적어도 일부 분할 경계 영역을 상기 목표 대상의 스트로크될 영역으로 결정하기 위한 것이다.Optionally, in the stroke special effect generating apparatus in another embodiment, the determining module is configured to: obtain an object segmentation result for the target object in the to-be-processed image and a portion other than the target object in the to-be-processed image; It is to determine at least a partial division boundary area as an area to be stroked of the target object based on the object division result.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 장치에서, 상기 결정 모듈은, 상기 처리될 이미지 중의 상기 목표 대상의 키 포인트 검출 결과를 획득하고; 상기 키 포인트 검출 결과에 기반하여, 상기 목표 대상의 적어도 두 개의 키 포인트의 피팅 라인을 상기 목표 대상의 스트로크될 영역으로 결정하기 위한 것이다.Optionally, in the stroke special effect generating apparatus in another embodiment, the determining module is configured to: obtain a key point detection result of the target object in the to-be-processed image; and to determine a fitting line of at least two key points of the target object as a stroke-to-be-stroked area of the target object, based on a result of detecting the key point.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 장치에서, 상기 결정 모듈은, 상기 처리될 이미지 중의 상기 목표 대상의 키 포인트 검출 결과를 획득할 때, 신경 네트워크를 통해, 상기 처리될 이미지에 대해 상기 목표 대상의 키 포인트 검출을 수행하고, 키 포인트 검출 결과를 출력하기 위한 것이다.Optionally, in the apparatus for generating a special stroke effect in another embodiment, the determining module is configured to: when obtaining a key point detection result of the target object in the image to be processed, for the image to be processed through a neural network This is for performing key point detection of a target object and outputting a key point detection result.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 장치에서, 상기 키 포인트 검출 결과는, 상기 처리될 이미지에서의 상기 키 포인트 위치 및 상기 키 포인트의 기설정된 번호 중 어느 하나 또는 복수 개를 포함한다.Optionally, in the stroke special effect generating apparatus according to another embodiment, the key point detection result includes any one or a plurality of preset numbers of the key point position and the key point in the image to be processed.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 장치에서, 상기 처리될 이미지는, 정적 이미지 및 비디오의 이미지 중 어느 하나 또는 복수 개를 포함한다.Optionally, in the apparatus for generating a special stroke effect according to another embodiment, the image to be processed includes one or more of a static image and a video image.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 장치에서, 상기 스트로크 효과 파라미터는 트리거 이벤트 파라미터를 포함하며, 상기 트리거 이벤트 파라미터는 스트로크 효과 디스플레이를 트리거하는 트리거 이벤트를 나타내기 위한 것이며,Optionally, in the device for generating a stroke special effect in another embodiment, the stroke effect parameter includes a trigger event parameter, wherein the trigger event parameter is for indicating a trigger event triggering the stroke effect display,

상기 스트로크 특수 효과 생성 장치는, 상기 처리될 이미지에 상기 트리거 이벤트 파라미터의 파라미터 값에 대응하는 트리거 이벤트가 출현하는지 여부를 검출하기 위한 검출 모듈을 더 포함하고,The stroke special effect generating apparatus further includes a detection module for detecting whether a trigger event corresponding to a parameter value of the trigger event parameter appears in the image to be processed;

상기 제2 생성 모듈은, 상기 검출 모듈이 상기 처리될 이미지에서 상기 트리거 이벤트 파라미터의 파라미터 값에 대응하는 트리거 이벤트가 출현된 것을 검출한 것에 응답하여, 처리될 이미지 중의 목표 대상 및 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 상기 처리될 이미지에서 상기 목표 대상의 스트로크 특수 효과를 생성하기 위한 것이다.The second generating module is configured, in response to the detection module detecting that a trigger event corresponding to the parameter value of the trigger event parameter appears in the image to be processed, a target object in the image to be processed and a stroke of the target object and to generate a stroke special effect of the target object in the image to be processed, based on the parameter value of the effect parameter.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 장치에서, 상기 스트로크 효과 파라미터는 트리거 종료 파라미터를 포함하고, 상기 트리거 종료 파라미터는 스트로크 효과의 디스플레이를 종료하는 트리거 이벤트를 나타내기 위한 것이며, Optionally, in the device for generating a stroke special effect in another embodiment, the stroke effect parameter includes a trigger end parameter, wherein the trigger end parameter is for indicating a trigger event that ends the display of the stroke effect,

상기 스트로크 특수 효과 생성 장치는, 상기 처리될 이미지에 상기 트리거 종료 파라미터의 파라미터 값에 대응하는 트리거 이벤트가 출현하는지 여부를 검출하기 위한 검출 모듈을 더 포함하고,The stroke special effect generating apparatus further includes a detection module for detecting whether a trigger event corresponding to the parameter value of the trigger termination parameter appears in the image to be processed;

상기 제2 생성 모듈은 또한, 상기 검출 모듈이 상기 처리될 이미지에서 상기 트리거 종료 파라미터의 파라미터 값에 대응하는 트리거 이벤트가 출현된 것을 검출한 것에 응답하여, 상기 처리될 이미지에서 생성된 상기 목표 대상의 스트로크 특수 효과를 취소하기 위한 것이다.The second generating module is further configured to: in response to the detecting module detecting that a trigger event corresponding to the parameter value of the trigger termination parameter appears in the image to be processed, This is to cancel the stroke special effect.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 장치에서, 상기 스트로크 효과 파라미터는 뷰티/메이크업 효과 파라미터를 포함하고, 상기 뷰티/메이크업 효과 파라미터는 스트로크 효과를 디스플레이할 때 기설정된 부위에서 디스플레이되는 뷰티/메이크업 효과를 나타내기 위한 것이며,Optionally, in the device for generating a special stroke effect according to another embodiment, the stroke effect parameter includes a beauty/makeup effect parameter, and the beauty/makeup effect parameter is a beauty/makeup effect parameter displayed in a preset area when displaying the stroke effect. This is to show the makeup effect,

상기 제2 생성 모듈은 또한, 처리될 이미지 중의 목표 대상 및 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 상기 처리될 이미지에서 상기 목표 대상의 스트로크 특수 효과를 생성할 경우, 상기 뷰티/메이크업 효과 파라미터에 따라, 상기 처리될 이미지에서 뷰티/메이크업 효과를 디스플레이하기 위한 것이다.The second generating module is further configured to generate a stroke special effect of the target object in the image to be processed based on the parameter values of the target object in the image to be processed and the stroke effect parameter of the target object, the beauty/makeup according to the effect parameter, to display a beauty/makeup effect in the image to be processed.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 장치에서, 상기 도입 모듈은, 파일 패키지를 판독하기 위한 인터페이스 함수를 호출하는 것을 통해, 상기 스트로크 특수 효과 프로그램 파일 패키지를 내부 저장소로 판독하고; 상기 스트로크 특수 효과 프로그램 파일 패키지를 해석하여, 스트로크 특수 효과 프로그램 파일을 획득하기 위한 것이며, 상기 스트로크 특수 효과 프로그램 파일은 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 포함한다.Optionally, in the stroke special effect generating apparatus according to another embodiment, the introduction module is configured to: read the stroke special effect program file package into the internal storage through calling an interface function for reading the file package; Analyze the stroke special effects program file package to obtain a stroke special effects program file, wherein the stroke special effects program file includes parameter values of stroke effect parameters of the target object.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 장치에서, 상기 제2 획득 모듈은, 스티커 핸들을 생성하기 위한 인터페이스 함수를 통해 스티커 핸들을 생성하고; 상기 스트로크 특수 효과 프로그램 파일에서의 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 판독하고, 상기 스티커 핸들에 저장하기 위한 것이다.Optionally, in the device for generating a special stroke effect in another embodiment, the second acquiring module is configured to: generate a sticker handle through an interface function for generating a sticker handle; The parameter value of the stroke effect parameter of the target object in the stroke special effect program file is read and stored in the sticker handle.

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 장치에서, 상기 처리될 이미지가 비디오의 이미지일 경우, 상기 스트로크 특수 효과 생성 장치는, 상기 스티커 핸들의 상기 스트로크 특수 효과 프로그램 파일 중 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 상기 목표 대상의 스트로크 특수 효과가 상기 비디오에서 디스플레이될 비디오 프레임 수를 획득하고, 상기 비디오로부터 상기 비디오 프레임 수에 대응하는 비디오 이미지를 미리 판독하기 위한 제3 획득 모듈을 더 포함한다.Optionally, in the stroke special effect generating apparatus according to another embodiment, when the image to be processed is an image of a video, the stroke special effect generating apparatus is configured to: a third acquiring module, configured to acquire, according to the parameter value of the parameter, the number of video frames in which the stroke special effect of the target object will be displayed in the video, and to pre-read a video image corresponding to the number of video frames from the video; include

선택적으로, 다른 실시예에서의 스트로크 특수 효과 생성 장치에서, 상기 제2 획득 모듈은 또한, 상기 스트로크 특수 효과 프로그램 파일 패키지가 재생 완료된 것에 응답하여, 스티커 핸들을 제거하기 위한 인터페이스 함수를 호출하는 것을 통해 상기 스티커 핸들을 제거하기 위한 것이다.Optionally, in the stroke special effect generating apparatus in another embodiment, the second acquiring module is further configured to: in response to the stroke special effect program file package being played back, by calling an interface function for removing the sticker handle This is to remove the sticker handle.

본 출원의 실시예의 또 다른 측면에 따르면, 전자 기기를 제공하며, 상기 전자 기기는,According to another aspect of the embodiment of the present application, there is provided an electronic device, the electronic device comprising:

컴퓨터 프로그램을 저장하기 위한 메모리; 및a memory for storing a computer program; and

상기 메모리에 저장된 컴퓨터 프로그램을 실행하기 위한 프로세서를 포함하며, 상기 컴퓨터 프로그램이 실행될 경우, 본 출원의 어느 하나의 실시예 따른 방법을 구현한다.and a processor for executing the computer program stored in the memory, and when the computer program is executed, the method according to any one of the embodiments of the present application is implemented.

본 출원의 실시예의 또 다른 측면에 따르면, 컴퓨터 프로그램이 저장된 컴퓨터 판독 가능한 저장 매체를 제공하고, 상기 컴퓨터 프로그램이 프로세서에 의해 실행될 경우, 본 출원의 어느 한 실시예에 따른 방법을 구현한다.According to another aspect of the embodiments of the present application, there is provided a computer-readable storage medium in which a computer program is stored, and when the computer program is executed by a processor, the method according to any one of the embodiments of the present application is implemented.

본 출원의 실시예의 또 다른 측면에 따르면, 컴퓨터 명령어를 포함하는 컴퓨터 프로그램을 제공하고, 상기 컴퓨터 명령어가 기기의 프로세서에서 작동될 경우, 본 출원의 어느 한 실시예에 따른 방법을 구현한다.According to another aspect of the embodiments of the present application, a computer program including computer instructions is provided, and when the computer instructions are executed in a processor of a device, the method according to any one embodiment of the present application is implemented.

본 출원의 상기 실시예에서 제공한 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법과 장치, 전자 기기, 프로그램 및 매체에 기반하여, 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하고, 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 스트로크 특수 효과 프로그램 파일 패키지를 생성함으로써, 상기 스트로크 특수 효과 프로그램 파일 패키지에 기반하여 이미지 중의 목표 대상에 스트로크 효과를 추가하여, 이미지 중의 목표 대상의 스트로크 특수 효과를 구현하도록 하고, 본 출원의 실시예에서 프로그램 파일을 수동으로 작성할 필요없이, 랜더링 엔진이 실행 가능한 스트로크 특수 효과 프로그램 파일을 생성할 수 있으므로, 동작이 간단하고, 소요 시간이 짧으며, 스트로크 특수 효과 구현의 전체적인 효율을 향상시키고, 프로그램 파일을 수동으로 작성할 경우에 발생할 수 있는 오류를 방지하며, 스트로크 특수 효과의 정확성을 효과적으로 확보한다.Based on the method and apparatus, electronic device, program and medium for generating a special stroke program file package provided in the embodiment of the present application, a parameter value of a stroke effect parameter of a target object is obtained, and a stroke effect of the target object is obtained. By generating a stroke special effect program file package according to the parameter value of the parameter, a stroke effect is added to the target object in the image based on the stroke special effect program file package to implement the stroke special effect of the target object in the image, , since the rendering engine can generate an executable stroke special effect program file without the need to manually create a program file in the embodiment of the present application, the operation is simple, the time required is short, and the overall efficiency of implementing the stroke special effect improvement, prevents errors that may occur when manually writing program files, and effectively ensures the accuracy of stroke special effects.

본 출원의 상기 실시예에서 제공한 스트로크 특수 효과 생성 방법과 장치, 전자 기기, 프로그램 및 매체에 기반하여, 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하고, 처리될 이미지 중의 목표 대상 및 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 상기 이미지에서 상기 목표 대상의 스트로크 특수 효과를 생성함으로써, 이미지 중의 목표 대상의 스트로크 특수 효과를 구현하고, 이미지의 스트로크 특수 효과 재생을 구현하며, 이미지 재생 효과를 향상시킨다.Based on the stroke special effect generating method and apparatus, electronic device, program and medium provided in the above embodiments of the present application, parameter values of the stroke effect parameters of the target object are obtained, and the target object in the image to be processed and the target object By generating a stroke special effect of the target object in the image based on the parameter value of the stroke effect parameter of to improve

아래에 첨부된 도면 및 실시예를 통해, 본 출원의 기술방안을 상세히 설명한다.The technical solution of the present application will be described in detail with reference to the accompanying drawings and examples below.

본 명세서의 일부를 구성하는 도면은 본 출원의 실시예를 설명하고, 본 명세서의 원리를 설명과 함께 해석하기 위한 것이다.
도면을 참조하면, 본 출원은 다음의 상세한 설명에 따라, 더욱 명확하게 이해될 수 있다.
도 1은 본 출원의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법의 실시예의 흐름도이다.
도 2는 본 출원의 실시예에서 얼굴 키 포인트의 예시적 예시도이다.
도 3은 본 출원의 실시예에서 손 동작의 예시적 예시도이다.
도 4는 본 출원의 실시예에서 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치의 조작 인터페이스의 예시적 예시도이다.
도 5는 본 출원의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법의 다른 실시예의 흐름도이다.
도 6은 본 출원의 스트로크 특수 효과 생성 방법의 실시예의 흐름도이다.
도 7은 본 출원의 스트로크 특수 효과 생성 방법의 다른 실시예의 흐름도이다.
도 8은 본 출원의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치의 실시예의 구조 예시도이다.
도 9는 본 출원의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치의 다른 실시예의 구조 예시도이다.
도 10은 본 출원의 스트로크 특수 효과 생성 장치의 실시예의 구조 예시도이다.
도 11은 본 출원의 스트로크 특수 효과 생성 장치의 다른 실시예의 구조 예시도이다.
도 12는 본 출원의 전자 기기의 응용 실시예의 구조 예시도이다.
BRIEF DESCRIPTION OF THE DRAWINGS The drawings, which form a part of this specification, are for explaining embodiments of the present application, and together with the description, to interpret the principles of the present specification.
Referring to the drawings, the present application may be more clearly understood in accordance with the following detailed description.
1 is a flowchart of an embodiment of a method for generating a stroke special effect program file package of the present application.
2 is an exemplary exemplified view of face key points in an embodiment of the present application.
3 is an exemplary exemplified diagram of a hand gesture in an embodiment of the present application.
4 is an exemplary diagram illustrating an operation interface of an apparatus for generating a stroke special effect program file package in an embodiment of the present application.
5 is a flowchart of another embodiment of a method for generating a stroke special effect program file package according to the present application.
6 is a flowchart of an embodiment of a method for generating a special stroke effect of the present application.
7 is a flowchart of another embodiment of a method for generating a special stroke effect of the present application.
8 is a structural diagram illustrating an embodiment of an apparatus for generating a special stroke program file package according to the present application.
9 is a structural diagram illustrating another embodiment of an apparatus for generating a special stroke program file package according to the present application.
10 is a structural exemplary diagram of an embodiment of the stroke special effect generating apparatus of the present application.
11 is a structural diagram of another embodiment of the apparatus for generating a special stroke effect of the present application.
12 is an exemplary structural diagram of an application embodiment of the electronic device of the present application.

아래에 첨부 도면을 참조하여 본 출원의 다양한 실시예를 상세히 설명한다. 유의해야 할 것은, 달리 언급되지 않는 한, 실시예에서 반복 설명된 부재, 단계의 상대적인 배치, 숫자 표현 및 값은 본 출원의 범위를 한정하려는 것이 아니다.Various embodiments of the present application will be described in detail below with reference to the accompanying drawings. It should be noted that, unless otherwise stated, elements, relative arrangements of steps, numerical expressions and values repeatedly described in the examples are not intended to limit the scope of the present application.

또한 이해해야 할 것은, 본 출원의 실시예에서, "복수 개"는 두 개 또는 두 개 이상을 의미할 수 있고, "적어도 하나"는 하나, 두 개 또는 두 개 이상을 의미할 수 있다.It should also be understood that, in the embodiments of the present application, “a plurality” may mean two or two or more, and “at least one” may mean one, two, or two or more.

당업자는, 본 출원의 실시예에서 "제1", "제2" 등 용어는 상이한 단계, 기기 또는 모듈 등을 구별하기 위해 사용될 뿐, 그 어떤 특정한 기술적 의미나 이들 사이의 필연적인 논리적 순서를 나타내지 않는다는 것을 이해할 수 있다.Those skilled in the art will know that in the embodiments of the present application, terms such as “first” and “second” are used only to distinguish different steps, devices, or modules, and do not indicate any specific technical meaning or an essential logical order therebetween. can understand that it is not.

또한 이해해야 할 것은, 본 출원의 실시예에서 언급된 임의의 부재, 데이터 또는 구조에 대해 문맥상 명백한 한정이 없거나 반대 계시가 없는 경우, 일반적으로 하나 또는 복수 개로 이해될 수 있다.It should also be understood that, unless there is a clear limitation in the context or there is no indication to the contrary, any member, data or structure mentioned in the embodiments of the present application may be generally understood as one or a plurality.

또한 이해해야 할 것은, 본 출원은 각 실시예의 설명에 대해 각 실시예 사이의 차이점에 초점을 맞추고, 실시예의 동일하거나 유사한 부분에 대해서는 서로 참조할 수 있으며, 간결함을 위해 더이상 반복하여 설명하지 않는다.It should also be understood that the present application focuses on the differences between the respective embodiments for the description of each embodiment, and may refer to each other for the same or similar parts of the embodiments, and will not be repeated for the sake of brevity.

이와 동시에, 도면에 도시된 각 부분의 크기는 설명의 편의를 위해, 실제 비례 관계에 의해 그려진 것이 아님을 알아야 한다.At the same time, it should be understood that the size of each part shown in the drawings is not drawn in relation to actual proportions for convenience of description.

적어도 하나의 예시적인 실시예에 대한 다음의 설명은 실제로 예시적인 것에 불과하며, 본 출원의 및 그 응용이나 사용에 대한 어떠한 한정으로도 간주되지 않는다.The following description of at least one exemplary embodiment is merely exemplary in nature and is not to be considered as any limitation on the scope of the present application and its application or use.

관련 기술분야의 통상의 기술자에게 공지된 기술, 방법 및 기기는 상세하게 논의되지 않을 수 있지만, 적절한 경우, 상기 기술, 방법 및 기기는 명세서의 일부로 간주되어야 한다.Techniques, methods, and devices known to those skilled in the art may not be discussed in detail, but, where appropriate, such techniques, methods, and devices should be considered part of the specification.

유의해야 할 것은, 유사한 부호 및 문자는 아래의 도면에서 유사한 항목을 나타내므로, 어느 한 항목이 하나의 도면에서 정의되면, 후속 도면에서 추가로 논의될 필요가 없다.It should be noted that similar symbols and characters indicate similar items in the drawings below, so that if one item is defined in one drawing, it does not need to be further discussed in subsequent drawings.

또한, 본 출원에서의 용어 "및/또는"은 다만 관련 대상의 관련 관계일 뿐이고, 3 가지 관계가 존재함을 표시할 수 있으며, 예를 들어, A 및/또는 B는, A가 단독으로 존재하거나, A와 B가 동시에 존재하거나, B가 단독으로 존재하는 이 3 가지 경우를 표시한다. 또한, 본 출원에서 문장 부호 "/"는, 일반적으로 선후 관련 대상이 "또는" 관계임을 나타낸다.In addition, the term "and/or" in this application is merely a related relationship of a related subject, and may indicate that three relationships exist, for example, A and/or B are, A and/or B exist alone Or, A and B exist at the same time, or B alone exists in these three cases. In addition, in this application, the punctuation mark "/" generally indicates that the preceding and following related objects are "or" relations.

본 출원의 다수의 다른 범용 또는 특수 목적 컴퓨팅 시스템 환경 또는 구성과 함께 동작될 수 있는 단말 기기, 컴퓨터 시스템 및 서버와 같은 전자 기기에 적용될 수 있다. 단말 기기, 컴퓨터 시스템 및 서버와 같은 전자 기기와 함께 사용하기에 적절한 것으로 잘 알려진 단말 기기, 컴퓨팅 시스템, 환경 및 구성 중 적어도 하나의 예는, 개인용 컴퓨터 시스템, 서버 컴퓨터 시스템, 씬 클라이언트, 씩 클라이언트, 핸드헬드 또는 랩톱 기기, 마이크로 프로세서 기반 시스템, 셋톱 박스, 프로그래머블 가전 제품, 네트워크 개인용 컴퓨터, 소형 컴퓨터 시스템, 메인 프레임 컴퓨터 시스템 및 상기 임의의 시스템을 포함한 분산 클라우드 컴퓨팅 기술 환경을 포함하지만 이에 한정되지 않는다.It can be applied to electronic devices such as terminal devices, computer systems, and servers that can be operated with many other general-purpose or special-purpose computing system environments or configurations of the present application. Examples of at least one of the well known terminal devices, computing systems, environments and configurations that are suitable for use with electronic devices such as terminal devices, computer systems and servers include personal computer systems, server computer systems, thin clients, thick clients; Distributed cloud computing technology environments including, but not limited to, handheld or laptop devices, microprocessor based systems, set top boxes, programmable consumer electronics, networked personal computers, small computer systems, mainframe computer systems, and any of the foregoing.

단말 기기, 컴퓨터 시스템, 서버 등 전자 기기는 컴퓨터 시스템에 의해 실행되는 컴퓨터 시스템의 실행 가능한 명령어(예를 들어, 프로그램 모듈)의 일반적인 맥락에서 설명될 수 있다. 일반적으로, 프로그램 모듈은 특정 작업을 실행하거나 특정 추상 데이터 타입을 구현하기 위한 루틴, 프로그램, 타겟 프로그램, 컴포넌트, 논리, 데이터 구조 등을 포함할 수 있다. 컴퓨터 시스템/서버는, 작업이 통신 네트워크를 통해 연결된 원격 처리 장치에 의해 실행되는 분산 클라우드 컴퓨팅 환경에서 실시될 수 있다. 분산 클라우드 컴퓨팅 환경에서, 프로그램 모듈은 저장 기기를 포함하는 로컬 또는 원격 컴퓨팅 시스템 저장 매체에 위치할 수 있다.Electronic devices, such as terminal devices, computer systems, and servers, may be described in the general context of executable instructions (eg, program modules) of a computer system executed by the computer system. Generally, program modules may include routines, programs, target programs, components, logic, data structures, etc. for performing particular tasks or implementing particular abstract data types. The computer system/server may be practiced in a distributed cloud computing environment where tasks are executed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in a local or remote computing system storage medium including a storage device.

도 1은 본 출원의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법의 실시예의 흐름도이다. 본 출원의 각 실시예의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은, 예를 들어 하나의 장치(본 출원의 실시예에서 특수 효과 프로그램 파일 패키지의 생성 장치로 지칭됨)를 통해 구현될 수 있지만 이에 한정되지 않는다. 도 1에 도시된 바와 같이, 상기 실시예의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은 아래와 같은 단계를 포함한다.1 is a flowchart of an embodiment of a method for generating a stroke special effect program file package of the present application. The method for generating a stroke special effect program file package in each embodiment of the present application may be implemented through, for example, one device (referred to as an apparatus for generating a special effect program file package in the embodiment of the present application), but is limited thereto. doesn't happen As shown in Fig. 1, the method of generating a stroke special effect program file package according to the embodiment includes the following steps.

단계 102에 있어서, 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득한다.In step 102, a parameter value of a stroke effect parameter of the target object is obtained.

본 출원의 각 실시예에 있어서, 목표 대상은 예를 들어, 인물의 적어도 일부, 물체, 도입된 서브 머티리얼 등 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다.In each embodiment of the present application, the target target may include, but is not limited to, any one or a plurality of, for example, at least a part of a person, an object, and an introduced sub-material.

선택 가능한 예에 있어서, 상기 단계 102는 프로세서에 의해 메모리에 저장된 상응하는 명령어를 호출하여 실행될 수 있거나, 프로세서에 의해 작동되는 제1 획득 모듈에 의해 실행될 수 있다.In a selectable example, the step 102 may be executed by invoking a corresponding instruction stored in the memory by the processor, or may be executed by the first acquiring module operated by the processor.

단계 104에 있어서, 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 스트로크 특수 효과 프로그램 파일 패키지를 생성한다.In step 104, according to the parameter value of the stroke effect parameter of the target object, a stroke special effect program file package is generated.

선택 가능한 예에 있어서, 상기 단계 102는 프로세서에 의해 메모리에 저장된 상응하는 명령어를 호출하여 실행될 수 있거나, 프로세서에 의해 작동되는 제1 획득 모듈에 의해 실행될 수 있다.In a selectable example, the step 102 may be executed by invoking a corresponding instruction stored in the memory by the processor, or may be executed by the first acquiring module operated by the processor.

본 출원의 각 실시예에 있어서, 목표 대상은 하나 또는 복수 개일 수 있다. 목표 대상이 복수 개일 경우, 복수 개의 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하고, 복수 개의 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 스트로크 특수 효과 프로그램 파일 패키지를 생성할 수 있다.In each embodiment of the present application, there may be one or a plurality of target objects. When there are a plurality of target objects, parameter values of the stroke effect parameters of the plurality of target objects may be obtained, and a stroke special effect program file package may be generated based on the parameter values of the stroke effect parameters of the plurality of target objects.

본 출원의 각 실시예 중의 스트로크 효과 또는 스트로크 특수 효과는 또한 윤곽 랜더링(contour rendering)으로 지칭될 수 있으며, 이는 특정 색상 및 특정 두께의 라인 중 적어도 하나를 사용하여 목표 대상의 윤곽을 랜더링하는 것을 지칭한다.The stroke effect or stroke special effect in each embodiment of the present application may also be referred to as contour rendering, which refers to rendering the outline of a target object using at least one of a line of a specific color and a specific thickness do.

본 출원의 실시예에서, 스트로크 특수 효과 프로그램 파일 패키지는, 비디오 이미지 중의 목표 대상에 대해 AR 효과의 랜더링 처리를 수행하는 것과 같이, 이미지 중의 목표 대상에 대해 스트로크 특수 효과 처리 및 이미지 중의 목표 대상에 대해 스트로크 효과를 추가하여 스트로크 특수 효과를 구현하는데 사용될 수 있다. 본 출원의 실시예는 이미지, 비디오, 게임 등에 적용될 수 있으며, 예를 들어, 게임 내의 특정 대상을 강조하기 위해, 본 출원의 실시예에 기반하여 게임 내의 특정 목표 대상에 스트로크 효과를 추가할 수 있다.In the embodiment of the present application, the stroke special effect program file package includes a stroke special effect processing for a target object in an image and a target object in an image, such as performing AR effect rendering processing on a target object in a video image. It can be used to implement a stroke special effect by adding a stroke effect. Embodiments of the present application may be applied to images, videos, games, etc., for example, to emphasize a particular object in the game, a stroke effect may be added to a particular target object in the game based on the embodiment of the present application .

본 출원의 상기 실시예에서 제공한 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법에 기반하여, 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하고, 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 스트로크 특수 효과 프로그램 파일 패키지를 생성함으로써, 상기 스트로크 특수 효과 프로그램 파일 패키지에 기반하여 이미지 중의 목표 대상에 스트로크 효과를 추가하여, 이미지 중의 목표 대상의 스트로크 특수 효과를 구현하도록 하고, 본 출원의 실시예에서 프로그램 파일을 수동으로 작성할 필요없이, 랜더링 엔진이 실행 가능한 스트로크 특수 효과 프로그램 파일을 생성할 수 있으므로, 동작이 간단하고, 소요 시간이 짧으며, 스트로크 특수 효과 구현의 전체적인 효율을 향상시키며, 프로그램 파일을 수동으로 작성할 경우에 발생할 수 있는 오류를 방지하며, 스트로크 특수 효과의 정확성을 효과적으로 확보한다.Based on the generating method of the stroke special effect program file package provided in the embodiment of the present application, the parameter value of the stroke effect parameter of the target object is obtained, and according to the parameter value of the stroke effect parameter of the target object, the stroke special effect is obtained. By generating the effect program file package, a stroke effect is added to the target object in the image based on the stroke special effect program file package to implement the special stroke effect of the target object in the image, and in the embodiment of the present application, the program file Since the rendering engine can generate an executable stroke special effect program file without the need to manually write It prevents errors that may occur when writing, and effectively secures the accuracy of stroke special effects.

본 출원의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법의 다른 실시예에 있어서, 상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은, 조작 바의 인터랙션 인터페이스를 통해 입력된 상기 목표 대상 선택 명령어를 수신하고, 목표 대상을 선택하며, 목표 대상의 스트로크 효과 파라미터 설정 인터페이스를 생성하고, 조작 바에서 목표 대상의 스트로크 효과 파라미터 설정 인터페이스를 디스플레이하는 단계를 더 포함할 수 있다. 상응하게, 상기 실시예에서, 단계 102는, 목표 대상의 스트로크 효과 파라미터 설정 인터페이스에서의 인터랙션 인터페이스를 통해 송신된 스트로크 효과 파라미터의 파라미터 값을 획득하는 방식으로 구현될 수 있다.In another embodiment of the method for generating the stroke special effects program file package of the present application, the method for generating the stroke special effects program file package includes: receiving the target object selection command input through an interaction interface of a manipulation bar; The method may further include selecting an object, generating a stroke effect parameter setting interface of the target object, and displaying the stroke effect parameter setting interface of the target object on the operation bar. Correspondingly, in the above embodiment, step 102 may be implemented in such a way as to obtain the parameter value of the stroke effect parameter transmitted through the interaction interface in the stroke effect parameter setting interface of the target object.

선택 가능한 예에서, 단계102는 아래와 같은 방식으로 구현될 수 있다. 목표 대상의 스트로크 효과 파라미터 설정 인터페이스에서의 인터랙션 인터페이스를 통해 송신된 스트로크 효과 파라미터의 파라미터 값이 수신된 것에 응답하여, 설정된 파라미터 값을 목표 대상의 스트로크 효과 파라미터의 파라미터 값으로 사용하는 것; 및 목표 대상의 스트로크 효과 파라미터 설정 인터페이스에서의 인터랙션 인터페이스를 통해 송신된 스트로크 효과 파라미터의 파라미터 값이 미수신된 것에 응답하여, 기설정된 파라미터 값을 목표 대상의 스트로크 효과 파라미터의 파라미터 값으로 사용하는 것 중 적어도 하나이다. In a selectable example, step 102 may be implemented in the following manner. in response to receiving the parameter value of the stroke effect parameter transmitted through the interaction interface in the stroke effect parameter setting interface of the target object, using the set parameter value as the parameter value of the stroke effect parameter of the target object; and in response to not receiving the parameter value of the stroke effect parameter transmitted through the interaction interface in the stroke effect parameter setting interface of the target object, using the preset parameter value as the parameter value of the stroke effect parameter of the target object. one

또한, 본 출원의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법의 또 다른 실시예에 있어서, 상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은, 조작 바의 인터랙션 인터페이스를 통해 입력된 목표 대상의 스트로크 효과를 취소하기 위한 취소 명령어를 수신하고, 목표 대상의 스트로크 효과 파라미터를 삭제하는 단계를 더 포함할 수 있다. Further, in another embodiment of the method of generating the stroke special effects program file package of the present application, the method of generating the stroke special effects program file package cancels the stroke effect of the target object input through the interaction interface of the manipulation bar The method may further include receiving a cancellation command to perform the action, and deleting the stroke effect parameter of the target object.

본 출원의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법의 또 다른 실시예에 있어서, 상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은, 상기 목표 대상의 스트로크될 영역과 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값 사이의 대응 관계를 확립하는 단계를 더 포함할 수 있다. 상응하게, 단계104는, 상기 목표 대상의 스트로크될 영역과 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값 사이의 대응 관계 및 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 스트로크 특수 효과 프로그램 파일 패키지를 생성하는 단계를 포함할 수 있다. 즉, 본 실시예의 스트로크 특수 효과 프로그램 파일 패키지는, 상기 목표 대상의 스트로크될 영역과 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값 사이의 대응 관계를 더 포함할 수 있다. In another embodiment of the method for generating the stroke special effects program file package of the present application, the method for generating the stroke special effects program file package includes: a parameter value of an area to be stroked of the target object and a stroke effect parameter of the target object It may further include the step of establishing a corresponding relationship between the. Correspondingly, step 104 includes: according to the correspondence relationship between the to-be-stroked area of the target object and the parameter value of the stroke effect parameter of the target object and the parameter value of the stroke effect parameter of the target object, the stroke special effect program file package It may include the step of generating That is, the stroke special effect program file package of the present embodiment may further include a correspondence relationship between the stroke-to-be-stroked area of the target object and the parameter value of the stroke effect parameter of the target object.

예시적으로, 상기 목표 대상의 스트로크될 영역은 예를 들어, 상기 목표 대상이 위치하는 이미지의 물체 분할 경계 영역의 적어도 일부 또는 상기 목표 대상의 적어도 두 개의 키 포인트의 피팅 라인을 포함할 수 있지만 이에 한정되지 않는다.Exemplarily, the region to be stroked of the target object may include, for example, at least a part of an object division boundary region of an image in which the target object is located or a fitting line of at least two key points of the target object, but not limited

여기서, 목표 대상의 키 포인트는 사전 정의될 수 있다. 본 출원의 각 실시예의 실시형태에 있어서, 상기 키 포인트는 예를 들어, 머리 키 포인트, 얼굴 키 포인트, 어깨 키 포인트, 팔 키 포인트, 제스처 키 포인트, 허리 키 포인트, 다리 키 포인트, 발 키 포인트, 인체 골격 키 포인트 등 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다.Here, the key point of the target object may be predefined. In the embodiment of each embodiment of the present application, the key point is, for example, a head key point, a face key point, a shoulder key point, an arm key point, a gesture key point, a waist key point, a leg key point, a foot key point , but may include any one or a plurality of human skeleton key points, but is not limited thereto.

선택 가능한 예에서, 머리 키 포인트는 예를 들어, 머리 상부 키 포인트, 코 끝 키 포인트 및 턱 키 포인트 등 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다.In a selectable example, the head key point may include, but is not limited to, any one or a plurality of, for example, an upper head key point, a nose tip key point, and a chin key point.

선택 가능한 예에서, 얼굴 키 포인트는 예를 들어, 얼굴 윤곽 키 포인트, 눈 키 포인트, 눈썹 키 포인트, 코 키 포인트, 입술 키 포인트 등 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다.In the selectable example, the face key points may include, but are not limited to, any one or a plurality of face contour key points, eye key points, eyebrow key points, nose key points, lip key points, and the like.

예시적으로, 눈 키 포인트는 예를 들어, 왼쪽 눈구멍 키 포인트, 왼쪽 눈 동공 중심 키 포인트, 왼쪽 눈 중심 키 포인트, 오른쪽 눈구멍 키 포인트, 오른쪽 눈 동공 중심 키 포인트 및 오른쪽 눈 중심 키 포인트 등 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다. 눈썹 키 포인트는 예를 들어, 왼쪽 눈썹 키 포인트 및 오른쪽 눈썹 키 포인트 등 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다. 코 키 포인트는 예를 들어, 콧등 키 포인트, 코 하측 가장자리 키 포인트 및 코 외측 윤곽 키 포인트 등 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다. 입술 키 포인트는 예를 들어, 윗입술 키 포인트 및 아랫입술 키 포인트 등 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다.Illustratively, the eye key point is, for example, any of a left eye socket key point, a left eye pupil center key point, a left eye center key point, a right eye socket key point, a right eye pupil center key point, and a right eye center key point, etc. It may include one or a plurality, but is not limited thereto. The eyebrow key point may include, for example, any one or a plurality of left eyebrow key points and right eyebrow key points, but is not limited thereto. The nose key point may include, but is not limited to, any one or a plurality of, for example, the bridge of the nose key point, the lower edge of the nose key point, and the outer nose contour key point. The lip key point may include, for example, any one or a plurality of upper lip key points and lower lip key points, but is not limited thereto.

선택 가능한 예에서, 어깨 키 포인트는 예를 들어, 어깨와 머리 교차 위치에 위치한 어깨 및 머리 교차 키 포인트, 및 팔 뿌리 윤곽 키 포인트와 어깨 및 머리 교차 키 포인트 사이의 중간점 위치에 위치한 어깨 윤곽 중간점 키 포인트 등 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다.In a selectable example, the shoulder key point is, for example, a shoulder and head cross key point located at a shoulder and head intersection position, and a shoulder contour midpoint located at a midpoint position between the arm root contour key point and the shoulder and head cross key point. It may include any one or a plurality of points, key points, etc., but is not limited thereto.

선택 가능한 예에서, 팔 키 포인트는 예를 들어, 손목 윤곽 키 포인트, 팔꿈치 윤곽 키 포인트, 팔 뿌리 윤곽 키 포인트, 손목 윤곽 키 포인트와 팔꿈치 윤곽 키 포인트 사이의 중간점 위치에 위치한 아래팔 윤곽 중간점 키 포인트 및 팔꿈치 윤곽 키 포인트와 팔 뿌리 윤곽 키 포인트 사이의 중간점 위치에 위치한 위팔 중간점 키 포인트 등 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다.In a selectable example, the arm key point is, for example, a wrist contour key point, an elbow contour key point, an arm root contour key point, a forearm contour midpoint located at a position midway between the wrist contour key point and the elbow contour key point. It may include, but is not limited to, any one or a plurality of key points and an upper arm midpoint key point located at a midpoint position between the elbow contour key point and the arm root contour key point.

선택 가능한 예에서, 제스처 키 포인트는 예를 들어, 제스처 박스(즉, 제스처 검출 박스)의 4 개의 정점 키 포인트 및 제스처 박스의 중심 키 포인트 등 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다.In a selectable example, the gesture key points may include, but are not limited to, any one or plurality of, for example, four vertex key points of a gesture box (ie, a gesture detection box) and a central key point of a gesture box, and the like. does not

선택 가능한 예에서, 다리 키 포인트는 예를 들어, 가랑이 키 포인트, 무릎 윤곽 키 포인트, 발목 윤곽 키 포인트, 허벅지 뿌리 부분 외부 윤곽 키 포인트, 무릎 윤곽 키 포인트와 발목 윤곽 키 포인트 사이의 중간점 위치에 위치한 종아리 윤곽 중간점 키 포인트, 무릎 내부 윤곽 키 포인트와 가랑이 키 포인트 사이의 중간점 위치에 위치한 허벅지 내부 윤곽 중간점 키 포인트 및 무릎 외부 윤곽 키 포인트와 허벅지 뿌리 부분 외부 윤곽 키 포인트 사이의 중간점 위치에 위치한 허벅지 외부 윤곽 중간점 키 포인트 등 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다.In a selectable example, the leg key point may be, for example, a crotch key point, a knee contour key point, an ankle contour key point, an outer thigh contour key point, a midpoint position between the knee contour key point and the ankle contour key point. Calf contour midpoint key point located, midpoint position between knee inner contour key point and crotch key point Midpoint position between thigh inner contour midpoint key point and knee outer contour key point and thigh root outer contour key point It may include, but is not limited to, any one or a plurality of key points, such as midpoints of the outer contour of the thigh located in the .

선택 가능한 예에서, 허리 키 포인트는 예를 들어, 허벅지 뿌리 부분 외부 윤곽 키 포인트와 팔 뿌리 윤곽 키 포인트 사이를 N 등분하여, 생성된 N 개의 등분점(N은 1보다 큼) 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다.In a selectable example, the waist key point is any one or plurality of N equalization points (N is greater than 1) generated by, for example, N equalizing between the thigh root outer contour key point and the arm root contour key point. can include, but is not limited to.

선택 가능한 예에서, 발 키 포인트는 예를 들어, 발 끝 키 포인트 및 발꿈치 키 포인트 등 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다. In a selectable example, the foot key point may include, but is not limited to, any one or a plurality of, for example, a toe key point and a heel key point.

선택 가능한 예에서, 인체 골격 키 포인트는 예를 들어, 오른쪽 어깨 골격 키 포인트, 오른쪽 팔꿈치 골격 키 포인트, 오른쪽 손목 골격 키 포인트, 왼쪽 어깨 골격 키 포인트, 왼쪽 팔꿈치 골격 키 포인트, 왼쪽 손목 골격 키 포인트, 오른쪽 엉덩이 골격 키 포인트, 오른쪽 무릎 골격 키 포인트, 오른쪽 발목 골격 키 포인트, 왼쪽 엉덩이 골격 키 포인트, 왼쪽 무릎 골격 키 포인트, 왼쪽 발목 골격 키 포인트, 머리 상부 골격 키 포인트 및 목 골격 키 포인트 등 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다.In a selectable example, the anatomical bone key point may be, for example, a right shoulder bone key point, a right elbow bone key point, a right wrist bone key point, a left shoulder bone key point, a left elbow bone key point, a left wrist bone key point, Any of right hip bone key point, right knee bone key point, right ankle bone key point, left hip bone key point, left knee bone key point, left ankle bone key point, upper head bone key point and neck bone key point, etc. Or it may include a plurality, but is not limited thereto.

본 출원의 각 실시예에 있어서, 상기 목표 대상의 스트로크될 영역은 상기 목표 대상의 적어도 두 개의 기설정된 키 포인트의 피팅 라인으로 사전 설정될 수 있다. 예를 들어, 일 실시형태에 있어서, 목표 대상이 얼굴인 경우, 스트로크 특수 효과를 생성하는 동안, 얼굴 키 포인트의 피팅 라인에 기반하여 얼굴의 스트로크될 영역을 결정하기 위하여, 얼굴에 복수 개의 키 포인트를 정의할 수 있다. 다른 예를 들어, 일 실시형태에 있어서, 목표 대상이 제스처 (손) 인 경우, 스트로크 특수 효과를 생성하는 동안, 제스처 (손) 키 포인트의 피팅 라인에 기반하여 손의 스트로크될 영역을 결정하기 위하여, 제스처 (손)에 복수 개의 키 포인트를 정의할 수 있다. 또 다른 예를 들어, 일 실시형태에 있어서, 목표 대상이 머리인 경우, 스트로크 특수 효과를 생성하는 동안, 머리 키 포인트의 피팅 라인에 기반하여 머리의 스트로크될 영역을 결정하기 위하여, 머리에 복수 개의 키 포인트를 정의할 수 있다.In each embodiment of the present application, the region to be stroked of the target object may be preset as a fitting line of at least two preset key points of the target object. For example, in one embodiment, when the target object is a face, while generating a stroke special effect, a plurality of key points on the face to determine a stroked area of the face based on a fitting line of the face key points can be defined. For another example, in one embodiment, when the target object is a gesture (hand), while generating a stroke special effect, to determine an area to be stroked of the hand based on the fitting line of the gesture (hand) key point , a plurality of key points can be defined for a gesture (hand). For another example, in one embodiment, when the target object is a head, while generating a stroke special effect, in order to determine an area to be stroked of the head based on a fitting line of a hair key point, a plurality of You can define key points.

예를 들어, 도 2는 본 출원의 실시예에서 얼굴 키 포인트의 예시적인 예시도이고, 도 2를 결합하면, 선택 가능한 예에 있어서, 얼굴 키 포인트에 대해 아래와 같이 정의할 수 있다.For example, FIG. 2 is an exemplary exemplifying diagram of a face key point in an embodiment of the present application, and when FIG. 2 is combined, in a selectable example, the face key point may be defined as follows.

키 포인트 아이템key point item 키 포인트 번호key point number 키 포인트 아이템key point item 키 포인트 번호key point number 얼굴 프레임(얼굴 윤곽 키 포인트)Face Frame (Face Contour Key Point) 0-320-32 콧등ridge of the nose 43-4643-46 왼쪽 눈썹left eyebrow 33-37,64-6733-37,64-67 오른쪽 눈썹right eyebrow 38-42,68-7138-42,68-71 왼쪽 눈구멍left eye socket 52-57,72-7352-57,72-73 오른쪽 눈구멍right eye socket 58-63,75-7658-63,75-76 왼쪽 눈 동공left eye pupil 74,10474,104 오른쪽 눈 동공right eye pupil 77,10577,105 코 하측 가장자리lower edge of the nose 47-5147-51 코 외측 윤곽outer contour of the nose 78-8378-83 윗입술upper lip 84-90,96-10084-90,96-100 아랫입술lower lip 91-95,101-10391-95, 101-103

선택 가능한 예에 있어서, 손 키 포인트에 대해 아래와 같이 정의할 수 있다.In a selectable example, the hand key point may be defined as follows.

키 포인트 아이템key point item 키 포인트 번호key point number 키 포인트 아이템key point item 키 포인트 번호key point number 제스처 박스gesture box 110-113110-113 중심center 114114

여기서, 번호가 110 내지 113인 키 포인트는 각각 제스처 검출 박스(즉 손의 외부 연결 박스)의 4 개의 정점이고, 번호가 114인 키 포인트는 제스처 검출 박스의 중심이다.본 출원의 상기 각 방법 실시예의 실시형태에 있어서, 상기 스트로크 효과 파라미터는 아래의 어느 하나 또는 복수 개를 포함한다.Here, the key points numbered 110 to 113 are the four vertices of the gesture detection box (that is, the external connection box of the hand), respectively, and the key point numbered 114 is the center of the gesture detection box. Implementation of each method of the present application In the example embodiment, the stroke effect parameter includes any one or a plurality of the following.

1. 디스플레이 파라미터(Display)는 스트로크 효과 디스플레이 여부를 제어하기 위한 것이다. 그 파라미터 값은 "예(Yes)" 및 "아니오(No)"인 두 개의 옵션을 포함하고, 파라미터 값이 "예(Yes)"를 선택할 경우 비디오 재생 과정 중 변형 영역을 디스플레이해야 하는 것을 나타내고, 파라미터 값이 "아니오(No)"를 선택할 경우 비디오 재생 과정 중 변형 영역을 디스플레이하지 않아도 되는 것을 나타낸다.1. The display parameter (Display) is for controlling whether to display the stroke effect. Its parameter value includes two options, “Yes” and “No”, and when the parameter value selects “Yes”, indicates that the transformation area should be displayed during the video playback process, When the parameter value selects "No", it indicates that the deformation area does not need to be displayed during the video playback process.

2. 너비 파라미터(Width)는, 스트로크의 너비를 나타내기 위한 것이며, 그 파라미터 값은 매우 얇은, 얇은, 중간, 두꺼운, 매우 두꺼운 등이 포함될 수 있다.2. The width parameter (Width) is for indicating the width of the stroke, and the parameter value may include very thin, thin, medium, thick, very thick, and the like.

3. 색상 파라미터(Color)는, 스트로크의 색상을 나타내기 위한 것이며, 예를 들어, 사용자가 선택할 수 있도록 색상 블록 디스플레이 색상 선택기를 설정하고 기본적으로 횐색을 디스플레이 할 수 있다.3. The color parameter (Color) is for indicating the color of the stroke, for example, a color block display color selector can be set for the user to select, and white color can be displayed by default.

4. 트리거 이벤트 파라미터(TriggerType)는, 스트로크 효과 디스플레이를 트리거하는 트리거 이벤트를 나타내기 위한 것이고, 하나의 동작을 통해 목표 대상의 스트로크 특수 효과 디스플레이를 트리거하는 것을 가리키며, 그 파라미터 값은 각 트리거 이벤트를 포함할 수 있으며, 사용자는 기설정된 이벤트 집합으로부터 적어도 하나의 이벤트를 트리거 동작으로 선택할 수 있다. 즉, 비디오 재생 또는 이미지 재생 과정에서, 상응하는 트리거 이벤트를 검출할 경우 목표 대상의 스트로크 특수 효과를 디스플레이하도록 트리거할 수 있고, 예를 들어, 비디오에 상기 트리거 이벤트 파라미터에서 규정된 트리거 이벤트 "입 벌리기"를 검출한 경우 상기 입의 스트로크 특수 효과를 디스플레이하기 시작한다.4. The trigger event parameter (TriggerType) is for indicating a trigger event that triggers the stroke effect display, and indicates that one action triggers the stroke special effect display of the target object, and the parameter value is to indicate each trigger event may be included, and the user may select at least one event from a set of preset events as a trigger action. That is, in the process of video playback or image playback, when detecting a corresponding trigger event, it can trigger to display a stroke special effect of the target object, for example, in the video, the trigger event "opening mouth" specified in the trigger event parameter. If it detects ", it starts to display the stroke special effect of the mouth.

5. 지연 트리거 파라미터(TriggerDelay)는, 스트로크 효과 디스플레이 지연 시간, 즉, 비디오에서의 하나의 프레임으로부터 트리거 이벤트 파라미터에서의 트리거 이벤트를 검출하였을 경우, 몇 개의 프레임을 지연하면 상기 목표 대상의 스트로크 특수 효과를 디스플레이하기 시작하고, 목표 대상의 스트로크 특수 효과를 지연 디스플레이하는 시간을 그 파라미터 값으로 설정 또는 선택할 수 있다.5. The delay trigger parameter (TriggerDelay) is the stroke effect display delay time, that is, when a trigger event in the trigger event parameter is detected from one frame in the video, delaying several frames causes the stroke special effect of the target object It is possible to set or select the time to start displaying and delay display of the stroke special effect of the target object as the parameter value.

6. 디스플레이 프레임 수 파라미터(DisplayFrames)는, 스트로크 효과가 디스플레이되는 프레임 수를 나타내기 위한 것이고, 프레임 수는 사용자에 의해 설정될 수 있으며, 예시적으로 설정된 프레임 수가 0일 경우 스트로크 효과를 지속적으로 디스플레이하는 것을 나타낸다.6. The number of display frames parameter (DisplayFrames) is for indicating the number of frames in which the stroke effect is displayed, the number of frames can be set by the user, and exemplarily, when the set number of frames is 0, the stroke effect is continuously displayed indicates to do

7. 트리거 종료 파라미터(TriggerStop)는, 스트로크 효과의 디스플레이를 종료하는 트리거 이벤트를 나타내기 위한 것이고, 하나의 이벤트를 통해 목표 대상의 스트로크 특수 효과 디스플레이를 종료하는 것을 가리키며, 그 파라미터 값은 각 트리거 이벤트를 포함하며, 사용자는 기설정된 이벤트 집합으로부터 적어도 하나의 이벤트를 목표 대상의 스트로크 특수 효과 디스플레이를 종료하는 이벤트로 선택할 수 있다. 선택 가능한 예에서, 상기 트리거 이벤트는 예를 들어, 이벤트가 없는 트리거, 눈 동작, 머리 동작, 눈썹 동작, 손 동작, 입술 동작, 어깨 동작, 변형 특수 효과, 스티커 특수 효과 및 사운드 특수 효과 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다.7. The trigger stop parameter (TriggerStop) is for indicating a trigger event that ends the display of the stroke effect, and indicates that the display of the stroke special effect of the target object ends through one event, and the parameter value is each trigger event Including, the user may select at least one event from a set of preset events as an event for terminating the display of the stroke special effect of the target object. In a selectable example, the trigger event is, for example, any one of a trigger without an event, an eye action, a head action, an eyebrow action, a hand action, a lip action, a shoulder action, a transform special effect, a sticker special effect, and a sound special effect. Or it may include a plurality, but is not limited thereto.

8. 뷰티/메이크업(뷰티 및 메이크업 중 적어도 하나)효과 파라미터는, 목표 대상의 스트로크 효과를 디스플레이할 때 목표 대상(또는 다른 대상)의 기설정된 부위에서 디스플레이되는 빨간 입술, 컬러렌즈, 파란 눈 등과 같은 뷰티 및 메이크업 효과 중 적어도 하나의 효과를 나타내기 위한 것이다. 예를 들어, 머리의 스트로크 효과를 디스플레이할 경우, 입에 빨간 입술이 디스플레이된다.8. The beauty/makeup (at least one of beauty and makeup) effect parameters include red lips, colored lenses, blue eyes, etc. displayed on a preset part of the target target (or other target) when displaying the target target's stroke effect. It is intended to represent at least one effect of beauty and makeup effects. For example, when displaying a stroke effect of the head, red lips are displayed on the mouth.

선택 가능한 예에서, 상기 트리거 이벤트는,In a selectable example, the trigger event is

이벤트가 필요 없이 상기 서브 머티리얼을 디스플레이할 수 있는 이벤트가 없는 트리거(NULL);a trigger (NULL) without an event capable of displaying the sub-material without the need for an event;

눈을 깜빡이는 것, 눈을 감는 것, 눈을 뜨는 것 등과 같은 눈 동작;eye movements such as blinking, closing eyes, opening eyes, etc.;

머리 흔들기, 머리 끄덕이기, 머리 기울이기, 머리 돌리기 등과 같은 머리 동작;head movements such as head shaking, head nodding, head tilting, head turning, etc.;

눈썹을 치켜올리는 등과 같은 눈썹 동작;eyebrow movements, such as raising the eyebrows;

하트, 손 내밀기, 손바닥 내밀기, 엄지를 세움, 주먹 쥐고 축하, 손 하트, OK 하기, 브이 하기, 권총 손, 식지 내밀기 등과 같은 손 동작;hand gestures such as hearts, reaching out, reaching out, palms out, thumbs up, clenching fists, congratulating hands, making OK, doing V, pistol hands, reaching out fingers, etc.;

입 벌리기, 입 다물기 등과 같은 입술 동작; lip movements such as opening and closing the mouth;

어깨를 으쓱하는 등과 같은 어깨 동작; shoulder movements, such as shrugging;

얼굴 변형 등과 같은 변형 특수 효과; transform special effects, such as face transforms;

입에 나타난 무지개 특수 효과, 귀에 나타난 귀걸이 특수 효과 등과 같은 스티커 특수 효과; sticker special effects, such as rainbow special effects appearing on the mouth, earring special effects appearing on the ears, etc.;

특정 변성 특수 효가 등과 같은 사운드 특수 효과; 및 sound special effects, such as certain metamorphic special effects; and

다른 동작 중 어느 하나 또는 복수 개를 포함한다.It includes any one or a plurality of other operations.

도 3에 도시된 바와 같이, 이는 본 출원의 실시예에서 손 동작의 예시적 예시도이다.As shown in FIG. 3 , this is an exemplary exemplification of hand motion in the embodiment of the present application.

본 출원의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법의 또 다른 실시예에 있어서, 상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은, 컨텐츠 디스플레이 바를 통해 목표 대상의 참조 이미지를 디스플레이하는 단계를 더 포함할 수 있다.In another embodiment of the method of generating the stroke special effects program file package of the present application, the method of generating the stroke special effects program file package may further include displaying a reference image of the target object through a content display bar. there is.

실시형태 중 하나에 있어서, 목표 대상이 인물일 경우, 상기 인물의 적어도 일부의 참조 이미지는 예를 들어, 완전한 이미지, 머리 이미지, 얼굴 이미지, 어깨 이미지, 팔 이미지, 제스처 이미지, 허리 이미지, 다리 이미지, 발 이미지 등 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다. According to one of the embodiments, when the target object is a person, the reference image of at least a part of the person is, for example, a complete image, a head image, a face image, a shoulder image, an arm image, a gesture image, a waist image, a leg image , but may include any one or a plurality of foot images, but is not limited thereto.

또한, 선택적으로, 본 출원의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법의 또 다른 실시예에 있어서, 상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은, 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 컨텐츠 디스플레이 바에서 목표 대상의 스트로크 효과를 디스플레이하는 단계를 더 포함할 수 있다.Optionally, in another embodiment of the method for generating the stroke special effects program file package of the present application, the method for generating the stroke special effects program file package includes: according to a parameter value of a stroke effect parameter of a target object, content The method may further include displaying a stroke effect of the target object on the display bar.

본 출원의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법의 또 다른 실시예에 있어서, 상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은, 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치는 수신된 작동 명령어에 따라 작동되고, 조작 인터페이스를 디스플레이 하는 단계 - 상기 조작 인터페이스는 조작 바, 컨텐츠 디스플레이 바 및 프로그램 파일 바를 포함함 - 를 더 포함한다.In another embodiment of the method for generating the stroke special effects program file package of the present application, the method for generating the stroke special effects program file package includes: an apparatus for generating a stroke special effects program file package is operated according to a received operation command; , displaying an operation interface, wherein the operation interface includes an operation bar, a content display bar, and a program file bar.

도 4에 도시된 바와 같이, 선택 가능한 예에서, 상기 조작 인터페이스는, 왼쪽, 중간 및 오른쪽에 위치한 세 개의 영역을 포함한다. 상응하게, 상기 조작 인터페이스를 디스플레이하는 단계는, 조작 인터페이스의 왼쪽에서 조작 바를 디스플레이하고, 조작 인터페이스의 중간에서 컨텐츠 디스플레이 바를 디스플레이하며, 조작 인터페이스 오른쪽에서 상기 프로그램 파일 바를 디스플레이하는 단계를 포함할 수 있다.As shown in FIG. 4 , in a selectable example, the operation interface includes three regions located on the left, middle and right. Correspondingly, the step of displaying the operation interface may include displaying the operation bar on the left side of the operation interface, displaying the content display bar in the middle of the operation interface, and displaying the program file bar on the right side of the operation interface.

여기서, 왼쪽 조작 바에서 스트로크 특수 효과(BackgroundEdge) 컨텐츠 예시가 도시되며, 왼쪽 조작 바 중의 인터랙션 인터페이스(21)를 통해 목표 대상 선택 명령어를 수신할 수 있고, 목표 대상 아래의 다른 일부 인터랙션 인터페이스(미도시)를 통해 스트로크 효과 파라미터의 파라미터 값을 수신할 수 있으며; 컨텐츠 디스플레이 바는 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 목표 대상의 스트로크 효과를 컨텐츠 디스플레이할 수 있으며; 오른쪽의 프로그램 파일 디스플레이 바는, 디스플레이 영역(22)을 통해 목표 대상의 스트로크 효과의 스트로크 특수 효과 프로그램 파일의 컨텐츠를 디스플레이하기 위한 것이고, 프로그램 파일 디스플레이 바에서의 저장 명령어 인터페이스(23)를 통해 스트로크 특수 효과 프로그램 파일 패키지를 도출할 수 있으며, 즉 상기 스트로크 특수 효과 프로그램 파일 패키지를 생성 및 저장할 수 있다. 한정이 아닌 본 출원의 각 실시예의 선택 가능한 예로서, 조작 바는 스트로크 효과 파라미터 설정 인터페이스를 포함할 수 있다.Here, an example of a stroke special effect (BackgroundEdge) content is shown in the left manipulation bar, a target target selection command can be received through the interaction interface 21 in the left manipulation bar, and some other interaction interfaces (not shown) below the target target ) to receive the parameter value of the stroke effect parameter; the content display bar may content display the stroke effect of the target object according to the parameter value of the stroke effect parameter of the target object; The program file display bar on the right is for displaying the contents of the stroke special effect program file of the stroke effect of the target object through the display area 22, and the stroke special effect through the save command interface 23 in the program file display bar An effect program file package can be derived, that is, the stroke special effect program file package can be created and stored. As a selectable example of each embodiment of the present application without limitation, the operation bar may include a stroke effect parameter setting interface.

본 출원의 각 실시예의 실시형태에 있어서, 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치는 기설정된 특수 효과 프로그램 파일를 포함할 수 있고, 이는 예를 들어 자바 스크립트 객체 표기(JavaScript Object Notiation, json) 파일, 또는 다른 임의의 실행 가능한 프로그램 파일일 수 있다. 상기 스트로크 특수 효과 프로그램 파일에서 스트로크 효과 파라미터의 파라미터 값은 비어있거나 디폴트 값으로 기설정될 수 있고, 스트로크 효과 파라미터에 대해 설정된 파라미터 값을 수신한 경우, 상기 스트로크 특수 효과 프로그램 파일에서의 상응하는 파라미터 값은 수신된 파라미터 값으로 자동으로 업데이트된다. 선택적으로, 상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치는 조작 바를 포함할 수 있고, 상기 조작 바에는 목표 대상의 스트로크 효과에 대해 설정된 파라미터 값을 수신하기 위한 적어도 하나의 인터랙션 인터페이스가 설치되어 있으며; 또한, 상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치는 목표 대상의 스트로크 효과의 프로그램 파일을 디스플레이하기 위한 프로그램 파일 디스플레이 바를 더 포함할 수 있다. 도 4에 도시된 바와 같이, 본 출원의 실시예에서 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치의 조작 인터페이스 예시도이고, 상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치의 조작 인터페이스는 조작 바 및 프로그램 파일 디스플레이 바를 포함한다. 상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치가 작동된 후, 조작 바 중 하나의 목표 대상의 스트로크 효과 파라미터 설정 인터페이스에 대응하여, 프로그램 파일 디스플레이 바는 상기 목표 대상의 스트로크 효과 파라미터가 비어있거나 디폴트 값으로 기설정된 경우의 스트로크 특수 효과 프로그램 파일을 디스플레이하고, 조작 바의 인터랙션 인터페이스를 통해 하나의 목표 대상의 스트로크 효과 파라미터에 대해 설정된 파라미터 값을 수신한 경우, 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 최근에 수신된 파라미터 값으로 업데이트하고, 프로그램 파일 디스플레이 바는 파라미터 값이 업데이트된 후의 스트로크 특수 효과 프로그램 파일을 실시간으로 디스플레이한다.In the embodiment of each embodiment of the present application, the device for generating the stroke special effect program file package may include a preset special effect program file, which is, for example, a JavaScript Object Notiation (json) file, or It may be any other executable program file. The parameter value of the stroke effect parameter in the stroke special effect program file may be empty or preset to a default value, and when the parameter value set for the stroke effect parameter is received, the corresponding parameter value in the stroke special effect program file is automatically updated with the received parameter values. Optionally, the device for generating the stroke special effect program file package may include a manipulation bar, wherein the manipulation bar is provided with at least one interaction interface for receiving a parameter value set for a stroke effect of a target object; Also, the apparatus for generating the stroke special effect program file package may further include a program file display bar for displaying the program file of the stroke effect of the target object. As shown in FIG. 4 , it is an exemplary view of the operation interface of the device for generating a special stroke effect program file package in the embodiment of the present application, and the manipulation interface of the device for generating the special stroke program file package includes a manipulation bar and a program file display Includes bar. After the device for generating the stroke special effect program file package is activated, in response to the stroke effect parameter setting interface of one of the operation bars, the program file display bar may display the stroke effect parameter of the target object as blank or set to a default value. When a preset stroke special effect program file is displayed, and when a parameter value set for a stroke effect parameter of one target is received through the interaction interface of the operation bar, the parameter value of the stroke effect parameter of the target is recently updated. is updated with the parameter value received in the , and the program file display bar displays the stroke special effect program file after the parameter value is updated in real time.

본 출원의 실시예는 프로그램 파일을 수동으로 작성하여 랜더링 엔진이 실행 가능한 파일을 생성할 필요없이, 사용자가 조작 바에서 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 대한 설정 조작에 기반하여 특수 효과 프로그램 패킷의 생성을 구현할 수 있어, 동작이 간단하고, 소요 시간이 짧으며, 스트로크 특수 효과 구현의 전체적인 효율을 향상시키며, 프로그램 파일을 수동으로 작성할 경우에 발생할 수 있는 오류를 방지하며, 스트로크 특수 효과의 정확성을 효과적으로 확보한다.An embodiment of the present application provides a special effect program packet based on a user setting operation for a parameter value of a stroke effect parameter of a target object in the operation bar, without the need for the rendering engine to generate an executable file by manually creating a program file can implement the creation of , the operation is simple, the time required is short, the overall efficiency of the stroke special effect implementation is improved, and errors that may occur when writing the program file manually are prevented, and the accuracy of the stroke special effect is improved. to effectively secure

도 5는 본 출원의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법의 다른 실시예의 흐름도이다. 도 5에 도시된 바와 같이, 상기 실시예의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은 아래와 같은 단계를 포함한다.5 is a flowchart of another embodiment of a method for generating a stroke special effect program file package according to the present application. As shown in FIG. 5 , the method of generating a stroke special effect program file package according to the embodiment includes the following steps.

단계 302에 있어서, 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치는 수신된 작동 명령어에 따라 작동되고, 조작 인터페이스를 디스플레이하며, 상기 조작 인터페이스는 조작 바, 컨텐츠 디스플레이 바 및 프로그램 파일 바를 포함한다.In step 302, the device for generating the stroke special effect program file package is operated according to the received operation instruction, and displays an operation interface, the operation interface including an operation bar, a content display bar and a program file bar.

단계 304에 있어서, 컨텐츠 디스플레이 바를 통해 목표 대상의 참조 이미지를 디스플레이 한다.In step 304, a reference image of the target is displayed through the content display bar.

선택 가능한 예에 있어서, 상기 단계 304는 프로세서에 의해 메모리에 저장된 상응하는 명령어를 호출하여 실행될 수 있고, 프로세서에 의해 작동된 조작 인터페이스 또는 조작 인터페이스에서의 컨텐츠 디스플레이 바에 의해 실행될 수도 있다.In a selectable example, the step 304 may be executed by invoking a corresponding instruction stored in the memory by the processor, and may be executed by an operation interface operated by the processor or a content display bar in the operation interface.

단계 306에 있어서, 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득한다.In step 306, a parameter value of a stroke effect parameter of the target object is obtained.

본 출원의 각 실시예에 있어서, 목표 대상은 예를 들어, 인물의 적어도 일부, 물체, 도입된 서브 머티리얼 등 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다.In each embodiment of the present application, the target target may include, but is not limited to, any one or a plurality of, for example, at least a part of a person, an object, and an introduced sub-material.

선택 가능한 예에 있어서, 상기 단계 306은 프로세서에 의해 메모리에 저장된 상응하는 명령어를 호출하여 실행될 수 있거나, 프로세서에 의해 작동되는 제1 획득 모듈에 의해 실행될 수 있다.In a selectable example, the step 306 may be executed by invoking a corresponding instruction stored in the memory by the processor, or may be executed by a first acquiring module operated by the processor.

단계 308에 있어서, 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 컨텐츠 디스플레이 바에서 목표 대상의 스트로크 효과를 디스플레이한다.In step 308, the stroke effect of the target is displayed on the content display bar according to the parameter value of the stroke effect parameter of the target.

선택 가능한 예에 있어서, 상기 단계 308은 프로세서에 의해 메모리에 저장된 상응하는 명령어를 호출하여 실행될 수 있고, 프로세서에 의해 작동된 조작 인터페이스 또는 조작 인터페이스에서의 컨텐츠 디스플레이 바에 의해 실행될 수도 있다.In a selectable example, the step 308 may be executed by invoking a corresponding instruction stored in the memory by the processor, and may be executed by an operation interface operated by the processor or a content display bar in the operation interface.

단계 310에 있어서, 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 스트로크 특수 효과 프로그램 파일 패키지를 생성한다.In step 310, a stroke special effect program file package is generated according to the parameter value of the stroke effect parameter of the target object.

선택 가능한 예에 있어서, 상기 단계 310은 프로세서에 의해 메모리에 저장된 상응하는 명령어를 호출하여 실행될 수 있거나, 프로세서에 의해 작동되는 제1 생성 모듈에 의해 실행될 수 있다.In a selectable example, the step 310 may be executed by invoking a corresponding instruction stored in the memory by the processor, or may be executed by a first generating module operated by the processor.

또한, 선택적으로, 본 출원의 상기 각 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법 실시예에 있어서, 상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은, 컨텐츠 디스플레이 바에서 목표 대상의 키 포인트를 디스플레이하는 단계를 더 포함할 수 있다.Optionally, in an embodiment of the method for generating each stroke special effect program file package of the present application, the method for generating the stroke special effect program file package includes: displaying a key point of a target object on a content display bar; may include more.

또한, 본 출원의 상기 각 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법의 또 다른 실시예에 있어서, 스트로크 특수 효과 프로그램 파일 패키지를 생성한 후, 상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은, 수신된 저장 명령어에 따라 상기 저장 명령어에 의해 지시된 위치에 스트로크 특수 효과 프로그램 파일 패키지를 저장하는 단계를 더 포함할 수 있다.Further, in another embodiment of the method for generating each stroke special effect program file package of the present application, after generating the stroke special effect program file package, the method for generating the stroke special effect program file package includes: The method may further include storing the stroke special effects program file package in a location indicated by the storage instruction according to the instruction.

일 실시형태에 있어서, 수신된 저장 명령어에 따라 상기 저장 명령어에 의해 지시된 위치에 스트로크 특수 효과 프로그램 파일 패키지를 저장하는 단계는, In one embodiment, according to a received storage instruction, storing the stroke special effects program file package at a location indicated by the store instruction comprises:

저장 명령어를 수신한 것에 응답하여, 저장 경로 선택 인터페이스 및 압축 인터페이스를 디스플레이하는 단계; in response to receiving the storage instruction, displaying a storage path selection interface and a compression interface;

저장 경로 선택 인터페이스를 통해 송신된 저장 위치를 수신하는 단계; 압축 인터페이스에 기반하여 송신된 압축 모드를 수신하고, 압축 모드에 따라 스트로크 특수 효과 프로그램 파일 패키지를 압축하여, 압축 파일 패키지를 생성하는 단계; 및receiving the storage location sent through the storage path selection interface; receiving the transmitted compression mode according to the compression interface, and compressing the stroke special effects program file package according to the compression mode to generate a compressed file package; and

압축 파일 패키지를 저장 위치가 지시하는 폴더에 저장하는 단계를 포함할 수 있다. It may include saving the compressed file package in a folder indicated by the storage location.

스트로크 특수 효과 프로그램 파일 패키지의 크기가 클 경우, 핸드폰 단말에서 작동하기에 적절하지 않으므로, 본 출원의 실시예는 스트로크 특수 효과 프로그램 파일 패키지를 압축한 후 저장하여, 단말에 도입하여 스트로크 특수 효과를 생성하도록 한다.When the size of the stroke special effect program file package is large, it is not suitable for operation in a mobile phone terminal, so the embodiment of the present application compresses and stores the stroke special effect program file package and introduces it to the terminal to generate a stroke special effect to do it

본 출원의 상기 각 실시예에 기반하여 스트로크 특수 효과 프로그램 파일 패키지를 생성한 후, 상기 스트로크 특수 효과 프로그램 파일 패키지를 단말에 도입하여, 상기 단말에 의해 재생된 이미지 중 목표 대상에 대한 스트로크 특수 효과를 생성할 수 있다.After generating a stroke special effect program file package based on each of the embodiments of the present application, the stroke special effect program file package is introduced into a terminal, and a stroke special effect for a target object among images reproduced by the terminal is obtained. can create

도 6은 본 출원의 스트로크 특수 효과 생성 방법의 실시예의 흐름도이다. 본 출원의 각 실시예에서의 스트로크 특수 효과 생성 방법은, 예를 들어 하나의 장치(본 출원의 실시예에서 스트로크 특수 효과 생성 장치로 지칭됨)를 통해 구현될 수 있지만 이에 한정되지 않는다. 여기서 스트로크 특수 효과 생성 장치는, 예를 들어 AR 엔진 또는 AR 드로잉 기능을 구비한 전자 기기(AR 엔진이 탑재된 전자 기기 등) 등일 수 있다. 도 6에 도시된 바와 같이, 상기 실시예의 스트로크 특수 효과 생성 방법은 아래와 같은 단계를 포함한다.6 is a flowchart of an embodiment of a method for generating a special stroke effect of the present application. The stroke special effect generating method in each embodiment of the present application may be implemented through, for example, one device (referred to as a stroke special effect generating device in the embodiment of the present application), but is not limited thereto. Here, the stroke special effect generating apparatus may be, for example, an AR engine or an electronic device having an AR drawing function (such as an electronic device equipped with an AR engine). As shown in FIG. 6 , the method for generating a special stroke effect according to the embodiment includes the following steps.

단계 402에 있어서, 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득한다.In step 402, a parameter value of a stroke effect parameter of the target object is obtained.

선택 가능한 예에 있어서, 상기 단계 402는 프로세서에 의해 메모리에 저장된 상응하는 명령어를 호출하여 실행될 수 있거나, 프로세서에 의해 작동되는 제2 획득 모듈에 의해 실행될 수 있다.In a selectable example, the step 402 may be executed by invoking a corresponding instruction stored in the memory by the processor, or may be executed by a second acquiring module operated by the processor.

단계 404에 있어서, 처리될 이미지 중의 목표 대상 및 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 처리될 이미지에서 목표 대상의 스트로크 특수 효과를 생성한다. In step 404, based on the target object in the image to be processed and the parameter values of the stroke effect parameter of the target object, a stroke special effect of the target object is generated in the image to be processed.

선택 가능한 예에 있어서, 상기 단계 404는 프로세서에 의해 메모리에 저장된 상응하는 명령어를 호출하여 실행될 수 있거나, 프로세서에 의해 작동되는 제2 생성 모듈에 의해 실행될 수 있다.In a selectable example, the step 404 may be executed by invoking a corresponding instruction stored in the memory by the processor, or may be executed by a second generating module operated by the processor.

본 출원의 상기 실시예에서 제공한 스트로크 특수 효과 생성 방법에 기반하여, 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하고, 처리될 이미지 중의 목표 대상 및 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 처리될 이미지에서 상기 목표 대상의 스트로크 특수 효과를 생성함으로써, 이미지 중의 목표 대상의 스트로크 특수 효과를 구현하고, 이미지의 스트로크 특수 효과 재생을 구현하며, 이미지 재생 효과를 향상시킨다.Based on the stroke special effect generating method provided in the embodiment of the present application, a parameter value of a stroke effect parameter of a target object is obtained, and based on the parameter value of the target object in the image to be processed and the stroke effect parameter of the target object Thus, by generating the special stroke effect of the target object in the image to be processed, the stroke special effect of the target object in the image is realized, the stroke special effect reproduction of the image is realized, and the image reproduction effect is improved.

본 출원의 스트로크 특수 효과 생성 방법의 다른 실시예에 있어서, 단계 402 전에, 상기 스트로크 특수 효과 생성 방법은, 스트로크 특수 효과 프로그램 파일 패키지를 도입하는 단계를 더 포함할 수 있다. 일 실시형태에 있어서, 상기 스트로크 특수 효과 프로그램 파일 패키지를 도입하는 단계는, 파일 패키지를 판독하기 위한 인터페이스 함수를 호출하는 것을 통해, 스트로크 특수 효과 프로그램 파일 패키지를 내부 저장소로 판독하는 단계; 및 스트로크 특수 효과 프로그램 파일 패키지를 해석하여, 스트로크 특수 효과 프로그램 파일을 획득 - 스트로크 특수 효과 프로그램 파일은 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 포함함 - 하는 단계를 포함할 수 있다. 선택 가능한 예에서, 스트로크 특수 효과 프로그램 파일은 예를 들어, json 프로그램 또는 다른 실행 가능한 프로그램으로 생성된 스트로크 특수 효과 프로그램 파일을 포함할 수 있지만 이에 한정되지 않는다. 상응하게, 상기 실시예에서, 단계 402는, 스트로크 특수 효과 프로그램 파일 패키지 중 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하는 단계를 포함할 수 있다.In another embodiment of the method for generating a special stroke effect of the present application, before step 402, the method for generating a special stroke effect may further include introducing a special stroke program file package. In one embodiment, the step of introducing the stroke special effects program file package comprises: reading the stroke special effects program file package into an internal storage through calling an interface function for reading the file package; and analyzing the stroke special effects program file package to obtain a stroke special effects program file, the stroke special effects program file including parameter values of the stroke effect parameters of the target object. In an optional example, the stroke special effects program file may include, but is not limited to, a stroke special effects program file generated by, for example, a json program or other executable program. Correspondingly, in the above embodiment, step 402 may include obtaining a parameter value of a stroke effect parameter of the target object in the stroke special effect program file package.

예시적으로, 상기 스트로크 특수 효과 프로그램 파일 패키지는, 본 출원의 상기 어느 한 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법 실시예를 사용하여 생성된 스트로크 특수 효과 프로그램 파일 패키지일 수 있지만 이에 한정되지 않는다.Illustratively, the stroke special effects program file package may be a stroke special effects program file package generated using any one of the above-described stroke special effects program file package generating method embodiments of the present application, but is not limited thereto.

본 출원의 상기 각 스트로크 특수 효과 생성 방법 실시예에 있어서, 상기 스트로크 특수 효과 프로그램 파일 패키지는, 목표 대상의 스트로크 효과 파라미터의 파라미터 값 중 적어도 하나를 포함할 수 있다. 또한, 상기 스트로크 특수 효과 프로그램 파일 패키지는, 목표 대상의 스트로크될 영역과 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값 사이의 대응 관계를 선택적으로 포함할 수 있다.In each of the stroke special effect generating method embodiments of the present application, the stroke special effect program file package may include at least one of parameter values of a stroke effect parameter of a target object. In addition, the stroke special effect program file package may optionally include a correspondence relationship between a stroke-to-be-stroked area of the target object and a parameter value of a stroke effect parameter of the target object.

실시형태 중 하나에 있어서, 단계 402는, 스티커 핸들을 생성하기 위한 인터페이스 함수를 통해 스티커 핸들을 생성하는 단계; 및 스트로크 특수 효과 프로그램 파일 중 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 판독하고, 스티커 핸들에 저장하는 단계를 포함할 수 있다.In one of the embodiments, step 402 comprises: creating a sticker handle via an interface function for creating the sticker handle; and reading the parameter value of the stroke effect parameter of the target object from the stroke special effect program file and storing the parameter value in the sticker handle.

선택적으로, 상기 처리될 이미지가 비디오의 이미지일 경우, 상기 실시형태는, 스티커 핸들의 스트로크 특수 효과 프로그램 파일 중 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 목표 대상의 스트로크 특수 효과가 비디오에서 디스플레이될 비디오 프레임 수를 획득하고, 미리 비디오로부터 비디오 프레임 수에 대응하는 비디오 이미지를 판독하는 단계를 더 포함할 수 있다. Optionally, when the image to be processed is an image of a video, the embodiment provides that, according to a parameter value of a stroke effect parameter of the target object in the stroke special effect program file of the sticker handle, the stroke special effect of the target object is displayed in the video The method may further include acquiring the number of video frames to be processed, and reading a video image corresponding to the number of video frames from the video in advance.

다른 실시형태에 있어서, 상기 스트로크 특수 효과 생성 방법은, 스트로크 특수 효과 프로그램 파일 패키지가 재생 완료된 것에 응답하여, 스티커 핸들을 제거하기 위한 인터페이스 함수를 호출하는 것을 통해 스티커 핸들을 제거하는 단계를 더 포함할 수 있다.In another embodiment, the method for generating a stroke special effect may further include removing the sticker handle through calling an interface function for removing the sticker handle in response to the stroke special effect program file package being reproduced. can

본 출원의 스트로크 특수 효과 생성 방법의 다른 실시예에 있어서, 상기 스트로크 특수 효과 생성 방법은, 목표 대상의 스트로크될 영역을 결정하는 단계를 더 포함할 수 있다. 상응하게, 상기 실시예에서, 단계 404는, 스트로크 특수 효과 프로그램 파일 패키지 중 목표 대상의 스트로크 효과 파라미터의 파라미터 값과 목표 대상의 스트로크될 영역 사이의 대응 관계에 기반하여, 스트로크될 영역에서 스트로크 특수 효과를 생성하는 단계를 포함할 수 있다.In another embodiment of the method for generating a special stroke effect of the present application, the method for generating a special stroke effect may further include determining an area to be stroked of the target object. Correspondingly, in the above embodiment, in step 404, the stroke special effect in the to-be-stroked region is based on the corresponding relationship between the parameter value of the stroke effect parameter of the target object in the stroke special effect program file package and the to-be-stroked region of the target object. It may include the step of generating

일 실시형태에 있어서, 목표 대상의 스트로크될 영역을 결정하는 단계는, 처리될 이미지 중의 목표 대상과 처리될 이미지 중의 목표 대상 이외의 부분에 대한 물체 분할 결과를 획득하는 단계; 및 물체 분할 결과에 기반하여 적어도 일부 분할 경계 영역을 목표 대상의 스트로크될 영역으로 결정하는 단계를 포함할 수 있다.In one embodiment, the step of determining the region to be stroked of the target object includes: obtaining object segmentation results for a target object in an image to be processed and a portion other than the target object in an image to be processed; and determining at least a partial division boundary area as an area to be stroked of the target object based on the object division result.

다른 실시형태에 있어서, 목표 대상의 스트로크될 영역을 결정하는 단계는, 처리될 이미지 중의 목표 대상의 키 포인트 검출 결과를 획득하는 단계; 및 키 포인트 검출 결과에 기반하여, 목표 대상의 적어도 두 개의 키 포인트의 피팅 라인을 목표 대상의 스트로크될 영역으로 결정하는 단계를 포함할 수 있다.In another embodiment, the determining of the to-be-stroked area of the target object includes: obtaining a key point detection result of the target object in the image to be processed; and determining a fitting line of at least two key points of the target target as an area to be stroked of the target target based on the key point detection result.

선택 가능한 예에서, 처리될 이미지 중의 목표 대상의 키 포인트 검출 결과를 획득하는 단계는, 신경 네트워크를 통해, 처리될 이미지에 대해 목표 대상의 키 포인트 검출을 수행하고, 키 포인트 검출 결과를 출력하는 방식으로 구현될 수 있다.In a selectable example, the step of obtaining the key point detection result of the target object in the image to be processed includes performing key point detection of the target object on the image to be processed through a neural network, and outputting the key point detection result can be implemented as

여기서 키 포인트 검출 결과는, 예를 들어 키 포인트가 이미지에서의 위치; 및 키 포인트의 기설정된 번호 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다.Here, the key point detection result may include, for example, the location of the key point in the image; and any one or a plurality of preset numbers of key points, but is not limited thereto.

본 출원의 상기 각 스트로크 특수 효과 생성 방법 실시예에 있어서, 처리될 이미지는 예를 들어, 정적 이미지, 비디오의 이미지 등 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다.In each of the stroke special effect generating method embodiments of the present application, the image to be processed may include, for example, any one or a plurality of static images and video images, but is not limited thereto.

본 출원의 상기 각 스트로크 특수 효과 생성 방법 실시예의 실시형태에 있어서, 스트로크 효과 파라미터는 트리거 이벤트 파라미터를 포함할 수 있으며, 상기 트리거 이벤트 파라미터는 스트로크 효과 디스플레이를 트리거하는 트리거 이벤트를 나타내기 위한 것이다. 상응하게, 상기 실시예에서, 스트로크 특수 효과 생성 방법은, 이미지에 트리거 이벤트 파라미터의 파라미터 값에 대응하는 트리거 이벤트가 출현하는지 여부를 검출하는 단계를 더 포함할 수 있다. 단계 404는, 처리될 이미지에서 트리거 이벤트 파라미터의 파라미터 값에 대응하는 트리거 이벤트가 출현한 것이 검출된 것에 응답하여, 처리될 이미지 중의 목표 대상 및 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 처리될 이미지에서 목표 대상의 스트로크 특수 효과를 생성하는 단계를 포함할 수 있다.In the embodiment of each stroke special effect generating method embodiment of the present application, the stroke effect parameter may include a trigger event parameter, and the trigger event parameter is for indicating a trigger event that triggers the stroke effect display. Correspondingly, in the above embodiment, the method for generating a stroke special effect may further include detecting whether a trigger event corresponding to a parameter value of a trigger event parameter appears in the image. Step 404 is, in response to detecting occurrence of a trigger event corresponding to the parameter value of the trigger event parameter in the image to be processed, processing according to the target object in the image to be processed and the parameter value of the stroke effect parameter of the target object generating a stroke special effect of the target object in the image to be

본 출원의 상기 각 스트로크 특수 효과 생성 방법 실시예의 다른 실시형태에 있어서, 스트로크 효과 파라미터는 트리거 종료 파라미터를 포함할 수 있으며, 상기 트리거 종료 파라미터는 스트로크 효과의 디스플레이를 종료하는 트리거 이벤트를 나타내기 위한 것이다. 상응하게, 상기 실시예에서, 스트로크 특수 효과 생성 방법은, 처리될 이미지에 트리거 종료 파라미터의 파라미터 값에 대응하는 트리거 이벤트가 출현하는지 여부를 검출하는 단계; 및 처리될 이미지에 트리거 종료 파라미터의 파라미터 값에 대응하는 트리거 이벤트가 출현한 것이 검출된 것에 응답하여, 처리될 이미지에서 생성된 목표 대상의 스트로크 특수 효과를 취소하는 단계를 더 포함할 수 있다.In another embodiment of the embodiment of the method for generating each stroke special effect of the present application, the stroke effect parameter may include a trigger end parameter, wherein the trigger end parameter is for indicating a trigger event that ends display of the stroke effect . Correspondingly, in the above embodiment, the stroke special effect generating method includes: detecting whether a trigger event corresponding to a parameter value of a trigger termination parameter appears in an image to be processed; and in response to detecting that the trigger event corresponding to the parameter value of the trigger termination parameter appears in the image to be processed, canceling the stroke special effect of the target object generated in the image to be processed.

본 출원의 상기 각 스트로크 특수 효과 생성 방법 실시예의 또 다른 실시형태에 있어서, 스트로크 효과 파라미터는, 뷰티/메이크업(뷰티 및 메이크업 중 적어도 하나) 효과 파라미터를 포함하며, 상기 뷰티/메이크업 효과 파라미터는 스트로크 효과를 디스플레이할 때 기설정된 부위에서 디스플레이되는 뷰티/메이크업(뷰티및 메이크업 중 적어도 하나) 효과를 나타내기 위한 것이다. 상응하게, 상기 실시예에서, 스트로크 특수 효과 생성 방법은, 처리될 이미지 중의 목표 대상 및 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 처리될 이미지에서 목표 대상의 스트로크 특수 효과를 생성할 경우, 뷰티/메이크업 효과 파라미터에 따라, 처리될 이미지에서 뷰티/메이크업 효과를 디스플레이하는 단계를 더 포함할 수 있다.In another embodiment of the embodiment of the method for generating each stroke special effect of the present application, the stroke effect parameter includes a beauty/makeup (at least one of beauty and makeup) effect parameters, and the beauty/makeup effect parameter includes a stroke effect This is to indicate the effect of beauty/makeup (at least one of beauty and makeup) displayed in a preset area when displaying . Correspondingly, in the above embodiment, the method for generating a stroke special effect includes: based on a target object in the image to be processed and a parameter value of a stroke effect parameter of the target object, when generating a stroke special effect of the target object in the image to be processed, The method may further include displaying the beauty/makeup effect in the image to be processed according to the beauty/makeup effect parameter.

도 7은 본 출원의 스트로크 특수 효과 생성 방법의 다른 실시예의 흐름도이다. 도 7에 도시된 바와 같이, 상기 실시예의 스트로크 특수 효과 생성 방법은 아래와 같은 단계를 포함한다.7 is a flowchart of another embodiment of a method for generating a special stroke effect of the present application. As shown in FIG. 7 , the method for generating a special stroke effect according to the embodiment includes the following steps.

단계 502에 있어서, 파일 패키지를 판독하기 위한 인터페이스 함수를 호출하는 것을 통해, 스트로크 특수 효과 프로그램 파일 패키지를 내부 저장소로 판독한다.In step 502, the stroke special effect program file package is read into the internal storage through calling an interface function for reading the file package.

단계 504에 있어서, 스트로크 특수 효과 프로그램 파일 패키지를 해석하여, 스트로크 특수 효과 프로그램 파일을 획득하며, 상기 스트로크 특수 효과 프로그램 파일은 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 포함한다.In step 504, the stroke special effect program file package is analyzed to obtain a stroke special effect program file, the stroke special effect program file including parameter values of the stroke effect parameters of the target object.

선택 가능한 예에서, 스트로크 특수 효과 프로그램 파일은 예를 들어, json프로그램 또는 다른 실행 가능한 프로그램으로 생성된 스트로크 특수 효과 프로그램 파일을 포함할 수 있지만 이에 한정되지 않는다.In an optional example, the stroke special effects program file may include, but is not limited to, a stroke special effects program file generated by, for example, a json program or other executable program.

선택 가능한 예에 있어서, 상기 단계 502 내지 단계 504는 프로세서에 의해 메모리에 저장된 상응하는 명령어를 호출하여 실행될 수 있거나, 프로세서에 의해 작동되는 도입 모듈에 의해 실행될 수 있다.In a selectable example, the steps 502 to 504 may be executed by invoking a corresponding instruction stored in the memory by the processor, or may be executed by an introduction module operated by the processor.

단계 506에 있어서, 스티커 핸들을 생성하기 위한 인터페이스 함수를 통해 스티커 핸들을 생성한다.In step 506, a sticker handle is created through an interface function for creating a sticker handle.

단계 508에 있어서, 스트로크 특수 효과 프로그램 파일 중 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 판독하고, 스티커 핸들에 저장한다. In step 508, the parameter value of the stroke effect parameter of the target object from the stroke special effect program file is read and stored in the sticker handle.

선택 가능한 예에 있어서, 상기 단계 506 내지 단계 508은 프로세서에 의해 메모리에 저장된 상응하는 명령어를 호출하여 실행될 수 있거나, 프로세서에 의해 작동되는 제2 획득 모듈에 의해 실행될 수 있다.In a selectable example, the steps 506 to 508 may be executed by invoking a corresponding instruction stored in the memory by the processor, or may be executed by a second acquiring module operated by the processor.

단계 510에 있어서, 스티커 핸들의 스트로크 특수 효과 프로그램 파일 중 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 목표 대상의 스트로크 특수 효과가 비디오에서 디스플레이될 비디오 프레임 수를 획득하고, 미리 비디오로부터 비디오 프레임 수에 대응하는 비디오 이미지를 판독한다.In step 510, according to the parameter value of the stroke effect parameter of the target object in the stroke special effect program file of the sticker handle, the number of video frames in which the stroke special effect of the target object is to be displayed in the video is obtained, in advance, the number of video frames from the video Read the video image corresponding to .

선택 가능한 예에 있어서, 상기 단계 510은, 프로세서에 의해 메모리에 저장된 상응하는 명령어를 호출하여 실행될 수 있거나, 프로세서에 의해 작동되는 제3 획득 모듈에 의해 실행될 수 있다.In a selectable example, the step 510 may be executed by invoking a corresponding instruction stored in the memory by the processor, or may be executed by a third acquiring module operated by the processor.

단계 512에 있어서, 스티커 핸들의 스트로크 특수 효과 프로그램 파일 중 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 대응하는 비디오 이미지에서 목표 대상의 스트로크 특수 효과를 생성한다.In step 512, according to the parameter value of the stroke effect parameter of the target object in the stroke special effect program file of the sticker handle, a stroke special effect of the target object is generated in the corresponding video image.

단계 514에 있어서, 스트로크 특수 효과 프로그램 파일 패키지가 재생 완료된 것에 응답하여, 스티커 핸들을 제거하기 위한 인터페이스 함수를 호출하는 것을 통해 스티커 핸들을 제거한다.In step 514, in response to the stroke special effect program file package being reproduced, the sticker handle is removed by calling an interface function for removing the sticker handle.

선택 가능한 예에 있어서, 상기 단계 512 내지 단계 514는 프로세서에 의해 메모리에 저장된 상응하는 명령어를 호출하여 실행될 수 있거나, 프로세서에 의해 작동되는 제2 생성 모듈에 의해 실행될 수 있다.In a selectable example, the steps 512 to 514 may be executed by invoking a corresponding instruction stored in the memory by the processor, or may be executed by a second generating module operated by the processor.

본 출원의 각 스트로크 특수 효과 생성 방법 실시예는, 다양한 정적 이미지 또는 비디오 재생 시나리오에 사용될 수 있고, 예를 들어 인물을 포함하는 비디오 라이브 시나리오에 사용되어, 상기 라이브 비디오 중의 목표 대상에 스트로크 특수 효과를 생성하며, 여기서 목표 대상은 예를 들어, 귀, 손, 얼굴, 머리카락, 목, 어깨 등일 수 있다. Each stroke special effect generating method embodiment of the present application can be used in various static image or video playback scenarios, for example, is used in a video live scenario including a person, to apply a stroke special effect to a target object in the live video. , where the target object may be, for example, an ear, a hand, a face, a hair, a neck, a shoulder, and the like.

본 출원의 실시예에서 제공한 어느 한 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법 및 스트로크 특수 효과 생성 방법은 임의의 적절한 데이터 처리 능력을 구비하는 기기에 의해 실행될 수 있고, 단말 기기 및 서버 등을 포함하지만 이에 한정되지 않는다. 또는, 본 출원의 실시예에서 제공한 어느 한 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법 및 스트로크 특수 효과 생성 방법은 프로세서에 의해 실행될 수 있고, 예를 들어 프로세서는 메모리에 저장된 상응하는 명령어를 호출하는 것을 통해 본 출원의 실시예에서 언급한 어느 한 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법 및 스트로크 특수 효과 생성 방법을 실행한다. 아래에 더이상 반복하여 설명하지 않는다.Any one of the stroke special effects program file package generating method and the stroke special effect generating method provided in the embodiments of the present application may be executed by a device having any suitable data processing capability, and includes a terminal device and a server, but However, the present invention is not limited thereto. Alternatively, any one of the stroke special effects program file package generating method and the stroke special effect generating method provided in the embodiments of the present application may be executed by a processor, for example, the processor may prevent calling a corresponding instruction stored in the memory. Through this, any one of the stroke special effect program file package creation method and the stroke special effect generation method mentioned in the embodiments of the present application are executed. It will not be repeated any further below.

본 기술분야의 통상의 기술자는 상기 방법 실시예를 구현하기 위한 전부 또는 일부 단계는 프로그램 명령어에 관련된 하드웨어를 통해 완료되며, 전술한 프로그램은 컴퓨터 판독 가능한 저장 매체에 저장될 수 있으며, 상기 프로그램이 실행될 경우, 상기 방법 실시예를 포함하는 단계를 실행하며; 전술한 저장 매체는 판독 전용 메모리(Read Only Memory, ROM), 랜덤 액세스 메모리(Random Access Memory, RAM), 자기 디스크 또는 광 디스크와 같은 프로그램 코드를 저장할 수 있는 다양한 매체를 포함한다.A person skilled in the art will know that all or some steps for implementing the method embodiment are completed through hardware related to program instructions, and the above-described program may be stored in a computer-readable storage medium, and the program may be executed. case, executing the step including the method embodiment; The aforementioned storage medium includes various media capable of storing a program code, such as a read only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

도 8은 본 출원의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치의 실시예의 구조 예시도이다. 본 출원의 각 실시예의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치는 본 출원의 상기 각 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법을 구현하는데 사용될 수 있다. 도 8에 도시된 바와 같이, 상기 실시예의 특수 효과 프로그램 파일 패키지의 생성 장치는, 아래에 설명된 제1 획득 모듈 및 제1 생성 모듈을 포함한다.8 is a structural diagram illustrating an embodiment of an apparatus for generating a special stroke program file package according to the present application. The apparatus for generating a stroke special effect program file package according to each embodiment of the present application may be used to implement the method for generating each stroke special effect program file package of the present application. As shown in Fig. 8, the apparatus for generating a special effect program file package in the embodiment includes a first obtaining module and a first generating module described below.

제1 획득 모듈은, 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하기 위한 것이다. 본 출원의 각 실시예에 있어서, 목표 대상은 예를 들어, 인물의 적어도 일부, 물체, 도입된 서브 머티리얼 등 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다.The first acquiring module is for acquiring a parameter value of a stroke effect parameter of the target object. In each embodiment of the present application, the target target may include, but is not limited to, any one or a plurality of, for example, at least a part of a person, an object, and an introduced sub-material.

제1 생성 모듈은, 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 스트로크 특수 효과 프로그램 파일 패키지를 생성하기 위한 것이다.The first generating module is for generating, according to the parameter value of the stroke effect parameter of the target object, the stroke special effect program file package.

본 출원의 상기 실시예에서 제공한 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치에 기반하여, 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하고, 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 스트로크 특수 효과 프로그램 파일 패키지를 생성함으로써, 상기 스트로크 특수 효과 프로그램 파일 패키지에 기반하여 이미지 중의 목표 대상에 스트로크 효과를 추가하여, 이미지 중의 목표 대상의 스트로크 특수 효과를 구현하도록 하고, 본 출원의 실시예에서 프로그램 파일을 수동으로 작성할 필요없이, 랜더링 엔진이 실행 가능한 스트로크 특수 효과 프로그램 파일을 생성할 수 있으므로, 동작이 간단하고, 소요 시간이 짧으며, 스트로크 특수 효과 구현의 전체적인 효율을 향상시키며, 프로그램 파일을 수동으로 작성할 경우에 발생할 수 있는 오류를 방지하며, 스트로크 특수 효과의 정확성을 효과적으로 확보한다.Based on the device for generating the stroke special effect program file package provided in the embodiment of the present application, the parameter value of the stroke effect parameter of the target object is obtained, and according to the parameter value of the stroke effect parameter of the target object, the stroke special effect is obtained. By generating the effect program file package, a stroke effect is added to the target object in the image based on the stroke special effect program file package to implement the special stroke effect of the target object in the image, and in the embodiment of the present application, the program file Since the rendering engine can generate an executable stroke special effect program file without the need to manually write It prevents errors that may occur when writing, and effectively secures the accuracy of stroke special effects.

도 9는 본 출원의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치의 다른 실시예의 구조 예시도이다. 도 9에 도시된 바와 같이, 도 8에 도시된 실시예와 비교하면, 상기 실시예의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치는, 목표 대상의 스트로크될 영역과 파라미터의 값 사이의 대응 관계를 확립하기 위한 확립 모듈을 더 포함한다. 상응하게, 상기 실시예에서, 제1 생성 모듈은 상기 대응 관계 및 파라미터 값에 따라, 스트로크 특수 효과 프로그램 파일 패키지를 생성하기 위한 것이다.9 is a structural diagram illustrating another embodiment of an apparatus for generating a special stroke program file package according to the present application. As shown in Fig. 9, compared with the embodiment shown in Fig. 8, the apparatus for generating a stroke special effect program file package of the embodiment is configured to establish a correspondence relationship between the stroked area of the target object and the value of the parameter It further includes an establishment module for Correspondingly, in the above embodiment, the first generating module is to generate a stroke special effect program file package according to the correspondence relationship and the parameter value.

일 실시형태에 있어서, 상기 목표 대상의 스트로크될 영역은 예를 들어, 목표 대상이 위치하는 이미지의 물체 분할 경계 영역의 적어도 일부 또는 목표 대상의 적어도 두 개의 키 포인트의 피팅 라인을 포함할 수 있지만 이에 한정되지 않는다.In an embodiment, the region to be stroked of the target object may include, for example, at least a portion of an object segmentation boundary region of an image in which the target object is located or a fitting line of at least two key points of the target object, but not limited

또한, 도 9 및 도 4를 참조하면, 본 출원의 각 실시예의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치는, 인터랙션 인터페이스를 포함하는 조작 바를 더 포함할 수 있으며, 상기 인터랙션 인터페이스는 인터랙션 인터페이스를 통해 입력된 목표 대상 선택 명령어를 수신하고, 목표 대상을 선택하며, 목표 대상의 스트로크 효과 파라미터 설정 인터페이스를 생성하고, 조작 바에서 목표 대상의 스트로크 효과 파라미터 설정 인터페이스를 디스플레이하기 위한 것이다. 상응하게, 상기 실시예에서, 제1 획득 모듈은, 목표 대상의 스트로크 효과 파라미터 설정 인터페이스에서의 인터랙션 인터페이스를 통해 송신된 스트로크 효과 파라미터의 파라미터 값을 수신하기 위한 것이다.In addition, referring to FIGS. 9 and 4 , the apparatus for generating a special stroke program file package according to each embodiment of the present application may further include a manipulation bar including an interaction interface, the interaction interface being input through the interaction interface. to receive the target object selection command, select the target object, generate a stroke effect parameter setting interface of the target object, and display the stroke effect parameter setting interface of the target object on the operation bar. Correspondingly, in the above embodiment, the first acquiring module is for receiving the parameter value of the stroke effect parameter sent through the interaction interface in the stroke effect parameter setting interface of the target object.

본 출원의 상기 각 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치 실시예의 실시형태에 있어서, 제1 획득 모듈은, 목표 대상의 스트로크 효과 파라미터 설정 인터페이스에서의 인터랙션 인터페이스를 통해 송신된 스트로크 효과 파라미터의 파라미터 값이 수신된 것에 응답하여, 설정된 파라미터 값을 목표 대상의 스트로크 효과 파라미터의 파라미터 값으로 사용하기 위한 것; 및 목표 대상의 스트로크 효과 파라미터 설정 인터페이스에서의 인터랙션 인터페이스를 통해 송신된 스트로크 효과 파라미터의 파라미터 값이 미수신된 것에 응답하여, 기설정된 파라미터 값을 목표 대상의 스트로크 효과 파라미터의 파라미터 값으로서 하용하기 위한 것 중 적어도 하나이다.In the embodiment of the embodiment of the apparatus for generating each stroke special effect program file package of the present application, the first acquiring module is configured to: the parameter value of the stroke effect parameter transmitted through the interaction interface in the stroke effect parameter setting interface of the target object in response to being received, using the set parameter value as a parameter value of a stroke effect parameter of the target object; and in response to not receiving the parameter value of the stroke effect parameter transmitted through the interaction interface in the stroke effect parameter setting interface of the target object, to use the preset parameter value as the parameter value of the stroke effect parameter of the target object; at least one

본 출원의 상기 각 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치 실시예의 또 다른 실시형태에 있어서, 제1 획득 모듈은, 목표 대상의 스트로크 효과를 취소하기 위한 취소 명령어를 수신하고, 목표 대상의 스트로크 효과 파라미터를 삭제하기 위한 것이다.In another embodiment of the embodiment of the apparatus for generating each stroke special effect program file package of the present application, the first acquiring module receives a cancellation command for canceling the stroke effect of the target object, and the stroke effect parameter of the target object is to delete

또한, 도 4를 참조하면, 조작 바는, 목표 대상의 참조 이미지를 디스플레이하기 위한 컨텐츠 디스플레이 바를 더 포함할 수 있다.Also, referring to FIG. 4 , the manipulation bar may further include a content display bar for displaying a reference image of a target object.

선택 가능한 예에서, 목표 대상이 인물일 경우, 인물의 적어도 일부의 참조 이미지는 예를 들어, 완전한 이미지, 머리 이미지, 얼굴 이미지, 어깨 이미지, 팔 이미지, 제스처 이미지, 허리 이미지, 다리 이미지, 발 이미지 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다. In a selectable example, when the target object is a person, the reference image of at least a portion of the person is, for example, a complete image, a head image, a face image, a shoulder image, an arm image, a gesture image, a waist image, a leg image, a foot image Any one or a plurality of may be included, but is not limited thereto.

다른 실시형태에 있어서, 컨텐츠 디스플레이 바는 또한, 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 목표 대상의 스트로크 효과를 디스플레이하기 위한 것일 수 있다.In another embodiment, the content display bar may also be for displaying, according to a parameter value of a stroke effect parameter of the target object, a stroke effect of the target object.

또 다른 실시형태에 있어서, 컨텐츠 디스플레이 바는 또한, 목표 대상의 키 포인트를 디스플레이하기 위한 것일 수 있다.In another embodiment, the content display bar may also be for displaying key points of the target object.

또한, 도 9 및 도 4를 참조하면, 본 출원의 각 실시예의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치의 다른 실시예에서, 상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치는, 조작 인터페이스를 더 포함할 수 있으며, 상기 조작 인터페이스는 상기 조작 바, 컨텐츠 디스플레이 바 및 프로그램 파일 바 중 적어도 하나를 포함한다.In addition, referring to FIGS. 9 and 4 , in another embodiment of the apparatus for generating a special stroke program file package according to each embodiment of the present application, the apparatus for generating a special stroke program file package may further include an operation interface. and the manipulation interface includes at least one of the manipulation bar, the content display bar, and the program file bar.

선택 가능한 예에서, 조작 인터페이스는, 왼쪽, 중간 및 오른쪽에 위치한 세 개의 영역을 포함하며; 여기서 조작 인터페이스의 왼쪽은 조작 바이고, 조작 인터페이스의 중간은 컨텐츠 디스플레이 바이며, 조작 인터페이스의 오른쪽은 프로그램 파일 바이다. In a selectable example, the operation interface includes three regions located on the left, middle and right; Here, the left side of the operation interface is an operation bar, the middle of the operation interface is a content display bar, and the right side of the operation interface is a program file bar.

또한, 도 9를 참조하면, 본 출원의 각 실시예의 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치의 또 다른 실시예에서, 상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치는, 수신된 저장 명령어에 따라 스트로크 특수 효과 프로그램 파일 패키지를 저장 명령어에 의해 지시되는 위치에 저장하기 위한 저장 모듈을 더 포함할 수 있다.Also, referring to FIG. 9 , in another embodiment of the apparatus for generating a special stroke program file package according to each embodiment of the present application, the apparatus for generating the special effect program file package for stroke according to the received storage instruction is provided. The storage module may further include a storage module for storing the effect program file package in a location indicated by the storage instruction.

일 실시형태에 있어서, 저장 모듈은, 저장 명령어를 수신한 것에 응답하여, 저장 경로 선택 인터페이스 및 압축 인터페이스를 디스플레이하고; 저장 경로 선택 인터페이스를 통해 송신된 저장 위치를 수신하며; 압축 인터페이스에 기반하여 송신된 압축 모드를 수신하고, 압축 모드에 따라 스트로크 특수 효과 프로그램 파일 패키지를 압축하여, 압축 파일 패키지를 생성하며; 압축 파일 패키지를 저장 위치가 지시하는 폴더에 저장하기 위한 것이다.In one embodiment, the storage module is configured to: in response to receiving the storage instruction, display a storage path selection interface and a compression interface; receive the storage location sent through the storage path selection interface; receive the sent compression mode according to the compression interface, compress the stroke special effects program file package according to the compression mode, to generate a compressed file package; This is to save the compressed file package to the folder indicated by the storage location.

도 10은 본 출원의 스트로크 특수 효과 생성 장치의 실시예의 구조 예시도이다. 본 출원의 각 실시예의 스트로크 특수 효과 생성 장치는 본 출원의 상기 각 스트로크 특수 효과 생성 방법을 구현하는데 사용될 수 있다. 도 10에 도시된 바와 같이, 상기 실시예의 스트로크 특수 효과 생성 장치는, 아래에 설명된 제2 획득 모듈 및 제2 생성 모듈을 포함한다.10 is a structural exemplary diagram of an embodiment of the stroke special effect generating apparatus of the present application. The stroke special effect generating apparatus of each embodiment of the present application may be used to implement the respective stroke special effect generating method of the present application. As shown in Fig. 10, the stroke special effect generating apparatus of the embodiment includes a second obtaining module and a second generating module described below.

제2 획득 모듈은, 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하기 위한 것이다.The second acquiring module is for acquiring a parameter value of a stroke effect parameter of the target object.

제2 생성 모듈은, 처리될 이미지 중의 목표 대상 및 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 처리될 이미지에서 목표 대상의 스트로크 특수 효과를 생성하기 위한 것이다.The second generating module is for generating a stroke special effect of the target object in the image to be processed, based on parameter values of the target object in the image to be processed and the stroke effect parameter of the target object.

여기서 처리될 이미지는 예를 들어 정적 이미지 및 비디오의 이미지 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다.Here, the image to be processed may include, but is not limited to, any one or a plurality of images of a static image and a video, for example.

본 출원의 상기 실시예에서 제공한 스트로크 특수 효과 생성 장치에 기반하여, 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하고, 처리될 이미지 중의 목표 대상 및 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 처리될 이미지에서 상기 목표 대상의 스트로크 특수 효과를 생성함으로써, 이미지 중의 목표 대상의 스트로크 특수 효과를 구현하고, 이미지의 스트로크 특수 효과 재생을 구현하고, 이미지 재생 효과를 향상시킨다.Based on the stroke special effect generating apparatus provided in the embodiment of the present application, the parameter value of the stroke effect parameter of the target object is obtained, and based on the parameter value of the target object in the image to be processed and the stroke effect parameter of the target object Thus, by generating the special stroke effect of the target object in the image to be processed, the stroke special effect of the target object in the image is realized, the stroke special effect reproduction of the image is realized, and the image reproduction effect is improved.

도 11은 본 출원의 스트로크 특수 효과 생성 장치의 다른 실시예의 구조 예시도이다. 도 11에 도시된 바와 같이, 도 10에 도시된 실시예와 비교하면, 상기 실시예의 스트로크 특수 효과 생성 장치는, 스트로크 특수 효과 프로그램 파일 패키지를 도입하기 위한 도입 모듈을 더 포함한다. 상응하게, 상기 실시예에서, 제2 획득 모듈은, 스트로크 특수 효과 프로그램 파일 패키지 중 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하기 위한 것이다.11 is a structural diagram of another embodiment of the apparatus for generating a special stroke effect of the present application. As shown in FIG. 11 , compared with the embodiment shown in FIG. 10 , the stroke special effect generating apparatus of the embodiment further includes an introduction module for introducing a stroke special effect program file package. Correspondingly, in the above embodiment, the second acquiring module is for acquiring the parameter value of the stroke effect parameter of the target object in the stroke special effect program file package.

예시적으로, 본 실시예의 스트로크 특수 효과 프로그램 파일 패키지는 예를 들어, 본 출원의 어느한 실시예에 따른 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법 또는 장치를 사용하여 생성된 스트로크 특수 효과 프로그램 파일 패키지일 수 있지만 한정되지는 않는다.Illustratively, the stroke special effects program file package of the present embodiment may be, for example, a stroke special effects program file package created using the method or apparatus for generating a stroke special effects program file package according to any embodiment of the present application. can, but is not limited to.

또한, 도 11을 참조하면, 본 출원의 스트로크 특수 효과 생성 장치의 또 다른 실시예에서, 상기 스트로크 특수 효과 생성 장치는, 목표 대상의 스트로크될 영역을 결정하기 위한 결정 모듈을 더 포함할 수 있다. 상응하게, 상기 실시예에서, 제2 생성 모듈은, 스트로크 특수 효과 프로그램 파일 패키지 중 목표 대상의 스트로크 효과 파라미터의 파라미터 값과 목표 대상의 스트로크될 영역 사이의 대응 관계에 기반하여, 스트로크될 영역에서 스트로크 특수 효과를 생성하기 위한 것이다.Also, referring to FIG. 11 , in another embodiment of the apparatus for generating a special stroke effect of the present application, the apparatus for generating a special stroke effect may further include a determining module for determining an area to be stroked of the target object. Correspondingly, in the above embodiment, the second generating module is configured to: based on a correspondence relationship between a parameter value of a stroke effect parameter of the target object in the stroke special effect program file package and a to-be-stroked area of the target object, the stroke in the to-be-stroked area To create special effects.

일 실시형태에 있어서, 결정 모듈은, 처리될 이미지 중의 목표 대상과 처리될 이미지 중의 목표 대상 이외의 부분에 대한 물체 분할 결과를 획득하고; 물체 분할 결과에 기반하여 적어도 일부 분할 경계 영역을 목표 대상의 스트로크될 영역으로 결정하기 위한 것이다. In one embodiment, the determining module is configured to: obtain an object segmentation result for a target object in the image to be processed and a portion other than the target object in the image to be processed; It is for determining at least a partial division boundary area as a stroke-to-be-stroked area of the target object based on the object division result.

다른 실시형태에 있어서, 결정 모듈은, 처리될 이미지 중의 목표 대상의 키 포인트 검출 결과를 획득하고; 키 포인트 검출 결과에 기반하여, 목표 대상의 적어도 두 개의 키 포인트의 피팅 라인을 목표 대상의 스트로크될 영역으로 결정하기 위한 것이다. In another embodiment, the determining module is configured to: obtain a key point detection result of a target object in an image to be processed; and to determine a fitting line of at least two key points of the target object as an area to be stroked of the target object, based on the key point detection result.

선택 가능한 예에서, 결정 모듈은, 처리될 이미지 중의 목표 대상의 키 포인트 검출 결과를 획득할 때, 신경 네트워크를 통해, 이미지에 대해 목표 대상의 키 포인트 검출을 수행하고, 키 포인트 검출 결과를 출력하기 위한 것이다.In a selectable example, the determining module is configured to, when obtaining a key point detection result of the target object in the image to be processed, perform, via the neural network, key point detection of the target object on the image, and output the key point detection result it is for

여기서 키 포인트 검출 결과는, 예를 들어 키 포인트가 이미지에서의 위치; 및 키 포인트의 기설정된 번호 중 어느 하나 또는 복수 개를 포함할 수 있지만 이에 한정되지 않는다.Here, the key point detection result may include, for example, the location of the key point in the image; and any one or a plurality of preset numbers of key points, but is not limited thereto.

본 출원의 상기 각 스트로크 특수 효과 생성 장치 실시예의 실시형태에 있어서, 스트로크 효과 파라미터는 트리거 이벤트 파라미터를 포함하며, 상기 트리거 이벤트 파라미터는 스트로크 효과 디스플레이를 트리거하는 트리거 이벤트를 나타내기 위한 것이다. 상응하게, 도 11을 참조하면, 상기 실시예의 스트로크 특수 효과 생성 장치는, 처리될 이미지에 트리거 이벤트 파라미터의 파라미터 값에 대응하는 트리거 이벤트가 출현하는지 여부를 검출하기 위한 검출 모듈을 더 포함할 수 있다. 제2 생성 모듈은, 검출 모듈이 처리될 이미지에서 트리거 이벤트 파라미터의 파라미터 값에 대응하는 트리거 이벤트가 출현된 것을 검출한 것에 응답하여, 처리될 이미지 중의 목표 대상 및 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 처리될 이미지에서 목표 대상의 스트로크 특수 효과를 생성하기 위한 것이다.In the embodiment of each stroke special effect generating apparatus embodiment of the present application, the stroke effect parameter includes a trigger event parameter, and the trigger event parameter is for indicating a trigger event that triggers the stroke effect display. Correspondingly, referring to FIG. 11 , the apparatus for generating a special stroke effect of the embodiment may further include a detection module for detecting whether a trigger event corresponding to a parameter value of a trigger event parameter appears in an image to be processed. . In response to the detection module detecting that a trigger event corresponding to the parameter value of the trigger event parameter appears in the image to be processed, the second generating module is configured to: a target object in the image to be processed and a parameter value of the stroke effect parameter of the target object Based on , it is to create a stroke special effect of the target object in the image to be processed.

본 출원의 상기 각 스트로크 특수 효과 생성 장치 실시예의 다른 실시형태에 있어서, 스트로크 효과 파라미터는 트리거 종료 파라미터를 포함하며, 상기 트리거 종료 파라미터는 스트로크 효과의 디스플레이를 종료하는 트리거 이벤트를 나타내기 위한 것이다. 상응하게, 도 11을 참조하면, 상기 실시예의 스트로크 특수 효과 생성 장치는, 처리될 이미지에 트리거 종료 파라미터의 파라미터 값에 대응하는 트리거 이벤트가 출현하는지 여부를 검출하기 위한 검출 모듈을 더 포함할 수 있다. 제2 생성 모듈은 또한, 검출 모듈이 처리될 이미지에서 트리거 종료 파라미터의 파라미터 값에 대응하는 트리거 이벤트가 출현된 것을 검출한 것에 응답하여, 처리될 이미지에서 생성된 목표 대상의 스트로크 특수 효과를 취소하기 위한 것이다. In another embodiment of the embodiment of each stroke special effect generating apparatus of the present application, the stroke effect parameter includes a trigger end parameter, and the trigger end parameter is for indicating a trigger event that ends display of the stroke effect. Correspondingly, referring to FIG. 11 , the apparatus for generating a special stroke effect of the embodiment may further include a detection module for detecting whether a trigger event corresponding to the parameter value of the trigger termination parameter appears in the image to be processed. . The second generating module is further configured to: in response to the detecting module detecting that a trigger event corresponding to the parameter value of the trigger termination parameter appears in the image to be processed, canceling the stroke special effect of the target object generated in the image to be processed it is for

본 출원의 상기 각 스트로크 특수 효과 생성 장치 실시예의 또 다른 실시형태에 있어서, 스트로크 효과 파라미터는 뷰티/메이크업 효과 파라미터를 포함하며, 상기 뷰티/메이크업 효과 파라미터는 스트로크 효과를 디스플레이할 때 기설정된 부위에서 디스플레이되는 뷰티/메이크업 효과를 나타내기 위한 것이다. 상응하게, 상기 실시예의 스트로크 특수 효과 생성 장치에서, 제2 생성 모듈은 또한, 처리될 이미지 중의 목표 대상 및 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 처리될 이미지에서 목표 대상의 스트로크 특수 효과를 생성할 겨우, 뷰티/메이크업 효과 파라미터에 따라, 처리될 이미지에서 뷰티/메이크업 효과를 디스플레이하기 위한 것이다.In another embodiment of the embodiment of the apparatus for generating each stroke special effect of the present application, the stroke effect parameter includes a beauty/makeup effect parameter, and the beauty/makeup effect parameter is displayed at a preset portion when displaying the stroke effect This is to show the beauty/makeup effect. Correspondingly, in the stroke special effect generating apparatus of the above embodiment, the second generating module is further configured to: based on the target object in the image to be processed and the parameter values of the stroke effect parameter of the target object, the stroke special effect of the target object in the image to be processed to display the beauty/makeup effect in the image to be processed, according to the beauty/makeup effect parameter.

본 출원의 상기 각 스트로크 특수 효과 생성 장치 실시예의 또 다른 실시형태에 있어서, 도입 모듈은, 파일 패키지를 판독하기 위한 인터페이스 함수를 호출하는 것을 통해, 스트로크 특수 효과 프로그램 파일 패키지를 내부 저장소로 판독하고; 스트로크 특수 효과 프로그램 파일 패키지를 해석하여, 스트로크 특수 효과 프로그램 파일을 획득하기 위한 것이며, 상기 스트로크 특수 효과 프로그램 파일은 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 포함한다. In another embodiment of the above each stroke special effect generating apparatus embodiment of the present application, the introduction module reads, through calling an interface function for reading the file package, the stroke special effect program file package into the internal storage; Analyze the stroke special effect program file package to obtain a stroke special effect program file, wherein the stroke special effect program file includes parameter values of stroke effect parameters of the target object.

본 출원의 상기 각 스트로크 특수 효과 생성 장치 실시예의 또 다른 실시형태에 있어서, 제2 획득 모듈은, 스티커 핸들을 생성하기 위한 인터페이스 함수를 통해 스티커 핸들을 생성하고; 스트로크 특수 효과 프로그램 파일 중 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 판독하고, 스티커 핸들에 저장하기 위한 것이다.In another embodiment of the embodiment of the apparatus for generating each stroke special effect of the present application, the second acquiring module is configured to: generate a sticker handle through an interface function for generating a sticker handle; This is to read the parameter value of the stroke effect parameter of the target object in the stroke special effect program file and store it in the sticker handle.

또한, 도 11을 참조하면, 이미지가 비디오의 이미지인 경우, 상기 각 실시예의 스트로크 특수 효과 생성 장치는, 스티커 핸들의 스트로크 특수 효과 프로그램 파일 중 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 목표 대상의 스트로크 특수 효과가 비디오에서 디스플레이될 비디오 프레임 수를 획득하고, 미리 비디오로부터 비디오 프레임 수에 대응하는 비디오 이미지를 판독하기 위한 제3 획득 모듈을 더 포함할 수 있다.Also, referring to FIG. 11 , when the image is an image of a video, the device for generating a special stroke effect according to each of the above embodiments according to the parameter value of the stroke effect parameter of the target object in the stroke special effect program file of the sticker handle, and a third acquiring module for acquiring the number of video frames to be displayed in the video in which the stroke special effect of , and reading a video image corresponding to the number of video frames from the video in advance.

선택적으로, 상기 각 실시예의 스트로크 특수 효과 생성 장치에서, 제2 획득 모듈은 또한, 스트로크 특수 효과 프로그램 파일 패키지가 재생 완료된 것에 응답하여, 스티커 핸들을 제거하기 위한 인터페이스 함수를 호출하는 것을 통해 스티커 핸들을 제거하기 위한 것일 수 있다.Optionally, in the stroke special effect generating device of each of the above embodiments, the second obtaining module is further configured to: in response to the stroke special effect program file package being reproduced, call an interface function for removing the sticker handle, to obtain the sticker handle It may be for removal.

또한, 본 출원의 실시예는 전자 기기를 제공하고, 상기 전자 기기는,In addition, an embodiment of the present application provides an electronic device, the electronic device comprising:

컴퓨터 프로그램을 저장하기 위한 메모리; 및a memory for storing a computer program; and

메모리에 저장된 컴퓨터 프로그램을 실행하기 위한 프로세서를 포함하며, 컴퓨터 프로그램이 실행될 경우, 본 출원의 어느 한 실시예의 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법, 또는 스트로크 특수 효과 생성 방법을 구현한다.It includes a processor for executing a computer program stored in a memory, and when the computer program is executed, the method of generating a stroke special effect program file package or the method of generating a stroke special effect according to any one embodiment of the present application is implemented.

도 12는 본 출원의 전자 기기의 응용 실시예의 구조 예시도이다. 도 12를 참조하면, 본 출원의 실시예의 단말 기기 또는 서버를 구현하기에 적절한 전자 기기의 구조 예시도이다. 도 12에 도시된 바와 같이, 상기 전자 기기는 하나 또는 복수 개의 프로세서, 통신부 등을 포함하며, 상기 하나 또는 복수 개의 프로세서는 예를 들어, 하나 또는 복수 개의 중앙 처리 장치(Central Processing Unit, CPU) 및 하나 또는 복수 개의 그래픽 처리 장치(Graphic Processing Unit, GPU) 중 적어도 하나이며, 프로세서는 판독 전용 메모리(ROM)에 저장된 실행 가능한 명령어 또는 저장 부분으로부터 랜덤 액세스 메모리(RAM)에 로딩된 실행 가능한 명령어에 따라 다양한 적절한 동작 및 처리를 실행할 수 있다. 통신부는 랜 카드를 포함할 수 있으나 이에 한정되지 않으며, 상기 랜 카드는 인피니 밴드(Infiniband, IB)랜 카드를 포함할 수 있으나 이에 한정되지 않으며, 프로세서는 판독 전용 메모리 및 랜덤 액세스 메모리 중 적어도 하나와 통신하여 실행 가능한 명령어를 실행할 수 있으며, 프로세서는 버스를 통해 통신부에 연결되고, 통신부를 통해 다른 타겟 기기와 통신함으로써, 본 출원의 실시예에서 제공한 어느 한 방법의 대응되는 동작을 완료하며, 예를 들어, 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하고; 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 스트로크 특수 효과 프로그램 파일 패키지를 생성한다. 또 다른 예를 들어, 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하고; 처리될 이미지 중의 목표 대상 및 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 상기 이미지에서 상기 목표 대상의 스트로크 특수 효과를 생성한다.12 is an exemplary structural diagram of an application embodiment of the electronic device of the present application. Referring to FIG. 12 , it is an exemplary structural diagram of an electronic device suitable for implementing the terminal device or the server according to the embodiment of the present application. 12 , the electronic device includes one or a plurality of processors and a communication unit, and the one or plurality of processors include, for example, one or a plurality of central processing units (CPUs) and at least one of one or a plurality of Graphics Processing Units (GPUs), wherein the processor is configured according to executable instructions stored in read-only memory (ROM) or executable instructions loaded into random access memory (RAM) from a storage portion. A variety of suitable operations and processing may be performed. The communication unit may include, but is not limited to, a LAN card, and the LAN card may include, but is not limited to, an Infiniband (IB) LAN card, and the processor includes at least one of a read-only memory and a random access memory; can communicate and execute executable instructions, the processor is connected to the communication unit through a bus, and communicates with another target device through the communication unit, thereby completing the corresponding operation of any one method provided in the embodiments of the present application, yes For example, obtain a parameter value of a stroke effect parameter of the target object; According to the parameter value of the stroke effect parameter of the target object, a stroke special effect program file package is generated. For another example, obtain a parameter value of a stroke effect parameter of the target object; Generate a stroke special effect of the target object in the image, based on a target object in the image to be processed and a parameter value of a stroke effect parameter of the target object.

또한, RAM에서, 장치의 조작에 필요한 다양한 프로그램 및 데이터를 더 저장할 수 있다. CPU, ROM 및 RAM은 버스를 통해 서로 연결된다. RAM이 존재하는 경우, ROM은 선택 가능한 모듈이다. RAM은 실행 가능한 명령어를 저장할 수 있으며, 또는 작동 시, 실행 가능한 명령어를 ROM에 기록하며, 실행 가능한 명령어는 프로세서로 하여금 본 출원의 상기 어느 한 방법에 대응되는 조작을 실행할 수 있도록 한다. 입력/출력(I/O) 인터페이스도 버스에 연결된다. 통신부는 통합될 수 있거나, 버스에 연결된 복수 개의 서브 모듈(예를 들어 복수 개의 IB 랜 카드)을 구비하도록 구성될 수도 있다.In addition, in the RAM, it is possible to further store various programs and data necessary for operation of the device. CPU, ROM, and RAM are interconnected via a bus. If RAM is present, ROM is a selectable module. The RAM may store the executable instructions, or, upon operation, records the executable instructions in the ROM, and the executable instructions enable the processor to execute an operation corresponding to any one of the methods of the present application. An input/output (I/O) interface is also connected to the bus. The communication unit may be integrated, or may be configured to include a plurality of sub-modules (eg, a plurality of IB LAN cards) connected to the bus.

다음의 부재, 즉 키보드, 마우스 등을 포함하는 입력 부분; 음극 선관(CRT), 액정 디스플레이(LCD), 스피커 등을 포함하는 출력 부분; 하드웨어 등을 포함하는 저장 부분; 및 LAN 카드, 모뎀 등을 포함하는 네트워크 인터페이스 카드의 통신 부분은 I/O 인터페이스에 연결된다. 통신 부분은 인터넷과 같은 네트워크를 통해 통신 처리를 실행한다. 드라이버는 필요에 따라 I/O 인터페이스에 연결될 수도 있다. 자기 디스크, 광 디스크, 광 자기 디스크, 반도체 메모리 등과 같은 탈착 가능한 매체는, 필요에 따라 탈착 가능한 매체로부터 판독된 컴퓨터 프로그램이 저장 부분에 설치되도록 필요에 따라 드라이버에 설치된다.an input portion comprising the following members, i.e., a keyboard, a mouse, and the like; an output portion comprising a cathode ray tube (CRT), a liquid crystal display (LCD), a speaker, and the like; a storage portion comprising hardware and the like; and a communication portion of the network interface card, including a LAN card, a modem, and the like, is connected to the I/O interface. The communication part executes communication processing via a network such as the Internet. Drivers can also be connected to I/O interfaces as needed. A removable medium such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is installed in a driver as necessary so that a computer program read from the removable medium is installed in the storage portion as necessary.

설명해야 할 것은, 도 12에 도시된 아키텍쳐는 다만 선택적인 구현 방식일 뿐이고, 실시 과정에서, 상기 도 12의 부재의 개수 및 타입은 실제 필요에 따라 선택, 감소, 추가 또는 교체되며; 상이한 기능적 부재 설치에서, 분리 설치 또는 통합 설치 등 구현 방식을 사용할 수도 있으며, 예를 들어 GPU 및 CPU는 분리 설치되거나 GPU가 CPU에 통합될 수 있으며, 통신부는 CPU 또는 GPU에 분리 설치 또는 통합 설치될 수도 있는 것 등이다. 이러한 대안적인 실시형태는 모두 본 출원의 보호 범위에 속한다.It should be explained that the architecture shown in Fig. 12 is only an optional implementation manner, and in the course of implementation, the number and type of the members of Fig. 12 are selected, reduced, added or replaced according to actual needs; In different functional member installations, implementation methods such as separate installation or integrated installation may be used, for example, the GPU and CPU may be separately installed or the GPU may be integrated into the CPU, and the communication unit may be separately installed or integrated with the CPU or GPU. may be, etc. All such alternative embodiments fall within the protection scope of the present application.

특히, 본 출원의 실시예에 따른 흐름도를 참조하여 설명된 과정은 컴퓨터 소프트웨어 프로그램에 의해 구현될 수 있다. 예를 들어, 본 출원의 실시예는 컴퓨터 프로그램 제품을 포함하고, 기계 판독 가능 매체에 타입적으로 포함된 컴퓨터 프로그램을 포함하며, 컴퓨터 프로그램은 흐름도에 도시된 방법을 실행하기 위한 프로그램 코드를 포함하며, 프로그램 코드는 본 출원의 실시예에서 제공한 얼굴 위조 방지 검출 방법의 단계를 실행하기 위한 명령어를 포함할 수 있다. 이러한 실시예에 있어서, 상기 컴퓨터 프로그램은 통신 부분을 통해 네트워크로부터 다운로드 및 설치될 수 있는 것 및 탈착 가능한 매체로부터 설치될 수 있는 것 중 적어도 하나를 수행할 수 있다. 상기 컴퓨터 프로그램이 CPU에 의해 실행될 경우, 본 출원의 방법에서 한정된 상기 기능을 실행한다.In particular, a process described with reference to a flowchart according to an embodiment of the present application may be implemented by a computer software program. For example, an embodiment of the present application includes a computer program product, a computer program tangibly embodied in a machine-readable medium, wherein the computer program includes program code for executing a method shown in a flowchart; , the program code may include instructions for executing the steps of the face forgery prevention detection method provided in the embodiments of the present application. In this embodiment, the computer program may perform at least one of being able to be downloaded and installed from a network through a communication part and installed from a removable medium. When the computer program is executed by the CPU, the function defined in the method of the present application is executed.

또한, 본 출원의 실시예는 컴퓨터 명령어를 포함하는 컴퓨터 프로그램을 더 포함하고, 컴퓨터 명령어가 기기의 프로세서에서 작동될 경우, 본 출원의 상기 어느 한 실시예에 따른 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법, 또는 스트로크 특수 효과 생성 방법을 구현한다.In addition, an embodiment of the present application further includes a computer program including computer instructions, and when the computer instructions are operated in the processor of the device, the method of generating a stroke special effect program file package according to any of the above embodiments of the present application , or implement a stroke special effect creation method.

또한, 본 출원의 실시예는 컴퓨터 프로그램이 저장되어 있는 컴퓨터 판독 가능한 저장 매체를 더 제공하고, 상기 컴퓨터 프로그램이 프로세서에 의해 실행될 경우, 본 발명에서 전술한 어느 한 실시예에 따른 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법, 또는 스트로크 특수 효과 생성 방법을 구현한다.In addition, an embodiment of the present application further provides a computer-readable storage medium in which a computer program is stored, and when the computer program is executed by a processor, the stroke special effect program file according to any one of the embodiments described above in the present invention Implements the creation method of the package, or the creation method of the stroke special effect.

본 명세서에서 각 실시예는 모두 점진적으로 설명되며, 각 실시예는 다른 실시예와의 차이점을 중점적으로 설명하며, 각 실시예 사이의 동일하거나 유사한 부분은 서로 참조될 수 있다. 시스템 실시예는 방법 실시예에 대체적으로 대응되므로, 설명이 비교적 간단하고, 관련 부분에 대해서는 방법 실시예의 일부 설명을 참조하면 된다.In this specification, each embodiment is described gradually, and each embodiment focuses on differences from other embodiments, and the same or similar parts between the embodiments may be referred to with each other. Since the system embodiment generally corresponds to the method embodiment, the description is relatively simple, and for related parts, reference may be made to some descriptions of the method embodiment.

본 출원의 방법과 장치는 많은 방식으로 구현된다. 예를 들어, 본 출원의 방법과 장치는 소프트웨어, 하드웨어, 펌웨어 또는 소프트웨어, 하드웨어, 펌웨어의 임의의 조합으로 구현될 수 있다. 달리 언급되지 않는 한, 상기 방법의 단계의 상기 순서는 다만 구체적인 설명을 위한 것이며, 본 출원의 방법의 단계를 한정하려는 것은 아니다. 또한, 일부 실시예에 있어서, 또한 본 출원을 기록 매체에 기록된 프로그램으로 실시할 수 있으며, 이러한 프로그램은 본 출원의 방법을 구현하기 위한 기계 판독 가능한 명령어를 포함한다. 따라서, 본 출원은 본 출원에 따른 방법들을 실행하기 위한 프로그램을 저장하는 기록 매체를 더 포함한다.The method and apparatus of the present application may be implemented in many ways. For example, the methods and apparatus of the present application may be implemented in software, hardware, firmware, or any combination of software, hardware, and firmware. Unless otherwise stated, the above order of steps in the method is for illustrative purposes only, and is not intended to limit the steps of the method of the present application. In addition, in some embodiments, the present application may also be implemented as a program recorded on a recording medium, and the program includes machine-readable instructions for implementing the method of the present application. Accordingly, the present application further includes a recording medium storing a program for executing the methods according to the present application.

본 출원의 설명은 예시 및 설명을 목적으로 제공되며, 누락되지 않는 부분이 없거나 본 출원을 개시된 형태로 한정하려는 것은 아니다. 많은 수정과 변경이 본 기술분야의 통상의 기술자에게 자명하다. 실시예를 선택하고 설명한 것은 본 출원의 원리 및 실제 적용을 더 잘 설명하기 위한 것이고, 본 기술분야의 통상의 기술자로 하여금 본 출원을 이해하여, 특정 사용에 적용 가능한 다양한 보정들을 갖는 다양한 실시예들을 설계하도록 한다.The description of the present application is provided for purposes of illustration and description, and is not intended to be omitted or to limit the present application to the form disclosed. Many modifications and variations will be apparent to those skilled in the art. The selected and described embodiment is intended to better explain the principles and practical application of the present application, and to enable those skilled in the art to understand the present application to create various embodiments with various modifications applicable to their particular use. to design

Claims (76)

전자 기기에 적용되는 스트로크 특수 효과(Stroke special effects) 프로그램 파일 패키지의 생성 방법으로서,
목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하는 단계; 및
상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 스트로크 특수 효과 프로그램 파일 패키지를 생성하는 단계를 포함하며,
상기 목표 대상은, 인물의 적어도 일부, 물체, 도입된 서브 머티리얼 중 어느 하나 또는 복수 개를 포함하는 것을 특징으로 하는 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법.
A method of generating a stroke special effects program file package applied to an electronic device, comprising:
obtaining a parameter value of a stroke effect parameter of the target object; and
generating a stroke special effect program file package according to the parameter value of the stroke effect parameter of the target object;
The target target includes at least one of a part of a person, an object, and an introduced sub-material or a plurality of stroke special effects program file packages.
제1항에 있어서,
상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은, 상기 목표 대상의 스트로크될 영역과 상기 파라미터의 값 사이의 대응 관계를 확립하는 단계를 더 포함하고,
상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 스트로크 특수 효과 프로그램 파일 패키지를 생성하는 단계는, 상기 대응 관계 및 상기 파라미터 값에 따라, 상기 스트로크 특수 효과 프로그램 파일 패키지를 생성하는 단계를 포함하며,
상기 목표 대상의 스트로크될 영역은 상기 목표 대상이 위치하는 이미지의 물체 분할 경계 영역의 적어도 일부 또는 상기 목표 대상의 적어도 두 개의 키 포인트의 피팅 라인을 포함하는 것을 특징으로 하는 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법.
According to claim 1,
The method for generating the stroke special effects program file package further comprises: establishing a correspondence relationship between the stroked area of the target object and the value of the parameter;
According to the parameter value of the stroke effect parameter of the target object, the step of generating the stroke special effects program file package includes generating the stroke special effects program file package according to the correspondence relationship and the parameter value,
The stroke special effect program file package, characterized in that the area to be stroked of the target object includes at least a part of an object division boundary area of an image in which the target object is located or a fitting line of at least two key points of the target object How to create.
제1항에 있어서,
상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은,
조작 바의 인터랙션 인터페이스를 통해 입력된 목표 대상 선택 명령어를 수신하고, 상기 목표 대상을 선택하며, 상기 목표 대상의 스트로크 효과 파라미터 설정 인터페이스를 생성하고, 상기 조작 바에서 상기 목표 대상의 스트로크 효과 파라미터 설정 인터페이스를 디스플레이하는 단계를 더 포함하며,
상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하는 단계는,
상기 목표 대상의 스트로크 효과 파라미터 설정 인터페이스에서의 인터랙션 인터페이스를 통해 송신된 스트로크 효과 파라미터의 파라미터 값을 수신하는 단계를 포함하는 것을 특징으로 하는 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법.
According to claim 1,
The method of generating the stroke special effects program file package is,
Receive a target target selection command input through the interaction interface of the manipulation bar, select the target target, generate a stroke effect parameter setting interface of the target target, and use the manipulation bar to set the stroke effect parameter setting interface of the target target Further comprising the step of displaying
The step of obtaining a parameter value of the stroke effect parameter of the target object includes:
and receiving the parameter value of the stroke effect parameter transmitted through an interaction interface in the stroke effect parameter setting interface of the target object.
제3항에 있어서,
상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하는 단계는,
상기 목표 대상의 스트로크 효과 파라미터 설정 인터페이스에서의 인터랙션 인터페이스를 통해 송신된 스트로크 효과 파라미터의 파라미터 값이 수신된 것에 응답하여, 설정된 파라미터 값을 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값으로 사용하는 단계; 및 상기 목표 대상의 스트로크 효과 파라미터 설정 인터페이스에서의 인터랙션 인터페이스를 통해 송신된 스트로크 효과 파라미터의 파라미터 값이 미수신된 것에 응답하여, 기설정된 파라미터 값을 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값으로 사용하는 단계 중 적어도 하나를 포함하는 것을 특징으로 하는 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법.
4. The method of claim 3,
The step of obtaining a parameter value of the stroke effect parameter of the target object includes:
using the set parameter value as a parameter value of the stroke effect parameter of the target object in response to receiving the parameter value of the stroke effect parameter transmitted through the interaction interface in the stroke effect parameter setting interface of the target object; and in response to not receiving the parameter value of the stroke effect parameter transmitted through the interaction interface in the stroke effect parameter setting interface of the target object, using a preset parameter value as the parameter value of the stroke effect parameter of the target object A method of generating a stroke special effect program file package comprising at least one of.
제1항에 있어서,
상기 스트로크 효과 파라미터는,
스트로크 효과 디스플레이 여부를 제어하기 위한 디스플레이 파라미터;
스트로크의 너비를 나타내기 위한 너비 파라미터;
스트로크의 색상을 나타내기 위한 색상 파라미터;
스트로크 효과 디스플레이를 트리거하는 트리거 이벤트를 나타내기 위한 트리거 이벤트 파라미터 - 상기 트리거 이벤트는, 이벤트가 없는 트리거, 눈 동작, 머리 동작, 눈썹 동작, 손 동작, 입술 동작, 어깨 동작, 변형 특수 효과, 스티커 특수 효과 및 사운드 특수 효과 중 어느 하나 또는 복수 개를 포함함 - ;
스트로크 효과 디스플레이 지연 시간을 나타내기 위한 지연 트리거 파라미터;
스트로크 효과를 디스플레이하는 프레임 수를 나타내기 위한 디스플레이 프레임 수 파라미터;
스트로크 효과의 디스플레이를 종료하는 트리거 이벤트를 나타내기 위한 트리거 종료 파라미터; 및
스트로크 효과를 디스플레이할 때 기설정된 부위에서 디스플레이되는 뷰티/메이크업 효과를 나타내기 위한 뷰티/메이크업 효과 파라미터 중 어느 하나 또는 복수 개를 포함하는 것을 특징으로 하는 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법.
According to claim 1,
The stroke effect parameter is
a display parameter for controlling whether to display a stroke effect;
a width parameter to indicate the width of the stroke;
a color parameter for indicating the color of the stroke;
A trigger event parameter to indicate a trigger event that triggers the stroke effect display - the trigger event is a trigger without an event, an eye action, a head action, an eyebrow action, a hand action, a lip action, a shoulder action, a transform special effect, a sticker special Includes any one or more of effects and sound special effects - ;
a delay trigger parameter for indicating the stroke effect display delay time;
a display frame number parameter for indicating the number of frames for displaying the stroke effect;
a trigger end parameter for indicating a trigger event that ends the display of the stroke effect; and
A method of generating a stroke special effect program file package, comprising: any one or a plurality of beauty/makeup effect parameters for representing a beauty/makeup effect displayed in a preset region when displaying a stroke effect.
제3항에 있어서,
상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은,
조작 바의 인터랙션 인터페이스를 통해 입력된 목표 대상의 스트로크 효과를 취소하기 위한 취소 명령어를 수신하고, 상기 목표 대상의 스트로크 효과 파라미터를 삭제하는 단계를 더 포함하는 것을 특징으로 하는 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법.
4. The method of claim 3,
The method of generating the stroke special effects program file package is,
Stroke special effect program file package, characterized in that it further comprises the step of receiving a cancel command for canceling the stroke effect of the target target input through the interaction interface of the manipulation bar, and deleting the stroke effect parameter of the target target How to create.
제1항에 있어서,
상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은,
컨텐츠 디스플레이 바를 통해 상기 목표 대상의 참조 이미지를 디스플레이하는 단계를 더 포함하며,
상기 목표 대상이 인물일 경우, 상기 인물의 적어도 일부의 참조 이미지는, 상기 인물의 완전한 이미지, 머리 이미지, 얼굴 이미지, 어깨 이미지, 팔 이미지, 제스처 이미지, 허리 이미지, 다리 이미지 및 발 이미지 중 어느 하나 또는 복수 개를 포함하는 것을 특징으로 하는 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법.
According to claim 1,
The method of generating the stroke special effects program file package is,
Further comprising the step of displaying the reference image of the target object through the content display bar,
When the target object is a person, the reference image of at least a part of the person may be any one of a complete image of the person, a head image, a face image, a shoulder image, an arm image, a gesture image, a waist image, a leg image, and a foot image Or a method of generating a special stroke program file package comprising a plurality.
제7항에 있어서,
상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은,
상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 상기 컨텐츠 디스플레이 바에서 상기 목표 대상의 스트로크 효과를 디스플레이하는 단계를 더 포함하는 것을 특징으로 하는 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법.
8. The method of claim 7,
The method of generating the stroke special effects program file package is,
and displaying the stroke effect of the target target on the content display bar according to the parameter value of the stroke effect parameter of the target target.
제7항에 있어서,
상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은,
상기 컨텐츠 디스플레이 바에서 상기 목표 대상의 키 포인트를 디스플레이하는 단계를 더 포함하며,
상기 키 포인트는, 머리 키 포인트, 얼굴 키 포인트, 어깨 키 포인트, 팔 키 포인트, 제스처 키 포인트, 허리 키 포인트, 다리 키 포인트, 발 키 포인트 및 인체 골격 키 포인트 중 어느 하나 또는 복수 개를 포함하는 것을 특징으로 하는 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법.
8. The method of claim 7,
The method of generating the stroke special effects program file package is,
Further comprising the step of displaying the key point of the target object in the content display bar,
The key points include any one or a plurality of head key points, face key points, shoulder key points, arm key points, gesture key points, waist key points, leg key points, foot key points, and human skeleton key points A method of generating a stroke special effect program file package, characterized in that.
제3항에 있어서,
상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은,
조작 인터페이스를 디스플레이하는 단계 - 상기 조작 인터페이스는, 상기 조작 바, 컨텐츠 디스플레이 바 및 프로그램 파일 바 중 적어도 하나를 포함함 - 를 더 포함하며,
상기 조작 인터페이스는 왼쪽, 중간 및 오른쪽에 위치한 세 개의 영역을 포함하며;
상기 조작 인터페이스를 디스플레이하는 단계는, 상기 조작 인터페이스의 왼쪽에서 상기 조작 바를 디스플레이하고, 상기 조작 인터페이스의 중간에서 상기 컨텐츠 디스플레이 바를 디스플레이하며, 상기 조작 인터페이스의 오른쪽에서 상기 프로그램 파일 바를 디스플레이하는 단계를 포함하는 것을 특징으로 하는 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법.
4. The method of claim 3,
The method of generating the stroke special effects program file package is,
Displaying an operation interface, wherein the operation interface includes at least one of the operation bar, the content display bar, and the program file bar;
The operation interface includes three areas located on the left, middle and right;
The step of displaying the operation interface includes displaying the operation bar on the left side of the operation interface, displaying the content display bar in the middle of the operation interface, and displaying the program file bar on the right side of the operation interface A method of generating a stroke special effect program file package, characterized in that.
제1항에 있어서,
상기 스트로크 특수 효과 프로그램 파일 패키지를 생성한 후, 상기 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법은,
수신된 저장 명령어에 따라 상기 저장 명령어에 의해 지시된 위치에 상기 스트로크 특수 효과 프로그램 파일 패키지를 저장하는 단계를 더 포함하는 것을 특징으로 하는 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법.
According to claim 1,
After generating the stroke special effect program file package, the method of generating the stroke special effect program file package includes:
and storing the stroke special effects program file package in a location indicated by the storage instruction according to the received storage instruction.
제11항에 있어서,
상기 수신된 저장 명령어에 따라 상기 저장 명령어에 의해 지시된 위치에 상기 스트로크 특수 효과 프로그램 파일 패키지를 저장하는 단계는,
저장 명령어를 수신한 것에 응답하여, 저장 경로 선택 인터페이스 및 압축 인터페이스를 디스플레이하는 단계;
상기 저장 경로 선택 인터페이스를 통해 송신된 저장 위치를 수신하는 단계; 상기 압축 인터페이스에 기반하여 송신된 압축 모드를 수신하고, 상기 압축 모드에 따라 상기 스트로크 특수 효과 프로그램 파일 패키지를 압축하여, 압축 파일 패키지를 생성하는 단계; 및
상기 압축 파일 패키지를 상기 저장 위치가 지시하는 폴더에 저장하는 단계를 포함하는 것을 특징으로 하는 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법.
12. The method of claim 11,
Storing the stroke special effects program file package in a location indicated by the storage instruction according to the received storage instruction,
in response to receiving the storage instruction, displaying a storage path selection interface and a compression interface;
receiving a storage location transmitted through the storage path selection interface; receiving a compression mode transmitted based on the compression interface, compressing the stroke special effects program file package according to the compression mode, and generating a compressed file package; and
and storing the compressed file package in a folder indicated by the storage location.
전자 기기에 적용되는 스트로크 특수 효과 생성 방법으로서,
목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하는 단계; 및
처리될 이미지 중의 목표 대상 및 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 상기 처리될 이미지에서 상기 목표 대상의 스트로크 특수 효과를 생성하는 단계를 포함하는 것을 특징으로 하는 스트로크 특수 효과 생성 방법.
A method of generating a stroke special effect applied to an electronic device, the method comprising:
obtaining a parameter value of a stroke effect parameter of the target object; and
and generating a stroke special effect of the target object in the image to be processed, based on a target object in the image to be processed and a parameter value of a stroke effect parameter of the target object.
제13항에 있어서,
상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하기 전, 상기 스트로크 특수 효과 생성 방법은,
스트로크 특수 효과 프로그램 파일 패키지를 도입하는 단계 - 상기 스트로크 특수 효과 프로그램 파일 패키지는, 제1항에 따른 스트로크 특수 효과 프로그램 파일 패키지의 생성 방법을 사용하여 생성된 스트로크 특수 효과 프로그램 파일 패키지임 - 를 더 포함하며;
상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하는 단계는, 상기 스트로크 특수 효과 프로그램 파일 패키지 중 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하는 단계를 포함하는 것을 특징으로 하는 스트로크 특수 효과 생성 방법.
14. The method of claim 13,
Before acquiring the parameter value of the stroke effect parameter of the target object, the stroke special effect generating method includes:
introducing a stroke special effects program file package, wherein the stroke special effects program file package is a stroke special effects program file package generated using the method for generating a stroke special effects program file package according to claim 1 , further comprising and;
The step of acquiring the parameter value of the stroke effect parameter of the target object includes acquiring the parameter value of the stroke effect parameter of the target object in the stroke special effect program file package.
제14항에 있어서,
상기 스트로크 특수 효과 생성 방법은, 목표 대상의 스트로크될 영역을 결정하는 단계를 더 포함하고,
상기 처리될 이미지 중의 상기 목표 대상 및 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 상기 처리될 이미지에서 상기 목표 대상의 스트로크 효과를 생성하는 단계는, 상기 스트로크 특수 효과 프로그램 파일 패키지 중 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값과 상기 목표 대상의 스트로크될 영역 사이의 대응 관계에 기반하여, 상기 스트로크될 영역에서 상기 스트로크 특수 효과를 생성하는 단계를 포함하는 것을 특징으로 하는 스트로크 특수 효과 생성 방법.
15. The method of claim 14,
The stroke special effect generating method further comprises the step of determining an area to be stroked of the target object,
The generating of the stroke effect of the target object in the image to be processed based on parameter values of the target object in the image to be processed and the stroke effect parameter of the target object may include: and generating the stroke special effect in the to-be-stroked region based on a corresponding relationship between the parameter value of the stroke effect parameter of the target and the to-be-stroked region of the target object.
제15항에 있어서,
상기 목표 대상의 스트로크될 영역을 결정하는 단계는,
상기 처리될 이미지 중의 상기 목표 대상과 상기 처리될 이미지 중의 상기 목표 대상 이외의 부분에 대한 물체 분할 결과를 획득하는 단계; 및
물체 분할 결과에 기반하여 적어도 일부 분할 경계 영역을 상기 목표 대상의 스트로크될 영역으로 결정하는 단계를 포함하거나,
또는,
상기 목표 대상의 스트로크될 영역을 결정하는 단계는,
상기 처리될 이미지 중의 상기 목표 대상의 키 포인트 검출 결과를 획득하는 단계; 및
상기 키 포인트 검출 결과에 기반하여, 상기 목표 대상의 적어도 두 개의 키 포인트의 피팅 라인을 상기 목표 대상의 스트로크될 영역으로 결정하는 단계를 포함하는 것을 특징으로 하는 스트로크 특수 효과 생성 방법.
16. The method of claim 15,
The step of determining an area to be stroked of the target object includes:
obtaining an object segmentation result for the target object in the image to be processed and a portion other than the target object in the image to be processed; and
determining at least a partial division boundary area as an area to be stroked of the target object based on a result of object division; or
or,
The step of determining an area to be stroked of the target object includes:
obtaining a key point detection result of the target object in the image to be processed; and
and determining a fitting line of at least two key points of the target target as an area to be stroked of the target target based on a result of detecting the key point.
제16항에 있어서,
상기 처리될 이미지 중의 상기 목표 대상의 키 포인트 검출 결과를 획득하는 단계는, 신경 네트워크를 통해, 상기 처리될 이미지에 대해 상기 목표 대상의 키 포인트 검출을 수행하고, 키 포인트 검출 결과를 출력하는 단계를 포함하며,
상기 키 포인트 검출 결과는, 상기 키 포인트가 상기 이미지에서의 위치; 및 상기 키 포인트의 기설정된 번호 중 어느 하나 또는 복수 개를 포함하는 것을 특징으로 하는 스트로크 특수 효과 생성 방법.
17. The method of claim 16,
The step of obtaining a key point detection result of the target object in the image to be processed may include performing key point detection of the target object on the image to be processed through a neural network, and outputting a key point detection result. includes,
The key point detection result may include: a location of the key point in the image; and any one or a plurality of preset numbers of the key points.
제13항에 있어서,
상기 스트로크 효과 파라미터는, 트리거 이벤트 파라미터 - 상기 트리거 이벤트 파라미터는 스트로크 효과 디스플레이를 트리거하는 트리거 이벤트를 나타내기 위한 것임 - 를 포함하고;
상기 스트로크 특수 효과 생성 방법은, 상기 처리될 이미지에 상기 트리거 이벤트 파라미터의 파라미터 값에 대응하는 트리거 이벤트가 출현하는지 여부를 검출하는 단계를 더 포함하며,
상기 처리될 이미지 중의 목표 대상 및 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 상기 처리될 이미지에서 상기 목표 대상의 스트로크 효과를 생성하는 단계는, 상기 처리될 이미지에서 상기 트리거 이벤트 파라미터의 파라미터 값에 대응하는 트리거 이벤트가 출현한 것이 검출된 것에 응답하여, 처리될 이미지 중의 목표 대상 및 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 상기 처리될 이미지에서 상기 목표 대상의 스트로크 특수 효과를 생성하는 단계를 포함하는 것을 특징으로 하는 스트로크 특수 효과 생성 방법.
14. The method of claim 13,
the stroke effect parameter comprises a trigger event parameter, wherein the trigger event parameter is for indicating a trigger event triggering the stroke effect display;
The stroke special effect generating method further comprises detecting whether a trigger event corresponding to a parameter value of the trigger event parameter appears in the image to be processed,
The generating of the stroke effect of the target object in the image to be processed based on a parameter value of a target object in the image to be processed and a stroke effect parameter of the target object may include: a parameter of the trigger event parameter in the image to be processed In response to detecting occurrence of a trigger event corresponding to a value, based on a target object in the image to be processed and a parameter value of a stroke effect parameter of the target object, a stroke special effect of the target object in the image to be processed is determined A method of generating a stroke special effect comprising the step of creating.
제13항에 있어서,
상기 스트로크 효과 파라미터는, 트리거 종료 파라미터 - 상기 트리거 종료 파라미터는 스트로크 효과의 디스플레이를 종료하는 트리거 이벤트를 나타내기 위한 것임 - 를 포함하고,
상기 스트로크 특수 효과 생성 방법은, 상기 처리될 이미지에 상기 트리거 종료 파라미터의 파라미터 값에 대응하는 트리거 이벤트가 출현하는지 여부를 검출하는 단계; 및 상기 처리될 이미지에서 상기 트리거 종료 파라미터의 파라미터 값에 대응하는 트리거 이벤트가 출현한 것이 검출된 것에 응답하여, 상기 처리될 이미지에서 생성된 상기 목표 대상의 스트로크 특수 효과를 취소하는 단계를 더 포함하는 것을 특징으로 하는 스트로크 특수 효과 생성 방법.
14. The method of claim 13,
the stroke effect parameter comprises a trigger end parameter, wherein the trigger end parameter is for indicating a trigger event that ends display of the stroke effect;
The stroke special effect generating method may include: detecting whether a trigger event corresponding to a parameter value of the trigger termination parameter appears in the image to be processed; and in response to detecting occurrence of a trigger event corresponding to the parameter value of the trigger termination parameter in the to-be-processed image, canceling a stroke special effect of the target object generated in the to-be-processed image. Stroke special effect creation method, characterized in that.
제13항에 있어서,
상기 스트로크 효과 파라미터는, 뷰티/메이크업 효과 파라미터 - 상기 뷰티/메이크업 효과 파라미터는 스트로크 효과를 디스플레이할 때 기설정된 부위에서 디스플레이되는 뷰티/메이크업 효과를 나타내기 위한 것임 - 를 포함하고;
상기 스트로크 특수 효과 생성 방법은, 처리될 이미지 중의 목표 대상 및 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 상기 처리될 이미지에서 상기 목표 대상의 스트로크 특수 효과를 생성할 경우, 상기 뷰티/메이크업 효과 파라미터에 따라, 상기 처리될 이미지에서 뷰티/메이크업 효과를 디스플레이하는 단계를 더 포함하는 것을 특징으로 하는 스트로크 특수 효과 생성 방법.
14. The method of claim 13,
the stroke effect parameter includes a beauty/makeup effect parameter, wherein the beauty/makeup effect parameter is for indicating a beauty/makeup effect displayed at a preset portion when displaying a stroke effect;
The method for generating a special stroke effect includes: when generating a special stroke effect of the target object in the image to be processed based on a target object in the image to be processed and a parameter value of a stroke effect parameter of the target object, the beauty/makeup According to the effect parameter, the method further comprising the step of displaying a beauty/makeup effect in the image to be processed.
제14항에 있어서,
상기 스트로크 특수 효과 프로그램 파일 패키지를 도입하는 단계는, 파일 패키지를 판독하기 위한 인터페이스 함수를 호출하는 것을 통해, 상기 스트로크 특수 효과 프로그램 파일 패키지를 내부 저장소로 판독하는 단계; 및 상기 스트로크 특수 효과 프로그램 파일 패키지를 해석하여, 스트로크 특수 효과 프로그램 파일을 획득하는 단계 - 상기 스트로크 특수 효과 프로그램 파일은 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 포함함 - 를 포함하는 것을 특징으로 하는 스트로크 특수 효과 생성 방법.
15. The method of claim 14,
The step of introducing the stroke special effects program file package may include: reading the stroke special effects program file package into an internal storage through calling an interface function for reading the file package; and analyzing the stroke special effects program file package to obtain a stroke special effects program file, wherein the stroke special effects program file includes parameter values of the stroke effect parameters of the target object. How to create a stroke special effect.
제21항에 있어서,
상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하는 단계는, 스티커 핸들을 생성하기 위한 인터페이스 함수를 통해 스티커 핸들을 생성하는 단계; 및 상기 스트로크 특수 효과 프로그램 파일에서의 목표 대상의 스트로크 효과 파라미터의 파라미터 값을 판독하고, 상기 스티커 핸들에 저장하는 단계를 포함하는 것을 특징으로 하는 스트로크 특수 효과 생성 방법.
22. The method of claim 21,
The acquiring of the parameter value of the stroke effect parameter of the target object may include: generating a sticker handle through an interface function for generating a sticker handle; and reading a parameter value of a stroke effect parameter of a target object in the stroke special effect program file and storing the parameter value in the sticker handle.
제22항에 있어서,
상기 처리될 이미지가 비디오의 이미지일 경우, 상기 스트로크 특수 효과 생성 방법은, 상기 스티커 핸들의 상기 스트로크 특수 효과 프로그램 파일 중 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 상기 목표 대상의 스트로크 특수 효과가 상기 비디오에서 디스플레이될 비디오 프레임 수를 획득하고, 상기 비디오로부터 상기 비디오 프레임 수에 대응하는 비디오 이미지를 미리 판독하는 단계를 더 포함하는 것을 특징으로 하는 스트로크 특수 효과 생성 방법.
23. The method of claim 22,
When the image to be processed is an image of a video, the method for generating a special stroke effect includes: according to a parameter value of a stroke effect parameter of a target object in the stroke special effect program file of the sticker handle, the stroke special effect of the target object is generated The method according to claim 1, further comprising: obtaining a number of video frames to be displayed in the video, and pre-reading a video image corresponding to the number of video frames from the video.
스트로크 특수 효과 프로그램 파일 패키지의 생성 장치로서,
목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하기 위한 제1 획득 모듈; 및
상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 따라, 스트로크 특수 효과 프로그램 파일 패키지를 생성하기 위한 제1 생성 모듈을 포함하며,
상기 목표 대상은, 인물의 적어도 일부, 물체, 도입된 서브 머티리얼 중 어느 하나 또는 복수 개를 포함하는 것을 특징으로 하는 스트로크 특수 효과 프로그램 파일 패키지의 생성 장치.
A device for generating a stroke special effects program file package, comprising:
a first acquiring module for acquiring a parameter value of a stroke effect parameter of the target object; and
a first generating module for generating a stroke special effect program file package according to the parameter value of the stroke effect parameter of the target object;
The target target includes at least one of a part of a person, an object, and an introduced sub-material or a plurality of stroke special effects program file package generating apparatus.
스트로크 특수 효과 생성 장치로서,
목표 대상의 스트로크 효과 파라미터의 파라미터 값을 획득하기 위한 제2 획득 모듈; 및
처리될 이미지 중의 목표 대상 및 상기 목표 대상의 스트로크 효과 파라미터의 파라미터 값에 기반하여, 상기 처리될 이미지에서 상기 목표 대상의 스트로크 특수 효과를 생성하기 위한 제2 생성 모듈을 포함하는 것을 특징으로 하는 스트로크 특수 효과 생성 장치.
A device for generating stroke special effects, comprising:
a second acquiring module for acquiring a parameter value of a stroke effect parameter of the target object; and
Stroke specialization, comprising: a second generating module for generating a stroke special effect of the target object in the image to be processed, based on a target object in the image to be processed and a parameter value of a stroke effect parameter of the target object Effect generating device.
전자 기기로서,
컴퓨터 프로그램을 저장하기 위한 메모리; 및
상기 메모리에 저장된 컴퓨터 프로그램을 실행하기 위한 프로세서를 포함하며, 상기 컴퓨터 프로그램이 실행될 경우, 제1항 내지 제23항 중 어느 한 항에 따른 방법을 구현하는 것을 특징으로 하는 전자 기기.
As an electronic device,
a memory for storing a computer program; and
24. An electronic device comprising a processor for executing a computer program stored in the memory, wherein the method according to any one of claims 1 to 23 is implemented when the computer program is executed.
컴퓨터 프로그램이 저장된 컴퓨터 판독 가능한 저장 매체로서,
상기 컴퓨터 프로그램이 프로세서에 의해 실행될 경우, 제1항 내지 제23항 중 어느 한 항에 따른 방법을 구현하는 것을 특징으로 하는 컴퓨터 판독 가능한 저장 매체.
A computer-readable storage medium having a computer program stored therein, comprising:
24. A computer-readable storage medium, characterized in that it implements the method according to any one of claims 1 to 23 when the computer program is executed by a processor.
삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete 삭제delete
KR1020207018869A 2018-02-06 2019-02-01 Creation of a stroke special effect program file package and a method and apparatus for creating a stroke special effect KR102386639B1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201810118942.8 2018-02-06
CN201810118942.8A CN108399654B (en) 2018-02-06 2018-02-06 Method and device for generating drawing special effect program file package and drawing special effect
PCT/CN2019/074501 WO2019154338A1 (en) 2018-02-06 2019-02-01 Background edge program file package generation method and apparatus, and background edge generation method and apparatus

Publications (2)

Publication Number Publication Date
KR20200094768A KR20200094768A (en) 2020-08-07
KR102386639B1 true KR102386639B1 (en) 2022-04-14

Family

ID=63095918

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020207018869A KR102386639B1 (en) 2018-02-06 2019-02-01 Creation of a stroke special effect program file package and a method and apparatus for creating a stroke special effect

Country Status (6)

Country Link
US (1) US11640683B2 (en)
JP (1) JP7033372B2 (en)
KR (1) KR102386639B1 (en)
CN (1) CN108399654B (en)
SG (1) SG11202006480XA (en)
WO (1) WO2019154338A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108399654B (en) * 2018-02-06 2021-10-22 北京市商汤科技开发有限公司 Method and device for generating drawing special effect program file package and drawing special effect
CN110070555A (en) * 2018-10-19 2019-07-30 北京微播视界科技有限公司 Image processing method, device, hardware device
CN110070554A (en) * 2018-10-19 2019-07-30 北京微播视界科技有限公司 Image processing method, device, hardware device
CN110070496B (en) * 2019-02-28 2020-07-31 北京字节跳动网络技术有限公司 Method and device for generating image special effect and hardware device
CN113315924A (en) * 2020-02-27 2021-08-27 北京字节跳动网络技术有限公司 Image special effect processing method and device
CN113521725A (en) * 2021-07-26 2021-10-22 网易(杭州)网络有限公司 Pattern effect display method, storage medium, and computer device
CN114125320B (en) * 2021-08-31 2023-05-09 北京达佳互联信息技术有限公司 Method and device for generating special effects of image
CN117274432B (en) * 2023-09-20 2024-05-14 书行科技(北京)有限公司 Method, device, equipment and readable storage medium for generating image edge special effect

Family Cites Families (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0935005A (en) * 1995-07-13 1997-02-07 N T T Data Tsushin Kk Method and device for stroke extraction
JP3264619B2 (en) * 1996-06-05 2002-03-11 キヤノン株式会社 Image processing apparatus and method
JPH11312160A (en) * 1998-02-13 1999-11-09 Fuji Xerox Co Ltd Method and device for annotating document by autonomous personal avatar
JP3813579B2 (en) * 2000-05-31 2006-08-23 シャープ株式会社 Moving picture editing apparatus, moving picture editing program, computer-readable recording medium
CN1707682A (en) * 2004-06-04 2005-12-14 电视纪制作有限公司 Fast image editing system and method
JP2006260198A (en) * 2005-03-17 2006-09-28 Toshiba Corp Virtual makeup device, method, and program
JP4799105B2 (en) 2005-09-26 2011-10-26 キヤノン株式会社 Information processing apparatus and control method therefor, computer program, and storage medium
CN101329402B (en) * 2008-06-20 2010-12-29 西安电子科技大学 Multi-dimension SAR image edge detection method based on improved Wedgelet
CN101354789A (en) * 2008-08-22 2009-01-28 北京中星微电子有限公司 Method and device for implementing image face mask specific effect
JP2010211308A (en) 2009-03-06 2010-09-24 Fujifilm Corp Makeup advice device, the makeup advice method and program
US8713584B2 (en) * 2009-08-13 2014-04-29 Google Inc. Event-triggered server-side macros
CN102087750A (en) * 2010-06-13 2011-06-08 湖南宏梦信息科技有限公司 Method for manufacturing cartoon special effect
JP4862955B1 (en) 2010-10-29 2012-01-25 オムロン株式会社 Image processing apparatus, image processing method, and control program
CN102693553B (en) * 2011-08-26 2015-03-25 新奥特(北京)视频技术有限公司 Method and device for creating charts achieving three-dimensional effect
US9767605B2 (en) * 2012-02-24 2017-09-19 Nokia Technologies Oy Method and apparatus for presenting multi-dimensional representations of an image dependent upon the shape of a display
CN102567031A (en) * 2012-03-01 2012-07-11 盛乐信息技术(上海)有限公司 Video special effect extension method and video special effect extension system
US9076247B2 (en) * 2012-08-10 2015-07-07 Ppg Industries Ohio, Inc. System and method for visualizing an object in a simulated environment
KR20160022832A (en) * 2013-06-25 2016-03-02 톰슨 라이센싱 Method and device for character input
US9779534B2 (en) * 2013-08-28 2017-10-03 Qualcomm Incorporated Prefixed summed length in graphics processing
EP3039990B1 (en) 2013-08-30 2019-07-24 Panasonic Intellectual Property Management Co., Ltd. Makeup assistance device, makeup assistance system, makeup assistance method, and makeup assistance program
CN104123742A (en) * 2014-07-21 2014-10-29 徐才 Method and player for translating static cartoon picture into two dimensional animation
CN104572123B (en) * 2015-01-27 2019-05-14 Oppo广东移动通信有限公司 A kind of scenario generation method and device
CN104778712B (en) * 2015-04-27 2018-05-01 厦门美图之家科技有限公司 A kind of face chart pasting method and system based on affine transformation
JP6876941B2 (en) * 2016-10-14 2021-05-26 パナソニックIpマネジメント株式会社 Virtual make-up device, virtual make-up method and virtual make-up program
CN108399654B (en) * 2018-02-06 2021-10-22 北京市商汤科技开发有限公司 Method and device for generating drawing special effect program file package and drawing special effect

Also Published As

Publication number Publication date
SG11202006480XA (en) 2020-08-28
CN108399654A (en) 2018-08-14
US11640683B2 (en) 2023-05-02
KR20200094768A (en) 2020-08-07
WO2019154338A1 (en) 2019-08-15
JP2021508121A (en) 2021-02-25
CN108399654B (en) 2021-10-22
JP7033372B2 (en) 2022-03-10
US20200334875A1 (en) 2020-10-22

Similar Documents

Publication Publication Date Title
KR102386639B1 (en) Creation of a stroke special effect program file package and a method and apparatus for creating a stroke special effect
US11521389B2 (en) Method for generating special effect program file package, method for generating special effect, electronic device, and storage medium
US11270408B2 (en) Method and apparatus for generating special deformation effect program file package, and method and apparatus for generating special deformation effects
US11368746B2 (en) Method and device for generating special effect program file package, method and device for generating special effect, and electronic device
CN108711180B (en) Method and device for generating makeup and/or face-changing special effect program file package and method and device for generating makeup and/or face-changing special effect
CN113099298B (en) Method and device for changing virtual image and terminal equipment
CA2457839C (en) Automatic 3d modeling system and method
CN112714337A (en) Video processing method and device, electronic equipment and storage medium
CN113223128B (en) Method and apparatus for generating image
US9563940B2 (en) Smart image enhancements
JP2023102665A (en) Image processing program, recording medium, and image processing method
El Rhalibi et al. Perceptual user interface as games controller

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant