WO2018059258A1 - Implementation method and apparatus for providing palm decoration virtual image using augmented reality technology - Google Patents

Implementation method and apparatus for providing palm decoration virtual image using augmented reality technology Download PDF

Info

Publication number
WO2018059258A1
WO2018059258A1 PCT/CN2017/102044 CN2017102044W WO2018059258A1 WO 2018059258 A1 WO2018059258 A1 WO 2018059258A1 CN 2017102044 W CN2017102044 W CN 2017102044W WO 2018059258 A1 WO2018059258 A1 WO 2018059258A1
Authority
WO
WIPO (PCT)
Prior art keywords
palm
image
virtual image
finger
decoration
Prior art date
Application number
PCT/CN2017/102044
Other languages
French (fr)
Chinese (zh)
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 WO2018059258A1 publication Critical patent/WO2018059258A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces
    • G06Q30/0643Graphical representation of items or shoppers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions

Definitions

  • the present invention relates to the field of analog simulation technologies, and in particular, to an implementation method and apparatus for providing a palm decorative virtual image by using augmented reality technology.
  • AR Augmented Reality
  • AR Augmented Reality
  • augmented reality technology which is a new technology that integrates real world information and virtual world information "seamlessly". It is an entity information that is difficult to experience in a certain time and space of the real world. Visual information, sound, taste, touch, etc., through computer and other science and technology, simulation and then superimposition, the virtual information is applied to the real world, perceived by human senses, thus achieving a sensory experience beyond reality.
  • the real environment and virtual objects are superimposed in real time on the same picture or space.
  • the invention provides an implementation method and device for providing a palm-decorated virtual image by using augmented reality technology, so as to solve the problem that the real palm and the virtual palm decoration cannot be superimposed on the same screen in real time under the prior art.
  • the embodiment of the present application provides an implementation method for providing a palm decoration virtual image by using an augmented reality technology, and the method includes:
  • the palm decorative virtual image is displayed by a display device.
  • the method before the step of acquiring a palm image, the method includes:
  • the acquiring an image includes:
  • the acquisition is acquired by the camera of the mobile terminal.
  • the determining whether there is a palm in the image is implemented by using the following method:
  • the classifier obtained by training using the machine learning method judges whether or not the image has a palm.
  • the machine learning method includes at least one of the following methods:
  • the method for separating a palm image in the image from the image includes at least one of the following methods:
  • the feature location of the palm includes:
  • determining a palm position of the palm includes:
  • a method using a geometric center of gravity or a method of using a corner point of a finger is a method using a geometric center of gravity or a method of using a corner point of a finger.
  • the position of the finger includes:
  • determining the location of the finger includes:
  • the position of the finger includes:
  • determining the position of the fingertip of the finger includes:
  • determining the position of the root of the finger includes:
  • the part of the skin color is less than five degrees is the root of the finger.
  • determining the center point of the finger is determined as follows:
  • a concentric circle is drawn centering on the palm, and a concentric circle and an inscribed concentric circle are centrally located at the intersection of the skin color in the direction of the finger.
  • determining the position of the wrist in the palm including:
  • the position of the wrist in the palm includes:
  • determining the center point of the wrist is as follows:
  • the concentric circles are drawn around the palm, and the concentric circles and the inner concentric circles are in the center of the intersection of the skin color in the direction of the wrist.
  • the position on the palm image matching the palm decoration includes:
  • the center point of the finger of the palm or the center point of the wrist or the center point of the nail of the finger is the center point of the finger of the palm or the center point of the wrist or the center point of the nail of the finger.
  • the virtual image of the predetermined palm decoration includes:
  • the step of obtaining the virtual image of the palm decoration is performed by superimposing a virtual image of a predetermined palm decoration on the palm image at a position matching the palm decoration according to the palm feature position.
  • a virtual image of a predetermined palm decoration on the palm image at a position matching the palm decoration according to the palm feature position.
  • the step of obtaining the virtual image of the palm decoration is performed by superimposing a virtual image of a predetermined palm decoration on the palm image at a position matching the palm decoration according to the palm feature position.
  • it also includes:
  • the palm decorative virtual image is stored.
  • the embodiment of the present application further provides an implementation device for providing a palm decoration virtual image by using an augmented reality technology, and the device includes:
  • a determining unit configured to determine, according to the palm image acquired by the acquiring unit, a palm feature position of the palm in the image
  • a superimposing unit configured to superimpose a virtual image of the predetermined palm decoration on a position of the palm image matching the palm decoration according to the palm feature position determined by the determining unit, to obtain the palm decoration virtual image
  • a display unit configured to display, by the display device, the palm decoration virtual image obtained by the superimposing unit.
  • the present invention has the following advantages:
  • the prior art does not adopt the technology of augmented reality, and the virtual palm decoration is worn in a real environment.
  • the present invention provides an implementation method for providing a palm-decorated virtual image by using augmented reality technology, comprising: acquiring a palm image; determining a palm feature position of the palm in the image according to the palm image; and determining a predetermined palm according to the palm feature position A virtual image of the decoration is superimposed on the palm image at a position matching the palm decoration to obtain the palm decoration virtual image; the palm decoration virtual image is displayed by the display device.
  • the present invention provides an implementation method for providing a palm decorative virtual image by using an augmented reality technology, first determining a palm feature position of a palm in the palm image, and then superimposing the virtual image of the palm ornament according to the palm feature position.
  • the virtual palm makeup is virtually worn by the augmented reality method in a position matching the palm of the user, thereby realizing the wearing of the virtual palm decoration in a real environment;
  • the user can intuitively see the effect of wearing the virtual palm decoration on the palm of the real hand, and achieving the effect of trying on the trial.
  • FIG. 1 is a flowchart of a method for implementing a palm-decorated virtual image by using augmented reality technology according to a first embodiment of the present application.
  • FIG. 2 is a schematic diagram of an apparatus for implementing a palm-decorated virtual image using an augmented reality technology according to a second embodiment of the present application.
  • the first embodiment of the present application provides an implementation method for providing a palm decoration virtual image by using augmented reality technology.
  • FIG. 1 illustrates a flow chart of an implementation method for providing a palm-decorated virtual image using augmented reality technology according to an embodiment of the present application. The details will be described below in conjunction with FIG. 1.
  • step S101 a palm image is acquired.
  • the purpose of this step is to provide a precondition for determining the palm feature position of the palm in the image according to the palm image in the subsequent step.
  • the palm image is an image containing only the palm separated from the image actually containing the palm; the palm image is used in the palm decorative virtual image and is a real image in the augmented reality image.
  • the palm image is separated from the image containing the palm; the image contains any image that may be provided.
  • the following processing is required.
  • the step of distinguishing whether the image of the palm is included in the image is performed before the step of acquiring the image of the palm, the specific step comprising: acquiring an image; determining whether there is a palm in the image; and if so, separating the palm image in the image from the image Come out; if not, return to the step of getting the image.
  • This step is to obtain an image containing the palm of the hand before acquiring the palm image, and then separate the palm from the background image. Whether or not the palm is present can be determined only by judging whether or not the palm is included in the image. The subsequent steps can only be performed if the palm is included in the acquired image, and if the palm does not exist, the image needs to be retrieved again.
  • an image there are many ways to obtain an image.
  • the following method can be adopted to acquire an image, that is, the acquisition is acquired by the camera of the mobile terminal.
  • the mobile terminal includes: a mobile phone or a tablet.
  • the mobile phone Or a tablet as a mobile terminal is very suitable for capturing images containing the palm of your hand.
  • the image including the palm may be a frame with a palm image collected by the camera of the mobile phone, and displayed on the image display device after the capture, so that the user can see the palm of the hand very intuitively. And you can see the effect of trying to wear the palm makeup.
  • the determining whether there is a palm in the image is implemented by using a classifier obtained by training using a machine learning method to determine whether the image has a palm.
  • the machine learning method includes at least one of the following methods: Hog-svm learning, Haaris corner learning, Haar LBP cascade classifier learning, and neural network learning.
  • the classifier initial model constructed by means of joint classifier learning and neural network learning is learned, and the result after learning forms a trained classifier, and the trained classifier can be used to distinguish whether there is a palm in a picture.
  • the accuracy of the trained classifier can be continuously improved as the training material increases; the classifier that can be used must be a classifier that has verified the accuracy to the required threshold.
  • the step of separating the palm image from the original image is further performed on the selected image including the palm image.
  • the method for separating the palm image in the image from the image includes at least one of the following methods: a maximum inter-class variance method, a skin color detection method.
  • the largest interclass variance method was proposed by Japanese scholar Nobuyuki Otsu in 1979. It is an adaptive threshold determination method, also known as Otsu, or OTSU. It divides the image into two parts, the background and the target, according to the grayscale characteristics of the image. The larger the variance between the background and the target, the greater the difference between the two parts that make up the image. When part of the target is divided into the background or part of the background is divided into the target, the difference between the two parts will be smaller. Therefore, the segmentation that maximizes the variance between classes means that the probability of misclassification is minimal. In this way, the palm as a complete image can be distinguished from the background in the image.
  • the skin color detection method means that the human skin is distributed in a range in the color space, and the skin color reflects the intensity of the color. Under certain lighting conditions, the skin color is normalized to satisfy the Gaussian distribution, so this feature can be utilized.
  • the image is segmented into skin regions and non-skin regions.
  • the skin-targeted object can be separated from the background by the skin color detection method.
  • the process of extracting the palm image from the background object using skin color detection first the color space of the image Converting from RGB to HSV, H stands for hue, S stands for saturation, and V stands for brightness.
  • H stands for hue
  • S stands for saturation
  • V stands for brightness.
  • the effect of light intensity on the results can be reduced in the HSV color space.
  • the image processing method removes imaginary points and noise.
  • the part of the skin color, the gray level is set to white, the non-skin color part, and the gray level is set to black, and the palm of the hand can be extracted.
  • a user browses a ring on a Taobao webpage through a mobile phone, he sees a favorite one. If he wants to try on it, he needs to perform image acquisition in real time through the camera of the mobile phone, and the classifier obtained by the machine learning method is trained on the image. Whether there is a palm to judge, if there is a palm in the image collected by the user, the step of separating the palm image is performed; if there is no palm in the image collected by the user, the image needs to be re-acquired until the image containing the palm is acquired. .
  • Step S102 determining a palm feature position of the palm in the image according to the palm image.
  • the purpose of this step is to determine the palm feature position of the palm in the palm image. Since the palm makeup is to be virtually worn on a certain position of the palm, it is necessary to determine the palm feature position of the palm in the image based on the palm image. Only when the palm feature position of the palm is determined can the position of the palm image match the palm ornament.
  • the feature position of the palm can adopt various possible positions according to different requirements; the specific degree of the feature position can also be determined according to requirements. For example, it may include: a palm position of the palm, a wrist position and a finger position in the palm. Of course, the feature position may also be specific to a position such as a first joint point, a second joint point, or a finger root in the finger. In short, as long as these positions can easily determine the specific location of the palm decoration.
  • a method of specifically determining the feature position of the palm will be described with the palm position, the wrist position, and the finger position as the palm feature positions.
  • the palm position of the palm is determined by a method of using a geometric center of gravity or a method of using a corner point of a finger.
  • the method using the geometric center of gravity is specifically: the 0th moment and the 1st moment of the image geometry are used to calculate the center of gravity of the palm, and the center of gravity of the palm is used as the palm of the palm.
  • the 0th moment m00 is the sum of the image gradations.
  • the 0th moment represents the area of the object;
  • the 1st moment m10 is the first moment of the horizontal direction, and the first moment of the m01 vertical direction is normalized by the 0th moment.
  • the center coordinates (xG, yG) can be obtained.
  • (i, j) is the coordinate at which the pixel is located
  • f(i, j) is the pixel value of the coordinate point (i, j).
  • the method of calculating the feature points of the finger corner feature points is used to extract the three index points between the index finger and the middle finger, the middle finger and the ring finger, and the ring finger and the little finger.
  • a circle can be determined using three feature points, and the center of the circle serves as the palm of the palm.
  • the position of the finger includes: a position of five fingers in the palm; determining the position of the finger includes: determining a direction line of the finger and a finger line.
  • the direction line of the finger is determined as follows. After determining the palm of the palm, draw the concentric circle centered on the palm, from big to small, the concentric circle with only one point contact of the same finger is the largest circumscribed circle of the finger; draw a contact point of the same finger along the palm with the circumscribed circle Line, this line is the direction line of the finger.
  • the finger line is determined in the following manner. Focusing on the center of the palm from small to large, the center of the finger is less than 5 degrees, and the midpoint of the intersection of the concentric circle and the root of the finger is the midpoint of the root of the finger, connecting the middle point of the finger root and the fingertip. Line, you can get the finger line.
  • Each finger has a finger's direction line and finger line.
  • the position of the five fingers can be determined according to the relative position of the finger direction line, and the middle finger of the finger direction line is the middle finger. If the palm image is the back of the left hand, the left and right fingers are the ring finger and the little finger, and the right direction is the index finger and the thumb. If the image of the palm is the palm of the left hand, the right and the right are the ring finger and the little finger, and the left and right are the index finger and the thumb. If the image of the palm is the back of the right hand, the right and the right are the ring finger and the little finger.
  • the specific position of each finger is determined according to the finger line of each finger.
  • the user can specify which finger the wrist and other accessories are worn on.
  • a more specific position inside each finger can be further determined; including: the position of the fingertip of the finger, the root position of the finger, and the center point of the finger.
  • a more precise feature position is required, for example, by determining the position of the fingertip of the finger, the position of the base of the finger, and the center point of the finger, the position of the palm makeup such as the ring can be more accurately determined; By determining the position of the fingertip of the finger, it is possible to determine the position at which the palm makeup and the like are superimposed. Only by wearing the virtual image of the palm makeup in the most suitable position can the wearing effect be better displayed, so it is necessary to determine a more precise feature position.
  • Determining a position of the fingertip of the finger includes: a skin color point whose finger is farthest from the palm position.
  • the skin color angle is less than 5
  • the portion of the degree is the root of the finger.
  • the meaning of the skin color angle is as follows: in the binary grayscale picture, the skin color portion is grayscale is 255, the non-skin color portion grayscale is 0; the transition from zero to 255 is the boundary of the non-skin color and the skin color, and the angle corresponding to the boundary is A.
  • Determining the center point of the finger is determined by drawing a concentric circle centered on the palm center, and circumscribing a central position of the concentric circle and the inscribed concentric circle in the direction of the finger with the intersection of the skin color.
  • the external concentric circle refers to a circle centered on the palm of the palm and having only one intersection with the fingertip of the finger.
  • the inner concentric circle refers to an innermost circle centered on the palm of the palm and having a radius smaller than the radius of the outer concentric circle and having the intersection with the finger.
  • the determining the position of the wrist in the palm comprises: drawing a concentric circle centered on the palm, when four skin color angles appear on the concentric circle, wherein the color of the palm is greater than 10 degrees and less than 40 degrees.
  • the area in which the concentric circles are in contact with the portion of the palm is the wrist in the palm, the direction of the wrist being the direction from the center of the palm to the midpoint of the intersecting arc.
  • the four skin color angles described in the above method include the concentric circles and the ring finger, the middle finger, the index finger, and the skin color corner formed by the wrist.
  • the concentric circle has a suitable diameter to ensure that the concentric circle has a line of intersection with the wrist.
  • the above range of more than 10 degrees and less than 40 degrees is data obtained empirically, and the specific value may be appropriately adjusted depending on the situation.
  • the center point of the wrist can be further determined as needed.
  • the determining the center point of the wrist adopts a method of drawing a concentric circle centering on the palm, and connecting a concentric circle and an inner concentric circle at a center position of the intersection of the skin color in the wrist direction.
  • Obtaining the characteristic position of the center point of the wrist determines the position of the palm ornament such as the bracelet that needs to be worn on the wrist.
  • Step S103 according to the palm feature position, superimposing a virtual image of a predetermined palm ornament on a position on the palm image that matches the palm ornament, to obtain the palm decoration virtual image.
  • the purpose of this step is to determine a position on the palm image that matches the palm ornament according to the palm feature position, and superimpose the virtual image of the predetermined palm ornament on the palm image and the palm decoration.
  • the palm decorative virtual image is obtained.
  • the position on the palm image that matches the palm ornament includes: a center point of the finger of the palm or a center point of the wrist or a center point of the nail of the finger.
  • the midpoint of the nail of the finger is a direction opposite to the direction of the finger line, and is located 5 mm from the point where the external concentric circle of the finger is in contact with the fingertip.
  • the difference in the position of the palm image matching the palm decoration is different depending on the type of the jewelry to be worn. If you wear a palm ornament such as a ring, it is superimposed on the center of the finger; if you wear a palm ornament such as a bracelet or a bracelet, it is superimposed on the center of the wrist; if you put a palm ornament such as a nail sticker, Just superimposed on the midpoint of the nail.
  • the virtual image of the predetermined palm decoration is superimposed on the palm image at a position matching the palm decoration, or may be automatically implemented by performing a virtual image of the palm decoration. After being translated and rotated, it is superimposed on the position matching the palm ornament. After the superposition, the effect of augmented reality is realized, and the user can see the effect of the try-on.
  • the predetermined virtual image of the palm decoration may be a two-dimensional image or a three-dimensional image, wherein the predetermined palm decoration includes a decoration that can be worn on the finger, a decoration worn on the wrist, and a decoration attached to the nail Things.
  • the virtual image of the predetermined palm ornament may be obtained from a network or from a memory of the mobile terminal.
  • the virtual image of the predetermined palm decoration is obtained from the network, and refers to downloading the virtual image of the palm decoration from the database of the network server to the mobile terminal through the application software.
  • the virtual image may also be an image stored in a memory of the mobile terminal, which means that the user has a virtual image of the predetermined palm decoration to be tried on in the storage space of the mobile terminal.
  • the purpose of this step is to determine whether the virtual image can be superimposed on the palm image to match the palm ornament by determining whether the size of the virtual image matches the size of the finger or wrist to which the virtual image is to be superimposed.
  • the size of the finger or the wrist can be obtained by placing a standard-sized object on the palm of the hand as a reference object when the image including the palm is captured by the camera; or directly inputting the palm and the wearing-related part by parameter input. Size is obtained.
  • the size of the palm ornament can then be obtained from a database storing palm ornament images.
  • the virtual image is a palm ornament such as a ring worn on a finger, comparing the diameter of the virtual image with the diameter of the finger at the position of the superimposed virtual object, if the diameter of the virtual image is smaller than the superposition a diameter of the finger at a position on the palm image matching the palm ornament, determining that the size of the virtual image of the predetermined palm ornament does not match the position on the palm image that matches the palm ornament; If the diameter of the virtual image is greater than or equal to the diameter of the finger at the position on the palm image that matches the palm ornament, determining the size of the virtual image of the predetermined palm ornament and the palm image Matching the position matching the palm ornament; if the virtual image is a palm ornament such as a bracelet worn on the wrist, comparing the diameter of the virtual image with the width of the wrist at the position of the superimposed virtual object, if The diameter of the virtual image is less than or equal to the position of the palm image on the palm image matching the palm ornament Width, determining that the size of the virtual image
  • Step S104 displaying the palm decoration virtual image through the display device.
  • the purpose of this step is to display the palm decorative virtual image through the display device, and the user can visually see the wearing effect.
  • the user when the user wears a virtual image of a ring on the ring finger, the user can visually observe the try-on effect of the ring by displaying the virtual image wearing the ring on the display screen through the display device.
  • the purpose of this step is to store the virtual image of the palm decoration for the user to view the wearing effect of the virtual image of different palm decorations.
  • the user can compare a plurality of the palm decorative virtual images to select the best palm decoration.
  • the storing the palm decorative virtual image means that the user stores the palm image virtual image that is satisfactory to the storage space of the mobile terminal.
  • the present application also provides an implementation device for providing a palm decoration virtual image by using augmented reality technology. Since the embodiment of the device is substantially similar to the embodiment of the method, the description is relatively simple, and the relevant portions can be referred to the description of the method embodiment.
  • the device embodiments described below are merely illustrative.
  • the implementation device for providing a palm-decorated virtual image using augmented reality technology is as follows:
  • FIG. 2 is a schematic diagram of an apparatus for implementing a palm-decorated virtual image using augmented reality technology according to a second embodiment of the present application.
  • the device for implementing a palm-decorated virtual image by using an augmented reality technology includes: a obtaining unit 201, a determining unit 202, a superimposing unit 203, and a display unit 204.
  • An obtaining unit 201 configured to acquire a palm image
  • a determining unit 202 configured to determine, according to the palm image acquired by the acquiring unit, a palm feature position of the palm in the image
  • a superimposing unit 203 configured to superimpose a virtual image of the predetermined palm decoration on a position of the palm image matching the palm decoration according to the palm feature position determined by the determining unit, to obtain the palm decoration Virtual image
  • the display unit 204 is configured to display the palm decoration virtual image obtained by the superimposing unit through the display device.
  • the device further includes:
  • a separating unit configured to determine whether there is a palm in the image in the acquired image unit; if yes, separate the palm image in the image from the image; if not, return to the step of acquiring the image.
  • the acquiring image unit includes:
  • the acquisition subunit is configured to acquire an image by using a camera of the mobile terminal.
  • determining whether there is a palm in the image in the separating unit is implemented by using the following method:
  • the classifier obtained by training using the machine learning method judges whether or not the image has a palm.
  • the machine learning method includes at least one of the following methods:
  • the method for separating the palm image in the image from the image in the separating unit includes at least one of the following methods:
  • the determining a feature position of the palm in the unit includes:
  • determining a palm position of the palm includes:
  • a method using a geometric center of gravity or a method of using a corner point of a finger is a method using a geometric center of gravity or a method of using a corner point of a finger.
  • the position of the finger includes:
  • determining the location of the finger includes:
  • the position of the finger includes:
  • determining the position of the fingertip of the finger includes:
  • determining the position of the root of the finger includes:
  • the part of the skin color is less than five degrees is the root of the finger.
  • determining the center point of the finger is determined as follows:
  • a concentric circle is drawn centering on the palm, and a concentric circle and an inscribed concentric circle are centrally located at the intersection of the skin color in the direction of the finger.
  • determining the position of the wrist in the palm including:
  • the position of the wrist in the palm includes:
  • determining the center point of the wrist is as follows:
  • the concentric circles are drawn around the palm, and the concentric circles and the inner concentric circles are in the center of the intersection of the skin color in the direction of the wrist.
  • a position on the palm image in the superimposing unit that matches the palm decoration includes:
  • the center point of the finger of the palm or the center point of the wrist or the center point of the nail of the finger is the center point of the finger of the palm or the center point of the wrist or the center point of the nail of the finger.
  • the virtual image of the predetermined palm decoration in the superimposing unit includes:
  • the device further includes:
  • Determining whether the subunit is matched for determining whether the size of the virtual image of the predetermined palm decoration matches the position of the palm image matching the palm decoration before the superimposing unit works; if yes, entering the basis Positioning the palm feature, superimposing a virtual image of the predetermined palm ornament on the palm image at a position matching the palm ornament, obtaining the step of decorating the virtual image of the palm; if not, regaining the palm A virtual image of the ornament.
  • the device further includes:
  • a storage unit configured to store the palm decoration virtual image after the superimposing unit works.

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Processing Or Creating Images (AREA)
  • Image Analysis (AREA)

