IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD, IMAGE PROCESSING PROGRAM, REGION SPECIFICATION MODEL, AND MODEL GENERATION METHOD

The image processing device uses a region identification model to precisely specify and process face image areas, addressing accuracy issues in existing technologies and producing high-quality, aesthetically enhanced images.

JP7575657B2Active Publication Date: 2024-10-30FURYU KK
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2020115160
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-07-02
Publication Date
2024-10-30
Estimated Expiration
2040-07-02

AI Technical Summary

Technical Problem

Existing image processing technologies struggle to accurately specify and process specific areas in face images, leading to potential errors in image processing.

Method used

An image processing device and method that utilize a region identification model to determine the relationship between pixels in multiple predetermined areas of a face image, allowing for precise specification and processing of these areas, including semantic segmentation to enhance accuracy.

Benefits of technology

Enables the creation of highly complete and accurate images by accurately processing overlapping areas, ensuring natural and aesthetically pleasing results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007575657000001
    Figure 0007575657000001
  • Figure 0007575657000002
    Figure 0007575657000002
  • Figure 0007575657000003
    Figure 0007575657000003
Patent Text Reader

Abstract

To provide an image with a high degree of perfection for a specific region where users overlap.SOLUTION: An image processing apparatus comprises: a reception unit (303) which receives image data; a specification unit (305) which specifies a plurality of pixels of prescribed regions from new image data including the face received by the reception unit by using a region specification model for specifying the plurality of pixels of prescribed regions from the new image data when a relation between the image data including the face and each of the plurality of pixels of prescribed regions where at least a portion of the image data overlaps has been learned and the new image data including the face is input; and an image processing unit (306) which performs processing on the plurality of regions specified from the image data in predetermined methods.SELECTED DRAWING: Figure 10
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an image processing device, an image processing method, and an image processing program for processing a specific part of a face appearing in a captured image, and to an area specifying model and a model generating method used in such image processing. [Background technology]

[0002] Conventionally, there is known a photo sticker creation device that performs a predetermined image processing on a captured image and provides the image to a user. Specifically, there is a device that generates multiple mask images with different shapes for a predetermined part and specifies the part as a target for image processing (for example, see Patent Document 1).

[0003] Patent document 1 describes, for example, recognizing an area of ​​a specific color in the lower area of ​​a face image as lips, generating a mask image corresponding to the recognized lip area, and generating a lip image. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2020-53831 A Summary of the Invention [Problem to be solved by the invention]

[0005] In Patent Document 1, there is a risk that the desired region cannot be accurately specified. In such a case, there is a risk that the image processing for the target region cannot be performed correctly.

[0006] The present invention aims to solve the above problems and provide an image processing device, an image processing method, and an image processing program that identify a specific area of ​​a user to be processed and perform image processing that is preferable for the user, as well as an area identification model and a model generation method for use in this image processing. [Means for solving the problem]

[0007] A first aspect of an image processing device according to the present invention includes a reception unit that receives image data, an identification unit that has learned the relationship between image data including a face and each of the pixels of a plurality of predetermined areas where at least a portion of the image data overlaps, and that, when new image data including a face is input, identifies pixels of the plurality of predetermined areas from the new image data including a face received by the reception unit using an area identification model that identifies pixels of the plurality of predetermined areas from the new image data, and an image processing unit that processes each of the plurality of areas identified from the image data in a predetermined manner.

[0008] This makes it possible to provide a highly complete image even for a specific area where there is overlap between users to be processed.

[0009] The depth relationship in the image data for the multiple regions may be determined in advance, and the image processing unit may overlay image data processed for the region located on the foreground side on image data processed for the region located on the background side.

[0010] This allows image data of a specific region to be overlaid with high accuracy to provide a highly complete image.

[0011] The identification unit may identify each of the plurality of regions by using semantic segmentation.

[0012] This makes it easier to identify the area, and provides a highly complete image.

[0013] A first aspect of the image processing method of the present invention includes a receiving step of receiving image data, a specification step of specifying pixels of the multiple regions from the accepted new image data including the face using a region specification model that has already learned the relationship between the image data including a face and each of the pixels of multiple predetermined regions with which at least a portion of the image data overlaps, and that specifies the pixels of the multiple predetermined regions from the new image data when new image data including a face is input, and a processing step of processing each of the multiple regions specified from the image data in the specification step in a predetermined manner.

[0014] This makes it possible to provide a highly complete image even for a specific area where there is overlap between users to be processed.

[0015] A first aspect of the image processing program of the present invention causes a computer to function as: a reception unit that receives image data; an identification unit that has learned the relationship between image data including a face and each of the pixels of a plurality of specified areas where at least a portion of the image data overlaps; and, when new image data including a face is input, uses an area identification model to identify pixels of the plurality of specified areas from the new image data including the face received by the reception unit; and an image processing unit that processes each of the plurality of areas identified from the image data in a predetermined manner.

[0016] This makes it possible to provide a highly complete image even for a specific area where there is overlap between users to be processed.

[0017] A first aspect of the area identification model of the present invention has already learned the relationship between image data including a face and each of multiple pixels in a plurality of predetermined areas with which the image data at least partially overlaps, and when new image data including a face is input, the model identifies pixels in the multiple areas with which the image data at least partially overlaps from the new image data.

[0018] This makes it possible to provide a highly complete image even for a specific area where there is overlap between users to be processed.

[0019] A first aspect of a model generation method according to the present invention includes a receiving step of receiving image data including multiple sets of faces and multiple data identifying pixels in specified areas where at least a portion of the image data overlaps, and a learning step of learning the relationship between each image data and each of the pixels in the multiple specified areas of the image data, and when image data including new faces is input, a region identification model is generated from the new image data that identifies pixels in the multiple areas where at least a portion of the image data overlaps.

[0020] This makes it possible to provide a highly complete image even for a specific area where there is overlap between users to be processed. Effect of the Invention

[0021] According to the present invention, it is possible to provide a highly complete image even for a specific area where there is an overlap of users to be processed. [Brief description of the drawings]

[0022] [Figure 1] 1 is a perspective view of a photo sticker creating device according to an embodiment of the present invention; [Diagram 2] FIG. [Diagram 3] FIG. 13 is a diagram for explaining the spatial movement of a user during a photo sticker creation game. [Figure 4] FIG. 2 is a front view of the pre-selection unit. [Diagram 5] FIG. [Figure 6] FIG. 2 is a front view of the background portion from the shooting space side. [Figure 7] FIG. 2 is a front view of the editing unit from the editing space side. [Figure 8] FIG. 2 is a left side view of the editing unit. [Figure 9] 2 is a block diagram showing an internal configuration of the photo sticker creating device; [Figure 10] FIG. 2 is a block diagram showing functional blocks of the photo sticker creating device. [Figure 11] 11 is an example showing an area specified from image data in the photo sticker creating device. [Figure 12] 13 is an example of an image of an eye in which an area is specified in the photo sticker creation device. [Figure 13] 4 is a flowchart showing a series of operations relating to a photo sticker creating game by the photo sticker creating device. [Figure 14] 13 is a flowchart showing details of a synthesis process. [Figure 15] 13 is an example of an editing screen used in the editing process. [Figure 16] FIG. 1 is a schematic diagram illustrating the generation of a region specific model. [Figure 17] 1 is an example of input and output of a domain specific model. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0023] Hereinafter, specific embodiments of the present invention will be described with reference to the accompanying drawings. Components having the same functions are given the same reference numerals, and their description will be omitted as appropriate. Furthermore, the shapes of the components shown in each drawing, as well as the dimensions such as length, depth, and width, do not reflect the actual shapes and dimensions, but have been appropriately changed for the sake of clarity and simplification of the drawings.

