Image content determination device, operation method of image content determination device, and image content determination program
The image content determination device enhances the reliability and efficiency of tag information by using processor-based face and character recognition to determine person-related information across multiple images, addressing the limitations of existing methods.
Patent Information
- Application Number
- JP2024146662
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2020-03-27
- Filing Date
- 2024-08-28
- Publication Date
- 2024-10-31
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing image content determination methods require significant user effort for tagging, and the accuracy of image analysis for determining person-related information is limited, leading to unreliable results.
An image content determination device that includes a processor to recognize characters and faces in images, acquire person-related information, and use similarity-based recognition to enhance the accuracy of tag information without user input.
The device provides highly reliable person-related information by leveraging face and character recognition, reducing user effort and improving the accuracy of tag information through cross-image analysis.
Smart Images

Figure 2024156025000001_ABST
Abstract
Description
[Technical field]
[0001] The technology disclosed herein relates to an image content determination device, an operation method of an image content determination device, and an image content determination program. [Background technology]
[0002] In recent years, online storage services have become known that store image data such as photographs owned by users in a manner that allows them to be distributed via a network. Users can download and view images stored in the storage using a mobile terminal and / or a PC (Personal Computer).
[0003] In these online storage services, in order to make it easier for users to search for images they wish to view from the large number of images stored in the storage, tag information that enables keyword searches is added to the images stored in the storage (JP Patent Publication No. 2009-526302 and JP Patent Publication No. 2010-067014).
[0004] JP 2009-526302 A and JP 2010-067014 A disclose a technique in which, for example, when two images each contain a person's face and one of the images has tag information such as a person's name added by user input, the tag information added to one image is copied to the other image based on the similarity of the faces contained in the two images. Summary of the Invention [Problem to be solved by the invention]
[0005] However, the techniques described in JP-T-2009-526302 and JP-A-2010-067014 require the user to input tag information in advance for the image from which the tag information is to be copied, which is problematic in that it is time-consuming for the user. For example, if there are a large number of images, it is cumbersome for the user to check the image contents while looking at each image and assign tag information according to the checked image contents.
[0006] In view of this, a method of assigning tag information to an image without the user having to take time and effort can be considered, which involves performing image analysis to determine the image content and assigning tag information based on the determination result. As a method of determining the image content using image analysis, for example, a method of estimating the age of a person included in an image, or, when an image contains multiple people, a method of estimating the relationship between the people (such as family relationship) from the estimated age of each person can be considered.
[0007] However, there is a limit to the accuracy of determining image content by image analysis. Therefore, when estimating information related to a person contained in an image, there is a problem that the reliability of the information obtained by estimation is low if image analysis is performed only using the data of the image to be determined.
[0008] In consideration of the above problems, one embodiment of the technology disclosed herein provides an image content determination device, an image content determination method, and an image content determination program that are capable of obtaining reliable information related to a person contained in an image without any effort on the part of the user. [Means for solving the problem]
[0009] The image content determination device of the present disclosure includes at least one processor, and the processor performs a first recognition process to recognize text and the face of the first person from a first image including the text and the face of the first person, performs a first acquisition process to acquire first person-related information related to the first person included in the first image based on the recognized text and the face of the first person, performs a second recognition process to recognize the face of the second person from a second image including the face of the second person, and performs a second acquisition process to acquire second person-related information related to the second person included in the second image, wherein the second acquisition process acquires the second person-related information using the first person-related information corresponding to a first image including a face of the first person similar to the face of the second person.
[0010] The operating method of the image content determination device disclosed herein is an operating method of an image content determination device having at least one processor, in which the processor performs a first recognition process to recognize text and the face of the first person from a first image including the text and the face of the first person, performs a first acquisition process to acquire first person-related information related to the first person included in the first image based on the recognized text and the face of the first person, performs a second recognition process to recognize the face of the second person from a second image including the face of the second person, and performs a second acquisition process to acquire second person-related information related to the second person included in the second image, wherein the second acquisition process acquires the second person-related information using the first person-related information corresponding to a first image including a face of the first person similar to the face of the second person.
[0011] The operating program of the image content judgment device disclosed herein is an operating program for causing a computer including at least one processor to function as an image content judgment device, and causes the processor to execute a first recognition process to recognize text and the face of the first person from a first image including the text and the face of the first person, execute a first acquisition process to acquire first person-related information related to the first person included in the first image based on the recognized text and the face of the first person, execute a second recognition process to recognize the face of the second person from a second image including the face of the second person, and acquire second person-related information related to the second person included in the second image, wherein the second acquisition process acquires the second person-related information using the first person-related information corresponding to a first image including a face of the first person similar to the face of the second person. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is an explanatory diagram showing an overview of an online storage service. [Diagram 2] FIG. 2 is a block diagram of an image content determination device. [Diagram 3] 2 is a functional block diagram of a CPU provided in the image content determination device. FIG. [Figure 4] FIG. 4 is an explanatory diagram of a classification process performed by a classification unit. [Diagram 5]4 is an explanatory diagram of a first recognition process performed by a first recognition unit and a first acquisition process performed by a first acquisition unit. FIG. [Figure 6] FIG. 11 is an explanatory diagram showing an example of a first acquisition process. [Figure 7] 11 is a table showing an example of a first image information list. [Figure 8] 11 is an explanatory diagram of a second recognition process performed by a second recognition unit. FIG. [Figure 9] 13 is a table showing an example of a second image information list. [Figure 10] FIG. 11 is an explanatory diagram of a second acquisition process performed by a second acquisition unit. [Figure 11] FIG. 2 is an explanatory diagram of a tagging process performed by a tagging unit. [Figure 12] 13 is a table showing an example of a second image information list to which second person-related information and tag information have been added. [Figure 13] 13 is a flowchart of an image content determination process. [Figure 14] FIG. 1 is a schematic diagram showing an overview of a first embodiment. [Figure 15] FIG. 11 is a schematic diagram showing an overview of a second embodiment. [Figure 16] FIG. 11 is an explanatory diagram showing an example of a second acquisition process according to the second embodiment; [Figure 17] FIG. 13 is an explanatory diagram showing an example of a first acquisition process according to the third embodiment; [Figure 18] FIG. 13 is an explanatory diagram showing an example of a second acquisition process according to the third embodiment; [Figure 19] FIG. 13 is an explanatory diagram showing an example of a first acquisition process according to the fourth embodiment; [Figure 20] FIG. 13 is an explanatory diagram showing an example of a second acquisition process according to the fourth embodiment; [Figure 21] 13 is a table illustrating an example of a first acquisition process according to the fifth embodiment. [Figure 22] FIG. 13 is an explanatory diagram showing an example of a second acquisition process according to the fifth embodiment; [Figure 23] FIG. 11 is an explanatory diagram of a classification process based on the presence or absence of a specific word. [Figure 24]FIG. 11 is an explanatory diagram showing an example of installing a program stored in a storage medium into an image content determination device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] [First embodiment] In FIG. 1, an image content determination device 2, which is an example of the technology of the present disclosure, constitutes a part of an image distribution system. The image distribution system is a system that stores images P of multiple users, such as user A and user B, in a storage 4 and distributes the stored images P via a communication network N in response to a request from each user. The images P are digital data such as photographs owned by each user. The service provided by the image distribution system is a service for storing images in the storage 4 via the communication network N from the user's perspective, and is also called an online storage service. When using the image distribution system, each user enters into a service contract with a business operator that operates the image distribution system. For example, an account is created for each user for the user who has entered into the service contract, and a storage area is assigned in the storage 4 to store the images P of each user. When entering into the service contract, the business operator receives personal information such as the user's name and date of birth, and registers the obtained personal information as the user's account information.
[0014] The storage 4 is a data storage device such as a hard disk drive or a solid state drive. The storage 4 is communicably connected to the image content determination device 2, and also functions as an external storage of the image content determination device 2. The storage 4 may be connected to the image content determination device 2 via a network, and the network may be a WAN (Wide Area Network) such as the Internet, or a LAN (Local Area Network) such as Wifi (registered trademark). The network and the image content determination device 2 may be connected by wire or wirelessly. Furthermore, the storage 4 may be a recording medium directly connected to the image content determination device 2 via a USB (Universal Serial Bus) or the like, or may be built into the image content determination device 2. The storage 4 is not limited to a single device, and may be configured of multiple devices for each data and / or capacity.
[0015] Each user, including user A and user B, launches an application for the online storage service installed on the smart device 6, for example, and uploads image data of a photo taken with the smart device 6 to the storage 4 via the communication network N. Each user can also access the online storage service via a PC. Each user uploads image data of a photo taken with a digital camera 8 to the storage 4 via the PC. Furthermore, each user can read a printed photo PA with the scanner 10, and upload the digitized image data to the storage 4 via the PC or smart device 6. Note that the printed photo PA may be digitized by the photography function of the smart device 6 or the digital camera 8 instead of being digitized by the scanner 10.
[0016] The print photos PA also include greeting cards created by each user. Examples of greeting cards include New Year's cards, Christmas cards, summer greeting cards, and winter greeting cards. Instead of the user digitizing the print photos PA themselves and uploading them to the storage 4, the user may outsource the digitization of the print photos PA to an online storage service provider.
[0017] Image data uploaded by each user is stored as an image P in the storage 4. Then, the image P uploaded to the storage 4 is tagged by the image content determination device 2. The storage 4 is provided with, for example, an unprocessed folder 12 in which images P that have not yet been tagged are stored, and a processed folder 14 in which images P that have been tagged are stored.
[0018] In the unprocessed folder 12, a dedicated folder is provided for each user, for example, a user A dedicated folder 12A and a user B dedicated folder 12B, and images P owned by each user are stored in each user dedicated folder. Image data uploaded by user A is stored in the user A dedicated folder 12A provided in the unprocessed folder 12. Image data uploaded by user B is stored in the user B dedicated folder 12B provided in the unprocessed folder 12.
[0019] The image content determination device 2 is a device that uses image analysis techniques such as face recognition, character recognition, and shooting scene discrimination to determine the content of the image P. The image content determination device 2 of this example further performs tagging by assigning the determination result of the content of the image P to the image P as tag information for keyword search of the image P.
[0020] Furthermore, the tag information added to image P may be information other than the determination result of the content of image P, for example, supplementary information such as Exif (Exchangeable Image File Format) information of image P. Exif information includes information such as the manufacturer and model name of the photographing device, as well as GPS (Global Positioning System) information indicating the date and time of photographing and the location of photographing. The Exif information is already recorded as meta information in the file of image P, and can be used as a search tag.
[0021] The image content determination device 2 has a function of determining the image content of the image P, separately from the Exif information, and adding information related to people included in the image P as tag information.
[0022] For example, when image P is a first image P1 such as a New Year's card, the New Year's card often includes a family photo including the faces of multiple people who make up a family. Furthermore, the New Year's card includes characters such as the names of multiple people who make up a family and the date. If it can be determined that the first image P is a New Year's card, it can be presumed that the relationship between the multiple people included in the photo in the first image P1 is that of a family, and that the names included in the first image P1 are the names of those family members. In this way, greeting cards such as New Year's cards include character information related to people, such as the names of people, in addition to the faces of people in the image P.
[0023] Furthermore, in addition to images including a person's face and text, such as the first image P1, images P also include images including a person's face but no text, such as the second image P2. The image content determination device 2 also analyzes the image content of the second image P2 that does not include text, thereby estimating information related to people included in the second image P2.
[0024] The image content determination device 2 has a function of utilizing information related to a person obtained from an image P that includes a human face and text, such as the first image P1, in analyzing the content of a second image P2 that does not include text but does include a human face. The following description will focus on this function.
[0025] The image content determination device 2, for example, determines the image content for each image group for each user. When determining the image content of the image group of user A, for example, the image content determination device 2 performs image content determination processing on the images P of user A stored in the folder 12A dedicated to user A in the unprocessed folder 12.
[0026] Image P includes a first image P1 and a second image P2. First image P1 is an image including text and a person's face. The person included in first image P1 corresponds to the first person according to the technology of the present disclosure. An example of first image P1 is an image including a text area. An image including a text area is an image including a photographic area AP including the face of the first person, and a text area AC which is a margin outside the outline of photographic area AP and in which text is arranged. The margin may be plain or may have a pattern. Greeting cards such as New Year's cards are often images including a text area.
[0027] The first image P1 in this example is a New Year's card and also includes a text area. Therefore, the first image P1 includes a photo area AP in which the faces of the first persons who make up a family are captured, and a text area AC in which text such as New Year's greetings, such as "Happy New Year," and the names and addresses of family members are arranged in the margins of the photo area AP.
[0028] The second image P2 is an image including a person's face. The person included in the second image P2 corresponds to the second person according to the technology of the present disclosure. An example of the second image P2 is an image without a text area. An image without a text area is an image including only a photographic area AP including the face of the second person. The second image P2 is an image including no text area AC where text is arranged outside the photographic area AP, except for text that appears in the background of the second person within the photographic area AP including the face of the second person.
[0029] The image content determination device 2 acquires first person-related information R1 relating to a first person from a first image P1. When judging the image content of a second image P2, the image content determination device 2 identifies a first image P1 including a first person similar to a second person included in the second image P2. The image content determination device 2 acquires second person-related information R2 relating to a second person in the second image P2 based on the identified first person-related information R1 of the first image P1.
[0030] Furthermore, the image content determination device 2 performs tagging by adding tag information to the second image P2 based on the acquired second person-related information R2. The tagged second image P2 is stored in the processed folder 14. As an example, the processed folder 14 also has a dedicated folder for each user, and the second image P2 of user A is stored in a user A dedicated folder 14A, and the second image P2 of user B is stored in a user B dedicated folder 14B.
[0031] In FIG. 1, only the second image P2 is stored in the processed folder 14, but if the first image P1 is newly tagged as a result of obtaining the first person-related information R1 from the first image P1, the first image P1 will also be stored in the processed folder 14.
[0032] The first image P1 and the second image P2 of each user that have been tagged in this manner are stored in a folder that can be distributed to each user, and are made available for each user to view, etc. At this time, each user can use the tag information to perform keyword searches, etc.
[0033] 2, the computer constituting the image content determination device 2 includes a CPU (Central Processing Unit) 18, a memory 20, a program memory 22, a communication I / F 24, and an external device I / F 26. These are interconnected via a bus line 28.
[0034] The storage 4 described above is communicatively connected to the image content determination device 2 via the external device I / F 26. The computer and storage 4 constituting the image content determination device 2 are arranged, for example, together with other devices constituting an image distribution system, at the base of a provider that provides online storage services. The communication I / F 24 is an interface that controls the transmission of various information with external devices.
[0035] The program memory 22 stores a classification program 30, a recognition program 31, a first acquisition program 32, a second acquisition program 34, and a tagging program 35. Of these programs, the recognition program 31, the first acquisition program 32, and the second acquisition program 34 are programs for operating a computer constituting the image content determination device 2 as an "image content determination device" according to the technology of the present disclosure. These programs are examples of the "image content determination program" according to the technology of the present disclosure.
[0036] The memory 20 functions as a working memory for the CPU 18 to execute processing, and as a storage memory for recording data necessary for the CPU 18 to execute processing, such as dictionary data described below, as well as a first image information list 48 and a second image information list 50 described below. The CPU 18 loads into the memory 20 the classification program 30, the recognition program 31, the first acquisition program 32, the second acquisition program 34, and the tagging program 35 stored in the program memory 22.
[0037] 3, CPU 18 executes classification program 30, recognition program 31, first acquisition program 32, second acquisition program 34, and tagging program 35 on memory 20, thereby functioning as a classification unit 36, a recognition unit 38, a first acquisition unit 40, a second acquisition unit 42, and a tagging unit 44. CPU 18 is an example of a "processor" according to the technology of the present disclosure.
[0038] In this example, the processing of the image content determination device 2 will be described using an example of determining the content of an image P of a user A. In Fig. 3, when processing an image P of a user A, the classification unit 36 reads the image P from the folder 12A dedicated to the user A. The classification unit 36 classifies the read image P into a first image P1 and a second image P2.
[0039] The recognition unit 38 includes a first recognition unit 38-1 and a second recognition unit 38-2. The first recognition unit 38-1 executes a first recognition process to recognize text and the face of the first person from a first image P1 including the text and the face of the first person. Specifically, the first recognition unit 38-1 recognizes the face of the first person included in the first image P1 from a photographic area AP of the first image P1, and recognizes text from a text area AC. The second recognition unit 38-2 executes a second recognition process to recognize the face of the second person included in the second image P2 from a photographic area AP of the second image P2.
[0040] The first acquisition unit 40 executes a first acquisition process to acquire first person-related information R1 included in the first image P1 based on the characters and the face of the first person recognized by the first recognition unit 38-1.
[0041] The second acquisition unit 42 executes a second acquisition process to acquire second person-related information R2 related to a second person included in the second image P2, the second acquisition process utilizing the first person-related information R1 corresponding to the first image P1 including a face of a first person similar to a face of the second person. The tagging unit 44 assigns tag information to the second image P2 based on the second person-related information R2.
[0042] An example of the classification process performed by the classification unit 36 will be described with reference to FIG. 4. The classification unit 36 determines whether the image P includes a photographic area AP and a character area AC. For example, the classification unit 36 extracts a contour of the image P using a technique such as edge detection, and detects the photographic area AP and the character area AC from the extracted contour. The photographic area AP and the character area AC have features that can be distinguished from other areas, such as features related to the pixel values of each pixel and the arrangement of pixel values. The classification unit 36 detects the photographic area AP and the character area AC from within the image P by examining such features included in the image P. When the characters included in the image P are printed or written with the same pen, the pixel values of the pixels corresponding to the characters included in the image P are considered to be similar within a certain range. Therefore, for example, the pixels constituting image P may be analyzed in two-dimensional coordinates, and if a pixel string showing pixel values in a predetermined similar range is arranged on the first axis (X-axis) at or above a predetermined width, and if the pixel string is continuously arranged on the second axis (Y-axis) at or above a predetermined constant width, it may be determined to be a character, and an area containing characters may be determined to be a character area AC.
[0043] Characters included in the character area AC include kanji, hiragana, katakana, and alphabets, as well as numbers and symbols. Characters are not limited to font characters defined by a font, but also include handwritten characters. Characters included in the character area AC are recognized using character recognition technology such as OCR (Optical Character Recognition / Reader). Of course, character recognition technology using machine learning may also be used.
[0044] Furthermore, the classification unit 36 recognizes a person's face from the photographic area AP using face recognition techniques such as contour extraction and pattern matching. Of course, face recognition techniques using machine learning may also be used. As an example, the classification unit 36 detects a face image PF showing a face recognized in the photographic area AP, and classifies the image P depending on whether or not the face image PF is present.
[0045] In FIG. 3, the images are classified into two types, the first image P1 and the second image P2. More specifically, as shown in FIG. 4, the classification unit 36 classifies the images P into three types, the first image P1, the second image P2, and the third image P3, depending on whether or not the image P includes a face image PF and whether or not the image P includes a character area AC. Specifically, an image P including a photographic area AP and a character area AC, and in which the photographic area AP includes a face image PF, is classified as the first image P1. An image P including a photographic area AP but not a character area AC, and in which the photographic area AP includes a face image PF, is classified as the second image P2. An image P including a photographic area AP but not a character area AC, and in which the photographic area AP does not include a face image PF, is classified as the third image P3. Note that in the example of FIG. 4, the third image P3 is described as not including a character area AC, but the third image P3 requires that the photographic area AP does not include a face image PF, and may or may not include a character area AC.
[0046] The storage 4 is provided with classified folders 13 for storing the classified first image P1, second image P2, and third image P3. The classified folder 13 is provided with a first image folder 13-1 for storing the first image P1, a second image folder 13-2 for storing the second image P2, and a third image folder 13-3 for storing the third image P3, for each user. In the example of Fig. 4, the three image folders, the first image folder 13-1, the second image folder 13-2, and the third image folder 13-3, are dedicated folders for user A.
[0047] Next, an example of the first recognition process and the first acquisition process performed on the first image will be described with reference to FIGS.
[0048] As shown in Fig. 5, the first recognition unit 38-1 sequentially reads out the first images P1 one by one from the first image folder 13-1 of the classified folder 13 and executes the first recognition process. In the following example, when each of the multiple first images P1 is to be distinguished, the reference symbol P1 is indicated by adding sub-reference symbols "-1", "-2", and "-3", such as the first image P1-1 and the first image P1-2. Fig. 5 shows an example in which the first recognition process is performed on the first image P1-4. The first recognition process includes a first face recognition process, a character recognition process, and a photographic scene discrimination process.
[0049] In the first face recognition process, the first recognition unit 38-1 recognizes the face of the first person M1 included in the photographic area AP of the first image P1-4. As the face recognition technology, a technology similar to the face recognition technology used in the classification unit 36 is used. For example, the first recognition unit 38-1 extracts a rectangular area including the face recognized in the photographic area AP as the first face image PF1. When the faces of multiple first persons M1 are included in the photographic area AP as in the first image P1-4, the faces of all the first persons M1 are recognized, and the first face images PF1 are extracted for all the recognized faces. In the example of FIG. 5, since three first persons M1 are included in the photographic area AP, three first face images PF1 are extracted. In addition, when it is necessary to distinguish each of the multiple first persons M1, they are indicated by adding sub-codes A, B, and C to the code M1, such as the first person M1A, the first person M1B, and the first person M1C.
[0050] In addition, there may be cases where the face of a person who is unlikely to be the main subject is captured in the background of the first person M1, who is the main subject, in the photographic area AP. In order to deal with this case, for example, if a relatively small face is included in the photographic area AP, the small face may be determined to be not the main subject and excluded from extraction targets. Also, for example, if the size of the area of the first face image PF1 included in the photographic area AP is equal to or smaller than a predetermined area, it may be excluded.
[0051] In the character recognition process, the first recognition unit 38-1 recognizes a character string CH from a character area AC included in the first image P1-4. The character string CH is composed of a plurality of characters and is an example of a character. In the character recognition process, the character string CH recognized in the character area AC is converted into text data using a character recognition technique.
[0052] In the photographing scene discrimination process, the first recognition unit 38-1 discriminates the photographing scene of the photo shown in the photograph area AP of the first image P1-4. Photographing scenes include, for example, portraits and landscapes. Landscapes include mountains, oceans, cities, night scenes, indoors, outdoors, festivals, ceremonies, and sports viewing. The photographing scene is discriminated by image analysis using, for example, pattern matching and machine learning. In the example of FIG. 5, the photographing scene of the first image P1-4 is discriminated to be "portrait" and "outdoors". In this way, there may be multiple discrimination results of the photographing scene.
[0053] The first acquisition unit 40 executes a first acquisition process based on, for example, a first face image PF1 representing the face of a first person M1, a character string CH, and a photographed scene. The first acquisition process includes a primary process and a secondary process.
[0054] The primary process is a process of determining the meaning of the character string CH using dictionary data 46, and acquiring the determined meaning as primary information. The primary information is used as basic information that is the basis for various determinations in the secondary process. The secondary process is a process of acquiring first person-related information R1 based on the acquired primary information, the first face image PF1, etc.
[0055] The results of the first recognition process and the first acquisition process are recorded in a first image information list 48. The first image information list 48 is a file that records first image information including the first face image PF1 acquired for each first image P1 in the first acquisition process, primary information acquired based on the character string CH, and the shooting scene and first person-related information R1. In addition to the information acquired in the first acquisition process, the first image information also includes the additional information, such as Exif information, if there is additional information attached to the first image P1. The first image information also includes the character string CH recognized by the first recognition process. The additional information and the character string CH are also recorded in the first image information list 48. The image information of the multiple first images 48 is listed in the first image information list 48 by recording the image information of each of the multiple first images P1.
[0056] A specific example of the primary process and the secondary process of the first acquisition process will be described with reference to FIG. 6. As shown in FIG. 6, in the primary process, the first acquisition unit 40 refers to the dictionary data 46 to determine the meaning of the character string CH. The dictionary data 46 stores data in which a plurality of patterns of character strings are associated with the meanings of the character strings. For example, the dictionary data 46 has registered therein a plurality of typical patterns of character strings representing "New Year's greetings". When the character string CH matches the pattern of "New Year's greetings", the meaning of the character string CH is determined to be "New Year's greetings". In addition, the dictionary data 46 has registered therein a plurality of typical patterns of character strings representing "name" and "address". When the character string CH matches the pattern of "name" and "address", the meaning of the character string CH is determined to be "name" and "address". The meaning of the character string CH includes, in addition to name and address, telephone number, nationality, place of employment, school name, age, date of birth, and hobbies. The dictionary data 46 also has registered therein typical patterns of these character strings, and various meanings of the character string CH can be determined. Although the dictionary data 46 is described as being recorded in the memory 22, the present invention is not limited to this and may be recorded in the storage 4.
[0057] In the example of FIG. 6, the character string CH of "Happy New Year" is determined to be a "New Year's greeting". The character string CH of "New Year's Day 2020" is determined to be a "date". The character string CH of "1-1 XX-cho, XX-ku, Tokyo" is determined to be an "address". The character string CH of "Taro, Hanako, and Ichiro Yamada" is determined to be a "name".
[0058] In addition, in the primary process, for example, the type of content of the first image P1 is estimated based on the determined meaning of the character string CH. The type of content of the first image P1 is, for example, information on whether the first image P1 shows a New Year's card or a Christmas card. In this way, in the primary process, the determined meaning of the character string CH, such as "New Year's greetings," "date," "name," and "address," and the type of content of the first image P1 estimated based on the meaning of the character string CH (New Year's card in this example) are acquired as primary information. The primary information is information acquired only from the character string CH, and the meaning of the character string CH determined by the primary process is also a general meaning.
[0059] In the secondary process, the first acquisition unit 40 acquires the first person information R1 related to the first person included in the first image P1 using the primary information as basic information. In this example, the first image P1-4 is a New Year's card, and the primary information includes that the type of content of the first image P1-4 is a New Year's card. In the case of a New Year's card, the "name" and "address" included in the character area AC are often the "address" and "name" of the first person M1 included in the photo area AP. Since the primary information of the first image P1-4 includes "New Year's card", the first acquisition unit 40 estimates that the "address" and "name" included in the primary information are the "name" and "address" of the first person M1 in the photo area AP.
[0060] That is, at the time of the primary processing, the meaning of the character string CH of "address" and "name" is merely recognized as a general meaning not linked to a specific person. However, in the secondary processing, the meaning of the character string CH becomes a specific meaning determined in relation to the first person M1, such as meaning the "address" and "name" of the first person M1 detected by recognizing the face from the first image P1. The information that the "name" and "address" included in the first image P1 are the "name" and "address" of the first person M1 included in the photo area AP included in the first image P1 is information acquired based on the characters recognized from the first image P1 and the face of the first person M1, and is an example of first person-related information R1.
[0061] In addition, in the case of a New Year's card, when the faces of multiple first persons M1 are included in the photo area AP, the relationship between the multiple first persons M1 is often a family relationship such as husband and wife or parent and child. Therefore, since the primary information of the first image P1-4 includes "New Year's card", the first acquisition unit 40 estimates that the multiple first persons M1 in the photo area AP are a family relationship. Since the first image P1-4 includes three first persons M1, the relationship between the three first persons M1 is estimated to be a three-person family. The information that the relationship between the three first persons M1 is a parent-child relationship and that they are a three-person family is information acquired based on the characters recognized from the first image P1 and the faces of the first persons M1, and is an example of first person-related information R1.
[0062] Furthermore, the first acquisition unit 40, for example, analyzes the first face images PF1 of the three first persons M1A, M1B, and M1C included in the first image P1-4 to estimate the sex and age of the three first persons M1A, M1B, and M1C. In this example, it is estimated that the first person M1A is a man in his 30s, the first person M1B is a woman in her 30s, and the first person M1C is a child under the age of 10. Based on this estimation result and the information that the family has three members, the first acquisition unit 40 acquires first person related information R1 that the first person M1A is a "husband" and a "father," the first person M1B is a "wife" and a "mother," and the first person M1C is a child of the first person M1A and the first person M1B.
[0063] In this way, the first acquisition unit 40 acquires the first person-related information R1 related to the first person M1 based on the characters recognized from the first image P1 and the face of the first person M1. When there are multiple first images P1, the first acquisition unit 40 performs the first recognition process and the first acquisition process for each first image P1 to acquire the primary information and the first person-related information R1. The acquired first person-related information R1 is recorded in the first image information list 48. Note that, although the first image information list 48 is described as being recorded in the memory 22, it is not limited thereto and may be recorded in the storage 4.
[0064] 7, first image information including a first face image PF1, a shooting scene, a character string CH, primary information, and first person-related information R1 obtained from a plurality of first images P1 owned by user A is stored in association with each of the first images P1-1, P1-2, P1-3, .... The first image information list 48 is stored, for example, in a storage area assigned to each user in the storage 4 together with the image P of each user.
[0065] 7, the first images P1-2 and P1-3 have Exif information recorded as incidental information, but the first images P1-1 and P1-4 have no Exif information recorded. This indicates that, for example, the first images P1-2 and P1-3 are images captured by a smart device 6 or a digital camera 8 that has a function of adding Exif information when capturing an image. On the other hand, the first images P1-1 and P1-4, which do not have Exif information recorded, are images that have been digitized by reading a print photograph PA by a scanner 10 or the like.
[0066] Furthermore, the first image P1-1 includes, as the first person-related information R1, information that the pet of the first person M1 is a dog. This information is obtained by, for example, in the case where a dog is photographed together with the first person M1 in the first image P1-1, by making an inference that the dog is the pet of the first person M1.
[0067] 7 are examples of New Year's cards sent by "Taro Yamada." For example, the first image P1 of a New Year's card sent by user A, who is also "Taro Yamada," is stored in the storage 4.
[0068] The first images P1-1 to P1-4 are arranged in chronological order according to the year of submission, with the first image P1-1 being the oldest dated in "2010" and the first image P1-4 being the newest dated in "2020". In the first acquisition process, since the first images P1-1 to P1-4 commonly contain the name "Taro Yamada", it is also possible to estimate that the name of the first person M1A commonly contained in the first images P1-1 to P1-4 is "Taro Yamada". In addition, since the first image information list 48 records the first face image PF1 of the first person M1A contained in each of the first images P1-1 to P1-4 and the date, it is also possible to trace the change in the face of the first person M1A. Such changes in the face of the first person M1A by era are also included in the first person related information R1. In other words, the first person-related information R1 also includes information acquired from the multiple first images P1.
[0069] The first image information including the first person-related information R1 recorded in the first image information list 48 is used as tag information for the first image P1, and is also used to determine the image content that is the premise for tagging the second image P2.
[0070] Next, the second recognition process, the second acquisition process, and the tagging process performed on the second image P2 will be described with reference to FIGS.
[0071] As shown in Fig. 8 as an example, the second recognition unit 38-2 sequentially reads out the second images P2 one by one from the second image folder 13-2 of the classified folder 13 and executes the second recognition process. In the following example, similar to the first image P1, when each of the multiple second images P2 is to be distinguished, the reference symbol P2 is indicated by adding a sub-reference symbol, such as second image P2-1, second image P2-2, etc. Fig. 8 shows an example in which the second recognition process is performed on the second image P2-1. The second recognition process includes a second face recognition process and a shooting scene discrimination process.
[0072] In the second face recognition process, the second recognition unit 38-2 recognizes the face of the second person M2 included in the photographic area AP of the second image P2-1 using a face recognition technique similar to that of the first recognition unit 38-1. The second recognition unit 38-2 extracts, for example, a rectangular area including the face recognized in the photographic area AP as the second face image PF2. When multiple second persons M2 are included in the photographic area AP as in the second image P2-1, the faces of all the second persons M2 are recognized, and second face images PF2 are extracted for all the recognized faces. In the example of FIG. 8, three faces of the second persons M2 are included in the photographic area AP of the second image P2-1, so three second face images PF2 are extracted. As with the first person M1, when it is necessary to distinguish between the multiple second persons M2, the symbol M2 is indicated by adding sub-symbols A, B, and C, such as the second person M2A, the second person M2B, and the second person M2C. When a relatively small face is included in the background within the photographic area AP, the small face is determined to be not the main subject and is excluded from extraction targets in the same manner as the first recognition process.
[0073] In the photographing scene determination process, the second recognition unit 38-2 determines the photographing scene of the photo shown in the photo area AP of the second image P2-1. The method of determining the photographing scene is the same as that for the first image P1. In the example of FIG. 8, the photographing scene is determined to be "portrait" and "indoors". The result of the second recognition process is recorded in the second image information list 50. Note that the second image information list 50 is recorded in the memory 22, but is not limited thereto and may be recorded in the storage 4.
[0074] 9, the second image information list 50 is a file that records second image information including a second face image PF2 representing the face of the second person M2 recognized from the second image P2 in the second recognition process and a shooting scene. Since the second image P2-1 and the second image P2-3 include the faces of three second persons M2, three second face images PF2 are recorded as the second image information. Since the second image P2-2 includes the faces of four second persons M2, four second face images PF2 are recorded as the second image information. Since the second image P2-4 includes the faces of two second persons M2, two second face images PF2 are recorded as the second image information.
[0075] In addition, in the second image information list 50, in addition to "portrait" and "outdoors", "shrine" is recorded as the shooting scene of the second image P2-3. This is determined based on the fact that, for example, a shrine house or a shrine gate is included in the background of the photo area AP of the second image P2-3. In addition to "portrait", "sea" is recorded as the shooting scene of the second image P2-4. This is determined based on the fact that the sea and a ship are included in the background of the photo area AP of the second image P2-4.
[0076] Furthermore, in addition to the information recognized in the second recognition process, if there is any additional information such as Exif information attached to the second image P2, the additional information is also included in the second image information list 50. Image information for each of the multiple second images P2 is recorded in the second image information list 50. In the second image information list 50, of the second images P2-1 to P2-4, Exif information is recorded for the second images P2-1, P2-3, and P2-4, but no Exif information is recorded for the second image P2-2.
[0077] The incidental information includes GPS information. The GPS information of the second image P2-1 indicates that the photo was taken in Hawaii. The GPS information of the second image P2-2 indicates that the photo was taken in Tokyo. The GPS information of the second image P2-3 indicates that the photo was taken on Tokyo Bay.
[0078] As shown in Fig. 10 as an example, the second acquisition unit 42 executes a second acquisition process to acquire second person-related information R2 related to a second person M2 included in a second image P2. The second acquisition process includes a similar image search process and this process. The example in Fig. 10 is an example in which the second acquisition process is executed for a second image P2-1.
[0079] In the similar image search process, the second acquisition unit 42 reads out the second face image PF2 of the second image P2-1 to be processed from the second image information list 50. Then, the second acquisition unit 42 compares the second face image PF2 with the first face image PF1 included in the first image P1 of the same user A. Then, the first image P1 including the first face image PF1 similar to the second face image PF2 included in the second image P2-1 is searched for from among the multiple first images P1. In the example of FIG. 10, the first face image PF1 and the second face image PF2 to be compared are read out from the first image information list 48 and the second image information list 50, respectively.
[0080] The second acquisition unit 42 compares each of the second facial images PF2 of the second persons M2 included in the second image P2-1 with the first facial image PF1. Since the second image P2-1 includes three second persons M2 and three second facial images PF2, the second acquisition unit 42 compares each of the three second facial images PF2 with the first facial image PF1. Of course, the first image P1 may also include a plurality of first persons M1 and may also include the same number of first facial images PF1 as the number of persons. In that case, comparison is performed for each first facial image PF1.
[0081] In this example, the second face images PF2 of three people in the second image P2-1 are compared with the first face image PF1 of one person included in the first image P1-1. In this case, the number of combinations to be compared is 3×1, i.e., three ways. Next, the second face images PF2 of three people in the second image P2-1 are compared with the first face images PF1 of two people included in the first image P1-2. In this case, the number of combinations to be compared is 3×2, i.e., six ways. Next, the second face images PF2 of three people in the second image P2-1 are compared with the first face images PF1 of three people included in the first image P1-3. In this case, the number of combinations to be compared is 3×3, i.e., nine ways. Next, the second face images PF2 of three people in the second image P2-1 are compared with the first face images PF1 of three people included in the first image P1-4. As in the first image P1-3, the first image P1-4 also includes the first face images PF1 of three people, so that the number of combinations to be matched is 3×3, or 9, in the case of the first image P1-4 as well. Such matching is performed as many times as the number of first images P1. In this embodiment, the case where the image of the person included in the first image P1 and the image of the person included in the second image P2 are matched in a round-robin manner has been described, but this is not limited to this. For example, when the second person M2A included in the second image PF2 is analyzed and the first person M1A in the first face image P1-4 is an image similar to the first person M1A at a predetermined level or higher, the first person M1 (for example, the first person M1B and the first person M1C) other than the first person M1A included in the first face image P1-4 may be preferentially matched.
[0082] A first image P1 including a face of a first person M1 similar to the face of a second person M2 is searched for by matching a plurality of second face images PF2 included in a second image P2 to be processed with a plurality of first face images PF1 included in a plurality of first images P1. The determination of whether the faces are similar is made, for example, by determining that the faces are similar when the evaluation value of the similarity is equal to or greater than a preset threshold. The evaluation value of the similarity is calculated using image analysis techniques such as pattern matching and machine learning based on feature amounts representing morphological features of the face.
[0083] 10, four first images P1-1, P1-2, P1-3, and P1-4 are searched for as a first image P1 including a face of a first person M1 similar to the faces of three second persons M2 in a second image P2-1. If the number of images to be searched is large, a preset number of images with high similarity evaluation values may be extracted, and images with low similarity evaluation values may be excluded.
[0084] The second acquisition unit 42 reads out from the first image information list 48 the first image information including the first person-related information R1 corresponding to each of the searched first images P1-1 to P1-4.
[0085] In this process, the second acquisition unit 42 acquires the second person-related information R2 using image information including the first person-related information R1. First, the second acquisition unit 42 estimates that the three second persons M1 in the second image P2-1 are a family of three based on the fact that the faces of the three second persons M2A, M2B, and M2C in the second image P2-1 are similar to the faces of the first persons M1, M1B, and M2C of the family of three in the first image P1-4. In addition, the GPS information included in the supplementary information of the second image P2-1 is "Hawaii", that is, the location where the second image P2-1 was taken is "Hawaii". In contrast, the address of the first person M1 included in the first person-related information R1 is "Tokyo". Based on the result of comparing the location where the image was taken with the address, the second acquisition unit 42 estimates that "the second image P2-1 is a family photo taken on a trip to Hawaii". The second acquisition unit 42 acquires the inference result that "the three second persons M2 in the second image P2-1 are a family" and that the second image P2-1 is inferred to be "a family photo taken on a trip to Hawaii" as second person-related information R2 relating to the second person M2.
[0086] 10, the second person-related information R2 of the second image P2-1 may include, for example, gender and age obtained by image analysis of the appearance including the face of the second person M2 included in the second image P2-1, as in the first person-related information R1 acquired from the first image P1-4. As will be described later, the first person-related information R1 may be used to verify the validity of the estimation results of gender, age, etc. estimated by image analysis.
[0087] The second person-related information R2 acquired by the second acquisition process is recorded in the second image information list 50 (see FIG. 12). The second person-related information R2 is used in tagging process for the second image P2.
[0088] As shown as an example in FIG. 11, the tagging unit 44 performs tagging processing on the second image P2-1 to be processed based on the second person-related information R2 acquired by the second acquisition unit 42. In the tagging processing, the tagging unit 44 extracts keywords to be used for tag information from the second person-related information R2. For example, if the second person-related information R2 is "The second image P2-1 is a family photo taken on a trip to Hawaii," the tagging unit 44 extracts "family," "trip," and "Hawaii" from the second person-related information R2 as keywords to be used for the tag information. The keywords to be used for the tag information may be the words contained in the second person-related information R2 as they are, or may be different words having a common substantial meaning. Examples of different words having a common substantial meaning include, for example, "overseas" and "America," which geographically include "Hawaii." Considering Japan as the base point, these three words can all be included in the higher concept of "overseas," so it can be said that they have a common substantial meaning.
[0089] The tagging unit 44 assigns these keywords as tag information to the second image P2-1. The tagging unit 44 stores the second image P2-1, to which the tag information has been assigned, in a user A dedicated folder 14A provided in the processed folder 14.
[0090] 12, the second person-related information R2 acquired by the second acquisition unit 42 and the tag information assigned by the tagging unit 44 are recorded in the second image information list 50 in association with the second image P2-1. In the second image information list 50, the second person-related information R2 and the tag information are recorded for each second image P2.
[0091] Next, the operation of the above configuration will be described with reference to the flowchart of Fig. 13. The image content determination process of the second image P2 in the image content determination device 2 is performed according to the procedure shown in Fig. 13, as an example.
[0092] In this example, the image content determination device 2 executes the image content determination process for each user's image P at a preset timing. The preset timing is, for example, when the number of unprocessed images P uploaded from the user to the storage 4 is monitored and the number of unprocessed images P reaches a preset number. For example, when the number of unprocessed images P uploaded by user A to the storage 4 reaches a preset number, the image content determination device 2 executes the image content determination process for the image P of user A. Note that the preset timing may be the timing when the user's image P is newly uploaded. Below, an example will be described in which the image content determination process is executed for the image P of user A.
[0093] In the image content determination process, first, the classification unit 36 executes the classification process in step ST10 of FIG. 13. In the classification process, as shown in FIG. 4 as an example, the classification unit 36 reads out an unprocessed image P of the user A from the unprocessed folder 12. Then, based on the presence or absence of a face image PF in the photographic area AP and the presence or absence of a text area AC in the image P, the classification unit 36 classifies the image P into one of a first image P1, a second image P2, and a third image P3. When the image P includes a photographic area AP and a text area AC, and the photographic area AP includes a face image PF, the classification unit 36 classifies the image P into a first image P1. When the image P includes a photographic area AP including a face image PF, and does not include a text area AC, the classification unit 36 classifies the image P into a second image P2. When the image P includes a photographic area AP not including a face image PF, or does not include a photographic area AP, the classification unit 36 classifies the image P into a third image P3.
[0094] The classification unit 36 performs classification processing on, for example, all of the unprocessed images P of each user. The classified first image P1, second image P2, and third image P3 are stored in the classified folder 13, respectively.
[0095] Next, the first recognition unit 38-1 executes the first recognition process in step ST20 of FIG. 13. In the first recognition process, as shown as an example in FIG. 5, the first recognition unit 38-1 executes the first recognition process on the first image P1 in the classified folder 13. In the first recognition process, the first recognition unit 38-1 first executes a first face recognition process to recognize the face of the first person M1 included in the photo area AP of the first image P1. In the case of the first image P1-4 shown as an example in FIG. 5, the faces of three first persons M1 are included in the photo area AP, so the faces of the three first persons M1 are recognized from the first image P1-4. The first recognition unit 38-1 extracts the faces of the three first persons M1 recognized from the first image P1-4 as three first face images PF1.
[0096] Next, the first recognition unit 38-1 performs character recognition processing on the first image P1. The first recognition unit 38-1 extracts a character string CH from a character area AC included in the first image P1. In the case of the first image P1-4 shown in Fig. 5, character strings CH such as "XX ward, Tokyo..." and "Yamada Taro" are recognized.
[0097] Next, the first recognition unit 38-1 performs a photographing scene determination process on the first image P1. In the photographing scene determination process, the first recognition unit 38-1 determines the photographing scene to be "portrait" or "outdoors."
[0098] Next, the first acquisition unit 40 executes a first acquisition process in step ST30 of Fig. 13. In the first acquisition process, as shown as an example in Fig. 5, the first acquisition unit 40 executes the first acquisition process based on a character string CH, which is an example of recognized characters, and a first face image PF1 representing the face of a first person M1. The first acquisition process includes a primary process and a secondary process.
[0099] In the primary process, the first acquisition unit 40 determines the general meaning of the character string CH while referring to the dictionary data 46. For example, as shown in FIG. 6, the general meaning of the character string CH "XX ward, Tokyo..." is determined to be an address. The general meaning of the character string CH "Yamada Taro" is determined to be a name. The meaning of the character string CH "Happy New Year" is determined to be "New Year's greetings." Furthermore, in the primary process, since the character string CH contains "New Year's greetings," it is estimated that the type of content of the first image P1 is "New Year's card." These pieces of information are acquired as primary information and are used as basic information for the secondary process.
[0100] In the secondary process, the first acquisition unit 40 acquires the first person information R1 related to the first person M1 included in the first image P1 using the primary information as basic information, as shown in Fig. 6. As shown in Fig. 6, since the primary information of the first image P1-4 includes a "New Year's card", the first acquisition unit 40 estimates that the "name" and "address" included in the primary information are the "name" and "address" of the first person M1 in the photo area AP. In addition, since the first image P1-4 is a "New Year's card", the first acquisition unit 40 estimates that the three first persons M1 in the photo area AP are a family of three.
[0101] The first acquisition unit 40 acquires the information estimated in this way as first person-related information R1. The first acquisition unit 40 records the primary information acquired in the primary processing and the first person-related information R1 acquired in the secondary processing in a first image information list 48. As shown as an example in Fig. 7, in addition to the primary information and the first person-related information R1, the first image information list 48 records the first image information including the incidental information and the first face image PF1.
[0102] The classification process in step ST10 to the first acquisition process in step ST30 are executed on the unprocessed first image P1, whereby the image information of the multiple first images P1 is recorded in the first image information list .
[0103] Next, the second recognition unit 38-2 executes the second recognition process in step ST40 of FIG. 13. In the second recognition process, as shown in FIG. 8 as an example, the second recognition unit 38-2 executes the second recognition process on the second image P2 in the classified folder 13. In the second recognition process, the second recognition unit 38-2 first recognizes the face of the second person M2 included in the photo area AP of the second image P2. In the case of the second image P2-1 shown in FIG. 8 as an example, the photo area AP includes the faces of three second persons M2, so the second recognition unit 38-2 recognizes the faces of the three second persons M2 in the second image P2-1 and extracts the areas including the recognized faces as three second face images PF2. Next, the second recognition unit 38-2 executes a shooting scene discrimination process for discriminating the shooting scene for the second image P2. In the example of FIG. 8, the shooting scene of the second image P2-1 is discriminated to be "portrait" and "indoors".
[0104] The second recognition unit 38-2 executes the second recognition process on the second image P2 to be processed. As shown in FIG. 9 as an example, the second face image PF2 representing the face of the second person M2 recognized from the second image P2 and the photographed scene are recorded in the second image information list 50.
[0105] Next, the second acquisition unit 42 executes the second acquisition process in step ST50. The second acquisition process includes a similar image search process and this process. As shown in FIG. 10 as an example, the second acquisition unit 42 first performs a similar image search process to search for a first image P1 including a first person M1 similar to the face of a second person M2 included in the second image P2-1 by comparing the second face image PF2 with the first face image PF1. In the example of FIG. 10, the similar image search process searches for four first images P1, namely, first images P1-1 to P1-4, as first images P1 including a face of a first person M1 similar to any of the faces of three second persons M2 included in the second image P2-1. The second acquisition unit 42 reads out first image information including first person-related information R1 corresponding to the searched first image P1 from the first image information list 48. As in the example of FIG. 10, when a plurality of first images P1 are found, the second acquisition unit 42 reads out from the first image list 48 the first image information including the corresponding first person-related information R1 for each of the first images P1.
[0106] In this process, the second acquisition unit 42 acquires the second person-related information R2 based on the first image information including the first person-related information R1. In the example of FIG. 10, the first person-related information R1 includes information that the three first persons M1 in the first image P1-4 are a family of three. Furthermore, the faces of the three second persons M2 in the second image P2-1 are all similar to the faces of the three first persons M1 in the first image P1-4. Based on such information, the second acquisition unit 42 estimates that the three second persons M2 in the second image P2 are a family. Furthermore, the GPS information of the second image P2-1 indicates that the location of the photo is "Hawaii", while the address of the three family members is recorded as "Tokyo" in the first person-related information R1 of the first image P1-4. By collating these pieces of information, the second acquisition unit 42 estimates that "the second image P2-1 is a family photo taken on a trip to Hawaii." The second acquisition section 42 records such an estimation result in a second image information list 50 (see FIG. 12).
[0107] The second acquisition unit 42 executes a tagging process in step ST60 of Fig. 13. In the tagging process, the second acquisition unit 42 assigns tag information to the second image P2 based on the acquired second person-related information R2. In the example of Fig. 11, tag information such as "family, travel, Hawaii, ..." is assigned to the second image P2-1 based on the second person-related information R2 acquired in the example of Fig. 10.
[0108] The second acquisition unit 42 executes the second recognition process in step ST40 to the tagging process in step ST60 in Fig. 13 on a plurality of unprocessed second images P2. As a result, tag information is added to the plurality of second images P2, as shown as an example in the second image information list 50 in Fig. 12. The tag information is used as a keyword for searching the second images P2.
[0109] The above is summarized as shown in FIG. 14. That is, in the image content determination device 2 of this example, the first recognition unit 38-1 executes a first recognition process to recognize characters, which are an example of a character string CH, and the face of the first person M1 from the first image P1 including characters and the face of the first person, such as a New Year's card like the first image P1-4. Then, the first acquisition unit 40 executes a first acquisition process to acquire first person-related information R1 related to the first person M1 included in the first image P1, based on the recognized character string CH and the face of the first person M1. When the first image P1-4 is a New Year's card, the first person-related information R1 includes the "name" and "address" of the first person M1, and therefore the "name" and "address" of the first person M1, as well as information that a plurality of first persons M1 are a family, are acquired.
[0110] Then, the second recognition unit 38-2 executes a second recognition process to recognize the face of the second person M2 from the second image P2 including the face of the second person M2. When the second image P2 is the second image P2-1, the faces of the three second people M2 are recognized. Then, the second acquisition unit 42 executes a second acquisition process to acquire the second person-related information R2 related to the second person M2 included in the second image 2-1. The second acquisition process is a process to acquire the second person-related information R2 using the first person-related information R1 corresponding to the first image P1 including the face of the first person M1 similar to the face of the second person M2. In the example of FIG. 14, in the second acquisition process, the first person-related information R1 corresponding to the first image P1-4 including the three first people M1 similar to the three second people M2 included in the second image P2-1 is acquired. Then, using the first person-related information R1 representing a family of three, second person-related information R2 is obtained, such as "the three second persons M2 are a family" contained in the second image P2-1, and the second image P2-1 being "a family photo taken on a trip to Hawaii."
[0111] The character string CH included in the first image P1, such as a greeting card, often contains accurate personal information of the first person M1, such as an address and a name, and is therefore highly reliable as basic information for acquiring the first person-related information R1 related to the first person M1. Therefore, the first person-related information R1 acquired using the character string CH included in the first image P1 is also highly reliable. When judging the image content of the second image P2, the image content determination device 2 of this example identifies the first image P1 related to the second image P2 based on the similarity between the face of the second person M2 and the face of the first person M1, and acquires the first person-related information R1 corresponding to the identified first image P1. The first person-related information R1 of the first person M1, who is likely to be the same person as the second person M2, is used to acquire the second person-related information R2 of the second person M2.
[0112] Therefore, according to the image content determination device 2 of this example, for example, compared to the conventional method that does not use the first person-related information R1 corresponding to the first image P1, it is possible to obtain the second person-related information R2 with high reliability as information related to the person M2 included in the second image P2. Moreover, in the image content determination device 2 of this example, the CPU 18 executes a series of processes for obtaining the first person-related information R1 and the second person-related information R2. Therefore, unlike the conventional method, the user does not have to go through the trouble.
[0113] The second person-related information R2 is used as tag information for the second image P2, for example. This tag information is generated from the second person-related information R2, and is therefore highly reliable as information indicating the image content of the second image P2. Therefore, there is a high possibility that appropriate tag information indicating the image content is added to the second image P2, and when searching the second image P2 by keyword, there is an increased possibility that the user can search for the second image P2 that he or she desires.
[0114] In this example, the first image P1 is an image with a text area including a photographic area AP including the face of the first person M1 and a text area AC in which text is arranged in the margin outside the outline of the photographic area AP. The second image P2 is an image without a text area including only the photographic area AP including the face of the second person M2.
[0115] Greeting cards and identification cards are relatively often in the form of an image with a text area. When the first image P is such an image with a text area, the text included in the text area AC is highly likely to mean information related to the first person M1 included in the photographic area AP. Therefore, the first person-related information R1 related to the first person M1 obtained based on the text in the text area AC is also significant and reliable. By using such first person-related information R1, it is easier to obtain significant and reliable information as the second person-related information R2 compared to, for example, using information obtained from an image consisting only of the photographic area AP including the face of the first person M1 as the first person-related information R1.
[0116] Furthermore, when the second image P2 is an image without a text area, there is less information compared to when the second image P2 has a text area, and therefore there are fewer clues to determine the image content. Therefore, the amount of second person-related information R2 that can be obtained only from the second image P2 without a text area is small. Therefore, using the first person-related information R1 of the first image P1 with a text area is particularly effective when obtaining the second person-related information R2 from such a second image P2.
[0117] The first image P1 includes an image representing at least one of a greeting card and an identification card. Examples of greeting cards include New Year's cards, Christmas cards, and seasonal greeting cards such as summer greeting cards. Examples of greeting cards include postcards announcing the birth of a child, children's events such as Shichigosan (an event to celebrate the growth of 7-year-old girls, 5-year-old boys, and 3-year-old boys and girls), school entrance and graduation notices, and moving notices. Examples of identification cards include driver's licenses, passports, employee ID cards, and student ID cards. Since the information written on such greeting cards and identification cards is particularly accurate, the first image P1 is particularly effective as the first image P1 for acquiring reliable first person-related information R1, compared to, for example, a case where the first image P1 includes only an image representing a commercially available picture postcard. Furthermore, since a greeting card may include various information about a person, such as stories about hobbies, it is more likely that various information can be acquired as the first person-related information R1, compared to, for example, a case where the first image P1 is an image representing a direct mail piece.
[0118] In the image content determination device 2 of this example, the classification unit 36 executes a classification process to classify a plurality of images P into a first image P1 and a second image P2 before executing the first recognition process and the second recognition process. By classifying a plurality of images P into the first image P1 and the second image P2 in advance in this manner, the process of acquiring the first person-related information R1 and the second person-related information R2 can be performed more efficiently than in the case where the classification process is not performed in advance prior to each recognition process.
[0119] In this example, the first person-related information R1 is acquired from the first image P1 of the same owner as the second image P2. The same owner refers to the case where the first image P1 and the second image P2 are both stored in the storage area of the account of the same user in the storage 4. When the owner of the first image P1 and the owner of the second image P2 are the same, the commonality between the first person M1 included in the first image P1 and the second person M2 included in the second image P2 is higher than when the owner of the first image P1 and the owner of the second image P2 are different. When acquiring the second person-related information R2 from the second image P2, it is possible to use significant first person-related information R1 that is highly related to the second person M2. Therefore, the reliability of the acquired second person-related information R2 is improved compared to when the owner of the first image P1 and the owner of the second image P2 are different. In other words, the fact that significant first person-related information R1 is easily acquired means that there is less noise. Therefore, when the owner of the first image P1 and the owner of the second image P2 are the same, the processing efficiency for acquiring the highly reliable second person-related information R2 is improved compared to when the owners are different.
[0120] In addition, the first person-related information R1 corresponding to the first image P1 held by a person different from the holder of the second image P2 may be used. The reason is as follows. For example, there may be a relationship between the holder of the first image P1 and the holder of the second image P2, such as the holder being a family member or friend of the holder of the second image P2, or the holders being people who participated in the same event. In this case, when acquiring the second person-related information R2 of the second image P2, there is a possibility that meaningful information can be obtained by using the first person-related information R1 corresponding to the first image P1 of a different holder. In addition, users who can use the first person-related information R1 based on the image group of user A may be limited to users who satisfy a predetermined condition. The predetermined condition may be, for example, specified by user A, or may be a predetermined number or ratio or more of images similar to images included in the image group of user A.
[0121] In this example, the first person related information R1 includes at least one of the name, address, telephone number, age, date of birth, and hobby of the first person M1. The first person related information R1 including these pieces of information is effective as a clue for acquiring the second person related information R2. For example, the name of the first person M1 is highly useful for identifying the name of the second person M2, and the telephone number of the first person M1 is highly useful for identifying the address of the second person M2. The address does not have to be an exact address, and may be only a zip code or only a prefecture name. In addition to the above, the first person related information R1 may include either a nationality or an affiliated organization name. The affiliated organization name may be the place of employment, the school name, and the club name. These pieces of information are also effective as a clue for acquiring the first person related information R1 and the second person related information R2.
[0122] In this example, the first person-related information R1 and the second person-related information R2 include family relationships. Family relationships are an example of information indicating the relationship between a plurality of first persons M1 included in the first image P1 or information indicating the relationship between a plurality of second persons M2 included in the second image P2. In this way, when a plurality of first persons M1 are included in the first image P1 or a plurality of second persons M2 are included in the second image P2, the first person-related information R1 or the second person-related information R2 may include information indicating the relationship between the plurality of persons. As shown in the above example, information indicating the relationship between the plurality of first persons M1 is effective for estimating the relationship between the plurality of second persons M2 identified as the first person M1. In addition, by including information indicating the relationship between the plurality of second persons M2 in the second person-related information R2, it becomes possible to assign various tag information compared to the case where the second person-related information R2 includes only information about each of the plurality of second persons M2.
[0123] The information indicating the relationship between the first persons M1 or the information indicating the relationship between the second persons M2 may include at least one of family relationships such as husband and wife, parents and children, and siblings, as well as kinship relationships including grandparents, friendship relationships, and master-disciple relationships. Furthermore, the "relationship between the first persons M1" is not limited to family relationships and kinship relationships, but may also be human relationships such as friendship relationships or master-disciple relationships. Therefore, according to this configuration, it is possible to obtain first person-related information R1 or second person-related information R2 that is more reliable than when the information indicating the relationship between the first persons M1 or the information indicating the relationship between the second persons M2 is information indicating only family relationships.
[0124] According to this example, the second acquisition unit 42 uses GPS information of Exif information, which is an example of incidental information attached to the second image P2. Incidental information of the second image P2, such as Exif information, contains a lot of information, such as GPS information, that is useful for acquiring the second person-related information R2. By using incidental information, it is possible to acquire more reliable second person-related information R2 compared to when incidental information is not used. Note that, in this example, an example has been described in which the second acquisition unit 42 uses incidental information attached to the second image P2 in the second acquisition process for acquiring the second person-related information R2. However, of course, the first acquisition unit 40 may use incidental information attached to the first image P1 in the first acquisition process for acquiring the first person-related information R1.
[0125] In the above example, the second person-related information R2, "This is a family photo taken on a trip to Hawaii," is acquired from the second image P2-1 of a family photo based on the first person-related information R1 acquired from the first image P1-4 of a New Year's card. In addition to the above example, there are various types of first image P1 and second image P2, and various types of first person-related information R1 are acquired from the first image P1. In addition, various types of second person-related information R2 are acquired from the second image P2 based on the first person-related information R1. These various types of types are shown in the following embodiments.
[0126] In the following embodiments, the configuration of the image content determination device 2 is the same as that of the first embodiment, and the basic process steps up to acquiring the second person-related information R1 are also similar to the process steps shown in Fig. 13. The only differences are in the content of the information, such as the type of at least one of the first image P1 and the second image P2, and the content of the first person-related information R1 and the second person-related information R2. Therefore, the following embodiments will be described focusing on the differences from the first embodiment.
[0127] [Second embodiment] 15 and 16, the second person-related information R2 of the second image P2-2 is acquired using the first image P1-4. Since the first image P1-4 is the same as that described in the first embodiment, the description of the process performed on the first image P1-4 is omitted.
[0128] Because the second image P2-2 includes the faces of the four second persons M2, in the second recognition process, the second recognition unit 38-2 recognizes the faces of the four second persons M2 from the second image P2-2 and extracts the four recognized second face images PF2.
[0129] In the second acquisition process shown in FIG. 16, in the similar image search process, the second acquisition unit 42 searches for a first image P1 including a face of the first person M1 similar to the face of the second person M2 by comparing the second face images PF2 of the four second persons M2 included in the second image P2-2 with the first face images PF1 of the first person M1 included in the first image P1. Then, the second acquisition unit 42 acquires the first person-related information R1 from the searched first image P1 from the first image information list 48. In the example of FIG. 16, the first images P1-1 to P1-4 are searched as the first image P1, as in the example of FIG. 10 of the first embodiment. Then, the first person-related information R1 is acquired.
[0130] In the example of FIG. 16, the faces of three second persons M2A to M2C among the four second persons M2A to M2D in the second image P2-2 are similar to the faces of three first persons M1A to M1C in the first image P1-4. In this process, the second acquisition unit 42 estimates that the three second persons M2A to M2C among the four second persons M2A to M2D in the second image P2-2 are family members based on the result of the comparison. The second acquisition unit 42 further estimates who the remaining second person M2D in the second image P2-2 is. The second acquisition unit 42 estimates the age and sex of the second persons M2A to M2D by performing image analysis on the second image P2-2. In this example, the second persons M2A and M2B are estimated to be a man and woman in their 30s, the second person M2C is estimated to be a child under 10 years old, and the second person M2D is estimated to be a woman in her 60s. The second acquisition unit 42 estimates that the second person M2D is the grandmother of the second person M2C, who is the child of the second person M2A and the second person M2B, because the age difference between the second person M2A and the second person M2B and the age of the second person M2D is about 20 years or more, and the second person M2D is different from the first persons M1A to M1C whose parent-child relationships included in the first person-related information R1 have been recognized. Based on this estimation, the second person M2D is estimated to be "a woman in her 60s, who is the grandmother of the child who is the second person M2C" in the second image P2-2. The second acquisition unit 42 acquires this estimation result as the second person-related information R2.
[0131] The ages and sexes of the four second persons M2 can also be estimated by image analysis of the second image P2-2. In this example, the second person-related information R2 is acquired using the first person-related information R1 that the first person M1 to the first person M1C who are similar to the second person M2A to the second person M2C are a family of three. In this way, the first person-related information R1 prevents the second person M2D from being erroneously determined to be the mother of the child, the second person M2C. That is, in this case, in the second acquisition process, the second acquisition unit 42 derives the second person-related information R2 based on the second image P2, and determines the validity of the derived second person-related information R2 based on the first person-related information R1. As a result, since the first person-related information R1 is highly reliable information, by using the first person-related information R1 to determine the validity of the second person-related information R2, it is possible to acquire the second person-related information R2 with higher reliability than when the derived second person-related information R2 is acquired as is.
[0132] In this example, for example, tag information such as "grandmother" can be added to the second image P2-2. Such tag information is useful when searching for photos of "grandmother."
[0133] [Third embodiment] The third embodiment shown as an example in Figures 17 and 18 estimates the age of a second person M2A appearing in a second image P2 using the first person-related information R1 obtained from the first image P1 as well as the account information of the user who owns the first image P1.
[0134] In the third embodiment, as shown in FIG. 18, the second image P2 to be processed is the same second image P2-1 as in the first embodiment, and the first image P1 searched for by the similar image search process is the same first images P1-1 to P1-4 as in the first embodiment (see FIG. 10).
[0135] As described in the first embodiment, the owner of the first images P1-1 to P1-4 is user A, and the account information of user A is registered when the user A signs a contract for the online storage service. The account information is stored, for example, in a storage area allocated to user A in storage 4. The account information includes user A's name, "Yamada Taro," and information such as April 1, 1980, as the date of birth. The account information is information registered for each user, and may be stored in a format similar to Exif information, which may be provided for each first image P1. Also, only one piece of account information may be provided for multiple first images P1 of the same user. In any case, in storage 4, the account information is associated with multiple first images P1 of the user for each user. In the sense of being associated, the account information is an example of incidental information that is incidental to each first image P1, along with the Exif information.
[0136] 7, the first images P1-1 to P1-4 are all New Year's cards, and all of the first images P1-1 to P1-4 have in common the face of the first person M1A and the character string CH "Yamada Taro." The face of the first person M1 contained in the first image P1-1 is only the face of the first person M1A, and the name contained in the first image P1-1 is also only "Yamada Taro." The first images P1-1 to P1-4 also contain dates that can be estimated as the approximate shooting years of the photographic area AP, such as "New Year's Day 2010" and "New Year's Day 2014," as the character string CH.
[0137] As shown in FIG. 17, in the first acquisition process executed to acquire the first person-related information R1, the first acquisition unit 40 acquires the account information of the user A in addition to the character string CH included in the character region AC of the first images P1-1 to P1-4. The face of the first person M1 included in all of the first images P1-1 to P1-4 is only the face of the first person M1A, and the character string CH included in all of the first images is only "Yamada Taro." Therefore, the first acquisition unit 40 estimates that the first person M1A is "Yamada Taro." Then, since "Yamada Taro" in the character string CH matches the name "Yamada Taro" in the account information, the first acquisition unit 40 estimates that the first person M1A is the user A and that the date of birth of the first person M1A is "April 1, 1980," which is included in the account information.
[0138] As shown in FIG. 14 and other figures, the first image P1-4 is a "New Year's card" and includes a character string CH that indicates the date "New Year's Day, 2020." From this date, the first acquisition unit 40 estimates that the photographed year of the photo area AP of the first image P1-4 is around 2020. If the photographed year of the photo area AP of the first image P1-4 is 2020, the first person M1A included in the first image P1-4 was born in 1980, and therefore the age of the first person M1A is estimated to be about 40 years old. Based on this estimation, the first acquisition unit 40 estimates that the age of the first person M1A at the time of photographing the first image P1-4 is about 40 years old. Although the estimated age of the first person M1A uses the account information, it is information acquired based on the face of the first person M1A recognized from the first image P1-4 and the character string CH "New Year's Day, 2020," and is therefore an example of first person-related information R1. The first acquisition unit 40 also performs a similar estimation for the first images P1-1 to P1-3, and estimates the age of the first person M1A at the time each of the first images P1-1 to P1-3 was captured.
[0139] 18, in this process, the second acquisition unit 42 acquires, as a processing result of the similar image search process, a determination result that the face of the second person M2A in the second image P2-1 is most similar to the face of the first person M1A in the first image P1-4. Furthermore, the second acquisition unit 42 acquires information that the estimated age of the first person M1A is 40 years old from the first person-related information R1 of the first image P1-4. Based on this information, the second acquisition unit 42 acquires, as the second person-related information R2, an estimation result that the estimated age of the second person M2A in the second image P2-1 is 40 years old.
[0140] In this way, in the third embodiment, when estimating the age of the second person M2A in the second image P2-1, the second acquisition unit 42 searches for the first image P1-4 including a face similar to that of the second person M2A in the second image P2-1, and acquires the second person-related information R2, which is the estimated age of the second person M2A, using the first person-related information R1 in the searched first image P1-4. As a result, by using the more reliable first person-related information R1 compared to estimating the age of the second person M2A from the second face image PF2, the reliability of the estimated age is improved.
[0141] The estimated age may be in a certain range, such as in the 40s, early 40s, or 38 to 42 years old.
[0142] In addition, in this example, the first acquisition unit 40 uses the account information when executing the first acquisition process, but the second acquisition unit 42 may use the account information when executing the second acquisition process. For example, in the process of FIG. 18, as described above, the second acquisition unit 42 acquires a determination result that the face of the second person M2A in the second image P2-1 is most similar to the face of the first person M1A in the first image P1-4. After acquiring this determination result, the second acquisition unit 42 may estimate the age of the first person M1A in the first image P1-4 and the age of the second person M2A in the second image P2-1 by using the account information.
[0143] [Fourth embodiment] 19 and 20, the first acquisition unit 40 determines the year in which the number of family members changed from a plurality of first images P1, and acquires first person-related information R1 related to the change in the number of family members. The second acquisition unit 42 uses the first person-related information R1 to acquire second person-related information R2 related to second images P2 taken after that year.
[0144] In the fourth embodiment, as shown in FIG. 19, for example, the first acquisition unit 40 acquires the transition of the number of family members of the first person M1A from a plurality of first images P1 of the user A as the first person related information R1. The first images P1-1 to P1-3 are similar to the first images P1-1 to P1-3 shown in each of the above embodiments (see FIG. 7 and FIG. 17). In the photo area AP of the first image P1-1, the first person M1A named "Yamada Taro" is photographed alone, and the date 2010 is included as the character string CH. From this information, the first acquisition unit 40 acquires the first related information R1 from the first image P1-1 that the first person M1A was single in 2010. As shown in FIG. 7, the first person related information R1 is acquired from the first image P1-2 that the first persons M1A and M1B are a family of two in 2014. From the first image P1-3, first person related information R1 is acquired, indicating that the first persons M1A, M1B, and M1C were a family of three in 2015. Furthermore, by referring to the first person related information R1 of the first image P1-2, it is understood that one year ago, in January 2014, the first persons M1A and M1B were a family of two, and the first person M1C did not exist. From this, it is understood that the first person M1C included in the first image P1-3 is a child born in 2014. This information is also acquired as the first person related information R1.
[0145] 20, when determining the image content of the second image P2-3, the second acquisition unit 42 searches the first image 1-3 as the first image P1 including the face of the first person M1 similar to the face of the second person M2 included in the second image P2-3. The search is performed based on the similarity between the faces of the second persons M2A and M2B included in the second image P2-3 and the faces of the first persons M1A and M2B included in the first image 1-3. Then, the second acquisition unit 42 reads out the first person-related information R1 corresponding to the first image 1-3 from the first image information list 48.
[0146] In this process, the second acquisition unit 42 estimates that the age of the child (second person M2C) at the time of shooting the second image P2-3 is 5 years old based on the information "child (first person M1C) born in 2014" included in the first person-related information R1 of the first image P1-3 and the information of the shooting year "2019" included in the incidental information of the second image P2-3. Furthermore, the second acquisition unit 42 estimates that "the second image P2-3 is a photo taken at Shichi-Go-San (an event to celebrate the growth of a 7-year-old girl, a 5-year-old boy, and a 3-year-old boy and girl)" based on the shooting date being "November 15" and the shooting scene of the second image P2-3 being "a shrine". Such information is acquired as the second person-related information R2. Based on this second person-related information R2, tag information such as "Shichi-Go-San" is assigned to the second image P2-3.
[0147] As described above, according to the fourth embodiment, the first acquisition unit 40 determines the year in which the family member was added based on the multiple first images P1-1 to P1-3, and acquires the year in which the family member was added as the first person-related information R1. The second acquisition unit 42 estimates the age of the child appearing in the second image P2-3 acquired after that year by determining that the year in which the family member was added is the year the child was born, and acquires the estimated age of the child as the second person-related information R2. Therefore, according to this configuration, it is possible to acquire more diverse information as the first person-related information R1 than when the first person-related information R1 is acquired from only one first image P1, and therefore it is possible to acquire highly reliable information as the second person-related information R2.
[0148] Furthermore, based on the estimated age of the child and the date of shooting, the second image P2-3 is estimated to be a commemorative photo taken at an event appropriate for the child's age, such as Shichi-Go-San. According to the technology disclosed herein, since the first person-related information R1 is used, it is possible to acquire second person-related information R2 with higher reliability than when an event involving the second person M2 is estimated only from the image content of the second image P2.
[0149] The types of events related to the second person M2 tagged to the second image P2 include traditional events celebrating the healthy growth of children, such as Shichigosan and shrine visits (events celebrating the growth of infants), as well as various events such as events celebrating longevity, such as kanreki (60th birthday) and beiju (88th birthday), life events, such as weddings and entrance ceremonies, and planned events, such as festivals and concerts. Events also include school events, such as athletic meets and school plays.
[0150] [Fifth embodiment] In each of the above embodiments, the first image P1 held by user A was explained using the example of a New Year's card sent by user A, but the first image P1 held by user A may also be an image of a New Year's card or the like to which user A is the recipient.
[0151] The fifth embodiment shown in FIGS. 21 and 22 is an example in which second person-related information R2 is acquired from a second image P2 by using first person-related information R1 of a first image P1 in which a user A is the recipient.
[0152] As shown in FIG. 21, the first image P1-5 is an image of a New Year's card for which user A is the recipient, and is stored in the first image folder 13-1, which is user A's folder, together with the first image P1-4 for which user A is the sender.
[0153] The first image P1-4, which is sent by user A, contains the sender's name "Yamada Taro," but the first image P1-5, which is sent by user A, does not contain the sender's name "Yamada Taro" but "Sato Saburo." Also, the character region AC of the first image P1-5 contains the character strings CH, "Happy New Year" and "Let's go fishing next time."
[0154] In the first acquisition process for the first image P1-5, the first acquisition unit 40 estimates that the first image P1-5 is a "New Year's card" because the character string CH contains "Happy New Year", and furthermore, because the sender's name is "Sato Saburo", the name of the first person M1F included in the photo area AP is "Sato Saburo". In addition, the first acquisition unit 40 estimates that the hobby of the first person M1F in the first image P1-5 is "fishing" based on the message "Let's go fishing next time" included in the character string CH. In addition, the first acquisition unit 40 estimates that the sender "Sato Saburo" is a friend of "Yamada Taro", the user A, because the first image P1-5 is stored as the first image P1-5 of "Yamada Taro", the user A. The first acquisition unit 40 acquires these pieces of information as the first person-related information R1 of the first image P1-5.
[0155] 22, in the similar image search process, the second acquisition unit 42 searches for the first image P1-5 based on the facial similarity between the second person M2F included in the second image P2-4 to be processed and the first person M1F included in the first image P1-5. The second acquisition unit 42 acquires the first person-related information R1 of the searched first image P1-5.
[0156] In this process, the second acquisition unit 42 acquires second person-related information R2 that "the second image P2-4 is a photo taken while sea fishing" based on the fact that the first person-related information R1 of the first image P1-5 contains information that "the hobby is fishing," and the shooting scene of the second image P2-4 is "the sea," and the GPS information is also Tokyo Bay (see also FIG. 9). Since the shooting scene of the second image P2-4 is the sea, the GPS information is Tokyo Bay, and fish are also in the picture, it can be estimated by image analysis of the second image P2-4 that the second image P2-4 shows the two second persons M2A and M2F fishing. Based on this estimation result, the second acquisition unit 42 can derive second person-related information R2 that the hobby of the two second persons M2A and M2F is fishing. Then, the second acquisition unit 42 can determine the validity of the derived second person-related information R2 by using the first person-related information R1. This improves the reliability of the second person-related information R2.
[0157] Based on this second person-related information R2, for example, tag information "sea: fishing" is added to the second image P2-4.
[0158] As described above, in the fifth embodiment, the user A uses a New Year's card of a recipient as the first image P1. When a friend of the user A is shown as the first person M1 in the first image P1, the second acquisition unit 42 acquires the second person-related information R2 related to the friend from the second image P2-4 including the face of the friend by using the first person-related information R1 related to the friend. Therefore, according to this configuration, it is possible to acquire the second person-related information R2 with higher reliability than when the second person-related information R2 related to the friend is acquired based on the first person-related information R1 of the user A, for example.
[0159] In the above embodiments, the first image P1 has been described as an image with a text area having a photographic area AP and a text area AC. However, the first image P1 is not limited to an image with a text area, and may be, for example, a text-embedded image 52 as shown in Fig. 23. The text-embedded image 52 is an image without a text area, with only a photographic area AP including the face of the first person, and a specific word registered in advance as text is embedded in the photographic area AP.
[0160] In the technology of the present disclosure, in order to obtain reliable first person-related information R1, it is preferable that the first image P1 contains characters that mean reliable information related to the first person M1. As described in each of the above embodiments, it is considered that an image with a text area AC contains characters that mean reliable information compared to an image without a text area. However, even if there is no text area AC, if the photo area AP contains characters that mean information that is considered to be reliable, it is preferable to actively use that image P as the first image P1.
[0161] Examples of specific words that indicate reliable information related to the first person M1 include entrance ceremony, graduation ceremony, coming-of-age ceremony, wedding ceremony, and birthday celebration. Such specific words are highly likely to be used to indicate various information, such as events related to the first person. For example, when a text-embedded image 52 including a character string "graduation ceremony of XX University" is used as the first image P1, as in the text-embedded image 52 of FIG. 23, the first acquisition unit 40 can acquire the university of the first person M1 in the first image P1 from the text-embedded image 52. This information can be said to be highly reliable as the first person-related information R1. In addition, when the graduation year such as "2020" is included as a character string as shown in FIG. 23, the first acquisition unit 40 can acquire the graduation year, and the acquired graduation year can also be used to estimate the approximate age of the first person M1.
[0162] In the first embodiment, as shown in Fig. 4, the text-incorporated image 52 in Fig. 23 does not have a text area AC, and is therefore classified as the second image P2 by the classification unit 36. In order to classify the text-incorporated image 52 as the first image P1, the following condition needs to be added to the conditions under which the classification unit 36 classifies the image P as the first image P1. That is, a condition is added that, even if there is no text area AC, an image P containing both a person's face and a specific word in the photographic area AP is classified as the first image P1. As a result, the text-incorporated image 52 is classified as the first image P1.
[0163] For example, as shown in Fig. 23, a case will be described in which there is a text-emerged image 52 including a specific word "graduation ceremony" and a text-emerged image 53 including the text "under construction" but not including the specific word. Since text-emerged image 52 does not have a text area AC, but the photographic area AP includes both a person's face and the specific word, the classification unit 36 classifies text-emerged image 52 as a first image P1. On the other hand, text-emerged image 53 does not have a text area AC, and the photographic area AP includes only a person's face and does not include the specific word, so the classification unit 36 classifies text-emerged image 53 as a second image P2. The classification unit 36 determines whether or not the specific word is present by referring to dictionary data 46 in which specific words are registered in advance.
[0164] The specific word may be, for example, a date imprinted on the print photo PA (see FIG. 1). Furthermore, the first image is not limited to the image 52 with the text imprinted thereon, but may be an image including a specific word handwritten on the print photo PA. The print photo PA including a specific handwritten word refers to a print photo PA on which a date such as "XX / XX / 2010" and a specific word such as "XX's graduation ceremony" are written with a ballpoint pen or the like when a user organizes the print photos PA. Such handwritten information often includes information related to a person appearing in the photo. By using such an image P with handwritten specific words as the first image P1 as the first image P1, it is possible to obtain more diverse and reliable first person-related information R1 than when the image P with handwritten specific words is classified as the second image P2, and therefore to obtain more reliable second person-related information R2.
[0165] The specific words may include words that can be identified as a greeting card, such as "Happy New Year" and "Merry Christmas." For example, even greeting cards such as New Year's cards or Christmas cards may not have a text area AC that is distinguished from the photo area AP. In this case, the specific words are often included in the photo area AP. If words that can be identified as a greeting card are registered as specific words, a greeting card that has only the photo area AP can be used as the first image P1.
[0166] 23, an example has been described in which the presence or absence of a specific word is determined for the text-less images of text-embedded images 52 and 53, and text-embedded image 52 containing a specific word is classified as first image P1. However, in addition to images without text areas, specific words may also be determined for images with text areas such as first images P1-4 of New Year's cards shown in the above embodiments, and classification as first image P1 may be performed. As not all images with text areas necessarily have significant text information, the presence or absence of a specific word can be determined to eliminate first images P1 that do not contain significant text information.
[0167] In the above embodiment, the image content determination device 2 is provided with the classification unit 36, but the classification unit 36 may be omitted. For example, the image content determination device 2 may process the first image P1 and the second image P2 that have been classified by another device.
[0168] In the above embodiment, for example, various processors shown below can be used as the hardware structure of a computer that executes various processes of the classification unit 36, the recognition unit 38, the first acquisition unit 40, the second acquisition unit 42, and the tagging unit 44 of the image content determination device 2. The various processors include the CPU 18, which is a general-purpose processor that executes software (e.g., the classification program 30, the recognition program 31, the first acquisition program 32, the second acquisition program 34, and the tagging program 35) and functions as various processing units, as well as a PLD (Programmable Logic Device), which is a processor whose circuit configuration can be changed after manufacture such as an FPGA (Field Programmable Gate Array), and / or a dedicated electric circuit, which is a processor having a circuit configuration designed specifically for executing specific processes such as an ASIC (Application Specific Integrated Circuit). A GPU (Graphics Processing Unit) may be used instead of an FPGA.
[0169] A single processing unit may be composed of one of these various processors, or may be composed of a combination of two or more processors of the same or different types (e.g., a combination of multiple FPGAs, and / or a combination of a CPU and an FPGA or a combination of a CPU and a GPU). Also, multiple processing units may be composed of a single processor.
[0170] As an example of configuring multiple processing units with one processor, first, there is a form in which one processor is configured with a combination of one or more CPUs and software, as typified by computers such as client and server, and this processor functions as multiple processing units. Second, there is a form in which a processor is used that realizes the functions of the entire system including multiple processing units with one IC (Integrated Circuit) chip, as typified by SOC (System On Chip). In this way, the various processing units are configured using one or more of the above various processors as a hardware structure.
[0171] Furthermore, more specifically, the hardware structure of these various processors can be an electric circuit that combines circuit elements such as semiconductor elements.
[0172] In the first embodiment, the program memory 22 stores various programs including the classification program 30, the recognition program 31, the first acquisition program 32, the second acquisition program 34, and the tagging program 35, but the technology of the present disclosure is not limited to this. As with the storage 4 shown in FIG. 2, the various programs may be stored in any portable storage medium such as an SSD or a USB (Universal Serial Bus) memory. In this case, as shown in FIG. 24 as an example, the various programs stored in the storage medium 60 are connected to the image content determination device 2 and installed, as with the storage 4. The CPU 18 executes the classification process, the first recognition process, the first acquisition process, the second recognition process, the second acquisition process, and the tagging process according to the installed various programs.
[0173] Also, similarly to the storage 4, various programs may be stored in a storage unit of another computer or server device connected to the image content determination device 2 via the communication network N (see FIG. 1), and the various programs may be downloaded to the image content determination device 2 in response to a request from the image content determination device 2. In this case, the CPU 18 executes the classification process, the first recognition process, the first acquisition process, the second recognition process, the second acquisition process, and the tagging process in accordance with the various downloaded programs.
[0174] As described in the above embodiment, the image content assessment device of the present disclosure may have the following additional features added thereto. [Additional note 1] The first image may include an image with a text area including a photographic area including the face of the first person and a text area in which text is placed in the white space outside the outline of the photographic area, and the second image may be an image without a text area including only the photographic area including the face of the second person. [Additional note 2] The first image may be an image representing at least one of a greeting card and an identification card. [Additional note 3] The first image may be an image with only a photographic area including the face of the first person and no text area, and may also include a text-incorporated image in which a specific word registered in advance is captured as text in the photographic area. [Additional note 4] The first image may include a specific word that is registered in advance as characters. [Additional note 5] The processor may perform a classification process to classify the multiple images into first images and second images. [Additional note 6] The first person-related information may be obtained from a first image of the same owner as the second image. [Additional note 7] The first person related information may include at least one of the first person's name, address, phone number, age, date of birth, and hobbies. [Additional note 8] In at least one of the first acquisition process and the second acquisition process, the processor may utilize accompanying information accompanying the first image or the second image. [Additional note 9] In the second acquisition process, the processor may derive second person-related information based on the second image, and determine validity of the derived second person-related information based on the first person-related information. [Additional Note 10] The second person related information may be at least one of an event involving the second person and an estimated age of the second person. [Additional Note 11] When the first image includes multiple faces of a first person, the first person-related information may include information indicating the relationship between the multiple first persons, and / or when the second image includes multiple faces of a second person, the second person-related information may include information indicating the relationship between the multiple second persons. [Additional Note 12] The information indicating a relationship between a plurality of first persons or the information indicating a relationship between a plurality of second persons may include at least one of a family relationship, a relative relationship, and a friend relationship. [Additional Note 13] In the second acquisition process, the processor may use the first person-related information corresponding to the plurality of first images to acquire the second person-related information.
[0175] The technology of the present disclosure can be appropriately combined with the above-mentioned various embodiments and / or various modified examples. In addition, it is not limited to the above-mentioned embodiments, and various configurations can be adopted without departing from the gist of the present disclosure. Furthermore, the technology of the present disclosure extends to a storage medium that non-temporarily stores a program, in addition to a program.
[0176] The above description and illustrations are detailed descriptions of the parts related to the technology of the present disclosure, and are merely an example of the technology of the present disclosure. For example, the above description of the configuration, function, action, and effect is an example of the configuration, function, action, and effect of the parts related to the technology of the present disclosure. Therefore, it goes without saying that unnecessary parts may be deleted, new elements may be added, or replaced with respect to the description and illustrations shown above, within the scope of the gist of the technology of the present disclosure. In addition, in order to avoid confusion and to facilitate understanding of the parts related to the technology of the present disclosure, the description and illustrations shown above omit explanations of technical common sense that do not require explanation in order to enable the implementation of the technology of the present disclosure.
[0177] In this specification, "A and / or B" is synonymous with "at least one of A and B." In other words, "A and / or B" means that it may be only A, only B, or a combination of A and B. In addition, in this specification, the same idea as "A and / or B" is also applied when three or more things are expressed by connecting them with "and / or."
[0178] The disclosure of Japanese Patent Application No. 2020-058617, filed on March 27, 2020, is incorporated herein by reference in its entirety. In addition, all documents, patent applications, and technical standards described herein are incorporated herein by reference to the same extent as if each individual document, patent application, and technical standard was specifically and individually indicated to be incorporated by reference.
Claims
1. At least one processor, The processor, a first image information list relating to a first image including a character and a face of a first person, in which at least the face of the first person and first person-related information relating to the first person are recorded in association with each other; executing a second recognition process for recognizing a face of a second person from a second image including the face of the second person; executing a second acquisition process to acquire second person-related information related to the second person by using the first person-related information read from the first image information list and associated with a face of the first person similar to a face of the second person; The second person-related information includes at least one of information indicating a relationship between the second people in the second image, an event involving the second people, an estimated age of the second people, and a hobby of the second people. Image content judgment device.
2. The first image information list includes: a first recognition process for recognizing the character and the face of the first person from the first image; Based on the recognized character and the face of the first person, the first image a first acquisition process for acquiring first person-related information related to the person; The image content determination device according to claim 1 .
3. the first image includes a text area image including a photograph area including a face of the first person and a text area in a margin outside a contour of the photograph area in which the text is arranged, The second image is an image having only a photographic area including a face of the second person and no text area. The image content determination device according to claim 1 or 2.
4. The first image includes an image representing at least one of a greeting card and an identification card. The image content determination device according to any one of claims 1 to 3.
5. The first image is an image having only a photographic area including a face of the first person and no text area, and includes a text-in-picture image having a specific word registered in advance as the text in the photographic area. The image content determination device according to any one of claims 1 to 4.
6. The first image includes a specific word that is registered in advance as the character. The image content determination device according to any one of claims 1 to 5.
7. The processor executes a classification process to classify a plurality of images into the first image and the second image. The image content determination device according to claim 2 .
8. The first person-related information is obtained from the first image held by the same person as the second image. The image content determination device according to any one of claims 1 to 7.
9. The first person-related information includes at least one of the first person's name, address, phone number, age, date of birth, and hobbies. The image content determination device according to any one of claims 1 to 8.
10. In at least one of the first acquisition process and the second acquisition process, the processor uses information accompanying the first image or the second image. The image content determination device according to any one of claims 1 to 9.
11. In the second acquisition process, the processor derives the second person-related information based on the second image, and determines validity of the derived second person-related information based on the first person-related information. The image content determination device according to claim 10.
12. The first person-related information includes information indicating a relationship between the first people in the first image. The image content determination device according to claim 1 .
13. The information indicating the relationship between the first persons or the information indicating the relationship between the second persons includes at least one of a family relationship, a relative relationship, and a friend relationship. The image content determination device according to any one of claims 1 to 12.
14. In the second acquisition process, the processor uses the first person-related information corresponding to the plurality of first images to acquire the second person-related information. The image content determination device according to any one of claims 1 to 13.
15. 1. A method of operating an image content determination device having at least one processor, comprising: The processor, a first image information list relating to a first image including a character and a face of a first person, in which at least the face of the first person and first person-related information relating to the first person are recorded in association with each other; executing a second recognition process for recognizing a face of a second person from a second image including the face of the second person; executing a second acquisition process to acquire second person-related information related to the second person by using the first person-related information read from the first image information list and associated with a face of the first person similar to a face of the second person; The second person-related information includes at least one of information indicating a relationship between the second people in the second image, an event involving the second people, an estimated age of the second people, and a hobby of the second people. A method for operating an image content determination device.
16. a first image information list relating to a first image including a character and a face of a first person, in which at least the face of the first person and first person-related information relating to the first person are recorded in association with each other; executing a second recognition process for recognizing a face of a second person from a second image including the face of the second person; executing a second acquisition process to acquire second person-related information related to the second person by using the first person-related information read from the first image information list and associated with a face of the first person similar to a face of the second person; The second person-related information includes at least one of information indicating a relationship between the second people in the second image, an event involving the second people, an estimated age of the second people, and a hobby of the second people. An image content determination program that causes a computer to function as an image content determination device.
Citation Information
Patent Citations
Person retrieval and registration system
JP2010061265A
Tag information management device, tag information management system, tag information management program, tag information management method
JP2012093991A
Information processor, information processing method, information processing system, and program
JP2013003631A
Character conversion support apparatus, journal preparation support apparatus, character conversion support method, and program
JP2016173797A
Collection system of recyclable garbage
JP2017027398A