Abstract

Disclosed are an implementation method for providing a palm decoration virtual image using augmented reality technology and an implementation apparatus for providing a palm decoration virtual image using augmented reality technology. The implementation method for providing a palm decoration virtual image using augmented reality technology comprises: obtaining a palm image; determining a palm feature position of a palm in the image according to the palm image; superimposing, according to the palm feature position, a virtual image of a predetermined palm decoration to a position, on the palm image, matching the palm decoration to obtain the palm decoration virtual image; and displaying the palm decoration virtual image by means of a display device. The method can solve the problem in the prior art that a real palm and a virtual palm decoration cannot be superimposed into a sample image in real time.

Description

采用增强现实技术提供手掌装饰虚拟图像的实现方法及其装置Method and device for providing palm decoration virtual image by using augmented reality technology
本申请要求2016年09月30日递交的申请号为201610872093.6、发明名称为“采用增强现实技术提供手掌装饰虚拟图像的实现方法及其装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority from the Chinese Patent Application No. 201610872093.6 filed on Sep. 30, 2016, entitled "Implementation Method and Apparatus for Providing Palm-Decorated Virtual Images Using Augmented Reality Technology", the entire contents of which are incorporated by reference. In this application.
技术领域Technical field
本发明涉及模拟仿真技术领域,具体涉及一种采用增强现实技术提供手掌装饰虚拟图像的实现方法及装置。The present invention relates to the field of analog simulation technologies, and in particular, to an implementation method and apparatus for providing a palm decorative virtual image by using augmented reality technology.
背景技术Background technique
随着互联网的飞速发展,网络购物已经渗透到人们的生活,淘宝、天猫等网络购物平台已经家喻户晓。通过网络购买手镯、戒指等手掌装饰物的用户也日益增多,但是用户并不知道自己戴上某个手掌装饰物后的效果。因此需要一种将现实中的手掌、手指、手腕与屏幕中的手掌装饰物结合起来展示试戴效果的技术。With the rapid development of the Internet, online shopping has penetrated into people's lives, and online shopping platforms such as Taobao and Tmall have become household names. Users who buy palms, rings, and other palm decorations through the Internet are also increasing, but users don't know the effect of wearing a palm ornament. Therefore, there is a need for a technique that combines a palm, a finger, a wrist in the real world with a palm ornament in the screen to exhibit a try-on effect.
AR(Augmented Reality)增强现实技术,它是一种将真实世界信息和虚拟世界信息“无缝”集成的新技术,是把原本在现实世界的一定时间空间范围内很难体验到的实体信息(视觉信息、声音、味道、触觉等),通过电脑等科学技术,模拟仿真后再叠加,将虚拟的信息应用到真实世界,被人类感官所感知,从而达到超越现实的感官体验。真实的环境和虚拟的物体实时地叠加到了同一个画面或空间同时存在。AR (Augmented Reality) augmented reality technology, which is a new technology that integrates real world information and virtual world information "seamlessly". It is an entity information that is difficult to experience in a certain time and space of the real world. Visual information, sound, taste, touch, etc., through computer and other science and technology, simulation and then superimposition, the virtual information is applied to the real world, perceived by human senses, thus achieving a sensory experience beyond reality. The real environment and virtual objects are superimposed in real time on the same picture or space.
利用增强现实技术为潜在买家的提供手掌装饰物佩戴在其真实手掌上的展示效果,成为一个解决网络购物中手掌装饰物试戴的可能方案;然而,在该具体场景下,如何结合手掌的特点实现手掌和手掌装饰物在画面上的实时叠加,现有技术并未提供可行的方案。Using augmented reality technology to provide potential buyers with the effect of wearing palm ornaments on their real palms, it becomes a possible solution to try out the palm decorations in online shopping; however, in this specific scenario, how to combine the palms Features Real-time superimposition of palm and palm decorations on the screen, the prior art does not provide a viable solution.
发明内容Summary of the invention
本发明提供一种采用增强现实技术提供手掌装饰虚拟图像的实现方法及装置,以解决现有技术下,真实的手掌和虚拟的手掌装饰物不能实时地叠加到同一个画面的问题。The invention provides an implementation method and device for providing a palm-decorated virtual image by using augmented reality technology, so as to solve the problem that the real palm and the virtual palm decoration cannot be superimposed on the same screen in real time under the prior art.
本申请实施例提供了一种采用增强现实技术提供手掌装饰虚拟图像的实现方法,所述方法包括:The embodiment of the present application provides an implementation method for providing a palm decoration virtual image by using an augmented reality technology, and the method includes:
获取手掌图像; Get the palm image;
根据所述手掌图像确定该图像中手掌的手掌特征位置;Determining a palm feature position of the palm in the image according to the palm image;
根据所述手掌特征位置,将预定的手掌装饰物的虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位置上,获得所述手掌装饰虚拟图像;And superimposing a virtual image of the predetermined palm decoration on the palm image at a position matching the palm decoration according to the palm feature position to obtain the palm decoration virtual image;
通过显示设备将所述手掌装饰虚拟图像显示出来。The palm decorative virtual image is displayed by a display device.
可选的,在所述获取手掌图像的步骤之前,包括:Optionally, before the step of acquiring a palm image, the method includes:
获取图像;Get an image;
判断所述图像中是否有手掌;若是,将所述图像中的手掌图像从图像中分离出来;若否,返回获取图像的步骤。Determining whether there is a palm in the image; if so, separating the palm image in the image from the image; if not, returning to the step of acquiring the image.
可选的,所述获取图像,包括:Optionally, the acquiring an image includes:
通过移动终端的摄像头采集获取。The acquisition is acquired by the camera of the mobile terminal.
可选的,所述判断所述图像中是否有手掌,采用如下方法实现:Optionally, the determining whether there is a palm in the image is implemented by using the following method:
通过采用机器学习方法训练获得的分类器对所述图像是否有手掌进行判断。The classifier obtained by training using the machine learning method judges whether or not the image has a palm.
可选的,所述机器学习方法,包括以下方法的至少一种:Optionally, the machine learning method includes at least one of the following methods:
Hog-svm学习、Haaris角点学习、Haar LBP级联分类器学习以及神经网络学习。Hog-svm learning, Haaris corner learning, Haar LBP cascade classifier learning, and neural network learning.
可选的,所述将所述图像中的手掌图像从图像中分离出来的方法,包括以下方法的至少一种:Optionally, the method for separating a palm image in the image from the image includes at least one of the following methods:
最大类间方差法、肤色检测法。Maximum inter-class variance method, skin color detection method.
可选的,所述手掌的特征位置,包括:Optionally, the feature location of the palm includes:
所述手掌的掌心位置,所述手掌中的手腕位置和手指位置。The palm position of the palm, the wrist position and the finger position in the palm.
可选的,确定所述手掌的掌心位置,包括:Optionally, determining a palm position of the palm includes:
采用几何重心的方法或采用手指角点特征点的方法。A method using a geometric center of gravity or a method of using a corner point of a finger.
可选的,所述手指的位置,包括:Optionally, the position of the finger includes:
所述手掌中五个手指的位置。The position of the five fingers in the palm.
可选的,确定所述手指的位置,包括:Optionally, determining the location of the finger includes:
确定手指的方向线和手指线。Determine the direction line and finger line of your finger.
可选的,所述手指的位置,包括:Optionally, the position of the finger includes:
所述手指的指尖的位置、所述手指根部的位置、手指的中心点。The position of the fingertip of the finger, the position of the root of the finger, and the center point of the finger.
可选的,确定所述手指的指尖的位置,包括:Optionally, determining the position of the fingertip of the finger includes:
所述手指与所述掌心位置距离最远的肤色点。The point of skin color that is the farthest from the position of the palm of the palm.
可选的,确定所述手指根部的位置,包括: Optionally, determining the position of the root of the finger includes:
以掌心为中心从小到大画同心圆,肤色角小于五度的部分为所述手指根部。Focusing on the center of the palm from small to large, the part of the skin color is less than five degrees is the root of the finger.
可选的,确定所述手指的中心点,采用如下方式确定:Optionally, determining the center point of the finger is determined as follows:
以所述掌心为中心画同心圆,外接同心圆和内接同心圆在所述手指方向上同肤色交点的中心位置。A concentric circle is drawn centering on the palm, and a concentric circle and an inscribed concentric circle are centrally located at the intersection of the skin color in the direction of the finger.
可选的,确定所述手掌中的手腕位置,包括:Optionally, determining the position of the wrist in the palm, including:
以掌心为中心画同心圆,当同心圆同所述手掌的肤色夹角大于10度,同时小于40度,同心圆同所述手掌该部分接触的区域是所述手掌中的手腕,所述手腕的方向是从所述手掌中心指向相交弧的中点的方向。Drawing a concentric circle centering on the palm of the hand, when the angle of the concentric circle with the skin color of the palm is greater than 10 degrees and less than 40 degrees, the area where the concentric circle contacts the part of the palm is the wrist in the palm, the wrist The direction is from the center of the palm to the direction of the midpoint of the intersecting arc.
可选的,所述手掌中的手腕位置,包括:Optionally, the position of the wrist in the palm includes:
所述手腕的中心点。The center point of the wrist.
可选的,确定所述手腕的中心点,采用如下方法:Optionally, determining the center point of the wrist is as follows:
以所述掌心为中心画同心圆,外接同心圆和内接同心圆在手腕方向上同肤色交点的中心位置。The concentric circles are drawn around the palm, and the concentric circles and the inner concentric circles are in the center of the intersection of the skin color in the direction of the wrist.
可选的,所述手掌图像上与该手掌装饰物相匹配的位置,包括:Optionally, the position on the palm image matching the palm decoration includes:
所述手掌的手指的中心点或手腕的中心点或手指的指甲的中心点。The center point of the finger of the palm or the center point of the wrist or the center point of the nail of the finger.
可选的,所述预定的手掌装饰物的虚拟图像,包括:Optionally, the virtual image of the predetermined palm decoration includes:
从网络中获得。Obtained from the network.
可选的,在所述根据所述手掌特征位置,将预定的手掌装饰物的虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位置上,获得所述手掌装饰虚拟图像的步骤之前,还包括:Optionally, the step of obtaining the virtual image of the palm decoration is performed by superimposing a virtual image of a predetermined palm decoration on the palm image at a position matching the palm decoration according to the palm feature position. Previously, it also included:
判断所述预定的手掌装饰物的虚拟图像的尺寸与所述手掌图像上与该手掌装饰物相匹配的位置是否相符;若是,则进入根据所述手掌特征位置,将预定的手掌装饰物的虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位置上,获得所述手掌装饰虚拟图像的步骤;若否,则重新获得手掌装饰物的虚拟图像。Determining whether a size of the virtual image of the predetermined palm ornament matches a position on the palm image that matches the palm ornament; if so, entering a virtual palm predetermined object according to the palm feature position The image is superimposed on the palm image at a position matching the palm ornament, and the step of decorating the virtual image of the palm is obtained; if not, the virtual image of the palm ornament is regained.
可选的,在所述根据所述手掌特征位置,将预定的手掌装饰物的虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位置上,获得所述手掌装饰虚拟图像的步骤之后,还包括:Optionally, the step of obtaining the virtual image of the palm decoration is performed by superimposing a virtual image of a predetermined palm decoration on the palm image at a position matching the palm decoration according to the palm feature position. After that, it also includes:
将所述手掌装饰虚拟图像进行存储。The palm decorative virtual image is stored.
本申请实施例还提供了一种采用增强现实技术提供手掌装饰虚拟图像的实现装置,所述装置包括: The embodiment of the present application further provides an implementation device for providing a palm decoration virtual image by using an augmented reality technology, and the device includes:
获取单元,用于获取手掌图像;An acquisition unit for acquiring a palm image;
确定单元,用于根据获取单元获取的所述手掌图像确定该图像中手掌的手掌特征位置;a determining unit, configured to determine, according to the palm image acquired by the acquiring unit, a palm feature position of the palm in the image;
叠加单元,用于根据确定单元所确定的所述手掌特征位置,将预定的手掌装饰物的虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位置上,获得所述手掌装饰虚拟图像;a superimposing unit, configured to superimpose a virtual image of the predetermined palm decoration on a position of the palm image matching the palm decoration according to the palm feature position determined by the determining unit, to obtain the palm decoration virtual image;
显示单元,用于通过显示设备将通过叠加单元获得的所述手掌装饰虚拟图像显示出来。And a display unit, configured to display, by the display device, the palm decoration virtual image obtained by the superimposing unit.
与现有技术相比,本发明具有以下优点:Compared with the prior art, the present invention has the following advantages:
目前,现有技术中没有采用增强现实的技术,在真实的环境下完成虚拟的手掌装饰物佩戴。At present, the prior art does not adopt the technology of augmented reality, and the virtual palm decoration is worn in a real environment.
本发明提供一种采用增强现实技术提供手掌装饰虚拟图像的实现方法,包括:获取手掌图像;根据所述手掌图像确定该图像中手掌的手掌特征位置;根据所述手掌特征位置,将预定的手掌装饰物的虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位置上,获得所述手掌装饰虚拟图像;通过显示设备将所述手掌装饰虚拟图像显示出来。The present invention provides an implementation method for providing a palm-decorated virtual image by using augmented reality technology, comprising: acquiring a palm image; determining a palm feature position of the palm in the image according to the palm image; and determining a predetermined palm according to the palm feature position A virtual image of the decoration is superimposed on the palm image at a position matching the palm decoration to obtain the palm decoration virtual image; the palm decoration virtual image is displayed by the display device.
本发明提供的采用增强现实技术提供手掌装饰虚拟图像的实现方法,首先确定所述手掌图像中手掌的手掌特征位置,然后根据所述手掌特征位置,将所述手掌装饰物的虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位置上。本技术方案,将虚拟的手掌妆饰物采用增强现实的方法虚拟地佩戴在了与用户的手掌相匹配的位置上,实现了在真实的环境下完成虚拟的手掌装饰物佩戴;此外,通过显示设备将所述手掌装饰虚拟图像显示出来,用户就可以非常直观地看到现实的手掌佩戴虚拟的手掌装饰物的效果,达到试戴试玩的效果。The present invention provides an implementation method for providing a palm decorative virtual image by using an augmented reality technology, first determining a palm feature position of a palm in the palm image, and then superimposing the virtual image of the palm ornament according to the palm feature position. The position on the palm image that matches the palm ornament. In the technical solution, the virtual palm makeup is virtually worn by the augmented reality method in a position matching the palm of the user, thereby realizing the wearing of the virtual palm decoration in a real environment; By displaying the virtual image of the palm decoration, the user can intuitively see the effect of wearing the virtual palm decoration on the palm of the real hand, and achieving the effect of trying on the trial.
附图说明DRAWINGS
图1是本申请第一实施例提供的一种采用增强现实技术提供手掌装饰虚拟图像的实现方法的流程图。FIG. 1 is a flowchart of a method for implementing a palm-decorated virtual image by using augmented reality technology according to a first embodiment of the present application.
图2是本申请第二实施例提供的一种采用增强现实技术提供手掌装饰虚拟图像的实现装置的示意图。FIG. 2 is a schematic diagram of an apparatus for implementing a palm-decorated virtual image using an augmented reality technology according to a second embodiment of the present application.
具体实施方式 detailed description
为了能够更清楚地理解本申请的上述目的、特征和优点,下面结合附图和具体实施方式对本申请进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。The above objects, features and advantages of the present application will be more clearly understood from the following description of the appended claims. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在下面的描述中阐述了很多具体细节以便于充分理解本申请。但是,本申请能够以很多不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本申请内涵的情况下做类似推广,因此,本申请不受下面公开的具体实施的限制。Numerous specific details are set forth in the description below in order to provide a thorough understanding of the application. However, the present invention can be implemented in many other ways than those described herein, and those skilled in the art can make similar promotion without departing from the scope of the present application. Therefore, the present application is not limited by the specific embodiments disclosed below.
本申请第一实施例提供了一种采用增强现实技术提供手掌装饰虚拟图像的实现方法。请参考图1,其示出了根据本申请的实施例提供的采用增强现实技术提供手掌装饰虚拟图像的实现方法的流程图。以下结合图1进行详细说明。The first embodiment of the present application provides an implementation method for providing a palm decoration virtual image by using augmented reality technology. Please refer to FIG. 1 , which illustrates a flow chart of an implementation method for providing a palm-decorated virtual image using augmented reality technology according to an embodiment of the present application. The details will be described below in conjunction with FIG. 1.
步骤S101,获取手掌图像。In step S101, a palm image is acquired.
本步骤的目的是为了后续步骤中根据所述手掌图像确定该图像中手掌的手掌特征位置提供前提条件。The purpose of this step is to provide a precondition for determining the palm feature position of the palm in the image according to the palm image in the subsequent step.
所述手掌图像,是从实际包含手掌的图像中分离出来的只包含手掌的图像;该手掌图像在所述手掌装饰虚拟图像中使用,是增强现实图像中的现实图像。The palm image is an image containing only the palm separated from the image actually containing the palm; the palm image is used in the palm decorative virtual image and is a real image in the augmented reality image.
如前所述,所述手掌图像是从包含手掌的图像中分离出来的;所述图像包含任意一种可能被提供的图像。对于任意图像,需要做出如下处理。As previously mentioned, the palm image is separated from the image containing the palm; the image contains any image that may be provided. For any image, the following processing is required.
首先,需要分辨图像中是否包含手掌图像,这是进行分离处理的前提;其次,需要将所述手掌图像从原始图像中分离出来。以下分别说明。First, it is necessary to distinguish whether or not the palm image is included in the image, which is a premise for performing the separation processing; secondly, the palm image needs to be separated from the original image. The following are explained separately.
分辨图像中是否包含手掌图像的步骤在所述获取手掌图像的步骤之前执行,具体步骤包括:获取图像;判断所述图像中是否有手掌;若是,将所述图像中的手掌图像从图像中分离出来;若否,返回获取图像的步骤。The step of distinguishing whether the image of the palm is included in the image is performed before the step of acquiring the image of the palm, the specific step comprising: acquiring an image; determining whether there is a palm in the image; and if so, separating the palm image in the image from the image Come out; if not, return to the step of getting the image.
本步骤目的是实现在获取手掌图像之前,需要先获取包含手掌的图像,然后将手掌从背景图像中分离出来。只有通过判断所述图像中是否包含手掌,才能确定所述手掌是否存在。只有所述获取图像中包含所述手掌,才能进行后续步骤,如果所述手掌不存在,则需重新去获取图像。The purpose of this step is to obtain an image containing the palm of the hand before acquiring the palm image, and then separate the palm from the background image. Whether or not the palm is present can be determined only by judging whether or not the palm is included in the image. The subsequent steps can only be performed if the palm is included in the acquired image, and if the palm does not exist, the image needs to be retrieved again.
所述获取图像的方式很多,结合具体的使用场景,即买家将自己的手掌作为增强现实方法中的手掌,则可以采取如下获取图像的方式,即:通过移动终端的摄像头采集获取。There are many ways to obtain an image. In combination with a specific usage scenario, that is, the buyer uses his own palm as the palm of the augmented reality method, the following method can be adopted to acquire an image, that is, the acquisition is acquired by the camera of the mobile terminal.
所述移动终端,包括:手机或平板电脑。The mobile terminal includes: a mobile phone or a tablet.
由于现在的手机或平板电脑都带有摄像头,而且能够上网浏览购物网站,所以手机 或平板电脑作为移动终端获取包含手掌的图像非常合适。Since the current mobile phone or tablet has a camera and can browse the shopping website online, the mobile phone Or a tablet as a mobile terminal is very suitable for capturing images containing the palm of your hand.
本实施例中,所述包含手掌的图像,可以是通过手机摄像头采集的一帧带有手掌的图像,采集之后将所述图像显示设备上显示出来,用户就可以非常直观地看到手掌的样子,并进一步可以看到试戴手掌妆饰物的效果。In this embodiment, the image including the palm may be a frame with a palm image collected by the camera of the mobile phone, and displayed on the image display device after the capture, so that the user can see the palm of the hand very intuitively. And you can see the effect of trying to wear the palm makeup.
所述判断所述图像中是否有手掌,采用如下方法实现:通过采用机器学习方法训练获得的分类器对所述图像是否有手掌进行判断。The determining whether there is a palm in the image is implemented by using a classifier obtained by training using a machine learning method to determine whether the image has a palm.
所述机器学习方法,包括以下方法的至少一种:Hog-svm学习、Haaris角点学习、Haar LBP级联分类器学习以及神经网络学习。The machine learning method includes at least one of the following methods: Hog-svm learning, Haaris corner learning, Haar LBP cascade classifier learning, and neural network learning.
采用机器学习方法训练获得分类器的过程简要说明如下。A brief description of the process of obtaining a classifier using machine learning methods is as follows.
采集各种肤色,各种手型手掌的正样本,同时采集各种场景不包括手掌的负样本,将这些材料作为训练材料,提供给采用上述Hog-svm学习,Haaris角点学习,Haar LBP级联分类器学习,以及神经网络学习等方式构造的分类器初始模型进行学习,学习之后的结果形成一个训练后的分类器,该训练后的分类器即可用于区分一张图片中是否存在手掌。训练后的分类器的准确度是可以随着训练材料的增加而不断改进的;可以使用的分类器必须是经过验证准确度达到要求的阈值的分类器。Collect a variety of skin colors, positive samples of various hand palms, and collect negative samples of various scenes that do not include the palms. These materials are used as training materials and are provided for Hog-svm learning, Haaris corner learning, Haar LBP level. The classifier initial model constructed by means of joint classifier learning and neural network learning is learned, and the result after learning forms a trained classifier, and the trained classifier can be used to distinguish whether there is a palm in a picture. The accuracy of the trained classifier can be continuously improved as the training material increases; the classifier that can be used must be a classifier that has verified the accuracy to the required threshold.
上述分辨图像中是否包含手掌图像的步骤完成后,对于被选出的包含手掌图像的图像,还需要进一步执行所述将所述手掌图像从原始图像中分离出来的步骤。所述将所述图像中的手掌图像从图像中分离出来的方法,包括以下方法的至少一种:最大类间方差法、肤色检测法。After the step of distinguishing whether the palm image is included in the image is completed, the step of separating the palm image from the original image is further performed on the selected image including the palm image. The method for separating the palm image in the image from the image includes at least one of the following methods: a maximum inter-class variance method, a skin color detection method.
最大类间方差法是由日本学者大津(Nobuyuki Otsu)于1979年提出的,是一种自适应的阈值确定的方法,又叫大津法,简称OTSU。它是按图像的灰度特性,将图像分成背景和目标两部分。背景和目标之间的类间方差越大,说明构成图像的两部分的差别越大,当部分目标错分为背景或部分背景错分为目标都会导致两部分差别变小。因此,使类间方差最大的分割意味着错分概率最小。采用这种方法,可以将作为完整图像的手掌与图像中的背景区别开来。The largest interclass variance method was proposed by Japanese scholar Nobuyuki Otsu in 1979. It is an adaptive threshold determination method, also known as Otsu, or OTSU. It divides the image into two parts, the background and the target, according to the grayscale characteristics of the image. The larger the variance between the background and the target, the greater the difference between the two parts that make up the image. When part of the target is divided into the background or part of the background is divided into the target, the difference between the two parts will be smaller. Therefore, the segmentation that maximizes the variance between classes means that the probability of misclassification is minimal. In this way, the palm as a complete image can be distinguished from the background in the image.
肤色检测法是指:人的皮肤分布在颜色空间中的一个范围内,皮肤颜色不同反映了颜色的强度,在一定光照条件下肤色经过归一化后满足高斯分布,因此可利用这一特性将图像分割为皮肤区域和非皮肤区域。通过肤色检测法可以将具有皮肤的目标对象与背景分离开。The skin color detection method means that the human skin is distributed in a range in the color space, and the skin color reflects the intensity of the color. Under certain lighting conditions, the skin color is normalized to satisfy the Gaussian distribution, so this feature can be utilized. The image is segmented into skin regions and non-skin regions. The skin-targeted object can be separated from the background by the skin color detection method.
使用肤色检测法将手掌图像从背景对象中提取出来的过程:首先将图像的色彩空间 从RGB转换到HSV,H代表的是色调,S代表是饱和度,V代表是明度。在HSV颜色空间中可以减少光线强弱对于结果的影响。设定肤色色调H对应值的范围RH,饱和度S对应值的范围RS,图片ROI区域中满足色调在RH范围且饱和度在RS范围内的像素,认为是皮肤;然后利用形态学膨胀和腐蚀图像处理方法去除虚点和噪点。肤色的部分,灰度置为白色,非肤色部分,灰度置为黑色,即可把手掌提取出来。The process of extracting the palm image from the background object using skin color detection: first the color space of the image Converting from RGB to HSV, H stands for hue, S stands for saturation, and V stands for brightness. The effect of light intensity on the results can be reduced in the HSV color space. Set the range RH of the skin color hue corresponding value, the range RS of the saturation S corresponding value, the pixel in the picture ROI area that satisfies the hue in the RH range and the saturation in the RS range, and consider it to be the skin; then use the morphological expansion and corrosion The image processing method removes imaginary points and noise. The part of the skin color, the gray level is set to white, the non-skin color part, and the gray level is set to black, and the palm of the hand can be extracted.
例如,当用户通过手机浏览淘宝网页上的戒指时,看到了喜欢的一款,想进行试戴,就需要通过手机的摄像头实时进行图像采集,采用机器学习方法训练获得的分类器对所述图像是否有手掌进行判断,如果用户采集到的所述图像中有手掌,则进行分离手掌图像的步骤;如果用户采集到的所述图像中没有手掌,则需重新采集,直到获取包含手掌的图像为止。For example, when a user browses a ring on a Taobao webpage through a mobile phone, he sees a favorite one. If he wants to try on it, he needs to perform image acquisition in real time through the camera of the mobile phone, and the classifier obtained by the machine learning method is trained on the image. Whether there is a palm to judge, if there is a palm in the image collected by the user, the step of separating the palm image is performed; if there is no palm in the image collected by the user, the image needs to be re-acquired until the image containing the palm is acquired. .
步骤S102,根据所述手掌图像确定该图像中手掌的手掌特征位置。Step S102, determining a palm feature position of the palm in the image according to the palm image.
本步骤目的是确定所述手掌图像中手掌的手掌特征位置,因为手掌妆饰物要虚拟地佩戴在手掌的某一位置上,所以需要根据所述手掌图像确定该图像中手掌的手掌特征位置。只有确定了所述手掌的手掌特征位置,才能确定所述手掌图像上与该手掌装饰物相匹配的位置。The purpose of this step is to determine the palm feature position of the palm in the palm image. Since the palm makeup is to be virtually worn on a certain position of the palm, it is necessary to determine the palm feature position of the palm in the image based on the palm image. Only when the palm feature position of the palm is determined can the position of the palm image match the palm ornament.
所述手掌的特征位置可以根据不同的要求,采用各种可能的位置;所述特征位置的具体程度,也可以根据需求确定。例如可以包括:所述手掌的掌心位置,所述手掌中的手腕位置和手指位置。当然,所述特征位置也可以具体到手指中的第一关节点、第二关节点或者手指根部等这样的位置。总之,只要这些位置能够方便的确定佩戴手掌装饰物的具体位置即可。以下以手掌的掌心位置、手腕位置和手指位置作为手掌特征位置的情况,说明具体确定手掌的特征位置的方法。所述手掌的掌心位置,采用的确定方法,包括:采用几何重心的方法或采用手指角点特征点的方法。The feature position of the palm can adopt various possible positions according to different requirements; the specific degree of the feature position can also be determined according to requirements. For example, it may include: a palm position of the palm, a wrist position and a finger position in the palm. Of course, the feature position may also be specific to a position such as a first joint point, a second joint point, or a finger root in the finger. In short, as long as these positions can easily determine the specific location of the palm decoration. Hereinafter, a method of specifically determining the feature position of the palm will be described with the palm position, the wrist position, and the finger position as the palm feature positions. The palm position of the palm is determined by a method of using a geometric center of gravity or a method of using a corner point of a finger.
采用几何重心的方法具体为:采用图像几何形状的0阶矩和1阶矩来计算出手掌的重心,以手掌的重心作为手掌的掌心。The method using the geometric center of gravity is specifically: the 0th moment and the 1st moment of the image geometry are used to calculate the center of gravity of the palm, and the center of gravity of the palm is used as the palm of the palm.
在此简要说明采用0阶矩和1阶矩来计算出手掌的重心的方式。Here, a brief description of the way in which the center of gravity of the palm is calculated using the 0th moment and the 1st moment is used.
0阶矩m00是图像灰度的总和,在二值图像中0阶矩表示对象物的面积;1阶矩m10水平方向一阶矩,m01竖直方向一阶矩,通过0阶矩来规格化1阶矩,就可以得到中心坐标(xG,yG)。The 0th moment m00 is the sum of the image gradations. In the binary image, the 0th moment represents the area of the object; the 1st moment m10 is the first moment of the horizontal direction, and the first moment of the m01 vertical direction is normalized by the 0th moment. With the 1st moment, the center coordinates (xG, yG) can be obtained.
m00=∑∑f(i,j);m10=∑∑i*f(i,j);m01=∑∑j*f(i,j)M00=∑∑f(i,j);m10=∑∑i*f(i,j);m01=∑∑j*f(i,j)
xG=m10/m00;yG=m01/m00。 xG=m10/m00; yG=m01/m00.
上述公式中,(i,j)为像素点所在的坐标,f(i,j)为坐标点(i,j)的像素值。In the above formula, (i, j) is the coordinate at which the pixel is located, and f(i, j) is the pixel value of the coordinate point (i, j).
采用手指角点特征点的方法特征点的计算:通过harris角点提取算法,提取食指同中指,中指同无名指,以及无名指同小拇指之间的3个特征点。利用三个特征点可以确定一个圆,圆的圆心作为手掌的掌心。The method of calculating the feature points of the finger corner feature points: the harris corner point extraction algorithm is used to extract the three index points between the index finger and the middle finger, the middle finger and the ring finger, and the ring finger and the little finger. A circle can be determined using three feature points, and the center of the circle serves as the palm of the palm.
所述手指的位置,包括:所述手掌中五个手指的位置;确定所述手指的位置,包括:确定手指的方向线和手指线。The position of the finger includes: a position of five fingers in the palm; determining the position of the finger includes: determining a direction line of the finger and a finger line.
所述确定手指的方向线,采用如下方式。确定了手掌的掌心后,以掌心为中心画同心圆,从大到小,同一个手指只有一个点接触的同心圆为该手指的最大外接圆;沿掌心同外接圆的同手指的接触点画一条线,这条线就是手指的方向线。The direction line of the finger is determined as follows. After determining the palm of the palm, draw the concentric circle centered on the palm, from big to small, the concentric circle with only one point contact of the same finger is the largest circumscribed circle of the finger; draw a contact point of the same finger along the palm with the circumscribed circle Line, this line is the direction line of the finger.
所述手指线采用如下方式确定。以掌心为中心从小到大画同心圆,肤色角小于5度的为手指根部,同心圆同手指根部的相交弧的中点就是即为手指根部中点,连接手指根部中点和指尖的一条线,就可以得到手指线。The finger line is determined in the following manner. Focusing on the center of the palm from small to large, the center of the finger is less than 5 degrees, and the midpoint of the intersection of the concentric circle and the root of the finger is the midpoint of the root of the finger, connecting the middle point of the finger root and the fingertip. Line, you can get the finger line.
每个手指都有一条手指的方向线和手指线。可以根据手指方向线的相对位置来确定五个手指的位置,手指方向线居中的为中指,如果手掌图像为左手的手背,则从中指向左依次为无名指、小指,从中指向右依次为食指、拇指;如果手掌图像为左手的手心,则从中指向右依次为无名指、小指,从中指向左依次为食指、拇指;如果手掌图像为右手的手背,则从中指向右依次为无名指、小指,从中指向左依次为食指、拇指;如果手掌图像为右手的手心,则从中指向左依次为无名指、小指,左侧依次为食指、拇指;然后根据每个手指的手指线确定每个手指的具体位置。Each finger has a finger's direction line and finger line. The position of the five fingers can be determined according to the relative position of the finger direction line, and the middle finger of the finger direction line is the middle finger. If the palm image is the back of the left hand, the left and right fingers are the ring finger and the little finger, and the right direction is the index finger and the thumb. If the image of the palm is the palm of the left hand, the right and the right are the ring finger and the little finger, and the left and right are the index finger and the thumb. If the image of the palm is the back of the right hand, the right and the right are the ring finger and the little finger. For the index finger and thumb; if the image of the palm is the palm of the right hand, the left and right sides are the ring finger and the little finger, and the left side is the index finger and the thumb in turn; then the specific position of each finger is determined according to the finger line of each finger.
分别确定出手掌中五个手指的位置,用户就可以指定将戒指等手掌妆饰物佩戴在哪个手指上。By determining the position of the five fingers in the palm, the user can specify which finger the wrist and other accessories are worn on.
确定所述手指的位置后,可以进一步确定每个手指内部的更具体的位置;包括:所述手指的指尖的位置、所述手指的根部位置、所述手指的中心点。After determining the position of the finger, a more specific position inside each finger can be further determined; including: the position of the fingertip of the finger, the root position of the finger, and the center point of the finger.
除了确定每个手指的位置,还需要更精确的特征位置,例如通过确定手指的指尖的位置、手指根部的位置以及手指的中心点,可以更准确地确定戒指等手掌妆饰物佩戴的位置;通过确定手指的指尖的位置,可以确定手指贴等手掌妆饰物叠加的位置。只有将手掌妆饰物的虚拟图像佩戴在最合适的位置上,才能更好的展现佩戴的效果,因此需要确定更精确的特征位置。In addition to determining the position of each finger, a more precise feature position is required, for example, by determining the position of the fingertip of the finger, the position of the base of the finger, and the center point of the finger, the position of the palm makeup such as the ring can be more accurately determined; By determining the position of the fingertip of the finger, it is possible to determine the position at which the palm makeup and the like are superimposed. Only by wearing the virtual image of the palm makeup in the most suitable position can the wearing effect be better displayed, so it is necessary to determine a more precise feature position.
确定所述手指的指尖的位置,包括:所述手指与所述掌心位置距离最远的肤色点。Determining a position of the fingertip of the finger includes: a skin color point whose finger is farthest from the palm position.
确定所述手指根部的位置,包括:以掌心为中心从小到大画同心圆,肤色角小于5 度的部分为所述手指根部。肤色角的含义如下:在二值灰度图片中,肤色部分是灰度是255,非肤色部分灰度是0;从零跳变到255是非肤色同肤色的边界,该边界对应的角度是A;从255跳变到0是肤色同非肤色的边界,该边界对应的角度是B;沿着同心圆,从非肤色跳变到肤色,然后从肤色跳变到非肤色的夹角(B-A),即角度B减去角度A,该差值即为肤色角。上述肤色角小于5度的部分为手指根部的判断方法中,5度这个数值是经验数值,可以准确判断大多数情况,当然,可以根据实际情况进行调整。Determining the position of the root of the finger, including: drawing a concentric circle from small to large centered on the palm, the skin color angle is less than 5 The portion of the degree is the root of the finger. The meaning of the skin color angle is as follows: in the binary grayscale picture, the skin color portion is grayscale is 255, the non-skin color portion grayscale is 0; the transition from zero to 255 is the boundary of the non-skin color and the skin color, and the angle corresponding to the boundary is A. ; Jumping from 255 to 0 is the boundary of skin color and non-skinning, the angle corresponding to this boundary is B; along the concentric circle, jumping from non-skin to skin tone, then jumping from skin to non-skinning angle (B- A), that is, the angle B minus the angle A, which is the skin color angle. In the method of judging the root portion of the finger having a skin color angle of less than 5 degrees, the value of 5 degrees is an empirical value, and most cases can be accurately determined. Of course, it can be adjusted according to actual conditions.
确定所述手指的中心点,采用如下方式确定:以所述掌心为中心画同心圆,外接同心圆和内接同心圆在所述手指方向上同肤色交点的中心位置。Determining the center point of the finger is determined by drawing a concentric circle centered on the palm center, and circumscribing a central position of the concentric circle and the inscribed concentric circle in the direction of the finger with the intersection of the skin color.
所述外接同心圆,指以手掌的掌心为中心,同手指指尖只有一个交点的圆。The external concentric circle refers to a circle centered on the palm of the palm and having only one intersection with the fingertip of the finger.
所述内接同心圆,指以手掌的掌心为中心,半径小于外接同心圆的半径,同时同手指有交点的最内侧的圆。The inner concentric circle refers to an innermost circle centered on the palm of the palm and having a radius smaller than the radius of the outer concentric circle and having the intersection with the finger.
所述确定所述手掌中的手腕位置,包括:以掌心为中心画同心圆,当同心圆上出现了4个肤色角时,其中,所述手掌的肤色角大于10度,同时小于40度的同心圆同所述手掌该部分接触的区域是所述手掌中的手腕,所述手腕的方向是从所述手掌中心指向相交弧的中点的方向。上述方法所述的4个肤色角,包括该同心圆和无名指、中指、食指以及和手腕形成的肤色角。通过同心圆和无名指、中指、食指相交,二不与大拇指、小拇指相交,可以确定该同心圆具有比较合适的直径,确保该同心圆与手腕具有交线。上述大于10度,小于40度的范围,是根据经验获得的数据,具体数值也可以根据情况进行适当调整。The determining the position of the wrist in the palm comprises: drawing a concentric circle centered on the palm, when four skin color angles appear on the concentric circle, wherein the color of the palm is greater than 10 degrees and less than 40 degrees. The area in which the concentric circles are in contact with the portion of the palm is the wrist in the palm, the direction of the wrist being the direction from the center of the palm to the midpoint of the intersecting arc. The four skin color angles described in the above method include the concentric circles and the ring finger, the middle finger, the index finger, and the skin color corner formed by the wrist. By intersecting the concentric circle with the ring finger, the middle finger, and the index finger, and not intersecting the thumb and the little finger, it can be determined that the concentric circle has a suitable diameter to ensure that the concentric circle has a line of intersection with the wrist. The above range of more than 10 degrees and less than 40 degrees is data obtained empirically, and the specific value may be appropriately adjusted depending on the situation.
根据需要,可以进一步确定所述手腕的中心点。The center point of the wrist can be further determined as needed.
所述确定手腕的中心点,采用如下方法:以所述掌心为中心画同心圆,外接同心圆和内接同心圆在手腕方向上同肤色交点的中心位置。The determining the center point of the wrist adopts a method of drawing a concentric circle centering on the palm, and connecting a concentric circle and an inner concentric circle at a center position of the intersection of the skin color in the wrist direction.
获得手腕的中心点的特征位置,可以决定手腕上需要佩戴的手镯等手掌装饰物的位置。Obtaining the characteristic position of the center point of the wrist determines the position of the palm ornament such as the bracelet that needs to be worn on the wrist.
步骤S103,根据所述手掌特征位置,将预定的手掌装饰物的虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位置上,获得所述手掌装饰虚拟图像。Step S103, according to the palm feature position, superimposing a virtual image of a predetermined palm ornament on a position on the palm image that matches the palm ornament, to obtain the palm decoration virtual image.
本步骤目的是根据所述手掌特征位置,确定所述手掌图像上与该手掌装饰物相匹配的位置,并将所述预定的手掌装饰物的虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位置上,获得所述手掌装饰虚拟图像。通过获得所述手掌装饰虚拟图像,实现了增强现实的效果,增强了用户的现实体验。 The purpose of this step is to determine a position on the palm image that matches the palm ornament according to the palm feature position, and superimpose the virtual image of the predetermined palm ornament on the palm image and the palm decoration. At the position where the objects match, the palm decorative virtual image is obtained. By obtaining the virtual image of the palm decoration, the effect of augmented reality is realized, and the real experience of the user is enhanced.
所述手掌图像上与该手掌装饰物相匹配的位置,包括:所述手掌的手指的中心点或手腕的中心点或手指的指甲的中心点。The position on the palm image that matches the palm ornament includes: a center point of the finger of the palm or a center point of the wrist or a center point of the nail of the finger.
当然,还可以包括其他适合佩戴手掌装饰物的位置。Of course, other locations suitable for wearing palm decorations can also be included.
所述手指的指甲的中点,为指向手指线方向相反的方向,距离所述手指的外接同心圆与指尖相接触的点5mm处的位置。The midpoint of the nail of the finger is a direction opposite to the direction of the finger line, and is located 5 mm from the point where the external concentric circle of the finger is in contact with the fingertip.
需要说明的是,所述手掌图像上与该手掌装饰物相匹配的位置的不同,基于所佩戴的手饰的种类不同。如果佩戴戒指之类的手掌装饰物,就叠加到手指的中心点;如果佩戴手镯、手环之类的手掌装饰物,就叠加到手腕的中心点;如果贴指甲贴之类的手掌装饰物,就叠加到指甲的中点。It should be noted that the difference in the position of the palm image matching the palm decoration is different depending on the type of the jewelry to be worn. If you wear a palm ornament such as a ring, it is superimposed on the center of the finger; if you wear a palm ornament such as a bracelet or a bracelet, it is superimposed on the center of the wrist; if you put a palm ornament such as a nail sticker, Just superimposed on the midpoint of the nail.
具体的,所述预定的手掌装饰物的虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位置上可以自动实现,也可以辅之以通过将所述手掌装饰物的虚拟图像进行平移、旋转后将其叠加到所述与该手掌装饰物相匹配的位置上。叠加之后,实现了增强现实的效果,用户可以看到试戴的效果。Specifically, the virtual image of the predetermined palm decoration is superimposed on the palm image at a position matching the palm decoration, or may be automatically implemented by performing a virtual image of the palm decoration. After being translated and rotated, it is superimposed on the position matching the palm ornament. After the superposition, the effect of augmented reality is realized, and the user can see the effect of the try-on.
所述预定的手掌装饰物的虚拟图像,可以是二维图像或三维图像,其中预定的手掌装饰物包括可以佩戴在手指上的装饰物、佩戴在手腕上的装饰物以及贴在指甲上的装饰物。The predetermined virtual image of the palm decoration may be a two-dimensional image or a three-dimensional image, wherein the predetermined palm decoration includes a decoration that can be worn on the finger, a decoration worn on the wrist, and a decoration attached to the nail Things.
所述预定的手掌装饰物的虚拟图像,可以从网络中获得,也可以从移动终端的存储器中获得。The virtual image of the predetermined palm ornament may be obtained from a network or from a memory of the mobile terminal.
所述预定的手掌装饰物的虚拟图像从网络中获得,是指通过应用软件从网络的服务器的数据库下载所述手掌装饰物的虚拟图像到移动终端。The virtual image of the predetermined palm decoration is obtained from the network, and refers to downloading the virtual image of the palm decoration from the database of the network server to the mobile terminal through the application software.
所述虚拟图像也可以是存储在移动终端的存储器的图像,是指用户在移动终端的存储空间内存有要试戴的所述预定的手掌装饰物的虚拟图像。The virtual image may also be an image stored in a memory of the mobile terminal, which means that the user has a virtual image of the predetermined palm decoration to be tried on in the storage space of the mobile terminal.
在所述根据所述手掌特征位置,将预定的手掌装饰物的虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位置上,获得所述手掌装饰虚拟图像的步骤之前,还包括:判断所述预定的手掌装饰物的虚拟图像的尺寸与所述手掌图像上与该手掌装饰物相匹配的位置是否相符;若是,则进入根据所述手掌特征位置,将预定的手掌装饰物的虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位置上,获得所述手掌装饰虚拟图像的步骤;若否,则重新获得手掌装饰物的虚拟图像。And superimposing a virtual image of the predetermined palm decoration onto the palm image at a position matching the palm decoration according to the palm feature position, before the step of obtaining the palm decoration virtual image, further including : determining whether a size of the virtual image of the predetermined palm ornament matches a position on the palm image that matches the palm ornament; if so, entering a predetermined palm ornament according to the palm feature position The virtual image is superimposed on the palm image at a position matching the palm ornament, and the step of decorating the virtual image of the palm is obtained; if not, the virtual image of the palm ornament is regained.
本步骤目的通过判断所述虚拟图像的尺寸与要叠加虚拟图像的手指或手腕的尺寸是否相符,决定能不能将所述虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位 置上。所述手指或手腕的尺寸,可以在通过摄像头拍摄包含手掌的图像时,在手掌边上放置标准尺寸的物体作为参照物而获得;也可以通过参数输入的方式直接输入手掌与佩戴饰物相关部位的尺寸获得。所述手掌装饰物的尺寸则可以从存储手掌装饰物图像的数据库中获得。The purpose of this step is to determine whether the virtual image can be superimposed on the palm image to match the palm ornament by determining whether the size of the virtual image matches the size of the finger or wrist to which the virtual image is to be superimposed. Set it up. The size of the finger or the wrist can be obtained by placing a standard-sized object on the palm of the hand as a reference object when the image including the palm is captured by the camera; or directly inputting the palm and the wearing-related part by parameter input. Size is obtained. The size of the palm ornament can then be obtained from a database storing palm ornament images.
具体的,如果所述虚拟图像为佩戴在手指上的戒指等手掌装饰物,则比较所述虚拟图像的直径和叠加虚拟对象的位置处手指的直径,如果所述虚拟图像的直径小于叠加所述手掌图像上与该手掌装饰物相匹配的位置处手指的直径,则判断为所述预定的手掌装饰物的虚拟图像的尺寸与所述手掌图像上与该手掌装饰物相匹配的位置不相符;如果所述虚拟图像的直径大于或等于叠加所述手掌图像上与该手掌装饰物相匹配的位置处手指的直径,则判断为所述预定的手掌装饰物的虚拟图像的尺寸与所述手掌图像上与该手掌装饰物相匹配的位置相符;如果所述虚拟图像为佩戴在手腕上的手镯等手掌装饰物,则比较所述虚拟图像的直径和叠加虚拟对象的位置处手腕的宽度,如果所述虚拟图像的直径小于或等于叠加所述手掌图像上与该手掌装饰物相匹配的位置处手腕的宽度,则判断为所述预定的手掌装饰物的虚拟图像的尺寸与所述手掌图像上与该手掌装饰物相匹配的位置不相符;如果所述虚拟图像的直径大于叠加所述手掌图像上与该手掌装饰物相匹配的位置处手腕的宽度,则判断为所述预定的手掌装饰物的虚拟图像的尺寸与所述手掌图像上与该手掌装饰物相匹配的位置相符。Specifically, if the virtual image is a palm ornament such as a ring worn on a finger, comparing the diameter of the virtual image with the diameter of the finger at the position of the superimposed virtual object, if the diameter of the virtual image is smaller than the superposition a diameter of the finger at a position on the palm image matching the palm ornament, determining that the size of the virtual image of the predetermined palm ornament does not match the position on the palm image that matches the palm ornament; If the diameter of the virtual image is greater than or equal to the diameter of the finger at the position on the palm image that matches the palm ornament, determining the size of the virtual image of the predetermined palm ornament and the palm image Matching the position matching the palm ornament; if the virtual image is a palm ornament such as a bracelet worn on the wrist, comparing the diameter of the virtual image with the width of the wrist at the position of the superimposed virtual object, if The diameter of the virtual image is less than or equal to the position of the palm image on the palm image matching the palm ornament Width, determining that the size of the virtual image of the predetermined palm ornament does not match the position on the palm image that matches the palm ornament; if the diameter of the virtual image is greater than the overlay of the palm image The width of the wrist at the position where the palm ornament matches, it is determined that the size of the virtual image of the predetermined palm ornament matches the position on the palm image that matches the palm ornament.
步骤S104,通过显示设备将所述手掌装饰虚拟图像显示出来。Step S104, displaying the palm decoration virtual image through the display device.
本步骤目的是通过显示设备将所述手掌装饰虚拟图像显示出来,用户可以非常直观地看出佩戴的效果。The purpose of this step is to display the palm decorative virtual image through the display device, and the user can visually see the wearing effect.
例如,当用户在将一枚戒指的虚拟图像戴在无名指时,通过将戴好戒指的虚拟图像通过显示设备显示在显示屏幕上,用户就可以非常直观地观察戒指的试戴效果。For example, when the user wears a virtual image of a ring on the ring finger, the user can visually observe the try-on effect of the ring by displaying the virtual image wearing the ring on the display screen through the display device.
在所述根据所述手掌特征位置,将预定的手掌装饰物的虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位置上,获得所述手掌装饰虚拟图像的步骤之后,还包括:将所述手掌装饰虚拟图像进行存储。And superimposing a virtual image of the predetermined palm decoration onto the palm image at a position matching the palm decoration according to the palm feature position, and after obtaining the palm decoration virtual image, further comprising : Store the palm decorative virtual image.
本步骤目的是通过将所述手掌装饰虚拟图像进行存储,以供用户观看不同手掌装饰物的虚拟图像的佩戴效果。用户可以将多张所述手掌装饰虚拟图像进行比较,去选择佩戴效果最好的手掌装饰物。The purpose of this step is to store the virtual image of the palm decoration for the user to view the wearing effect of the virtual image of different palm decorations. The user can compare a plurality of the palm decorative virtual images to select the best palm decoration.
所述将所述手掌装饰虚拟图像进行存储,指用户将比较满意的所述手掌装饰虚拟图像存储到移动终端的存储空间里。 The storing the palm decorative virtual image means that the user stores the palm image virtual image that is satisfactory to the storage space of the mobile terminal.
例如,当用户通过手机浏览淘宝网页上的戒指时,看中了五款戒指,不知道哪款最合适,想通过观看试戴效果决定购买哪款,则可以通过软件程序从网络的服务器中将看中的戒指下载到本地,然后用户选择好要试戴的手指,将戒指依次戴在选定的手指上,将每张戴着戒指的虚拟图像存储到手机的存储空间里,再将五张手掌装饰虚拟图像同时显示到手机的显示屏幕上,用户就可以很方便地观看试戴效果,用户可以通过观看试戴效果选出最满意的戒指。For example, when a user browses a ring on a Taobao webpage through a mobile phone, he or she looks at five rings. I don't know which one is the most suitable. If you want to decide which one to buy by watching the trial effect, you can use the software program to get from the network server. The fancy ring is downloaded to the local, then the user selects the finger to try on, puts the ring on the selected finger in turn, and stores each virtual image wearing the ring in the storage space of the mobile phone, and then five The palm-decorated virtual image is simultaneously displayed on the display screen of the mobile phone, and the user can conveniently view the try-on effect, and the user can select the most satisfactory ring by watching the try-on effect.
与上述采用增强现实技术提供手掌装饰虚拟图像的实现方法相对应的,本申请还提供了一种采用增强现实技术提供手掌装饰虚拟图像的实现装置。由于所述装置的实施例基本相似于方法的实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。下述描述的装置实施例仅仅是示意性的。所述采用增强现实技术提供手掌装饰虚拟图像的实现装置实施例如下:Corresponding to the above implementation method for providing a palm decoration virtual image by using augmented reality technology, the present application also provides an implementation device for providing a palm decoration virtual image by using augmented reality technology. Since the embodiment of the device is substantially similar to the embodiment of the method, the description is relatively simple, and the relevant portions can be referred to the description of the method embodiment. The device embodiments described below are merely illustrative. The implementation device for providing a palm-decorated virtual image using augmented reality technology is as follows:
请参考图2,其示出了本申请的第二实施例提供的采用增强现实技术提供手掌装饰虚拟图像的实现装置的示意图。Please refer to FIG. 2 , which is a schematic diagram of an apparatus for implementing a palm-decorated virtual image using augmented reality technology according to a second embodiment of the present application.
所述采用增强现实技术提供手掌装饰虚拟图像的实现装置,包括:请获取单元201、确定单元202、叠加单元203、显示单元204。The device for implementing a palm-decorated virtual image by using an augmented reality technology includes: a obtaining unit 201, a determining unit 202, a superimposing unit 203, and a display unit 204.
获取单元201,用于获取手掌图像;An obtaining unit 201, configured to acquire a palm image;
确定单元202,用于根据获取单元获取的所述手掌图像确定该图像中手掌的手掌特征位置;a determining unit 202, configured to determine, according to the palm image acquired by the acquiring unit, a palm feature position of the palm in the image;
叠加单元203,用于根据确定单元所确定的所述手掌特征位置,将预定的手掌装饰物的虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位置上,获得所述手掌装饰虚拟图像;a superimposing unit 203, configured to superimpose a virtual image of the predetermined palm decoration on a position of the palm image matching the palm decoration according to the palm feature position determined by the determining unit, to obtain the palm decoration Virtual image
显示单元204,用于通过显示设备将通过叠加单元获得的所述手掌装饰虚拟图像显示出来。The display unit 204 is configured to display the palm decoration virtual image obtained by the superimposing unit through the display device.
可选的,所述装置还包括:Optionally, the device further includes:
获取图像单元,用于在获取单元工作之前获取图像;Obtaining an image unit for acquiring an image before the obtaining unit works;
分离单元,用于判断获取图像单元中的所述图像中是否有手掌;若是,将所述图像中的手掌图像从图像中分离出来;若否,返回获取图像的步骤。a separating unit, configured to determine whether there is a palm in the image in the acquired image unit; if yes, separate the palm image in the image from the image; if not, return to the step of acquiring the image.
可选的,所述获取图像单元,包括:Optionally, the acquiring image unit includes:
采集子单元,用于通过移动终端的摄像头采集获取图像。The acquisition subunit is configured to acquire an image by using a camera of the mobile terminal.
可选的,所述分离单元中的判断所述图像中是否有手掌,采用如下方法实现: Optionally, determining whether there is a palm in the image in the separating unit is implemented by using the following method:
通过采用机器学习方法训练获得的分类器对所述图像是否有手掌进行判断。The classifier obtained by training using the machine learning method judges whether or not the image has a palm.
可选的,所述机器学习方法,包括以下方法的至少一种:Optionally, the machine learning method includes at least one of the following methods:
Hog-svm学习、Haaris角点学习、Haar LBP级联分类器学习以及神经网络学习。Hog-svm learning, Haaris corner learning, Haar LBP cascade classifier learning, and neural network learning.
可选的,所述分离单元中将所述图像中的手掌图像从图像中分离出来的方法,包括以下方法的至少一种:Optionally, the method for separating the palm image in the image from the image in the separating unit includes at least one of the following methods:
最大类间方差法、肤色检测法。Maximum inter-class variance method, skin color detection method.
可选的,所述确定单元中手掌的特征位置,包括:Optionally, the determining a feature position of the palm in the unit includes:
所述手掌的掌心位置,所述手掌中的手腕位置和手指位置。The palm position of the palm, the wrist position and the finger position in the palm.
可选的,确定所述手掌的掌心位置,包括:Optionally, determining a palm position of the palm includes:
采用几何重心的方法或采用手指角点特征点的方法。A method using a geometric center of gravity or a method of using a corner point of a finger.
可选的,所述手指的位置,包括:Optionally, the position of the finger includes:
所述手掌中五个手指的位置。The position of the five fingers in the palm.
可选的,确定所述手指的位置,包括:Optionally, determining the location of the finger includes:
确定手指的方向线和手指线。Determine the direction line and finger line of your finger.
可选的,所述手指的位置,包括:Optionally, the position of the finger includes:
所述手指的指尖的位置、所述手指根部的位置、手指的中心点。The position of the fingertip of the finger, the position of the root of the finger, and the center point of the finger.
可选的,确定所述手指的指尖的位置,包括:Optionally, determining the position of the fingertip of the finger includes:
所述手指与所述掌心位置距离最远的肤色点。The point of skin color that is the farthest from the position of the palm of the palm.
可选的,确定所述手指根部的位置,包括:Optionally, determining the position of the root of the finger includes:
以掌心为中心从小到大画同心圆,肤色角小于五度的部分为所述手指根部。Focusing on the center of the palm from small to large, the part of the skin color is less than five degrees is the root of the finger.
可选的,确定所述手指的中心点,采用如下方式确定:Optionally, determining the center point of the finger is determined as follows:
以所述掌心为中心画同心圆,外接同心圆和内接同心圆在所述手指方向上同肤色交点的中心位置。A concentric circle is drawn centering on the palm, and a concentric circle and an inscribed concentric circle are centrally located at the intersection of the skin color in the direction of the finger.
可选的,确定所述手掌中的手腕位置,包括:Optionally, determining the position of the wrist in the palm, including:
以掌心为中心画同心圆,当同心圆同所述手掌的肤色夹角大于10度,同时小于40度,同心圆同所述手掌该部分接触的区域是所述手掌中的手腕,所述手腕的方向是从所述手掌中心指向相交弧的中点的方向。Drawing a concentric circle centering on the palm of the hand, when the angle of the concentric circle with the skin color of the palm is greater than 10 degrees and less than 40 degrees, the area where the concentric circle contacts the part of the palm is the wrist in the palm, the wrist The direction is from the center of the palm to the direction of the midpoint of the intersecting arc.
可选的,所述手掌中的手腕位置,包括:Optionally, the position of the wrist in the palm includes:
所述手腕的中心点。The center point of the wrist.
可选的,确定所述手腕的中心点,采用如下方法: Optionally, determining the center point of the wrist is as follows:
以所述掌心为中心画同心圆,外接同心圆和内接同心圆在手腕方向上同肤色交点的中心位置。The concentric circles are drawn around the palm, and the concentric circles and the inner concentric circles are in the center of the intersection of the skin color in the direction of the wrist.
可选的,所述叠加单元中的所述手掌图像上与该手掌装饰物相匹配的位置,包括:Optionally, a position on the palm image in the superimposing unit that matches the palm decoration includes:
所述手掌的手指的中心点或手腕的中心点或手指的指甲的中心点。The center point of the finger of the palm or the center point of the wrist or the center point of the nail of the finger.
可选的,所述叠加单元中的预定的手掌装饰物的虚拟图像,包括:Optionally, the virtual image of the predetermined palm decoration in the superimposing unit includes:
从网络中获得。Obtained from the network.
可选的,所述装置,还包括:Optionally, the device further includes:
判断是否匹配子单元,用于在叠加单元工作之前,判断所述预定的手掌装饰物的虚拟图像的尺寸与所述手掌图像上与该手掌装饰物相匹配的位置是否相符;若是,则进入根据所述手掌特征位置,将预定的手掌装饰物的虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位置上,获得所述手掌装饰虚拟图像的步骤;若否,则重新获得手掌装饰物的虚拟图像。Determining whether the subunit is matched, for determining whether the size of the virtual image of the predetermined palm decoration matches the position of the palm image matching the palm decoration before the superimposing unit works; if yes, entering the basis Positioning the palm feature, superimposing a virtual image of the predetermined palm ornament on the palm image at a position matching the palm ornament, obtaining the step of decorating the virtual image of the palm; if not, regaining the palm A virtual image of the ornament.
可选的,所述装置,还包括:Optionally, the device further includes:
存储单元,用于在叠加单元工作之后将所述手掌装饰虚拟图像进行存储。And a storage unit, configured to store the palm decoration virtual image after the superimposing unit works.
本发明虽然以较佳实施例公开如上,但其并不是用来限定本发明,任何本领域技术人员在不脱离本发明的精神和范围内,都可以做出可能的变动和修改,因此本发明的保护范围应当以本发明权利要求所界定的范围为准。 The present invention is disclosed in the above preferred embodiments, but it is not intended to limit the present invention, and any one skilled in the art can make possible variations and modifications without departing from the spirit and scope of the invention. The scope of protection should be determined by the scope defined by the claims of the present invention.