[0024] The image processing device according to the present invention will be described as an example of a photo sticker creation device. The photo sticker creation device to which the present invention is applied is a game device that allows a user to take and edit images as a game, and provides the taken and edited images to the user as photo stickers or data. The photo sticker creation device 1 is installed, for example, in game centers, shopping malls, and stores in tourist spots.

[0025] In a game provided by the photo sticker creation device, a user takes a picture of himself or herself using a camera provided in the photo sticker creation device. The user edits the captured image by compositing a foreground image and / or background image, or by using an editing function (graffiti editing function) such as inputting a pen image or stamp image as an image to be composited for editing, to design the captured image into a colorful one. After the game ends, the user receives a photo sticker or the like with the edited image printed on it as a finished product. Alternatively, the photo sticker creation device can provide the edited image to the user's mobile terminal, and the user can receive the finished product via the mobile terminal.

[0026] (Configuration of the photo sticker creation device) 1 and 2 are perspective views showing an example of the external configuration of the photo sticker creating device 1. The photo sticker creating device 1 is a game machine that provides captured images and edited images. The photo sticker creating device 1 provides images to users by printing the images on sticker paper or transmitting the images to a server so that the images can be viewed on the user's mobile terminal. Users of the photo sticker creating device 1 are mainly young women such as female junior high school students and female high school students. In the photo sticker creating device 1, multiple users, mainly two or three people per group, can enjoy the game. Of course, in the photo sticker creating device 1, one user can also enjoy the game.

[0027] In the photo sticker creation device 1, the user takes a photo of himself / herself as the subject. The user then performs an editing operation to composite an image, such as handwritten characters or a stamp image, with an image selected from the photographed images. This edits the photographed image into a gorgeous image. The user receives a sticker paper on which the edited image, which is the edited image, is printed, and the series of games is completed.

[0028] As shown in FIG. 1, the photo sticker creating device 1 is basically configured by installing a photographing unit 11 and an editing unit 12 in a state where they are in contact with each other.

[0029] The photographing unit 11 is composed of a pre-selection operation section 20, a photography operation section 21, and a background section 22. The pre-selection operation section 20 is installed on the side of the photography operation section 21. The space in front of the pre-selection operation section 20 becomes a pre-selection space where pre-selection processing is performed. In addition, the photography operation section 21 and the background section 22 are installed a predetermined distance apart. The space formed between the photography operation section 21 and the background section 22 becomes a photography space where photography processing is performed.

[0030] As a pre-selection process, the pre-selection operation unit 20 performs guidance to introduce the game provided by the photo sticker creating device 1 and processes to allow the user to select various settings for the photographing process performed in the photographing space. The pre-selection operation unit 20 is provided with a coin slot through which the user inserts money, a touch panel monitor used for various operations, and the like. The pre-selection operation unit 20 appropriately guides the user in the pre-selected space to the photographing space according to the availability of the photographing space.

[0031] The photographing operation unit 21 is a device for photographing a user as a subject. The photographing operation unit 21 is located in front of the user who has entered the photographing space. A camera, a touch panel monitor used for various operations, and the like are provided on the front side of the photographing operation unit 21 facing the photographing space. If the left side and the right side as viewed from a user facing forward in the photographing space are called the left side and the right side, respectively, the left side of the photographing operation unit 21 is constituted by the side panel 41A, and the right side is constituted by the side panel 41B. Furthermore, the front side of the photographing operation unit 21 is constituted by the front panel 42. The above-mentioned pre-selection operation unit 20 is to be installed on the side panel 41A. The pre-selection operation unit 20 may be installed on the side panel 41B, or may be installed on both the side panels 41A and 41B.

[0032] Background section 22 is composed of rear panel 51, side panel 52A, and side panel 52B. Rear panel 51 is a plate-like member located behind a user facing forward. Side panel 52A is attached to the left end of rear panel 51 and is a plate-like member narrower in width than side panel 41A. Side panel 52B is attached to the right end of rear panel 51 and is a plate-like member narrower in width than side panel 41B.

[0033] The side panels 41A and 52A are provided on approximately the same plane. The upper parts of the side panels 41A and 52A are connected by a connecting portion 23A, which is a plate-shaped member. The lower parts of the side panels 41A and 52A are connected by a connecting portion 23A', which is, for example, a metal member provided on the floor surface. The side panels 41B and 52B are similarly provided on approximately the same plane. The upper parts of the side panels 41B and 52B are connected by a connecting portion 23B. The lower parts of the side panels 41B and 52B are connected by a connecting portion 23B'.

[0034] For example, a green chromakey sheet is attached to the surface of the rear panel 51 facing the shooting space. The photo sticker creation device 1 performs chromakey compositing in the shooting process and editing process by taking a photo with the chromakey sheet as the background. As a result, the background image desired by the user is composited onto the sheet portion.

[0035] An opening formed by being surrounded by side panel 41A, connecting portion 23A, and side panel 52A serves as an entrance to the photography space. In addition, an opening formed by being surrounded by side panel 41B, connecting portion 23B, and side panel 52B also serves as an entrance to the photography space.

[0036] Above the shooting space, a ceiling is formed, surrounded by the front of the shooting operation unit 21, the connecting portion 23A, and the connecting portion 23B. A ceiling strobe unit 24 is provided in a part of the ceiling. One end of the ceiling strobe unit 24 is fixed to the connecting portion 23A, and the other end is fixed to the connecting portion 23B. The ceiling strobe unit 24 has a built-in strobe that irradiates light into the shooting space in accordance with shooting. In addition to the strobe, a fluorescent lamp is provided inside the ceiling strobe unit 24. As a result, the ceiling strobe unit 24 also functions as lighting for the shooting space.

[0037] The editing unit 12 is a device for editing a photographed image. The editing unit 12 is connected to the photographing unit 11 with one side surface thereof being in contact with the front panel 42 of the photographing operation section 21.

[0038] 1 is the configuration on the front side of the editing unit 12, components used for editing work are provided on both the front side and the rear side of the editing unit 12. With this configuration, two groups of users can perform editing work simultaneously.

[0039] The front side of the editing unit 12 is composed of a surface 61 and an inclined surface 62 formed above the surface 61. The surface 61 is perpendicular to the floor surface and is substantially parallel to the side panel 41A of the shooting operation section 21. A tablet built-in monitor and a touch pen are provided on the inclined surface 62 as components used for editing work. A columnar support section 63A that supports one end of the lighting device 64 is provided on the left side of the inclined surface 62. A columnar support section 63B that supports the other end of the lighting device 64 is provided on the right side of the inclined surface 62. A support section 65 that supports the curtain rail 26 is provided on the upper surface of the support section 63A.

[0040] A curtain rail 26 is attached above the editing unit 12. The curtain rail 26 is configured by combining three rails 26A, 26B, and 26C. The three rails 26A, 26B, and 26C are combined so that they form a U-shape when viewed from above. One ends of rails 26A and 26B, which are provided in parallel, are fixed to connecting portions 23A and 23B, respectively, and the other ends of rails 26A and 26B are joined to both ends of rail 26C, respectively.

[0041] A curtain is attached to the curtain rail 26 so that the space in front of the front and the space in front of the rear of the editing unit 12 cannot be seen from the outside. The space in front of the front and the space behind the rear of the editing unit 12 surrounded by the curtain become the editing space where the user performs editing work.

[0042] As will be described later, an outlet through which printed sticker paper is discharged is provided on the left side of the editing unit 12. The space in front of the left side of the editing unit 12 becomes a print waiting space where the user waits for the printed sticker paper to be discharged.

[0043] (Movement of users) Here, the flow of the image creation game and the accompanying movement of the user will be described. Figure 3 is a diagram for explaining the spatial movement of the user during the photo sticker creation game.

[0044] First, the user inserts coins into the coin slot in the pre-selection space A0, which is the space in front of the pre-selection operation unit 20. Next, the user performs various settings according to the screen displayed on the touch panel monitor. For example, the user performs a pre-selection task such as selecting a course for photography to be performed in the photography space.

[0045] After completing the pre-selection work, as indicated by the outlined arrow #1, the user enters the photographing space A1 formed between the photographing operation unit 21 and the background unit 22 from the doorway G1 between the side panel 41A and the side panel 52A. The user then performs photographing work using the camera, touch panel monitor, etc. provided in the photographing operation unit 21.

[0046] After completing the photo shoot, the user exits the photo shoot space A1 through the entrance G1 as shown by the white arrow #2 and moves to the editing space A2-1, or exits the photo shoot space A1 through the entrance G2 as shown by the white arrow #3 and moves to the editing space A2-2.

[0047] Editing space A2-1 is an editing space on the front side of the editing unit 12. On the other hand, editing space A2-2 is an editing space on the rear side of the editing unit 12. The user is guided to either editing space A2-1 or editing space A2-2 to move to by a screen display on the touch panel monitor of the shooting operation unit 21, for example. For example, the user is guided to the one of the two editing spaces that is vacant as the destination. The user who moves to editing space A2-1 or editing space A2-2 starts editing work. The user of editing space A2-1 and the user of editing space A2-2 can perform editing work at the same time.

[0048] After the editing work is completed, printing of the edited image begins. When printing begins, a user who has finished editing work in the editing space A2-1 moves from the editing space A2-1 to the print waiting space A3 as shown by the outlined arrow #4. Also, a user who has finished editing work in the editing space A2-2 moves from the editing space A2-2 to the print waiting space A3 as shown by the outlined arrow #5.

[0049] The user moves to the print waiting area A3 and waits for the image printing to finish. When the printing is finished, the user receives the sticker paper that was discharged from the discharge port provided on the right side of the editing unit 12, and the series of image creation games is completed.

[0050] (Configuration of pre-selection section) Next, the configuration of each device will be described.

[0051] A touch panel monitor 71 is provided above the pre-selection operation unit 20. The touch panel monitor 71 is composed of a monitor such as an LCD (Liquid Crystal Display) and a touch panel laminated thereon. The touch panel monitor 71 has a function of displaying various GUIs (Graphical User Interfaces) and accepting selection operations by the user. The touch panel monitor 71 displays a screen used for pre-selection processing for selecting a course for photography, selecting an image to be used as a background in an image to be edited, selecting the layout of an image to be created, selecting at least one of BGM (Back Ground Music), sound and voice to be played during the image creation game, and inputting the user's name.

[0052] The photography courses include a two-person course for two users to take photos together, and a large group course for three or more users to take photos together. In addition, a couple course for couples may be prepared.

[0053] A speaker 72 is provided below the touch panel monitor 71. The speaker 72 outputs voice guidance for the pre-selection process, background music, sound effects, etc. Also, a coin insertion / return slot 73 into which a user inserts coins is provided adjacent to the speaker 72.

[0054] (Configuration of the shooting section) 5 is a front view of the photography operation unit 21 serving as a photography unit. The photography operation unit 21 is configured to be surrounded by a side panel 41A, a side panel 41B, and a front panel .

[0055] A camera unit 81 is provided in the center of the front panel 42. The camera unit 81 is composed of a camera 91 and a touch panel monitor 92 as a display unit.

[0056] The camera 91 is, for example, a single-lens reflex camera, and is attached inside the camera unit 81 so that the lens is exposed. The camera 91 has an imaging element such as a charge coupled device (CCD) image sensor or a complementary metal oxide semiconductor (CMOS) image sensor, and captures a user in the shooting space A1. A moving image (hereinafter also referred to as a live view display image) captured by the camera 91 is displayed in real time on the touch panel monitor 92. A still image captured by the camera 91 at a predetermined timing, such as when shooting is instructed, is saved as a captured image.

[0057] The touch panel monitor 92 is provided below the camera 91. The touch panel monitor 92 is composed of a monitor such as an LCD and a touch panel laminated thereon. The touch panel monitor 92 has a function as a live view monitor that displays moving images captured by the camera 91, and a function that displays various GUIs and accepts selection operations by the user. Specific examples of the selection operations include selection of a shooting course, instructions to start and end shooting (shooting control instructions), selection of eye deformation and color and correction of skin color, selection of an image to be used as a background image in a created image, and selection of BGM (sound / audio) during an image creation game. Moving images (live view images) and still images (taken images) captured by the camera 91 are displayed on the touch panel monitor 92.

[0058] An upper strobe 82 with a curved light-emitting surface facing the user is installed above the camera unit 81. The upper strobe 82 irradiates light onto the face and upper body of the user from above and in front.

[0059] In addition, a foot strobe 85 that irradiates the lower body and feet of the user with light is provided below the camera unit 81. The upper strobe 82 and the foot strobe 85 each include a strobe and a fluorescent lamp.

[0060] 1 and 5, a speaker 93 is provided, for example, near the ceiling of the front panel 42. The speaker 93 outputs voice guidance for the shooting process, background music, sound effects, and the like, in response to audio signals output from the control unit 201.

[0061] (Background composition) FIG. 6 is a front view of the background portion 22 on the side of the photographing space A1.