Claims (22)

  1. 一种采用增强现实技术提供手掌装饰虚拟图像的实现方法,其特征在于,包括:An implementation method for providing a palm-customized virtual image by using augmented reality technology, comprising:
    获取手掌图像;Get the palm image;
    根据所述手掌图像确定该图像中手掌的手掌特征位置;Determining a palm feature position of the palm in the image according to the palm image;
    根据所述手掌特征位置,将预定的手掌装饰物的虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位置上,获得所述手掌装饰虚拟图像;And superimposing a virtual image of the predetermined palm decoration on the palm image at a position matching the palm decoration according to the palm feature position to obtain the palm decoration virtual image;
    通过显示设备将所述手掌装饰虚拟图像显示出来。The palm decorative virtual image is displayed by a display device.
  2. 根据权利要求1所述的采用增强现实技术提供手掌装饰虚拟图像的实现方法,其特征在于,在所述获取手掌图像的步骤之前,包括:The method for providing a palm-decorated virtual image by using an augmented reality technology according to claim 1, wherein before the step of acquiring a palm image, the method comprises:
    获取图像;Get an image;
    判断所述图像中是否有手掌;若是,将所述图像中的手掌图像从图像中分离出来;若否,返回获取图像的步骤。Determining whether there is a palm in the image; if so, separating the palm image in the image from the image; if not, returning to the step of acquiring the image.
  3. 根据权利要求2所述的采用增强现实技术提供手掌装饰虚拟图像的实现方法,其特征在于,所述获取图像,包括:The method of claim 2, wherein the acquiring an image comprises:
    通过移动终端的摄像头采集获取。The acquisition is acquired by the camera of the mobile terminal.
  4. 根据权利要求2所述的采用增强现实技术提供手掌装饰虚拟图像的实现方法,其特征在于,所述判断所述图像中是否有手掌,采用如下方法实现:The method for implementing a palm-decorated virtual image by using an augmented reality technology according to claim 2, wherein the determining whether there is a palm in the image is implemented by the following method:
    通过采用机器学习方法训练获得的分类器对所述图像是否有手掌进行判断。The classifier obtained by training using the machine learning method judges whether or not the image has a palm.
  5. 根据权利要求4所述的采用增强现实技术提供手掌装饰虚拟图像的实现方法,其特征在于,所述机器学习方法,包括以下方法的至少一种:The method for implementing a palm-decorated virtual image using an augmented reality technology according to claim 4, wherein the machine learning method comprises at least one of the following methods:
    Hog-svm学习、Haaris角点学习、Haar LBP级联分类器学习以及神经网络学习。Hog-svm learning, Haaris corner learning, Haar LBP cascade classifier learning, and neural network learning.
  6. 根据权利要求2所述的采用增强现实技术提供手掌装饰虚拟图像的实现方法,所述将所述图像中的手掌图像从图像中分离出来的方法,包括以下方法的至少一种:The method for providing a palm-decorated virtual image by using an augmented reality technology according to claim 2, wherein the method for separating a palm image in the image from the image comprises at least one of the following methods:
    最大类间方差法、肤色检测法。Maximum inter-class variance method, skin color detection method.
  7. 根据权利要求1所述的采用增强现实技术提供手掌装饰虚拟图像的实现方法,其特征在于,所述手掌的特征位置,包括:The method for providing a palm-customized virtual image by using an augmented reality technology according to claim 1, wherein the feature position of the palm comprises:
    所述手掌的掌心位置,所述手掌中的手腕位置和手指位置。The palm position of the palm, the wrist position and the finger position in the palm.
  8. 根据权利要求7所述的采用增强现实技术提供手掌装饰虚拟图像的实现方法,其特征在于,确定所述手掌的掌心位置,包括:The method for providing a palm-decorated virtual image by using an augmented reality technology according to claim 7, wherein determining the palm position of the palm comprises:
    采用几何重心的方法或采用手指角点特征点的方法。 A method using a geometric center of gravity or a method of using a corner point of a finger.
  9. 根据权利要求7所述的采用增强现实技术提供手掌装饰虚拟图像的实现方法,其特征在于,所述手指的位置,包括:The method for providing a palm-decorated virtual image by using an augmented reality technology according to claim 7, wherein the position of the finger comprises:
    所述手掌中五个手指的位置。The position of the five fingers in the palm.
  10. 根据权利要求9所述的采用增强现实技术提供手掌装饰虚拟图像的实现方法,其特征在于,确定所述手指的位置,包括:The method for providing a palm-decorated virtual image by using an augmented reality technology according to claim 9, wherein determining the position of the finger comprises:
    确定手指的方向线和手指线。Determine the direction line and finger line of your finger.
  11. 根据权利要求7所述的采用增强现实技术提供手掌装饰虚拟图像的实现方法,其特征在于,所述手指的位置,包括:The method for providing a palm-decorated virtual image by using an augmented reality technology according to claim 7, wherein the position of the finger comprises:
    所述手指的指尖的位置、所述手指根部的位置、手指的中心点。The position of the fingertip of the finger, the position of the root of the finger, and the center point of the finger.
  12. 根据权利要求11所述的采用增强现实技术提供手掌装饰虚拟图像的实现方法,其特征在于,确定所述手指的指尖的位置,包括:The method for providing a palm-decorated virtual image by using an augmented reality technology according to claim 11, wherein determining the position of the fingertip of the finger comprises:
    所述手指与所述掌心位置距离最远的肤色点。The point of skin color that is the farthest from the position of the palm of the palm.
  13. 根据权利要求11所述的采用增强现实技术提供手掌装饰虚拟图像的实现方法,其特征在于,确定所述手指根部的位置,包括:The method for providing a palm-decorated virtual image by using an augmented reality technology according to claim 11, wherein determining the position of the finger root comprises:
    以掌心为中心从小到大画同心圆,肤色角小于五度的部分为所述手指根部。Focusing on the center of the palm from small to large, the part of the skin color is less than five degrees is the root of the finger.
  14. 根据权利要求11所述的采用增强现实技术提供手掌装饰虚拟图像的实现方法,其特征在于,确定所述手指的中心点,采用如下方式确定:The method for implementing a palm-decorated virtual image by using an augmented reality technology according to claim 11, wherein determining a center point of the finger is determined as follows:
    以所述掌心为中心画同心圆,外接同心圆和内接同心圆在所述手指方向上同肤色交点的中心位置。A concentric circle is drawn centering on the palm, and a concentric circle and an inscribed concentric circle are centrally located at the intersection of the skin color in the direction of the finger.
  15. 根据权利要求7所述的采用增强现实技术提供手掌装饰虚拟图像的实现方法,其特征在于,确定所述手掌中的手腕位置,包括:The method for providing a palm-decorated virtual image by using an augmented reality technology according to claim 7, wherein determining the position of the wrist in the palm comprises:
    以掌心为中心画同心圆,当同心圆同所述手掌的肤色夹角大于10度,同时小于40度,同心圆同所述手掌的该部分接触的区域是所述手掌中的手腕,所述手腕的方向是从所述手掌中心指向相交弧的中点的方向。Drawing a concentric circle centered on the palm of the hand, when the angle of the concentric circle with the skin color of the palm is greater than 10 degrees and less than 40 degrees, the area where the concentric circle contacts the portion of the palm is the wrist in the palm, The direction of the wrist is the direction from the center of the palm to the midpoint of the intersecting arc.
  16. 根据权利要求7所述的采用增强现实技术提供手掌装饰虚拟图像的实现方法,其特征在于,所述手掌中的手腕位置,包括:The method for providing a palm-decorated virtual image by using an augmented reality technology according to claim 7, wherein the position of the wrist in the palm comprises:
    所述手腕的中心点。The center point of the wrist.
  17. 根据权利要求16所述的采用增强现实技术提供手掌装饰虚拟图像的实现方法,其特征在于,确定所述手腕的中心点,采用如下方法:The method for implementing a palm-decorated virtual image by using an augmented reality technology according to claim 16, wherein the center point of the wrist is determined by adopting the following method:
    以所述掌心为中心画同心圆,外接同心圆和内接同心圆在手腕方向上同肤色交点的 中心位置。Draw a concentric circle centered on the palm, and connect the concentric circles and the inner concentric circles in the direction of the wrist to intersect with the skin color. Central location.
  18. 根据权利要求1所述的采用增强现实技术提供手掌装饰虚拟图像的实现方法,其特征在于,所述手掌图像上与该手掌装饰物相匹配的位置,包括:The method for providing a palm-customized virtual image by using an augmented reality technology according to claim 1, wherein the position of the palm image matching the palm decoration comprises:
    所述手掌的手指的中心点或手腕的中心点或手指的指甲的中心点。The center point of the finger of the palm or the center point of the wrist or the center point of the nail of the finger.
  19. 根据权利要求1所述的采用增强现实技术提供手掌装饰虚拟图像的实现方法,其特征在于,所述预定的手掌装饰物的虚拟图像,包括:The method for providing a palm-decorated virtual image by using an augmented reality technology according to claim 1, wherein the predetermined virtual image of the palm decoration comprises:
    从网络中获得。Obtained from the network.
  20. 根据权利要求1所述的采用增强现实技术提供手掌装饰虚拟图像的实现方法,其特征在于,在所述根据所述手掌特征位置,将预定的手掌装饰物的虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位置上,获得所述手掌装饰虚拟图像的步骤之前,还包括:The method for providing a palm-decorated virtual image by using augmented reality technology according to claim 1, wherein the virtual image of the predetermined palm decoration is superimposed on the palm image according to the palm feature position Before the step of obtaining the virtual image of the palm decoration in the position matching the palm ornament, the method further includes:
    判断所述预定的手掌装饰物的虚拟图像的尺寸与所述手掌图像上与该手掌装饰物相匹配的位置是否相符;若是,则进入根据所述手掌特征位置,将预定的手掌装饰物的虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位置上,获得所述手掌装饰虚拟图像的步骤;若否,则重新获得手掌装饰物的虚拟图像。Determining whether a size of the virtual image of the predetermined palm ornament matches a position on the palm image that matches the palm ornament; if so, entering a virtual palm predetermined object according to the palm feature position The image is superimposed on the palm image at a position matching the palm ornament, and the step of decorating the virtual image of the palm is obtained; if not, the virtual image of the palm ornament is regained.
  21. 根据权利要求1所述的采用增强现实技术提供手掌装饰虚拟图像的实现方法,其特征在于,在所述根据所述手掌特征位置,将预定的手掌装饰物的虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位置上,获得所述手掌装饰虚拟图像的步骤之后,还包括:The method for providing a palm-decorated virtual image by using augmented reality technology according to claim 1, wherein the virtual image of the predetermined palm decoration is superimposed on the palm image according to the palm feature position After the step of obtaining the virtual image of the palm decoration in the position matching the palm decoration, the method further includes:
    将所述手掌装饰虚拟图像进行存储。The palm decorative virtual image is stored.
  22. 一种采用增强现实技术提供手掌装饰虚拟图像的实现装置,其特征在于,包括:An implementation device for providing a virtual image of a palm decoration by using an augmented reality technology, comprising:
    获取单元,用于获取手掌图像;An acquisition unit for acquiring a palm image;
    确定单元,用于根据获取单元获取的所述手掌图像确定该图像中手掌的手掌特征位置;a determining unit, configured to determine, according to the palm image acquired by the acquiring unit, a palm feature position of the palm in the image;
    叠加单元,用于根据确定单元所确定的所述手掌特征位置,将预定的手掌装饰物的虚拟图像叠加到所述手掌图像上与该手掌装饰物相匹配的位置上,获得所述手掌装饰虚拟图像;a superimposing unit, configured to superimpose a virtual image of the predetermined palm decoration on a position of the palm image matching the palm decoration according to the palm feature position determined by the determining unit, to obtain the palm decoration virtual image;
    显示单元,用于通过显示设备将通过叠加单元获得的所述手掌装饰虚拟图像显示出来。 And a display unit, configured to display, by the display device, the palm decoration virtual image obtained by the superimposing unit.