[0062] An upper rear strobe 101 is installed above the rear panel 51. The upper rear strobe 101 irradiates light to the user from above the rear surface.

[0063] In the drawing, a left rear strobe 102 is installed on the left side of the rear panel 51. The left rear strobe 102 irradiates the user from the right rear side. In the drawing, a right rear strobe 103 is installed on the right side of the rear panel 51. The right rear strobe 103 irradiates the user from the left rear side.

[0064] A chromakey sheet 121 may be attached to the surface on the shooting space A1 side (the front side in the figure) of the rear panel 51. The color of the chromakey sheet 121 is, for example, green.

[0065] Although not shown, a chromakey sheet, similar to the chromakey sheet 121, may be attached to the surface of each of the side panels 52A and 52B facing the shooting space A1.

[0066] (Editing unit composition) FIG. 7 is a front view of the editing unit 12 on the editing space A2-1 side.

[0067] A tablet built-in monitor 131 is provided at approximately the center of the inclined surface 62. A touch pen 132A is provided on the left side of the tablet built-in monitor 131. A touch pen 132B is provided on the right side of the tablet built-in monitor 131. The tablet built-in monitor 131 is configured by providing a tablet so that the display is exposed. The tablet allows operation input using the touch pen 132A or the touch pen 132B. For example, an editing screen used for editing work is displayed on the tablet built-in monitor 131. For example, when two users perform editing work at the same time, the touch pen 132A is used by the user on the left side as viewed from the tablet built-in monitor 131, and the touch pen 132B is used by the user on the right side as viewed from the tablet built-in monitor 131.

[0068] FIG. 8 is a left side view of the editing unit 12. As shown in FIG.

[0069] A sticker paper outlet 161 is provided on the lower left side of the editing unit 12. A printer is provided as an output unit inside the editing unit 12. The printer prints an image of a user of the editing space A2-1 or an image of a user of the editing space A2-2 on sticker paper in a predetermined layout, and the sticker paper is discharged from the sticker paper outlet 161.

[0070] (Internal structure of the photo sticker creation device) Fig. 9 is a block diagram showing an example of the internal configuration of the photo sticker creating device 1. In Fig. 9, the same components as those described above are given the same reference numerals, and duplicated explanations will be omitted as appropriate.

[0071] The control unit 201 is composed of a CPU (Central Processing Unit) and the like. The control unit 201 executes programs stored in a ROM (Read Only Memory) 206 and a storage unit 202, and controls the overall operation of the photo sticker creating device 1. The control unit 201 is connected to the storage unit 202, a communication unit 203, a drive 204, a ROM 206, and a RAM (Random Access Memory) 207. The control unit 201 is also connected to each of the components of the pre-selection operation unit 20, the photography operation unit 21, the background unit 22, the editing operation units 27A and 27B, and the printing operation unit 28.

[0072] The storage unit 202 is a non-volatile storage medium such as a hard disk or a flash memory. The storage unit 202 stores various setting information and the like supplied from the control unit 201. The information stored in the storage unit 202 is read out by the control unit 201 as appropriate.

[0073] The communication unit 203 is an interface for a network such as the Internet. The communication unit 203 communicates with an external device under the control of the control unit 201. The communication unit 203 transmits, for example, a captured image or an edited image selected by a user to a server. The image transmitted from the communication unit 203 is assigned a predetermined storage area in the server and stored therein, and is displayed or downloaded to a mobile terminal that has accessed the server.

[0074] Removable media 205, such as an optical disk or semiconductor memory, is appropriately loaded into the drive 204. Programs and data read from the removable media 205 by the drive 204 are supplied to the control unit 201, and are stored in the storage unit 202 or installed.

[0075] The ROM 206 stores data and programs executed by the control unit 201. The RAM 207 temporarily stores data and programs processed by the control unit 201.

[0076] The pre-selection operation unit 20 realizes a pre-selection process for a user in the pre-selection space A0. The pre-selection operation unit 20 is composed of a touch panel monitor 71, a speaker 72, and a coin processing unit 74.

[0077] The touch panel monitor 71 displays various selection screens and accepts operations on the selection screens under the control of the control unit 201. An input signal representing the content of the user's operation is supplied to the control unit 201, and various settings are made.

[0078] The coin processing unit 74 detects the insertion of coins into the coin insertion / return slot 73. When the coin processing unit 74 detects that a predetermined amount of coins has been inserted, it outputs a start signal to the control unit 201 to instruct the start of a game.

[0079] The photographing operation unit 21 realizes photographing processing for a user in the photographing space A1. The photographing unit 220 is composed of an upper strobe 82, a left strobe 83, a right strobe 84, a foot strobe 85, a camera 91, a touch panel monitor 92, and a speaker 93.

[0080] An upper strobe 82, a left strobe 83, a right strobe 84, and a foot strobe 85 are disposed within the photographing space A1, and emit light in accordance with a lighting control signal supplied from the control unit 201.

[0081] The camera 91 captures images according to shutter control by the control unit 201, and outputs the captured images (image data) obtained by the capture to the control unit 201.

[0082] The editing operation unit 27A realizes editing processing for a user in the editing space A2-1. The editing operation unit 27A is composed of a tablet built-in monitor 131, touch pens 132A and 132B, and a speaker 133. The editing operation unit 27B realizes editing processing for a user in the editing space A2-2, and has the same configuration as the editing operation unit 27A. In the following, when there is no particular need to distinguish between the editing operation units 27A and 27B, they will simply be referred to as the editing operation unit 27.

[0083] The tablet built-in monitor 131 displays an editing screen and accepts operations on the editing screen by the user under the control of the control unit 201. An input signal representing the content of the user's operation is supplied to the control unit 201, and the captured image to be edited is edited.

[0084] The printing operation unit 28 realizes a printing process that provides a sticker sheet with a printed image to a user in the print waiting space A3. The printing operation unit 28 is configured to include a printer 140. A sticker sheet unit 141 is attached to the printer 140.

[0085] The printer 140 prints an edited image on a sticker paper 142 stored in a sticker paper unit 141 based on print data supplied from the control unit 201 , and discharges the sticker paper from a sticker paper outlet 161 .

[0086] (Function block of photo sticker creation device) 10 is a block diagram showing functional blocks of the photo sticker creating device 1. The photo sticker creating device 1 functions as a pre-selection unit 210, a photographing unit 220, an editing unit 230, and a printing unit 240. The control unit 201 also functions as a pre-selection processing unit 301, a photographing processing unit 302, a receiving unit 303, an extraction unit 304, a specification unit 305, an image processing unit 306, a synthesis unit 307, an editing processing unit 308, and a printing processing unit 309 by executing the photo sticker creating program of the present invention.

[0087] The pre-selection unit 210 includes the above-mentioned pre-selection operation unit 20 and a pre-selection processing unit 301. The pre-selection processing unit 301 performs pre-selection processing by controlling the touch panel monitor 71, the speaker 72, and the coin processing unit 74 in the pre-selection operation unit 20. The pre-selection processing unit 301 displays a selection screen for selecting a course related to photography performed in the photography space A1 on the touch panel monitor 71. The pre-selection processing unit 301 also accepts a user's operation input to the touch panel monitor 71. Specifically, the pre-selection processing unit 301 accepts a selection operation input to the selection screen displayed on the touch panel monitor 71, an input of the user's name, and the like. The pre-selection processing unit 301 also controls the output of guidance explaining various selection operations. The pre-selection processing unit 301 displays a screen explaining various selection operations on the touch panel monitor 71, and outputs a sound explaining various selection operations from the speaker 72.

[0088] The photographing section 220 includes the above-mentioned photographing operation section 21 and a photographing processing section 302. The photographing processing section 302 controls the camera 91, the touch panel monitor 92, and the speaker 93 in the photographing operation section 21 to perform photographing processing.

[0089] The photographing processing unit 302 accepts an operation input by a user to the touch panel monitor 92. For example, photographing processing in the photographing space A1 is started when the photographing processing unit 302 accepts a touch operation on the touch panel monitor 92 by a user as an input.

[0090] The photographing processing unit 302 controls the camera 91 to photograph the user as a subject. The photographing includes moving images and still images. The photographing processing unit 302 controls the display of the touch panel monitor 92 to display a moving image captured by the camera 91 on the touch panel monitor 92 in a live view and to display a still image, which is the result of photographing, as a photographed image.

[0091] The photographing processing unit 302 also displays instruction screens on the touch panel monitor 92, which explain the number of photographs to be taken, the user's standing position, sample poses, messages regarding line of sight, photographing timing, etc. Furthermore, the narration voice and background music corresponding to each instruction screen are output from the speaker 93.

[0092] The reception unit 303 receives image data of the user captured by the image capture unit 220 .

[0093] The extraction unit 304 extracts the user's face area from the image data received by the reception unit 303, and also extracts image data of the area to be processed. For example, in the example shown in Fig. 11, face areas F1 and F2 are first extracted. Then, multiple processing areas E11, E12, E21, and E22 are extracted from each of the face areas F1 and F2. These processing areas are areas to be subjected to image processing by the image processing unit 306.

[0094] The identification unit 305 uses the region identification model M, which will be described later with reference to FIG. 17, to output a plurality of data items that identify pixels of a plurality of predetermined regions where at least a portion of the face overlaps, from the image data received by the reception unit 303. Specifically, the identification unit 305 outputs data items that identify pixels of a plurality of predetermined regions, from the image data of each processing region extracted by the extraction unit 304. The plurality of predetermined regions include specific parts, such as eyes and mouths, and at least a portion of the regions overlap. For example, when the region identification model M identifies two predetermined regions, the identification unit 305 outputs first data items related to information on pixels of the first region and second data items related to information on pixels of the second region, from new image data received by the reception unit 303. Here, the "region" is a range identified from an image based on a predetermined criterion. In the example of FIG. 12, the "range identified according to eye features" is described as the first region, and the "range identified according to eyelashes" is described as the second region. Therefore, the identification unit 305 outputs, from the image data of the processing area E11 shown in FIG. 12(a), first data D1 including pixel position information regarding the first area representing the eye parts shown in FIG. 12(b), and second data D2 including pixel position information regarding the second area representing the eyelashes shown in FIG. 12(c).

[0095] 12(b), the first region specified by the first data D1 includes seven regions of eye parts, namely, the double eyelid B01, the pupil B02, the iris B03, the caruncle B04, the white of the eye B05, the mucous membrane B06, and other B07. Therefore, the first data D1 includes pixel position information for each of the parts B01 to B07 that make up this first region.

[0096] Here, the double eyelid B01 is the area from the eyeball to the first crease of the upper eyelid. In other words, the double eyelid B01 has a different meaning from the double eyelid commonly used, such as double eyelid, deep-set eyelid, single eyelid, etc. The pupil B02 is the area of ​​the hole inside the iris B03 in the black of the eye. The iris B03 is a circular area formed by an outer circle that is the boundary between the white of the eye and the black of the eye, and an inner circle that is the boundary with the pupil B02. Note that the iris B03 is not formed in an exact circle, and is often not circular depending on how the eyes are opened. In the example shown in FIG. 12(b), the upper side of the iris B03 is partially hidden by the upper eyelid, and the lower side is also partially hidden by the lower eyelid, so it is a ring that is not a perfect circle. The caruncle B04 is the area inside the inner corner of the eye that secretes tear components. The white of the eye B05 is also called the sclera, and is a white area. The mucous membrane B06 is the wet area of ​​the edge of the skin around the eyeball. Other B07 is an area other than the above-mentioned parts B01 to B06.

[0097] The second region specified by the second data D2 shown in Fig. 12(c) includes three regions: upper eyelashes B11, lower eyelashes B12, and others B13. Therefore, the data D2 includes pixel position information for each of the portions B11 to B13 that make up this second region. Here, the upper eyelashes B11 is the upper region. The lower eyelashes B12 is the lower region. The others are regions other than the upper eyelashes B11 and the lower eyelashes B12.

[0098] Therefore, here, as shown in FIG. 12(b) and FIG. 12(c), each area identified by the identifying unit 305 will be described as including further divided subareas.

[0099] The first region related to the eye features of the first data D1 shown in FIG. 12(b) partially overlaps with the second region related to the eyelashes of the data D2 shown in FIG. 12(c). Specifically, the double eyelids B01 partially overlap with the upper eyelashes B11. The upper eyelashes B11 and the lower eyelashes B12 partially overlap with the rest B07. Here, the anteroposterior relationship of the multiple regions identified by the identification unit 305 is determined in advance. For example, the relationship between the first region related to the eye features shown in FIG. 12(b) and the second region related to the eyelashes shown in FIG. 12(c) is that the first region is on the rear side and the second region is on the front side, based on the paper surface of the image. Specifically, the eyelashes B11 and B12 are in front of the eye parts B01 to B06. Such a anteroposterior relationship is determined in advance.

[0100] The identification unit 305 can identify each of the multiple regions by using, for example, semantic segmentation. By extracting each region using this semantic segmentation technology, it becomes possible to extract fine regions in pixel units for each region. This allows image processing to be performed using the set regions, making it possible to realize image processing that is set in detail according to each region.

[0101] The image processing unit 306 processes each of the multiple regions of the image data in a predetermined manner. For example, the image processing unit 306 processes a first region of the image data in a predetermined first manner and processes a second region of the image data in a predetermined second manner.