PCT/CN2017/102044 2016-09-30 2017-09-18 Implementation method and apparatus for providing palm decoration virtual image using augmented reality technology WO2018059258A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610872093.6A CN107886387A (en) 2016-09-30 2016-09-30 The implementation method and its device of palm decoration virtual image are provided using augmented reality
CN201610872093.6 2016-09-30

Publications (1)

Publication Number Publication Date
WO2018059258A1 true WO2018059258A1 (en) 2018-04-05

Family

ID=61763694

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/102044 WO2018059258A1 (en) 2016-09-30 2017-09-18 Implementation method and apparatus for providing palm decoration virtual image using augmented reality technology

Country Status (2)

Country Link
CN (1) CN107886387A (en)
WO (1) WO2018059258A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3764307A1 (en) * 2019-07-08 2021-01-13 Richemont International S.A. Closed loop object fitting to user member

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110072046B (en) * 2018-08-24 2020-07-31 北京微播视界科技有限公司 Image synthesis method and device
CN109799905B (en) * 2018-12-28 2022-05-17 深圳云天励飞技术有限公司 Hand tracking method and advertising machine

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105334963A (en) * 2015-10-29 2016-02-17 广州华多网络科技有限公司 Method and system for displaying virtual article

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102298746A (en) * 2010-06-25 2011-12-28 上海九钻电子商务有限公司 Realizing method of on-line finger ring trying-on system based on image processing technique and graphic technique
CN102402680B (en) * 2010-09-13 2014-07-30 株式会社理光 Hand and indication point positioning method and gesture confirming method in man-machine interactive system
CN102270348B (en) * 2011-08-23 2013-08-07 中国科学院自动化研究所 Method for tracking deformable hand gesture based on video streaming
CN104102347A (en) * 2014-07-09 2014-10-15 东莞万士达液晶显示器有限公司 Fingertip positioning method and fingertip positioning terminal
CN105046199A (en) * 2015-06-17 2015-11-11 吉林纪元时空动漫游戏科技股份有限公司 Finger tip point extraction method based on pixel classifier and ellipse fitting

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105334963A (en) * 2015-10-29 2016-02-17 广州华多网络科技有限公司 Method and system for displaying virtual article

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3764307A1 (en) * 2019-07-08 2021-01-13 Richemont International S.A. Closed loop object fitting to user member
EP3764305A1 (en) * 2019-07-08 2021-01-13 Richemont International SA Closed loop object fitting to user member