[0102] In the example shown in FIG. 12, the image processing unit 306 may execute a process for enlarging the shape of the iris B03 or a process for whitening the color of the white of the eye B05 for the first region of the image data specified by the first data D1 shown in FIG. 12(b). By performing image processing on the iris B03 and the white of the eye B05 in this way, the eyes can be made to look larger and clearer, improving the aesthetic appearance. The image processing unit 306 may also execute a process for changing the color of the iris B03 for the first region of the image data specified by the first data, as if wearing color contact lenses. Furthermore, the image processing unit 306 may execute an image process for the first region of the image data specified by the first data D1, as if makeup was applied to the eye parts. Specifically, the image processing unit 306 may execute a process for applying eyeshadow to the double eyelid B01 and the other region B07 within a predetermined range from the double eyelid B01, or execute a process for drawing an eyeliner around the mucous membrane B06. The image processing unit 306 may execute a combination of the above-mentioned processes.

[0103] For example, for the second region of the image data identified by the second data D2 shown in FIG. 12(c), the image processing unit 306 may perform image processing such that the upper eyelashes B11 and the lower eyelashes B12 are longer or thicker, making it appear as if they are false eyelashes or mascara has been applied.

[0104] As described above, the multiple regions identified by the identification unit 305 can be treated as different layers, and the depth relationship in the image data is predetermined. Therefore, the image processing unit 306 can finally overlay a layer of image data processed for a region located on the front side on a layer of image data processed for a region located on the background side in order. In the above example, the image processing unit 306 can overlay image data processed for a second region located on the front side on image data processed for a first region located on the rear side. Even if there are three regions, the processed image data can be overlaid according to the depth. This makes it possible to obtain natural image data, for example, in which image-processed eyelashes are overlaid on image-processed eye parts. In other words, there is no risk of unnatural image data in which eye parts are overlaid on eyelashes.

[0105] The compositing unit 307 uses the processed image as an image to be combined, combines the image to be combined with the moving image captured by the camera 91, and displays the combined image as a live view image on the touch panel monitor 92. Therefore, the user can take a picture while checking the finished image in real time.

[0106] The editing unit 230 includes the above-mentioned editing operation units 27A and 27B, and an editing processing unit 308. The editing processing unit 308 performs editing processing by controlling the tablet built-in monitor 131 and the speaker 133 in the editing operation units 27A and 27B. The editing processing unit 308 accepts an operation input by a user to the tablet built-in monitor 131 using the touch pens 132A and 132B.

[0107] Furthermore, the editing processing unit 308 performs predetermined image processing on the captured image as the image to be edited in response to a selection operation on a selection screen displayed on the tablet built-in monitor 131, and displays the image on the tablet built-in monitor 131. Alternatively, the editing processing unit 308 performs predetermined image processing on an image to be combined in response to an input operation on the editing screen displayed on the tablet built-in monitor 131, or generates a new image to be combined in response to the input operation, combines it with the captured image, and displays it on the tablet built-in monitor 131.

[0108] The editing processing unit 308 also controls the output of guidance explaining how to proceed with editing. For example, the editing processing unit 308 causes a guidance screen explaining how to proceed with editing to be displayed on the tablet built-in monitor 131, and causes a voice of the guidance explaining how to proceed with editing to be output from the speaker 133. The editing processing unit 308 also controls the communication unit 203 to perform processing related to communication via a network such as the Internet. The editing processing unit 308 may also perform printing processing by controlling the printer 140 of the print operation unit 28.

[0109] The printing unit 240 includes the above-mentioned print operation unit 28 and print processing unit 309. The print processing unit 309 receives print data from the edit processing unit 308 and performs print processing by controlling the printer 140 of the print operation unit 28. Note that, although the printing unit 240 that outputs a photo sticker, which is print data, has been described here as an example of an output unit that outputs image data, the method of outputting image data is not limited to this. For example, a transmission means that transmits the image data itself to an external communication terminal using a network or the like may be used as the output unit.

[0110] In this way, the photo sticker creating device 1 provides a photo sticker creating game with various mechanisms (selection of poses for taking photos, background music, narration, etc.) to excite the user in exchange for a fee. Therefore, the images created by the photo sticker creating device 1 are images that bring out the user's happy expressions and are elaborate and gorgeous images.

[0111] In addition, the photo sticker creation device 1 is equipped with a wide range of lighting and other facilities, and can perform image transformation processing (for example, the size of the subject's eyes or the length of the legs) and color correction (such as whitening the subject's skin) using advanced technology, so the images created with the photo sticker creation device 1 will look good on the user.

[0112] Also, editing (drawing graffiti on an image) is easier and there are more variations in the editing compared to image processing (for example, processing with a photo editing application) done outside the photo sticker creation device 1. From this point of view, it can be said that images created with the photo sticker creation device 1 have a relatively gorgeous finish compared to images taken and processed outside the photo sticker creation device 1.

[0113] (Photo sticker creation game flow) Next, a process flow in which a user plays a photo sticker creating game in the photo sticker creating device 1 will be described with reference to Fig. 13. Fig. 13 is a flow chart showing a process flow from the start of the game in the photo sticker creating device 1 to creating a photo sticker in the game.

[0114] Before the game starts, the control unit 201 functioning as the pre-selection processing unit 301 of the photo sticker creating device 1 displays a message encouraging the user to insert coins on the touch panel monitor 71 of the pre-selection operation unit 20. As shown in Fig. 13, the control unit 201 determines whether or not a coin has been inserted into the coin insertion / return slot 73 based on the presence or absence of a start-up signal from the coin processing unit 74 (S1). When the control unit 201 determines that no coin has been inserted into the coin insertion / return slot 73 (S1: NO), it continues the process of determining whether or not a coin has been inserted.

[0115] A user who wishes to start a game inserts a coin into the coin insertion / return slot 73 in the pre-selection space A0, which is the space in front of the pre-selection operation unit 20. When a coin is inserted into the coin insertion / return slot 73, a start signal instructing the start of the game is output from the coin processing unit 74. When the control unit 201 inputs the start signal from the coin processing unit 74, it determines that a coin has been inserted into the coin insertion / return slot 73 (S1: YES), and executes a pre-service process for the user (S2).

[0116] In the pre-customer service process, the control unit 201 displays messages, etc., on the touch panel monitor 71, prompting the user to select a course, input a name, select a design, etc. When the user makes various selections or inputs in accordance with the messages, etc., displayed on the touch panel monitor 71, the control unit 201 sets the photography course, name, design, print layout, etc. The control unit 201 displays a plurality of selectable background images for compositing on the touch panel monitor 92, and allows the user to select a background image for compositing.

[0117] When the pre-service processing is completed, the control unit 201 causes the touch panel monitor 71 to display a message or the like encouraging the user to move to the photography space A1 to take a photograph. The control unit 201, functioning as the photography processing unit 302, causes the touch panel monitor 92 of the photography operation unit 21 to display a message encouraging the user to touch the screen. A start button may be displayed together with or instead of this message. The control unit 201 also causes the speaker 93 to output a narration encouraging the user to touch the screen together with background music. When the user who has moved to the photography space A1 touches the touch panel monitor 92, the control unit 201 reads that the touch panel monitor 92 has been touched and starts the photography processing (S3).