Also Published As

Publication number Publication date
CN107886387A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
US10109051B1 (en) Item recommendation based on feature match
EP3479296B1 (en) System of virtual dressing utilizing image processing, machine learning, and computer vision
US11450075B2 (en) Virtually trying cloths on realistic body model of user
US10924676B2 (en) Real-time visual effects for a live camera view
US20180278879A1 (en) System and method for digital makeup mirror
US20190082211A1 (en) Producing realistic body movement using body Images
US10423824B2 (en) Body information analysis apparatus and method of analyzing hand skin using same
WO2018076622A1 (en) Image processing method and device, and terminal
Wu et al. Robust fingertip detection in a complex environment
JP2015222591A (en) Human-computer interaction system, method for point positioning hand and hand instruction, and finger gesture determination method
US20220044311A1 (en) Method for enhancing a user's image while e-commerce shopping for the purpose of enhancing the item that is for sale
US20200065559A1 (en) Generating a video using a video and user image or video
US20190045270A1 (en) Intelligent Chatting on Digital Communication Network
WO2018059258A1 (en) Implementation method and apparatus for providing palm decoration virtual image using augmented reality technology
US10984610B2 (en) Method for influencing virtual objects of augmented reality
US10976829B1 (en) Systems and methods for displaying augmented-reality objects
CN116452745A (en) Hand modeling, hand model processing method, device and medium
WO2017141223A1 (en) Generating a video using a video and user image or video
Zia et al. Face and eye detection in images using skin color segmentation and circular Hough transform
KR101861096B1 (en) Method and apparatus for controlling information displayed on screen by recognizing hand gesture of user
JP4972013B2 (en) Information presenting apparatus, information presenting method, information presenting program, and recording medium recording the program
US10496873B2 (en) Body information analysis apparatus and method of detecting face shape by using same
Xie et al. Hand posture recognition using kinect
TW202122040A (en) Method for analyzing and estimating face muscle status
JP6762544B2 (en) Image processing equipment, image processing method, and image processing program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17854708

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17854708

Country of ref document: EP

Kind code of ref document: A1