[0118] In the photographing process, the control unit 201 displays, for example, guidance regarding lighting on the touch panel monitor 92, and prompts the user to select a lighting level. When the user selects a lighting level, the control unit 201 sets the lighting level to the selected level.

[0119] Furthermore, the control unit 201 causes an instruction screen for explaining the number of shots to be taken to be displayed on the touch panel monitor 92, and causes a corresponding narration to be output from the speaker 93. In this embodiment, as an example, the number of shots to be taken is set to seven.

[0120] Next, the control unit 201 causes the touch panel monitor 92 to display an instruction screen for guiding the user to a proper standing position, and causes the speaker 93 to output a corresponding narration.

[0121] After displaying the instruction screen as described above, the control unit 201 causes the touch panel monitor 92 to display a live view display image, which is a combination of the background image for combination and the moving image captured by the camera 91, according to the photography course selected by the user (S4). This allows the user to pose while checking the final image.

[0122] The control unit 201 performs the live view display until just before the end of the countdown for shooting, and during that time, the control unit 201 causes the touch panel monitor 92 to display sample poses together with or instead of the live view display. The control unit 201 causes the speaker 93 to output narration that matches the sample poses.

[0123] The control unit 201 manages the time from the start to the end of the live view display, and when a preset predetermined time has elapsed, a countdown is performed by displaying on the touch panel monitor 92 and playing audio from the speaker 93.

[0124] At the end of the countdown, the control unit 201 transmits a lighting control signal to the upper strobe 82, the left strobe 83, the right strobe 84, and the foot strobe 85, and also transmits a shutter signal to the camera 91.

[0125] As a result, flashes are emitted from upper strobe 82, left strobe 83, right strobe 84, and foot strobe 85, and a captured image showing the illuminated user together with the background is captured by camera 91. In this embodiment, as an example, the processes from step S3 to step S4 are repeated multiple times to capture seven captured images. Also, control unit 201 causes storage unit 202 to store an editing target image in which the captured image is composited with the composite background image.

[0126] Although the example in which the photographed image is acquired at every preset time has been described here, the timing of acquiring the photographed image is not limited to this. For example, if the photographing operation unit 21 has an operation button for photographing, the photographed image may be acquired at the timing when the operation button is operated.

[0127] After shooting is completed, the control unit 201 displays on the touch panel monitor 92 a guide screen that prompts the user to move to either the editing space A2-1 or the editing space A2-2, and outputs audio guidance to the speaker 93.

[0128] Then, the control unit 201 executes an editing process that allows the user to edit the image to be edited (S5). In detail, the control unit 201 displays the image to be edited on the tablet built-in monitor 131, and allows the user to draw a stamp image, a pen image, or the like on the image to be edited with the touch pens 132A and 132B to create an edited image.

[0129] Thereafter, the control unit 201 displays on the tablet built-in monitor 131 a guidance screen that prompts the user to move to the print waiting area A3 where the sticker paper discharge port 161 is provided, and outputs audio guidance to the speaker 133.

[0130] Furthermore, the control unit 201 executes a print process in which the edited image is arranged in the print layout selected in the pre-selection operation unit 20 to create an image for printing, and the image for printing is printed on the sticker paper 142 (S6).

[0131] When the printing process is completed, the control unit 201 executes a process of discharging the sticker paper 142 (S7), and discharges the printed sticker paper 142 from the sticker paper outlet 161, providing it to the user as a photo sticker, and then the game ends. In this way, the photographed image of the user created by the photo sticker creating device 1 can be output as a photo sticker. Although a detailed explanation is omitted, the photo sticker creating device 1 of this embodiment can also output the photographed image to a mobile terminal or the like through communication.

[0132] (Details of the synthesis process) Next, the compositing process in step S4 in the flowchart of Fig. 13 will be described with reference to the flowchart shown in Fig. 14. As shown in Fig. 14, in the compositing process in step S4, the control unit 201 accepts an image captured by the imaging unit 220 (S41).

[0133] The control unit 201 extracts the face area of ​​the user included in the captured image accepted in step S41 (S42). If the captured image includes multiple users, the control unit 201 extracts the face areas of all users. In the example of Fig. 11, the control unit 201 extracts face areas F1 and F2.

[0134] The control unit 201 further specifies each area to be processed for the user whose face area was extracted in step S42 (S43). In the example of Fig. 1, areas E11 and E12 are specified from the face area F1, and areas E21 and E22 are specified from the face area F2.

[0135] The control unit 201 executes a predetermined process for each of the image data of the regions extracted in step S43 (S44).

[0136] Furthermore, the control unit 201 may execute other image processing on the image data of the user's face region (S45). For example, the control unit 201 may process the image data to make the face smaller or to make the skin whiter according to a predetermined method. At this time, the control unit 201 may process the image data automatically or according to the user's operation.

[0137] The control unit 201 synthesizes an image using the images processed in steps S44 and S45 (S46). The synthesized image is acquired while being confirmed by the user through live view display.

[0138] (Display example) 15 is an example of an editing screen 400 displayed on the tablet built-in monitor 131. As shown in FIG.

[0139] The first editing unit 401 includes a first thumbnail section 403, a first image to be edited display section 405, a first operation button display section 407, and a first palette 409. Similarly, the second editing unit 402 includes a second thumbnail section 404, a second image to be edited display section 406, a second operation button display section 408, and a second palette 410.

[0140] The first thumbnail section 403 and the second thumbnail section 404 display thumbnails of a plurality of captured images to be edited Im1 to Im5. The thumbnails displayed in the first thumbnail section 403 and the second thumbnail section 404 can be selected with the touch pen 132A or 132B. In the example shown in FIG. 15, the images to be edited Im1 and Im3 are selected. Although not shown, the word "selected" may be displayed on the thumbnail of the selected image to be edited. Furthermore, when seven images are captured in step S3 of the flowchart in FIG. 13, the seven images to be edited are displayed in the thumbnail sections 403 and 404, respectively. However, for the sake of convenience, FIG. 15 will be described with an example in which five images to be edited are displayed.

[0141] The first image to be edited display area 405 displays the image to be edited selected in the first thumbnail area 403. The second image to be edited display area 406 displays the image to be edited selected in the second thumbnail area 404. When the image to be edited selected in the image to be edited displayed in the thumbnail area 403 or 404 is changed, the image to be edited displayed in the image to be edited display area 405 or 406 is also changed.

[0142] The first palette 409 is used to select the type of content, etc., when decorating the image to be edited displayed in the first image to be edited display section 405 with content such as characters, patterns, colors, etc. The second palette 410 is used to select the type of content, etc., when decorating the image to be edited displayed in the second image to be edited display section 406 with content. As will be described in detail later, in the example shown in Fig. 15, each of the palettes 409 and 410 includes tabs for "role play," "face doodle," "item," and "makeup."

[0143] As described above, in this embodiment, by extracting each region, it becomes possible to execute processing expected for each region, and image processing that is preferable for the user can be realized.

[0144] (domain-specific model) The area specifying model M outputs a plurality of data for specifying pixels in a plurality of predetermined areas from input image data.

[0145] In order to generate this region identification model M, as shown in FIG. 16, a set of multiple image data and data related to pixels in multiple predetermined regions of each image data are input to the learning device as a learning data set. The learning device also learns the relationship between each image data and each pixel in the predetermined region. Specifically, the example shown in FIG. 16 is one in which two predetermined regions are learned, and the learning device learns the relationship between the image data, which is input data, and the first data related to the first predetermined region, which is the correct answer data, and also learns the relationship between the image data, which is input data, and the second data related to the second predetermined region, which is another correct answer data. Note that the respective predetermined regions, which are the correct answer data, overlap at least partially.

[0146] The region identification model M thus generated outputs a plurality of data for identifying pixels of a plurality of predetermined regions from the new image data input. For example, as shown in Fig. 17, the region identification model M outputs, for the image data, first data for pixels identifying a first predetermined region and second data for pixels identifying a second predetermined region.

[0147] Specifically, the image data, which is the input data, is data including a human face. For example, the first data D1 is data related to the eye parts described above with reference to FIG. 12(b), and the second data D2 is data related to the eyelashes described above with reference to FIG. 12(c). Therefore, in the case of the example of FIG. 12, when image data including a face is input, the region identification model M identifies the first region which is the eye part and also identifies the second region which is the eyelash part.

[0148] <Modification> The above embodiment is merely an example, and various modifications are possible without departing from the scope of the present invention. For example, although an example has been described in which layers are divided into eye parts and eyelashes, eye parts can be further divided into multiple layers. For example, the pupil B02, iris B03, and white of the eye B05 can be treated as one layer on the background side, and other parts, specifically the double eyelid B01, caruncle B04, and mucous membrane B06, can be treated as another layer on the front side.

[0149] The identification unit 305 may also use multiple consecutive frames of image data to obtain one piece of data as an output. Specifically, for example, to obtain an output for certain image data, the identification unit 305 may use the target image data and image data up to four frames before to obtain multiple predetermined regions for the target image data. This makes it possible to identify a predetermined region even if the target image data hides the predetermined region, and provide a natural image. That is, even if the eye is hidden by a finger or the eyelid is half-closed, if the normal eye shape can be identified as a predetermined region for the invisible part, natural image processing is possible.

[0150] Alternatively, the photographing interval may be manually switched. For example, a self-shutter button and a slide bar or the like may be provided, and the self-shutter button may be configured to determine the timing of photographing, rather than to switch the photographing interval. Then, the photographing interval after the self-shutter button is operated may be changed by operating the slide bar or the like.

[0151] Furthermore, in the above example, a photo sticker creation device was used as an example of an image processing device, but the same applies to any terminal that can acquire and process images, such as a smartphone or tablet.

[0152] (Example of software implementation) The functional blocks of the photo sticker creating device 1 may be realized by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like, or may be realized by software using a CPU (Central Processing Unit).

[0153] In the latter case, the photo sticker creation device 1 includes a CPU that executes the commands of a program, which is software that realizes each function, a ROM (Read Only Memory) or storage device (these are referred to as "recording media") in which the program and various data are recorded so as to be readable by a computer (or CPU), and a RAM (Random Access Memory) in which the program is expanded. The object of the present invention is achieved by the computer (or CPU) reading and executing the program from the recording medium. The recording medium may be a "non-transient tangible medium", such as a tape, a disk, a card, a semiconductor memory, or a programmable logic circuit. The program may also be supplied to the computer via any transmission medium (such as a communication network or a broadcast wave) capable of transmitting the program. The present invention may also be realized in the form of a data signal embedded in a carrier wave in which the program is embodied by electronic transmission.

[0154] The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims. Embodiments obtained by appropriately combining the technical means disclosed in different embodiments are also included in the technical scope of the present invention. [Explanation of symbols]

[0155] 1. Photo sticker creation device (image processing device) 301 Pre-selection processing unit 302 Shooting Processing Unit 303 Reception 304 Extraction part 305 Specific section 306 Image Processing Unit 307 Synthesis Section 308 Editing Processing Unit 309 Print processing unit (output unit)

Claims

1. A reception unit that receives image data captured by a user; an identification unit that has learned a relationship between image data including a face and each of pixels in a plurality of predetermined regions where at least a portion of the image data overlaps and whose context is previously determined, and that, when new image data including the face of the user is input, identifies pixels of the plurality of predetermined regions from the new image data including the face received by the reception unit using an area identification model that identifies pixels of the plurality of predetermined regions from the new image data; an image processing unit that processes each of the plurality of regions identified from the image data in a predetermined manner; Equipped with The image processing unit superimposes image data processed for an area located on the foreground side on image data processed for an area located on the background side. Image processing device.

2. The identification unit identifies each of the plurality of regions using semantic segmentation. The image processing device according to claim 1 .

3. A receiving step of receiving image data captured by a user; a step of learning a relationship between image data including a face and each of pixels in a plurality of predetermined regions where at least a portion of the image data overlaps and whose context is predefined, and when new image data including the face of the user is input, identifying pixels of the plurality of predetermined regions from the new image data by using an area identification model that identifies pixels of the plurality of predetermined regions from the new image data; a processing step of processing the plurality of regions identified from the image data in the identifying step by a predetermined method; Including, The processing step includes overlaying image data processed for an area located on the foreground side on image data processed for an area located on the background side. Image processing methods.

4. Computer, A reception unit that receives image data captured by a user; an identification unit that has learned a relationship between image data including a face and each of pixels in a plurality of predetermined regions where at least a portion of the image data overlaps and whose context is previously determined, and that, when new image data including the face of the user is input, identifies pixels of the plurality of predetermined regions from the new image data including the face received by the reception unit using an area identification model that identifies pixels of the plurality of predetermined regions from the new image data; an image processing unit that processes each of the plurality of regions identified from the image data in a predetermined manner; and make it work. An image processing program that causes the image processing unit to superimpose image data processed for an area located on the background side onto image data processed for an area located on the foreground side.

5. receiving image data including a plurality of sets of faces and a plurality of data identifying pixels in a predetermined area in which at least a portion of the image data overlaps and in which a context is previously determined; learning a relationship between each of the image data and each of the pixels in the plurality of predetermined regions of the image data; When new image data of a photograph of a user is input, a region specifying model is generated from the new image data to specify pixels of a plurality of regions in which at least a portion of the predetermined region overlaps. Model generation method.

Citation Information

Patent Citations

  • Information display device, information display method, control program, and recording medium

    JP2014023127A

  • Image processing device, image processing method and computer program

    JP2016110416A

  • Photo-creating game machine, image processing method, and program

    JP2020053831A

  • Data generation method, data generation device, model generation method, model generation device, and program

    JP2021086462A

  • Virtual facial makeup removal, fast facial detection and landmark tracking

    WO2019014646A1