IMAGE SELECTION DEVICE, IMAGE SELECTION METHOD, AND PROGRAM

The proposed solution addresses the challenge of setting appropriate thresholds for image selection and classification by using reference posture information, enhancing the accuracy and flexibility of the process.

JP7658380B2Active Publication Date: 2025-04-08NEC CORP
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
JP2022556718
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-10-13
Publication Date
2025-04-08
Estimated Expiration
2040-10-13

AI Technical Summary

Technical Problem

Existing techniques for selecting or classifying images based on posture similarity lack a robust method for setting appropriate thresholds, leading to inconsistent results depending on the purpose of the selection.

Method used

A threshold setting mechanism using reference posture information to determine threshold values for selecting target images or classifying multiple images, allowing for flexible and purpose-specific image selection and classification.

Benefits of technology

Enables appropriate and flexible setting of thresholds for image selection and classification, improving the accuracy and relevance of the results by considering the specific criteria for each application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007658380000003
    Figure 0007658380000003
  • Figure 0007658380000004
    Figure 0007658380000004
  • Figure 0007658380000005
    Figure 0007658380000005
Patent Text Reader

Abstract

According to the present invention, a query acquisition unit (610) acquires query information. The query information includes information indicating the relative positions of each of a plurality of key points. A threshold value setting unit (620) sets a threshold value for selecting at least one target image from a plurality of selection target images, by using the query information and reference posture information. An image selection unit (630) selects at least one target image from among a plurality of selection target images. Specifically, the image selection unit (630) selects at least one target image by using the relative positions of a plurality of key points of a person included in each of the plurality of selection target images, the query information, and the threshold value. The threshold value setting unit (620) may set a threshold value for classifying the plurality of selection target images.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an image selection device, an image selection method, and a program. [Background technology]

[0002] In recent years, in surveillance systems and the like, techniques for detecting and searching for states such as posture and behavior of a person from images of a surveillance camera are used. For example, Patent Documents 1 and 2 are known as related techniques. Patent Document 1 discloses a technique for searching for a similar posture of a person based on key joints of the person's head, limbs, etc. contained in a depth image. Patent Document 2 discloses a technique for searching for a similar image using posture information such as tilt added to an image, which is not related to the posture of a person. In addition, Non-Patent Document 1 is known as a technique related to human skeleton estimation.

[0003] Furthermore, Patent Document 3 describes detecting skeletal information of a person from an image and identifying the person's movement using this skeletal information. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Special Publication No. 2014-522035 [Patent Document 2] JP 2006-260405 A [Patent Document 3] JP 2017-199303 A [Non-patent literature]

[0005] [Non-Patent Document 1] Zhe Cao, Tomas Simon, Shih-En Wei, Yaser Sheikh, "Realtime Multi-Person 2D Pose Estimation using Part Affinity Fields", The IEEE Conference on Computer Vision and Pattern Recognition (CVPR), 2017, P. 7291-7299 Summary of the Invention [Problem to be solved by the invention]

[0006] When selecting an image including a person whose posture is similar to the query, the criteria for determining whether the posture is similar to the query may vary depending on the purpose of the selection, etc. For this reason, a technique for appropriately setting a threshold for selecting an image is required. In addition, when classifying a plurality of images into a plurality of groups, a technique for appropriately setting a threshold for this classification is also required.

[0007] An example of an objective of the present invention is to provide a technique that enables appropriate setting of a threshold for selecting or classifying images. [Means for solving the problem]

[0008] According to the present invention, a threshold setting means sets at least one of a threshold for selecting at least one target image from a plurality of selection candidate images and a threshold for classifying the plurality of selection candidate images, using reference orientation information indicating a reference orientation; an image selection means for selecting the at least one target image from the plurality of selection candidate images or classifying the plurality of selection candidate images using the threshold; An image selection device is provided, comprising:

[0009] According to the present invention, a computer a threshold setting process for setting at least one of a threshold for selecting at least one target image from a plurality of selection target images and a threshold for classifying the plurality of selection target images, using reference orientation information indicating a reference orientation; an image selection process for selecting the at least one target image from the plurality of selection candidate images or classifying the plurality of selection candidate images using the threshold; An image selection method is provided that:

[0010] According to the present invention, a computer includes: a threshold setting function for setting at least one of a threshold for selecting at least one target image from a plurality of selection target images and a threshold for classifying the plurality of selection target images, using reference orientation information indicating a reference orientation; an image selection function that selects the at least one target image from the plurality of selection candidate images using the threshold value, or classifies the plurality of selection candidate images; A program will be provided to help students develop these skills. Effect of the Invention

[0011] According to the present invention, a threshold for selecting or classifying images can be appropriately set. [Brief description of the drawings]

[0012] The above objects, as well as other objects, features and advantages, will become more apparent from the following preferred embodiments and the accompanying drawings.

[0013] [Figure 1] 1 is a configuration diagram showing an overview of an image processing device according to an embodiment; [Diagram 2] 1 is a configuration diagram showing a configuration of an image processing device according to a first embodiment. [Diagram 3] 4 is a flowchart showing an image processing method according to the first embodiment. [Figure 4] 4 is a flowchart showing a classification method according to the first embodiment. [Diagram 5] 4 is a flowchart showing a search method according to the first embodiment. [Figure 6] FIG. 4 is a diagram showing an example of detection of a skeletal structure according to the first embodiment. [Figure 7] FIG. 2 is a diagram showing a human body model according to the first embodiment. [Figure 8] FIG. 4 is a diagram showing an example of detection of a skeletal structure according to the first embodiment. [Figure 9] FIG. 4 is a diagram showing an example of detection of a skeletal structure according to the first embodiment. [Figure 10] FIG. 4 is a diagram showing an example of detection of a skeletal structure according to the first embodiment. [Figure 11] 4 is a graph showing a specific example of the classification method according to the first embodiment. [Figure 12] FIG. 4 is a diagram showing a display example of a classification result according to the first embodiment. [Figure 13] FIG. 2 is a diagram for explaining a search method according to the first embodiment. [Figure 14] FIG. 2 is a diagram for explaining a search method according to the first embodiment. [Figure 15] FIG. 2 is a diagram for explaining a search method according to the first embodiment. [Figure 16] FIG. 2 is a diagram for explaining a search method according to the first embodiment. [Figure 17] FIG. 4 is a diagram showing a display example of search results according to the first embodiment. [Figure 18] FIG. 11 is a configuration diagram showing a configuration of an image processing device according to a second embodiment. [Figure 19] 10 is a flowchart showing an image processing method according to the second embodiment. [Figure 20] 13 is a flowchart showing a specific example 1 of a height pixel number calculation method according to the second embodiment. [Figure 21] 13 is a flowchart showing a specific example 2 of the height pixel number calculation method according to the second embodiment. [Figure 22] 13 is a flowchart showing a specific example 3 of a height pixel number calculation method according to the second embodiment. [Diagram 23]11 is a flowchart showing a normalization method according to the second embodiment. [Figure 24] FIG. 11 is a diagram showing a human body model according to a second embodiment. [Diagram 25] FIG. 11 is a diagram showing an example of detection of a skeletal structure according to the second embodiment. [Figure 26] FIG. 11 is a diagram showing an example of detection of a skeletal structure according to the second embodiment. [Figure 27] FIG. 11 is a diagram showing an example of detection of a skeletal structure according to the second embodiment. [Figure 28] FIG. 11 is a diagram showing a human body model according to a second embodiment. [Figure 29] FIG. 11 is a diagram showing an example of detection of a skeletal structure according to the second embodiment. [Diagram 30] 13 is a histogram for explaining a height pixel number calculation method according to the second embodiment. [Diagram 31] FIG. 11 is a diagram showing an example of detection of a skeletal structure according to the second embodiment. [Diagram 32] FIG. 11 is a diagram showing a three-dimensional human body model according to the second embodiment. [Diagram 33] FIG. 11 is a diagram for explaining a height pixel number calculation method according to the second embodiment. [Diagram 34] FIG. 11 is a diagram for explaining a height pixel number calculation method according to the second embodiment. [Diagram 35] FIG. 11 is a diagram for explaining a height pixel number calculation method according to the second embodiment. [Diagram 36] FIG. 11 is a diagram for explaining a normalization method according to the second embodiment. [Figure 37] FIG. 11 is a diagram for explaining a normalization method according to the second embodiment. [Figure 38] FIG. 11 is a diagram for explaining a normalization method according to the second embodiment. [Figure 39] FIG. 2 is a diagram illustrating an example of a hardware configuration of an image processing apparatus. [Diagram 40] FIG. 13 is a diagram illustrating an example of a functional configuration of a search unit related to a search method 6. [Diagram 41] FIG. 1A is a diagram showing an example of reference attitude information, and FIGS. 1B and 1C are diagrams showing examples of query information. [Diagram 42] FIG. 13 is a diagram illustrating a multidimensional space for explaining the function of a threshold setting unit. [Diagram 43] 13 is a flowchart showing a first example of a process performed by a search unit. [Diagram 44] FIG. 44 is a diagram showing an example of a screen displayed by the image selection unit after step S340 in FIG. 43. [Diagram 45] 13 is a flowchart showing a second example of the process performed by the search unit. [Figure 46] 11 is a diagram for explaining an example of a process performed by a threshold setting unit; FIG. [Figure 47] FIG. 13 is a diagram showing an example of a functional configuration of a search section according to a modified example of search method 6. [Figure 48] FIG. 48 is a diagram for explaining threshold values ​​set by the search unit shown in FIG. 47. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, embodiments of the present invention will be described with reference to the drawings. In all the drawings, the same components are given the same reference numerals and the description will be omitted as appropriate.

[0015] (Considerations leading to the embodiment) In recent years, image recognition technology that utilizes machine learning such as deep learning has been applied to various systems. For example, it is being applied to surveillance systems that monitor using images from surveillance cameras. By utilizing machine learning in surveillance systems, it is becoming possible to grasp to some extent the posture, behavior, and other conditions of people from images.

[0016] However, such related technologies may not always be able to grasp the state of a person desired by a user on demand. For example, the state of a person that a user wants to search and grasp may be specified in advance, or may not be specifically specified, such as an unknown state. In such cases, the user may not be able to specify in detail the state of the person that he or she wants to search for. Furthermore, a search or the like may not be possible if part of the person's body is hidden. In the related technologies, the state of a person can only be searched for based on specific search criteria, making it difficult to flexibly search and classify the state of a desired person.

[0017] Therefore, the inventors have considered a method of using a skeleton estimation technique such as that described in Non-Patent Document 1 in order to recognize the state of a person desired by a user from an image on demand. In related skeleton estimation techniques such as OpenPose disclosed in Non-Patent Document 1, a person's skeleton is estimated by learning various patterns of image data with correct answers. In the following embodiment, such a skeleton estimation technique is utilized to enable flexible recognition of a person's state.

[0018] Note that the skeletal structure estimated by a skeletal estimation technique such as OpenPose is composed of "key points" which are characteristic points such as joints, and "bones (bone links)" which indicate the links between the key points. For this reason, in the following embodiments, the skeletal structure will be described using the terms "key points" and "bones", but unless otherwise specified, "key points" correspond to the "joints" of a person, and "bones" correspond to the "bones" of a person.

[0019] (Outline of the embodiment) FIG. 1 shows an overview of an image processing device 10 according to an embodiment. As shown in FIG. 1, the image processing device 10 includes a skeleton detection unit 11, a feature calculation unit 12, and a recognition unit 13. The skeleton detection unit 11 detects two-dimensional skeleton structures of a plurality of people based on a two-dimensional image acquired from a camera or the like. The feature calculation unit 12 calculates feature amounts of the plurality of two-dimensional skeleton structures detected by the skeleton detection unit 11. The recognition unit 13 performs recognition processing of the states of the plurality of people based on the similarity of the plurality of feature amounts calculated by the feature calculation unit 12. The recognition processing is classification processing and search processing (selection processing) of the states of the people. Therefore, the image processing device 10 also functions as an image selection device.

[0020] In this manner, in the embodiment, a two-dimensional skeletal structure of a person is detected from a two-dimensional image, and the state of the person is classified and detected based on the feature amount calculated from the two-dimensional skeletal structure. cable By performing the above recognition processing, the state of a desired person can be flexibly recognized.

[0021] (Embodiment 1) Hereinafter, embodiment 1 will be described with reference to the drawings. FIG. 2 shows the configuration of an image processing device 100 according to this embodiment. The image processing device 100 constitutes an image processing system 1 together with a camera 200 and a database (DB) 110. The image processing system 1 including the image processing device 100 is a system that classifies and searches for states such as posture and behavior of a person based on the skeletal structure of the person estimated from an image. The image processing device 100 also functions as an image selection device.

[0022] The camera 200 is an imaging unit such as a surveillance camera that generates a two-dimensional image. The camera 200 is installed at a predetermined location and captures an image of a person or the like in an imaging area from the installation location. The camera 200 is directly connected to the image processing device 100 so as to be able to output the captured image (video) to the image processing device 100, or is connected via a network or the like. The camera 200 may be provided inside the image processing device 100.

[0023] The database 110 is a database that stores information (data) necessary for processing by the image processing device 100, processing results, and the like. The database 110 stores images acquired by the image acquisition unit 101, detection results by the skeletal structure detection unit 102, data for machine learning, features calculated by the feature calculation unit 103, classification results by the classification unit 104, search results by the search unit 105, and the like. The database 110 is directly connected to the image processing device 100 as necessary so as to be able to input and output data, or is connected via a network or the like. The database 110 may be provided inside the image processing device 100 as a non-volatile memory such as a flash memory, a hard disk device, or the like.

[0024] As shown in FIG. 2, the image processing device 100 includes an image acquisition unit 101, a skeletal structure detection unit 102, a feature amount calculation unit 103, a classification unit 104, a search unit 105, an input unit 106, and a display unit 107. The configuration of each unit (block) is an example, and may be configured with other units as long as the method (operation) described later is possible. The image processing device 100 is realized by a computer device such as a personal computer or a server that executes a program, but may be realized by one device or by multiple devices on a network. For example, the input unit 106, the display unit 107, etc. may be external devices. The image processing device 100 may include both the classification unit 104 and the search unit 105, or only one of them. Both or one of the classification unit 104 and the search unit 105 is a recognition unit that performs recognition processing of a person's state.

[0025] The image acquiring unit 101 acquires a two-dimensional image including a person captured by the camera 200. The image acquiring unit 101 acquires, for example, an image including a person (a video including a plurality of images) captured by the camera 200 during a predetermined monitoring period. Note that the image may not be acquired from the camera 200, but may be acquired from a database 110 or the like that includes a person that has been prepared in advance.

[0026] The skeletal structure detection unit 102 detects the two-dimensional skeletal structure of a person in an image based on the acquired two-dimensional image. The skeletal structure detection unit 102 detects the skeletal structure of all people recognized in the acquired image. The skeletal structure detection unit 102 detects the skeletal structure of a person based on the features of the recognized person's joints and the like using a skeletal estimation technology using machine learning. The skeletal structure detection unit 102 uses a skeletal estimation technology such as OpenPose in Non-Patent Document 1, for example.

[0027] The feature amount calculation unit 103 calculates the feature amount of the detected two-dimensional skeletal structure, and stores the calculated feature amount in the database 110 in association with the image to be processed. The feature amount of the skeletal structure indicates the feature amount of a person, and is an element for classifying and searching the state of a person based on the person's skeleton. Usually, this feature amount includes a plurality of parameters (for example, classification elements described later). The feature amount may be the feature amount of the entire skeletal structure, may be the feature amount of a part of the skeletal structure, or may include a plurality of feature amounts like each part of the skeletal structure. The method for calculating the feature amount may be any method such as machine learning or normalization, and a minimum value or a maximum value may be obtained as normalization. As an example, the feature amount is a feature amount obtained by machine learning the skeletal structure, a size of the skeletal structure from the head to the foot on the image, etc. The size of the skeletal structure is the vertical height or area of ​​a skeletal region including the skeletal structure on the image. The vertical direction (height direction or vertical direction) is the vertical direction (Y-axis direction) in the image, for example, a direction perpendicular to the ground (reference surface). Moreover, the left-right direction (horizontal direction) is the left-right direction in the image (X-axis direction), for example, a direction parallel to the ground.

[0028] In order to perform classification and search as desired by the user, it is preferable to use features that are robust to classification and search processing. For example, if the user desires classification and search that are not dependent on the orientation or body type of a person, features that are robust to the orientation or body type of a person may be used. By learning the skeletons of people facing in various directions in the same posture or the skeletons of people with various body types in the same posture, or by extracting features only in the up-down direction of the skeleton, features that are not dependent on the orientation or body type of a person can be obtained.

[0029] The classification unit 104 classifies (clusters) the multiple skeletal structures stored in the database 110 based on the similarity of the feature amounts of the skeletal structures. It can also be said that the classification unit 104 classifies the states of multiple people based on the feature amounts of the skeletal structures as a recognition process of the state of the person. The similarity is the distance between the feature amounts of the skeletal structures. The classification unit 104 may classify based on the similarity of the feature amounts of the entire skeletal structures, may classify based on the similarity of the feature amounts of a part of the skeletal structures, or may classify based on the similarity of the feature amounts of a first part (e.g., both hands) and a second part (e.g., both feet) of the skeletal structures. Note that the posture of the person may be classified based on the feature amounts of the skeletal structures of the person in each image, or the behavior of the person may be classified based on the change in the feature amounts of the skeletal structures of the person in multiple images that are consecutive in time series. That is, the classification unit 104 can classify the state of the person, including the posture and behavior of the person, based on the feature amounts of the skeletal structures. For example, the classification unit 104 classifies multiple skeletal structures in multiple images captured during a predetermined monitoring period. The classification unit 104 obtains the similarity between the feature amounts to be classified, and classifies the skeletal structures having high similarity into the same cluster (a group of similar postures). As with the search, the classification conditions may be specified by the user. The classification unit 104 stores the classification results of the skeletal structures in the database 110, and displays them on the display unit 107.

[0030] The search unit 105 searches for a skeletal structure having a high similarity to the feature amount of the search query (query state) from among a plurality of skeletal structures stored in the database 110. It can also be said that the search unit 105 searches for a state of a person that meets the search criteria (query state) from among a plurality of states of a person based on the feature amount of the skeletal structure as a recognition process of the state of the person. As in classification, the similarity is the distance between the feature amounts of the skeletal structures. The search unit 105 may search based on the similarity of the feature amount of the entire skeletal structure, or may search based on the similarity of the feature amount of a part of the skeletal structure, or may search based on the similarity of the feature amount of a first part (e.g., both hands) and a second part (e.g., both feet) of the skeletal structure. Note that the posture of a person may be searched based on the feature amount of the skeletal structure of the person in each image, or the behavior of a person may be searched based on the change in the feature amount of the skeletal structure of the person in a plurality of images that are consecutive in time series. That is, the search unit 105 can search for a state of a person including the posture and behavior of the person based on the feature amount of the skeletal structure. For example, the search unit 105 searches for the feature amounts of a plurality of skeletal structures in a plurality of images captured during a predetermined monitoring period as the search target, similar to the classification target. In addition, a skeletal structure (posture) specified by the user from among the classification results displayed by the classification unit 104 is used as a search query (search key). The search query may be selected from a plurality of unclassified skeletal structures, not limited to the classification results, or the user may input a skeletal structure to be used as a search query. The search unit 105 searches for feature quantities that are highly similar to the feature quantities of the skeletal structure of the search query from among the feature quantities to be searched. The search unit 105 stores the search results of the feature quantities in the database 110 and displays them on the display unit 107.

[0031] The input unit 106 is an input interface that acquires information input by a user who operates the image processing device 100. For example, the user is a monitor who monitors a person in a suspicious state from an image of a surveillance camera. The input unit 106 is, for example, a GUI (Graphical User Interface), and information according to a user's operation is input from an input device such as a keyboard, a mouse, or a touch panel. For example, the input unit 106 accepts a skeletal structure of a specified person from among the skeletal structures (postures) classified by the classification unit 104 as a search query.

[0032] The display unit 107 is a display unit that displays the results of the operation (processing) of the image processing device 100, and is, for example, a display device such as a liquid crystal display or an organic EL (Electro Luminescence) display. The display unit 107 displays the classification results of the classification unit 104 and the search results of the search unit 105 on a GUI according to the similarity, etc.

[0033] 39 is a diagram showing an example of the hardware configuration of the image processing device 100. The image processing device 100 includes a bus 1010, a processor 1020, a memory 1030, a storage device 1040, an input / output interface 1050, and a network interface 1060.

[0034] The bus 1010 is a data transmission path for transmitting and receiving data among the processor 1020, memory 1030, storage device 1040, input / output interface 1050, and network interface 1060. However, the method of connecting the processor 1020 and the like to each other is not limited to bus connection.

[0035] The processor 1020 is implemented by a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), or the like.

[0036] The memory 1030 is a main storage device realized by a RAM (Random Access Memory) or the like.

[0037] The storage device 1040 is an auxiliary storage device realized by a hard disk drive (HDD), a solid state drive (SSD), a memory card, a read only memory (ROM), or the like. The storage device 1040 stores program modules that realize each function of the image processing device 100 (for example, the image acquisition unit 101, the skeletal structure detection unit 102, the feature amount calculation unit 103, the classification unit 104, the search unit 105, and the input unit 106). The processor 1020 loads each of these program modules onto the memory 1030 and executes them, thereby realizing each function corresponding to the program module. The storage device 1040 may also function as a database 110.

[0038] The input / output interface 1050 is an interface for connecting the image processing device 100 to various input / output devices. When the database 110 is located outside the image processing device 100, the image processing device 100 may be connected to the database 110 via the input / output interface 1050.

[0039] The network interface 1060 is an interface for connecting the image processing device 100 to a network. This network is, for example, a LAN (Local Area Network) or a WAN (Wide Area Network). The network interface 1060 may connect to the network wirelessly or by wire. The image processing device 100 may communicate with the camera 200 via the network interface 1060. When the database 110 is located outside the image processing device 100, the image processing device 100 may connect to the database 110 via the network interface 1060.

[0040] Figures 3 to 5 show the operation of image processing device 100 according to this embodiment. Figure 3 shows the flow from image acquisition to search processing in image processing device 100, Figure 4 shows the flow of classification processing (S104) in Figure 3, and Figure 5 shows the flow of search processing (S105) in Figure 3.

[0041] 3, the image processing device 100 acquires an image from the camera 200 (S101). The image acquisition unit 101 acquires images of people in order to classify and search based on their skeletal structures, and stores the acquired images in the database 110. The image acquisition unit 101 acquires, for example, a plurality of images captured during a predetermined monitoring period, and performs the following processes on all people included in the plurality of images.

[0042] Next, the image processing device 100 detects the skeletal structure of the person based on the acquired image of the person (S102). Fig. 6 shows an example of detecting the skeletal structure. As shown in Fig. 6, an image acquired from a surveillance camera or the like includes multiple people, and the skeletal structure is detected for each person included in the image.

[0043] Fig. 7 shows the skeletal structure of the human body model 300 detected at this time, and Fig. 8 to Fig. 10 show examples of detected skeletal structures. The skeletal structure detection unit 102 detects the skeletal structure of the human body model (two-dimensional skeletal model) 300 as shown in Fig. 7 from a two-dimensional image using a skeletal estimation technique such as OpenPose. The human body model 300 is a two-dimensional model made up of key points such as a person's joints and bones connecting each key point.

[0044] The skeletal structure detection unit 102, for example, extracts feature points that can be key points from an image, and detects each key point of a person by referring to information obtained by machine learning the image of the key points. In the example of Fig. 7, the following key points of a person are detected: head A1, neck A2, right shoulder A31, left shoulder A32, right elbow A41, left elbow A42, right hand A51, left hand A52, right hip A61, left hip A62, right knee A71, left knee A72, right foot A81, and left foot A82. Furthermore, the bones of the person connected by these key points are detected as bones, including bone B1 connecting the head A1 and neck A2, bones B21 and B22 connecting the neck A2 to the right shoulder A31 and left shoulder A32 respectively, bones B31 and B32 connecting the right shoulder A31 and left shoulder A32 to the right elbow A41 and left elbow A42 respectively, bones B41 and B42 connecting the right elbow A41 and left elbow A42 to the right hand A51 and left hand A52 respectively, bones B51 and B52 connecting the neck A2 to the right hip A61 and left hip A62 respectively, bones B61 and B62 connecting the right hip A61 and left hip A62 to the right knee A71 and left knee A72 respectively, and bones B71 and B72 connecting the right knee A71 and left knee A72 to the right foot A81 and left foot A82 respectively. The skeletal structure detection unit 102 stores the detected skeletal structure of the person in the database 110.

[0045] Fig. 8 shows an example of detecting a person standing upright. In Fig. 8, an image of a person standing upright is captured from the front, and bones B1, B51 and B52, B61 and B62, and B71 and B72 are detected without overlapping when viewed from the front, and bones B61 and B71 of the right foot are slightly more bent than bones B62 and B72 of the left foot.

[0046] Fig. 9 shows an example of detecting a person in a crouching state. In Fig. 9, the person in a crouching state is imaged from the right side, and bones B1, B51 and B52, B61 and B62, and B71 and B72 are detected as seen from the right side, and bones B61 and B71 of the right foot and bones B62 and B72 of the left foot are greatly bent and overlap each other.

[0047] Fig. 10 shows an example of detecting a person who is lying down. In Fig. 10, the person lying down is imaged from the diagonal front left, and bones B1, B51 and B52, B61 and B62, and B71 and B72 seen from the diagonal front left are detected, and bones B61 and B71 of the right foot and bones B62 and B72 of the left foot are bent and overlapped.

[0048] Next, as shown in FIG. 3, the image processing device 100 calculates the feature amount of the detected skeletal structure (S103). For example, when the height or area of ​​the skeletal region is used as the feature amount, the feature amount calculation unit 103 extracts a region including the skeletal structure and calculates the height (number of pixels) and area (pixel area) of the region. The height and area of ​​the skeletal region are calculated from the coordinates of the ends of the extracted skeletal region and the coordinates of the key points of the ends. The feature amount calculation unit 103 stores the calculated feature amount of the skeletal structure in the database 110. The feature amount of the skeletal structure is also used as posture information indicating the posture of a person, together with the above-mentioned key points and bones.

[0049] In the example of Figure 8, a skeletal region including all bones is extracted from the skeletal structure of a person standing upright. In this case, the top end of the skeletal region is key point A1 on the head, the bottom end of the skeletal region is key point A82 on the left foot, the left end of the skeletal region is key point A41 on the right elbow, and the right end of the skeletal region is key point A52 on the left hand. Therefore, the height of the skeletal region is calculated from the difference in the Y coordinates of key point A1 and key point A82. In addition, the width of the skeletal region is calculated from the difference in the X coordinates of key point A41 and key point A52, and the area is calculated from the height and width of the skeletal region.

[0050] In the example of Figure 9, a skeletal region including all bones is extracted from the skeletal structure of a crouching person. In this case, the top end of the skeletal region is key point A1 on the head, the bottom end of the skeletal region is key point A81 on the right foot, the left end of the skeletal region is key point A61 on the right hip, and the right end of the skeletal region is key point A51 on the right hand. Therefore, the height of the skeletal region is calculated from the difference in the Y coordinates of key points A1 and A81. The width of the skeletal region is calculated from the difference in the X coordinates of key points A61 and A51, and the area is calculated from the height and width of the skeletal region.

[0051] In the example of Figure 10, a skeletal region including all bones is extracted from the skeletal structure of a person lying down in the left-right direction of the image. In this case, the top end of the skeletal region is the left shoulder key point A32, the bottom end of the skeletal region is the left hand key point A52, the left end of the skeletal region is the right hand key point A51, and the right end of the skeletal region is the left foot key point A82. Therefore, the height of the skeletal region is calculated from the difference in the Y coordinates of key points A32 and A52. The width of the skeletal region is calculated from the difference in the X coordinates of key points A51 and A82, and the area is calculated from the height and width of the skeletal region.

[0052] Next, as shown in Fig. 3, the image processing device 100 performs a classification process (S104). In the classification process, as shown in Fig. 4, the classification unit 104 calculates the similarity of the calculated feature amounts of the skeletal structures (S111) and SimilarityBased on this, the skeletal structures are classified (S112). The classification unit 104 obtains the similarity of the feature amounts between all the skeletal structures stored in the database 110 to be classified, and classifies (clusters) the skeletal structures (postures) with the highest similarity into the same cluster. Furthermore, the classification is repeated by obtaining the similarity between the classified clusters until a predetermined number of clusters are obtained. FIG. 11 shows an image of the classification result of the feature amounts of the skeletal structures. FIG. 11 shows an image of the cluster analysis by two-dimensional classification elements, and the two classification elements are, for example, the height of the skeletal region and the area of ​​the skeletal region. In FIG. 11, the feature amounts of a plurality of skeletal structures are classified into three clusters C1 to C3 as a result of classification. The clusters C1 to C3 correspond to each posture, such as a standing posture, a sitting posture, and a lying posture, and the skeletal structures (people) are classified into each similar posture.

[0053] In this embodiment, various classification methods can be used by classifying based on the feature amount of the person's skeletal structure. The classification method may be set in advance, or may be set arbitrarily by the user. In addition, classification may be performed by the same method as the search method described later. In other words, classification may be performed by classification conditions similar to the search conditions. For example, the classification unit 104 performs classification by the following classification methods. Any of the classification methods may be used, or arbitrarily selected classification methods may be combined.

[0054] (Classification method 1) Classification based on multiple hierarchies The classification is performed by hierarchically combining classification based on the skeletal structure of the entire body, classification based on the skeletal structure of the upper and lower body, classification based on the skeletal structure of the arms and legs, etc. In other words, classification may be performed based on the feature amounts of the first and second parts of the skeletal structure, and further classification may be performed by weighting the feature amounts of the first and second parts.

[0055] (Classification method 2) Classification using multiple images in chronological order Classification is based on the feature values ​​of the skeletal structure in multiple consecutive images in a time series. For example, feature values ​​may be accumulated in the time series direction and classification may be based on the cumulative value. Furthermore, classification may be based on the change (amount of change) in the feature values ​​of the skeletal structure in multiple consecutive images.

[0056] (Classification method 3) Classification ignoring the left and right sides of the skeletal structure Classify opposite skeletal structures on the right and left sides of a person as the same skeletal structure.

[0057] Furthermore, the classification unit 104 displays the classification results of the skeletal structure (S113). The classification unit 104 acquires the necessary skeletal structure and person images from the database 110, and displays the skeletal structure and person for each similar posture (cluster) on the display unit 107 as the classification results. FIG. 12 shows a display example in which postures are classified into three. For example, as shown in FIG. 12, posture areas WA1 to WA3 for each posture are displayed in the display window W1, and the skeletal structure and person (image) of the posture corresponding to each posture area WA1 to WA3 are displayed. The posture area WA1 is, for example, a display area for a standing posture, and displays the skeletal structure and person similar to the standing posture classified into cluster C1. The posture area WA2 is, for example, a display area for a sitting posture, and displays the skeletal structure and person similar to the sitting posture classified into cluster C2. The posture area WA3 is, for example, a display area for a lying posture, and displays the skeletal structure and person similar to the sitting posture classified into cluster C3. 3 The system displays skeletal structures and people in positions similar to those in a sleeping position, classified as .

[0058] Subsequently, as shown in FIG. 3, the image processing device 100 performs a search process (S105). In the search process, as shown in FIG. 5, the search unit 105 accepts an input of a search condition (S121) and searches for a skeletal structure based on the search condition (S122). The search unit 105 accepts an input of a search query, which is a search condition, from the input unit 106 in response to a user's operation. When inputting a search query from a classification result, for example, in the display example of FIG. 12, the user specifies (selects) a skeletal structure of a posture to be searched from among posture areas WA1 to WA3 displayed in the display window W1. Then, the search unit 105 uses the skeletal structure specified by the user as a search query to search for a skeletal structure having a high similarity in feature amount from among all skeletal structures stored in the database 110 as a search target. The search unit 105 calculates a similarity between the feature amount of the skeletal structure of the search query and the feature amount of the skeletal structure of the search target, and extracts a skeletal structure having a calculated similarity amount higher than a predetermined threshold value. The feature amount of the skeletal structure of the search query may be a feature amount calculated in advance, or a feature amount calculated at the time of the search. Note that the search query may be input by moving each part of the skeletal structure according to the user's operation, or the posture demonstrated by the user in front of the camera may be used as the search query.

[0059] In this embodiment, similarly to the classification method, a variety of search methods can be used by searching based on the feature amount of a person's skeletal structure. The search method may be preset, or may be arbitrarily set by the user. For example, the search unit 105 performs a search using the following search methods. Any of the search methods may be used, or arbitrarily selected search methods may be combined. A search may be performed by combining a plurality of search methods (search conditions) using a logical expression (e.g., AND (logical product), OR (logical sum), NOT (negation)). For example, a search may be performed using the search conditions "(posture with right hand raised) AND (posture with left leg raised)".

[0060] (Search method 1) Search using height features only By performing a search using only the height feature of a person, the effect of lateral changes in the person can be suppressed, and robustness against changes in the person's orientation and body type is improved. For example, as in skeletal structures 501 to 503 in Fig. 13, even if the person's orientation or body type is different, the height feature does not change significantly. For this reason, the skeletal structures 501 to 503 can be determined to have the same posture during search (classification).

[0061] (Search Method 2) Partial Search When a part of a person's body is hidden in an image, a search is performed using only information on recognizable parts. For example, as in the case of skeletal structures 511 and 512 in FIG. 14, even if the key point of the left foot cannot be detected because the left foot is hidden, a search can be performed using the feature amounts of other detected key points. For this reason, in the case of skeletal structures 511 and 512, it is possible to determine that the postures are the same at the time of search (classification). In other words, classification and search can be performed using the feature amounts of some key points, not all key points. In the example of skeletal structures 521 and 522 in FIG. 15, although the directions of both feet are different, it is possible to determine that the postures are the same by using the feature amounts of the key points (A1, A2, A31, A32, A41, A42, A51, A52) of the upper body as a search query. In addition, a search can be performed by weighting the part (feature point) to be searched, or a threshold value for similarity judgment can be changed. When a part of the body is hidden, a search can be performed by ignoring the hidden part, or a search can be performed by taking the hidden part into account. By including hidden parts in the search, it is possible to search for postures in which the same body part is hidden.

[0062] (Search method 3) Search ignoring the left and right sides of the skeletal structure Skeletal structures with opposite skeletal structures on the right and left sides of a person are searched for as the same skeletal structure. For example, a posture in which the right hand is raised and a posture in which the left hand is raised can be searched for (classified) as the same posture, as in skeletal structures 531 and 532 in Fig. 16. In the example of Fig. 16, skeletal structures 531 and 532 have different positions for key point A51 on the right hand, key point A41 on the right elbow, key point A52 on the left hand, and key point A42 on the left elbow, but the positions of the other key points are the same. Of the key points A51 on the right hand and A41 on the right elbow of skeletal structure 531, and the key points A52 on the left hand and A42 on the left elbow of skeletal structure 532, if the key points of one of the skeletal structures are flipped left to right, they will be in the same position as the key points of the other skeletal structure. Furthermore, of the key points A52 on the left hand and A42 on the left elbow of skeletal structure 531, and the key points A51 on the right hand and A41 on the right elbow of skeletal structure 532, if the key points of one of the skeletal structures are flipped left to right, they will be in the same position as the key points of the other skeletal structure, so they are determined to be the same posture.

[0063] (Search method 4) Search by vertical and horizontal features After performing a search using only the features of the person in the vertical direction (Y-axis direction), the obtained results are further searched using the features of the person in the horizontal direction (X-axis direction).

[0064] (Search method 5) Searching for multiple images in chronological order Searches are performed based on the feature values ​​of the skeletal structure in multiple consecutive images in a time series. For example, the feature values ​​may be accumulated in the time series direction, and searches may be performed based on the cumulative value. Furthermore, searches may be performed based on the change (amount of change) in the feature values ​​of the skeletal structure in multiple consecutive images.

[0065] Furthermore, the search unit 105 displays the search results of the skeletal structure (S123). The search unit 105 acquires the necessary skeletal structure and person images from the database 110, and displays the skeletal structure and person obtained as the search results on the display unit 107. For example, when a plurality of search queries (search conditions) are specified, the search results are displayed for each search query. FIG. 17 shows a display example when a search is performed using three search queries (postures). For example, as shown in FIG. 17, in the display window W2, the skeletal structures and people of the specified search queries Q10, Q20, and Q30 are displayed at the left end, and the skeletal structures and people of the search results Q11, Q21, and Q31 of each search query are displayed side by side to the right of the search queries Q10, Q20, and Q30.

[0066] The order in which the search results are displayed next to the search query may be the order in which the corresponding skeletal structures were found, or the order in which the similarity is highest. When a partial search is performed with weights applied to the parts (feature points), the results may be displayed in order of similarity calculated using the weights. The results may also be displayed in order of similarity calculated only from the parts (feature points) selected by the user. In addition, images (frames) before and after the search result image (frame) may be cut out for a certain period of time and displayed.

[0067] (Search Method 6) In this search method, the search unit 105 uses the above-mentioned skeletal structure as a search query (hereinafter also referred to as query information). This skeletal structure indicates a person's posture. The search unit 105 then selects at least one image (hereinafter referred to as a target image) including a person similar to the posture indicated by the query information from among a plurality of selection target images. At this time, the search unit 105 sets a threshold value serving as a criterion for determining whether the postures are similar or not, using the difference between information indicating a reference posture (hereinafter referred to as reference posture information) and the query information. Note that the selection target image may be a still image, or may be a video composed of a plurality of frame images.

[0068] 40 is a diagram showing an example of the functional configuration of the search unit 105 according to this search method. In this diagram, the search unit 105 has a query acquisition unit 610, a threshold setting unit 620, and an image selection unit 630.

[0069] The query acquisition unit 610 acquires query information. The query information, i.e., the skeletal structure, includes information indicating the relative positions of each of a plurality of key points. As described above, each of the plurality of key points indicates a different part of a human body, for example, a joint. The query acquisition unit 610 may generate the query information by processing an image input as a query. The query acquisition unit 610 may also acquire the skeletal information itself as the query information.

[0070] The threshold setting unit 620 uses the query information and the reference orientation information to set a threshold for selecting at least one target image from a plurality of selection target images. The reference orientation information includes a reference position of the relative positions of a plurality of key points, that is, a reference relative position (which can also be expressed as a standard relative position). A detailed example of a method for setting the threshold will be described later.

[0071] The image selection unit 630 selects at least one target image from the multiple selection target images. In detail, the image selection unit 630 selects at least one target image using the relative positions of multiple key points of a person included in each of the multiple selection target images, the query information, and a threshold value.

[0072] As an example, the image selection unit 630 selects, as the target image, a selection target image whose distance from the query information is equal to or less than a threshold in a feature space with each of a plurality of feature amounts indicating posture as an axis. Here, the search unit 105 uses, for example, the relative positions of a plurality of key points or values ​​obtained by processing these as the feature amounts indicating posture. These feature amounts have items.

[0073] Here, the relative position of each key point may be shown, for example, as a position based on the above-mentioned bone link, i.e., a key point located adjacently in the structure of the human body. This relative position may also be shown as a position based on at least one reference key point (hereinafter referred to as a reference key point) that is set. In the latter case, the reference key point is, for example, at least one of the neck, right shoulder, and left shoulder. The relative position of a key point may be shown by the coordinates of the key point with the reference key point as the origin, or may be shown by the bone link from the reference key point to the key point.

[0074] In the example shown in the figure, a plurality of images that are a population when the image selection unit 630 selects an image, that is, a plurality of selection target images, are stored in the image storage unit 640. The selection target images stored in the image storage unit 640 are repeatedly updated. This update includes both addition of selection target images and deletion of selection target images, but generally, the number of selection target images stored in the image storage unit 640 increases as time passes. In addition, in the example shown in the figure, the image storage unit 640 is a part of the search unit 105, that is, the image processing device 10. However, the image storage unit 640 may be located outside the image processing device 10. Note that the image storage unit 640 may be a part of the above-mentioned database 110, or may be provided separately from the database 110.

[0075] Fig. 41(A) is a diagram showing an example of reference posture information, and Fig. 41(B) and (C) are diagrams showing examples of query information. Fig. 42 is a diagram showing a multidimensional space for explaining the function of the threshold setting unit 620. The multidimensional space shown in Fig. 42 has axes each representing a plurality of feature quantities that characterize a posture. The image selection unit 630 selects, as a target image, a selection candidate image whose distance from the query information in this multidimensional space is equal to or less than a threshold.

[0076] In the example shown in Fig. 41(A), the posture indicated by the reference posture information is upright. The posture indicated by the query information (part 1) shown in Fig. 41(B) differs from the posture indicated by the reference posture information in that the left hand is stretched out to the side. On the other hand, the posture indicated by the query information (part 2) shown in Fig. 41(C) differs from the posture indicated by the reference posture information in that both hands are stretched out to the side. Therefore, the difference between the reference posture information and the query information (part 2) is larger than the difference between the reference posture information and the query information (part 1) by the difference in the right hand.

[0077] In the multidimensional space of Fig. 42, the positions of the reference posture information shown in Fig. 41(A), the query information (part 1) shown in Fig. 41(B), and the query information (part 2) shown in Fig. 41(C) are shown. When selecting a target image, the closer the query information is to the reference posture information, the more important the subtle differences in posture become. Therefore, the threshold setting unit 620 sets a threshold value when selecting a target image using the query information (part 1) to be smaller than the threshold value when selecting a target image using the query information (part 2).

[0078] Here, the reference orientation information will be described. As described above, the reference orientation information is used when determining a threshold value when selecting a target image. The reference orientation information may be acquired or generated by the image selection unit 630 according to an input from a user of the image processing device 10, or may be generated by the image selection unit 630.

[0079] When the image selection unit 630 acquires the reference posture information according to the input from the user, the information input from the user may be the reference posture information itself, or may indicate the selection of information to be used as the reference posture information from a plurality of posture information stored in advance. In the latter example, each of the plurality of posture information corresponds to a posture different from each other, and includes the relative positions of a plurality of key points in the posture. Note that the plurality of posture information used here may be stored in the image storage unit 640, or may be stored in a location different from the image storage unit 640.

[0080] In addition, when generating the reference posture information, the image selection unit 630 may generate the reference posture information by, for example, performing statistical processing on a plurality of selection target images stored in the image storage unit 640. The statistical processing performed here is, for example, performing statistical processing on the relative positions of a plurality of key points of at least two selection target images. The statistical processing performed here is, for example, an average, but is not limited to this. When this statistical processing is performed, the posture indicated by the reference posture information becomes a standard posture of the posture indicated by the selection target images. Then, it is estimated that the selection target images are densely packed near the reference posture information. For this reason, the closer the query information is to the reference posture information, the more images similar to the query information there are, so it is considered that subtle posture differences are particularly important when selecting an image.

[0081] When generating reference posture information, the image selection section 630 may use all of the selection eligible images stored in the image storage section 640, or may use only the selection eligible images selected by the user.

[0082] 43 is a flowchart showing a first example of the process performed in this search method by the search unit 105. In the example shown in this figure, the image selection unit 630 selects or generates reference posture information in accordance with a user input.

[0083] First, the query acquisition unit 610 acquires query information (step S300). The threshold setting unit 620 selects or generates reference posture information according to a user input (step S310). For example, the threshold setting unit 620 selects one of the selection target images according to the user input, and sets posture information indicated by the selection target image as reference posture information. The threshold setting unit 620 may also set a posture drawn according to the user input as reference posture information. The threshold setting unit 620 then uses the difference between the reference posture information and the query information to determine a threshold for selecting a target image (step S320).

[0084] For example, the threshold setting unit 620 sets the result of performing a predetermined calculation on the difference between the reference posture information and the query information as the threshold. As an example, the threshold setting unit 620 may calculate the threshold by multiplying the difference between the reference posture information and the query information by a constant. The threshold setting unit 620 may set the threshold by multiplying the difference between the reference posture information and the query information by a constant and further using the result of statistical processing of a plurality of selection target images stored in the image storage unit 640. An example of the statistical processing performed here is calculating a variance. In this case, the threshold setting unit 620 calculates the threshold by, for example, multiplying the difference between the reference posture information and the query information by this variance and a constant. Note that the threshold setting unit 620 may select one of these multiple calculation methods according to various conditions.

[0085] Then, the image selection unit 630 uses the threshold determined in step S320 to select an image similar to the query information from the multiple selection candidate images stored in the image storage unit 640 (step S330).

[0086] Then, image selection unit 630 outputs information indicating the selection result to, for example, display unit 107 to display it (step S340).

[0087] FIG. 44 is a diagram showing an example of a screen displayed by the image selection unit 630 after step S340 in FIG. 43. This screen shows the selection result by the image selection unit 630. In the example shown in this figure, this screen shows a multidimensional space. This multidimensional space has axes each representing a plurality of feature amounts that characterize a posture. This screen shows, with marks, the position of the target image in the multidimensional space and the positions of images that were not selected as the target image among the images to be selected. Here, all of the images that were not selected as the target image among the images to be selected may be displayed, or only a part of the images (at least one image) may be displayed.

[0088] When any mark is selected on the screen shown in Fig. 44, the image selection section 630 may read and display the image corresponding to the selected mark from the image storage section 640. This display may be performed, for example, on the screen shown in Fig. 44, or may be displayed in a separate window.

[0089] In this figure, the image selection unit 630 displays a circle or sphere with a radius of a threshold value centered on the position of the query pose in a multidimensional space. In this way, the user can visually grasp the size of the threshold value and the number of selected images.

[0090] Fig. 45 is a flowchart showing a second example of the process performed by the search unit 105 in this search method. The example shown in this figure is similar to the process shown in Fig. 43, except that the threshold setting unit 620 generates reference posture information instead of selecting reference posture information (step S312).

[0091] In step S312, the threshold setting unit 620 performs, for example, statistical processing (for example, calculating an average) of the orientations included in all the selection target images stored in the image storage unit 640, and sets the information indicated by the processing result as the reference orientation information. As another example, the threshold setting unit 620 obtains selection information for selecting a part of the multiple selection target images, and generates the reference orientation information by performing statistical processing on the selection target images indicated by the selection information. The selection information is input to the image processing device 100 by, for example, a user.

[0092] FIG. 46 is a diagram for explaining an example of a process performed by the threshold setting unit 620 when a user inputs selection information to the image processing device 100. In the example shown in this figure, the threshold setting unit 620 displays a multidimensional space on the screen of a terminal operated by a user. This multidimensional space also has axes of a plurality of feature quantities that characterize postures. The screen displays the positions of a plurality of selection target images stored in the image storage unit 640. The user selects a selection target image to be subjected to statistical processing on this screen. In the example shown in this figure, the user selects an area in the multidimensional space to be subjected to statistical processing. This area is an area in which the user wants to classify postures in particular in detail. Then, the threshold setting unit 620 generates reference posture information by performing statistical processing on the selected plurality of selection target images.

[0093] (A variation of search method 6) 47 is a diagram showing an example of the functional configuration of the search section 105 according to a modified example of search method 6. In the example shown in this figure, the search section 105 classifies a plurality of selection candidate images into a plurality of groups.

[0094] In detail, the search unit 105 includes a threshold setting unit 620 and an image selection unit 630, but does not include a query acquisition unit 610. The threshold setting unit 620 sets a threshold for classifying a plurality of selection target images into a plurality of groups, using the reference posture information. For example, the threshold setting unit 620 classifies a plurality of selection target images into a plurality of groups (for example, a group closest to the reference posture information, a group second closest, etc.) based on the distance from the reference posture information in a multidimensional space. The threshold setting unit 620 sets a threshold for this grouping (i.e., a range of distance from the reference posture information) using the reference posture information. Then, the image selection unit 630 classifies a plurality of selection target images into a plurality of groups, using this threshold.

[0095] 48, the threshold setting unit 620 narrows the distance range for defining a group as the group approaches the reference posture. For example, the threshold setting unit 620 sets a first threshold for setting the group closest to the reference posture to be smaller than a second threshold for setting the next closest group.

[0096] The method of acquiring (or generating) the reference posture information in this modified example is as explained in the search method 6.

[0097] The threshold setting unit 620 and the image selection unit 630 in the search method 6 may have the same functions as the threshold setting unit 620 and the image selection unit 630 shown in this modification, in addition to the search function.

[0098] As described above, in this embodiment, it is possible to detect a person's skeletal structure from a two-dimensional image, and to perform classification and search based on the feature amount of the detected skeletal structure. This allows classification into similar poses with high similarity, and also allows searching for similar poses with high similarity to a search query (search key). By classifying and displaying similar poses from an image, it is possible to grasp the pose of a person in an image without the user specifying a pose, etc. Since the user can specify the pose of a search query from the classification results, it is possible to search for a desired pose even if the user does not know in advance the pose he or she wants to search in detail. For example, classification and search can be performed using the whole or part of a person's skeletal structure as a condition, which enables flexible classification and search.

[0099] Furthermore, according to the search method 6, when selecting an image using the query information, a threshold for selecting an image is determined using a difference between the query information and the reference orientation information. Therefore, the threshold for selecting an image can be appropriately set. Therefore, the selection result is more likely to meet the user's intention.

[0100] Furthermore, according to a modification of search method 6, when classifying images using reference orientation information, a threshold value for classification can be set.

[0101] (Embodiment 2) Hereinafter, embodiment 2 will be described with reference to the drawings. In this embodiment, a specific example of feature amount calculation in embodiment 1 will be described. In this embodiment, feature amounts are obtained by normalizing using the person's height. The rest is the same as embodiment 1.

[0102] Fig. 18 shows the configuration of an image processing device 100 according to this embodiment. As shown in Fig. 18, the image processing device 100 further includes a height calculation unit 108 in addition to the configuration of embodiment 1. Note that the feature calculation unit 103 and the height calculation unit 108 may be integrated into one processing unit.

[0103] The height calculation unit (height estimation unit) 108 calculates (estimates) the height (called height pixel count) of a person in a two-dimensional image when standing upright, based on the two-dimensional skeletal structure detected by the skeletal structure detection unit 102. The height pixel count can also be said to be the height of a person in a two-dimensional image (the length of the person's entire body in two-dimensional image space). The height calculation unit 108 finds the height pixel count (number of pixels) from the length of each bone of the detected skeletal structure (the length in two-dimensional image space).

[0104] In the following examples, concrete examples 1 to 3 are used as a method for calculating the height pixel number. Any of the concrete examples 1 to 3 may be used, or a combination of a plurality of arbitrarily selected methods may be used. In concrete example 1, the height pixel number is calculated by adding up the lengths of the bones from the head to the feet among the bones of the skeletal structure. If the skeletal structure detection unit 102 (skeletal estimation technology) does not output the top of the head and the feet, it can be corrected by multiplying a constant as necessary. In concrete example 2, the height pixel number is calculated using a human body model that indicates the relationship between the length of each bone and the length of the whole body (height in a two-dimensional image space). In concrete example 3, the height pixel number is calculated by fitting (applying) a three-dimensional human body model to the two-dimensional skeletal structure.

[0105] The feature amount calculation unit 103 in this embodiment is a normalization unit that normalizes the skeletal structure (skeletal information) of a person based on the calculated height pixel number of the person. The feature amount calculation unit 103 stores the feature amount (normalization value) of the normalized skeletal structure in the database 110. The feature amount calculation unit 103 normalizes the height of each key point (feature point) included in the skeletal structure on the image by the height pixel number. In this embodiment, for example, the height direction is the up-down direction (Y axis direction) in the two-dimensional coordinate (XY coordinate) space of the image. In this case, the height of the key point can be obtained from the Y coordinate value (pixel number) of the key point. Alternatively, the height direction may be the direction of the vertical projection axis (vertical projection direction) obtained by projecting the direction of the vertical axis perpendicular to the ground (reference plane) in the three-dimensional coordinate space of the real world onto the two-dimensional coordinate space. In this case, the height of the keypoint can be obtained from a value (number of pixels) along a vertical projection axis obtained by projecting an axis perpendicular to the ground in the real world onto a two-dimensional coordinate space based on the camera parameters. The camera parameters are image capture parameters, such as the attitude, position, image capture angle, and focal length of the camera 200. The camera 200 captures an image of an object whose length and position are known in advance, and the camera parameters can be obtained from the image. Distortion occurs at both ends of the captured image, and the vertical direction in the real world and the up-down direction of the image may not match. In response to this, the degree to which the vertical direction in the real world is tilted in the image can be found by using the parameters of the camera that captured the image. Therefore, the value of the keypoint along the vertical projection axis projected onto the image based on the camera parameters is normalized by height, and the keypoint can be characterized in consideration of the deviation between the real world and the image. The left-right direction (horizontal direction) refers to the left-right direction (X-axis direction) in the two-dimensional coordinate (XY coordinate) space of the image, or the direction parallel to the ground in the three-dimensional coordinate space of the real world projected onto the two-dimensional coordinate space.

[0106] Fig. 19 to Fig. 23 show the operation of the image processing device 100 according to this embodiment. Fig. 19 shows the flow from image acquisition to search processing in the image processing device 100, Fig. 20 to Fig. 22 show the flow of specific examples 1 to 3 of the height pixel number calculation processing (S201) in Fig. 19, and Fig. 23 shows the flow of the normalization processing (S202) in Fig. 19.

[0107] 19, in this embodiment, height pixel number calculation processing (S201) and normalization processing (S202) are performed as the feature amount calculation processing (S103) in embodiment 1. The rest is the same as in embodiment 1.

[0108] Following image acquisition (S101) and skeletal structure detection (S102), the image processing device 100 performs height pixel number calculation processing based on the detected skeletal structure (S201). In this example, as shown in Fig. 24, the height of the skeletal structure of a person standing upright in the image is taken as height pixel number (h), and the height of each key point of the skeletal structure in the state of the person in the image is taken as key point height (yi). Specific examples 1 to 3 of height pixel number calculation processing will be described below.

[0109] <Specific Example 1> In specific example 1, the height pixel number is calculated using the bone lengths from the head to the feet. In specific example 1, as shown in Fig. 20, the height calculation unit 108 obtains the length of each bone (S211) and sums up the obtained lengths of each bone (S212).

[0110] The height calculation unit 108 obtains the length of the bones on the two-dimensional image from the head to the feet of the person, and calculates the height pixel number. That is, from the image in which the skeletal structure is detected, the length (number of pixels) of each of the bones in FIG. 24, bone B1 (length L1), bone B51 (length L21), bone B61 (length L31), and bone B71 (length L41), or bone B1 (length L1), bone B52 (length L22), bone B62 (length L32), and bone B72 (length L42), is obtained. The length of each bone can be obtained from the coordinates of each key point in the two-dimensional image. The total of these, L1+L21+L31+L41, or L1+L22+L32+L42, is multiplied by a correction constant to calculate the height pixel number (h). When both values ​​can be calculated, for example, the longer value is set as the height pixel number. That is, each bone will be the longest in the image when it is photographed from the front, and will appear shorter when tilted in the depth direction relative to the camera. Therefore, it is more likely that a longer bone was photographed from the front, and is closer to the true value. For this reason, it is preferable to select the longer value.

[0111] In the example of Fig. 25, bone B1, bones B51 and B52, bones B61 and B62, and bones B71 and B72 are detected without overlapping. The totals of these bones, L1+L21+L31+L41 and L1+L22+L32+L42, are calculated, and the height pixel number is determined by multiplying the detected bone length, for example, L1+L22+L32+L42 on the left leg side, which is longer, by a correction constant.

[0112] 26, bone B1, bone B51 and bone B52, bone B61 and bone B62, and bone B71 and bone B72 are detected, and bones B61 and B71 of the right foot overlap with bones B62 and B72 of the left foot. The totals of these bones, L1+L21+L31+L41 and L1+L22+L32+L42, are calculated, and the height pixel number is determined by multiplying the detected bone length L1+L21+L31+L41 on the right foot side, which is longer, by a correction constant.

[0113] 27, bone B1, bone B51 and bone B52, bone B61 and bone B62, and bone B71 and bone B72 are detected, and bones B61 and B71 of the right foot overlap with bones B62 and B72 of the left foot. The totals of these bones, L1+L21+L31+L41 and L1+L22+L32+L42, are calculated, and the height pixel number is determined by multiplying the detected bone length L1+L22+L32+L42 on the left foot side, which is longer, by a correction constant.

[0114] In Example 1, height can be calculated by adding up the lengths of the bones from head to toe, so the height pixel count can be calculated in a simple manner. In addition, because it is sufficient to detect at least the skeleton from head to toe using machine learning-based skeleton estimation technology, the height pixel count can be estimated with high accuracy even when the entire person is not necessarily captured in the image, such as when the person is crouching.

[0115] <Specific Example 2> In specific example 2, the height pixel number is calculated using a two-dimensional skeleton model that indicates the relationship between the length of the bones included in the two-dimensional skeleton structure and the length of the entire body of a person in two-dimensional image space.

[0116] FIG. 28 shows a human body model (two-dimensional skeletal model) 301 used in the concrete example 2, which shows the relationship between the length of each bone in the two-dimensional image space and the length of the whole body in the two-dimensional image space. As shown in FIG. 28, the relationship between the length of each bone of an average person and the length of the whole body (the ratio of the length of each bone to the length of the whole body) is associated with each bone of the human body model 301. For example, the length of the head bone B1 is the length of the whole body×0.2 (20%), the length of the right hand bone B41 is the length of the whole body×0.15 (15%), and the length of the right foot bone B71 is the length of the whole body×0.25 (25%). By storing such information of the human body model 301 in the database 110, the average whole body length can be obtained from the length of each bone. In addition to the human body model of the average person, a human body model may be prepared for each person's attributes such as age, sex, and nationality. This makes it possible to obtain the whole body length (height) appropriately according to the person's attributes.

[0117] In specific example 2, as shown in Fig. 21, height calculation unit 108 acquires the length of each bone (S221). Height calculation unit 108 acquires the length of all bones (length in two-dimensional image space) in the detected skeletal structure. Fig. 29 shows an example in which a person in a crouching state is imaged from diagonally behind to the right and a skeletal structure is detected. In this example, the person's face and left side are not captured, so the head bone and the left arm and left hand bones cannot be detected. Therefore, the length of each of the detected bones B21, B22, B31, B41, B51, B52, B61, B62, B71, and B72 is acquired.

[0118] Next, the height calculation unit 108 calculates the height pixel number from the length of each bone based on the human body model as shown in Fig. 21 (S222). The height calculation unit 108 refers to a human body model 301 showing the relationship between each bone and the length of the whole body as shown in Fig. 28, and calculates the height pixel number from the length of each bone. For example, since the length of the right hand bone B41 is the whole body length × 0.15, the height pixel number based on the bone B41 is calculated by dividing the length of the bone B41 by 0.15. Also, since the length of the right foot bone B71 is the whole body length × 0.25, the height pixel number based on the bone B71 is calculated by dividing the length of the bone B71 by 0.25.

[0119] The human body model to be referenced at this time is, for example, an average human body model, but a human body model may be selected according to the attributes of the person, such as age, sex, and nationality. For example, when a person's face is captured in a captured image, the attributes of the person are identified based on the face, and a human body model corresponding to the identified attributes is referenced. The attributes of the person can be recognized from the facial features of the image by referring to information obtained by machine learning of the face for each attribute. Also, when the attributes of the person cannot be identified from the image, an average human body model may be used.

[0120] Furthermore, the height pixel count calculated from the bone lengths may be corrected by camera parameters. For example, when a person is photographed looking down from a high position with a camera, the horizontal length of the shoulder width bones in the two-dimensional skeletal structure is not affected by the camera's inclination angle, but the vertical length of the neck-waist bones decreases as the camera's inclination angle increases. As a result, the height pixel count calculated from the horizontal length of the shoulder width bones tends to be larger than the actual height pixel count. Therefore, by utilizing camera parameters, the angle at which the camera is looking down on the person can be known, and this inclination angle information can be used to correct the two-dimensional skeletal structure to one as if photographed from the front. This allows the height pixel count to be calculated more accurately.

[0121] Next, the height calculation unit 108 calculates the optimum value of the height pixel number as shown in FIG. 21 (S223). The height calculation unit 108 calculates the optimum value of the height pixel number from the height pixel number calculated for each bone. For example, a histogram of the height pixel number calculated for each bone as shown in FIG. 30 is generated, and the largest height pixel number among them is selected. In other words, a height pixel number longer than the others is selected from a plurality of height pixel numbers calculated based on a plurality of bones. For example, the top 30% are considered to be valid values, and in FIG. 30, the height pixel numbers of bones B71, B61, and B51 are selected. The average of the selected height pixel numbers may be calculated as the optimum value, or the largest height pixel number may be calculated as the optimum value. In order to calculate the height from the length of the bones in the two-dimensional image, the bones are viewed from the front. Imaging If this is not possible, i.e. if the bone is photographed tilted in the depth direction as viewed from the camera, the length of the bone will be shorter than when photographed from the front. In this case, a value with a larger height pixel count is more likely to have been photographed from the front than a value with a smaller height pixel count, and is therefore a more likely value. Therefore, the larger value is set as the optimal value.

[0122] In Example 2, the height pixel number is calculated based on the detected bones of the skeletal structure using a human body model showing the relationship between the bones in the two-dimensional image space and the length of the whole body, so that even if all the bones from the head to the feet cannot be obtained, the height pixel number can be calculated from some of the bones. In particular, the height pixel number can be estimated with high accuracy by adopting the larger value among the values ​​calculated from multiple bones.

[0123] <Specific Example 3> In specific example 3, a two-dimensional skeletal structure is fitted to a three-dimensional human body model (three-dimensional skeletal model), and the skeletal vector of the entire body is obtained using the height pixel count of the fitted three-dimensional human body model.

[0124] In specific example 3, as shown in Fig. 22, height calculation unit 108 first calculates camera parameters based on images captured by camera 200 (S231). Height calculation unit 108 extracts an object whose length is known in advance from a plurality of images captured by camera 200, and obtains camera parameters from the size (number of pixels) of the extracted object. Note that the camera parameters may be obtained in advance, and the obtained camera parameters may be acquired as necessary.

[0125] Next, the height calculation unit 108 adjusts the position and height of the three-dimensional human body model (S232). The height calculation unit 108 prepares a three-dimensional human body model for calculating the number of height pixels for the detected two-dimensional skeletal structure, and places it in the same two-dimensional image based on the camera parameters. Specifically, the "relative positional relationship between the camera and the person in the real world" is specified from the camera parameters and the two-dimensional skeletal structure. For example, assuming that the camera position is at coordinates (0,0,0), the coordinates (x,y,z) of the position where the person is standing (or sitting) are specified. Then, the two-dimensional skeletal structure and the three-dimensional human body model are superimposed by assuming an image when the three-dimensional human body model is placed at the same position (x,y,z) as the specified person and captured.

[0126] FIG. 31 shows an example in which a person who is crouching is imaged from the left diagonal front and a two-dimensional skeletal structure 401 is detected. The two-dimensional skeletal structure 401 has two-dimensional coordinate information. It is preferable that all bones are detected, but some bones may not be detected. For this two-dimensional skeletal structure 401, a three-dimensional human body model 402 as shown in FIG. 32 is prepared. The three-dimensional human body model (three-dimensional skeletal model) 402 has three-dimensional coordinate information and is a skeletal model having the same shape as the two-dimensional skeletal structure 401. Then, as shown in FIG. 33, the prepared three-dimensional human body model 402 is arranged and superimposed on the detected two-dimensional skeletal structure 401. In addition to the superimposition, the height of the three-dimensional human body model 402 is adjusted to match the two-dimensional skeletal structure 401.

[0127] The three-dimensional human body model 402 prepared at this time may be a model in a state close to the posture of the two-dimensional skeletal structure 401, as shown in Fig. 33, or may be a model in an upright state. For example, a three-dimensional human body model 402 in an estimated posture may be generated using a technology that uses machine learning to estimate a posture in three-dimensional space from a two-dimensional image. By learning information on the joints in the two-dimensional image and the joints in three-dimensional space, it is possible to estimate a three-dimensional posture from a two-dimensional image.

[0128] Next, the height calculation unit 108 fits the three-dimensional human body model to the two-dimensional skeletal structure as shown in FIG. 22 (S233). In a state where the three-dimensional human body model 402 is superimposed on the two-dimensional skeletal structure 401 as shown in FIG. 34, the height calculation unit 108 deforms the three-dimensional human body model 402 so that the postures of the three-dimensional human body model 402 and the two-dimensional skeletal structure 401 match. That is, the height, body orientation, and joint angles of the three-dimensional human body model 402 are adjusted and optimized so that there is no difference with the two-dimensional skeletal structure 401. For example, the joints of the three-dimensional human body model 402 are rotated within the range of human movement, and the entire three-dimensional human body model 402 is rotated and the overall size is adjusted. The fitting of the three-dimensional human body model to the two-dimensional skeletal structure is performed in a two-dimensional space (two-dimensional coordinates). In other words, a 3D human body model is mapped onto a 2D space, and the 3D human body model is optimized to a 2D skeletal structure, taking into consideration how the deformed 3D human body model changes in the 2D space (image).

[0129] Next, height calculation unit 108 calculates the height pixel number of the fitted three-dimensional human body model as shown in FIG. 22 (S234). When the difference between three-dimensional human body model 402 and two-dimensional skeletal structure 401 disappears and the postures match as shown in FIG. 35, height calculation unit 108 calculates the height pixel number of three-dimensional human body model 402 in that state. With optimized three-dimensional human body model 402 in an upright state, the length of the entire body in two-dimensional space is calculated based on the camera parameters. For example, the height pixel number is calculated based on the bone length (number of pixels) from the head to the feet when three-dimensional human body model 402 is upright. As in specific example 1, the bone lengths from the head to the feet of three-dimensional human body model 402 may be summed up.

[0130] In specific example 3, a 3D human body model is fitted to a 2D skeletal structure based on the camera parameters, and height pixel count is calculated based on the 3D human body model. This makes it possible to estimate height pixel count with high accuracy even when not all bones are viewed from the front, i.e., even when all bones are viewed at an angle, resulting in a large error.

[0131] <Normalization Processing> As shown in FIG. 19, the image processing device 100 performs normalization processing (S202) following the height pixel number calculation processing. In the normalization processing, as shown in FIG. 23, the feature amount calculation unit 103 calculates the key point height (number of pixels) of all key points included in the detected skeletal structure. The key point height is the length (number of pixels) in the height direction from the lowest end of the skeletal structure (for example, a key point of one of the feet) to the key point. Here, as an example, the key point height is obtained from the Y coordinate of the key point in the image. As described above, the key point height may be obtained from the length in the direction along the vertical projection axis based on the camera parameters. For example, in the example of FIG. 24, the height (yi) of the neck key point A2 is a value obtained by subtracting the Y coordinate of the right foot key point A81 or the left foot key point A82 from the Y coordinate of the key point A2.

[0132] Next, the feature amount calculation unit 103 specifies a reference point for normalization (S242). The reference point is a point that serves as a reference for expressing the relative height of the key point. The reference point may be set in advance, or may be selectable by the user. The reference point is preferably the center of the skeletal structure or higher than the center (upward in the vertical direction of the image), and for example, the coordinates of the key point of the neck are set as the reference point. Note that the reference point is not limited to the neck, and the coordinates of the head or other key points may be set as the reference point. The reference point is not limited to the key point, and any coordinates (for example, the center coordinates of the skeletal structure, etc.) may be set as the reference point.

[0133] Next, the feature calculation unit 103 normalizes the keypoint height (yi) by the height pixel count (S243). The feature calculation unit 103 normalizes each keypoint using the keypoint height, reference point, and height pixel count of each keypoint. Specifically, the feature calculation unit 103 normalizes the relative height of the keypoint with respect to the reference point by the height pixel count. Here, as an example focusing on only the height direction, only the Y coordinate is extracted, and normalization is performed with the reference point being the neck keypoint. Specifically, the Y coordinate of the reference point (neck keypoint) is set as (yc), and the feature (normalized value) is calculated using the following formula (1). Note that when a vertical projection axis based on the camera parameters is used, (yi) and (yc) are converted into values ​​in the direction along the vertical projection axis.

number

[0134] For example, if there are 18 keypoints, the coordinates of the 18 keypoints (x0, y0), (x1, y1), ... (x17, y17) are converted into 18-dimensional features using the above formula (1) as follows:

number

[0135] FIG. 36 shows an example of the feature amount of each key point calculated by the feature amount calculation unit 103. In this example, the neck key point A2 is set as the reference point, so the feature amount of the key point A2 is 0.0, and the feature amounts of the right shoulder key point A31 and the left shoulder key point A32, which are at the same height as the neck, are also 0.0. The feature amount of the head key point A1, which is higher than the neck, is -0.2. The feature amount of the right hand key point A51 and the left hand key point A52, which are lower than the neck, is 0.4, and the feature amount of the right foot key point A81 and the left foot key point A82 are 0.9. If the person raises his / her left hand from this state, the left hand becomes higher than the reference point as shown in FIG. 37, so the feature amount of the left hand key point A52 is -0.4. On the other hand, since normalization is performed using only the coordinate of the Y axis, the feature amount does not change even if the width of the skeletal structure changes as shown in FIG. 38 compared to FIG. 36. That is, the feature amount (normalized value) in this embodiment indicates the feature in the height direction (Y direction) of the skeletal structure (key point), and is not affected by changes in the lateral direction (X direction) of the skeletal structure.

[0136] As described above, in this embodiment, a person's skeletal structure is detected from a two-dimensional image, and each key point of the skeletal structure is normalized using the height pixel count (height when standing upright in two-dimensional image space) calculated from the detected skeletal structure. By using this normalized feature amount, robustness when classification, search, etc. are performed can be improved. That is, the feature amount of this embodiment is not affected by lateral changes of the person as described above, and is therefore highly robust against changes in the person's orientation and body shape.

[0137] Furthermore, in this embodiment, since this can be realized by detecting the skeletal structure of a person using a skeletal estimation technology such as OpenPose, there is no need to prepare learning data for learning the posture, etc. of a person. Also, by normalizing the key points of the skeletal structure and storing them in a database, classification and search of posture, etc. of a person is possible, so classification and search can be performed even for unknown postures. Also, by normalizing the key points of the skeletal structure, clear and easy-to-understand features can be obtained, so that users can be more convinced of the processing results, unlike black-box algorithms such as machine learning.

[0138] Although the embodiments of the present invention have been described above with reference to the drawings, these are merely examples of the present invention, and various configurations other than those described above can also be adopted.

[0139] In addition, in the flowcharts used in the above description, multiple steps (processes) are described in order, but the order of execution of the steps performed in each embodiment is not limited to the order described. In each embodiment, the order of the steps shown in the figures can be changed to the extent that the content is not affected. In addition, the above-mentioned embodiments can be combined to the extent that the content is not contradictory.

[0140] A part or all of the above-described embodiments can be described as, but are not limited to, the following supplementary notes. 1. A threshold setting means for setting at least one of a threshold for selecting at least one target image from a plurality of selection candidate images and a threshold for classifying the plurality of selection candidate images, using reference orientation information indicating a reference orientation; an image selection means for selecting the at least one target image from the plurality of selection candidate images or for classifying the plurality of selection candidate images using the threshold; An image selection device comprising: 2. In the image selection device according to the above item 1, A query acquisition unit is further provided for acquiring query information indicating a posture of a person, the threshold setting means sets a threshold for selecting the at least one target image using the query information and the reference orientation information; The image selection means selects the at least one target image using the threshold and the query information. 3. In the image selection device according to the above 1 or 2, The threshold setting means obtains the reference orientation information using an input from a user. 4. In the image selection device according to the above 1 or 2, The threshold setting means is an image selection device that generates the reference orientation information by performing statistical processing on the plurality of selection candidate images. 5. In the image selection device according to claim 4, The threshold setting means acquires selection information for selecting a portion of the plurality of selection candidate images, and generates the reference orientation information by performing statistical processing on the selection candidate images indicated by the selection information. 6. In the image selection device according to the above item 2, The threshold setting means sets the threshold by multiplying a value indicating a difference between the query information and the reference orientation information by a constant. 7. In the image selection device according to claim 6, The threshold setting means further sets the threshold using a result of statistical processing of the plurality of selection candidate images. 8. In the image selection device according to any one of 1 to 7 above, The image selection means is an image selection device that displays on a terminal the position of the target image in a multidimensional space whose axes are each a plurality of features that characterize the posture, and the position of at least one selection target image that is different from the target image. 9. In the image selection device according to claim 2, the image selection means displays, on a terminal, a position of the target image in a multidimensional space having axes corresponding to a plurality of feature amounts characterizing a posture and a position of at least one of the selection target images different from the target image; The image selection means further displays, in the multi-dimensional space, a circle or a sphere having a radius equal to the threshold value and centered on the position of the query information. 10. In the image selection device according to any one of claims 1 to 9, The reference pose information includes relative positions of a plurality of key points representing different parts of a human body. 11. The computer a threshold setting process for setting at least one of a threshold for selecting at least one target image from a plurality of selection target images and a threshold for classifying the plurality of selection target images, using reference orientation information indicating a reference orientation; an image selection process for selecting the at least one target image from the plurality of selection candidate images or classifying the plurality of selection candidate images using the threshold; Image selection method. 12. In the image selection method according to claim 11, The computer includes: A query acquisition process is further performed to acquire query information indicating a posture of the person. In the threshold setting process, a threshold for selecting the at least one target image is set using the query information and the reference orientation information; The image selection method further comprising: selecting the at least one target image using the threshold and the query information in the image selection process. 13. In the image selection method according to 11 or 12 above, The image selection method, wherein the computer acquires the reference orientation information using an input from a user in the threshold setting process. 14. In the image selection method according to 11 or 12 above, The image selection method, in which the computer generates the reference orientation information by performing statistical processing on the plurality of selection candidate images in the threshold setting process. 15. In the image selection method according to claim 14, An image selection method in which the computer acquires selection information for selecting a portion of the plurality of selection target images in the threshold setting process, and generates the reference posture information by statistically processing the selection target images indicated by the selection information. 16. In the image selection method according to claim 12, An image selection method in which the computer sets the threshold by multiplying a value indicating a difference between the query information and the reference posture information by a constant in the threshold setting process. 17. In the image selection method according to claim 16, The image selection method according to the present invention, wherein the computer further sets the threshold value using a result of statistical processing of the plurality of selection candidate images in the threshold value setting process. 18. In the image selection method according to any one of claims 11 to 17, In the image selection process, the computer displays on a terminal the position of the target image in a multidimensional space whose axes are each a plurality of features that characterize the posture, and the position of at least one selection target image that is different from the target image. 19. In the image selection method according to claim 12, The computer includes: In the image selection process, a position of the target image in a multidimensional space having an axis corresponding to each of a plurality of feature amounts characterizing a posture and a position of at least one of the selection target images different from the target image are displayed on a terminal; The image selection method further comprises displaying, in the image selection process, a circle or sphere having a radius equal to the threshold value and centered on the position of the query information, within the multidimensional space. 20. In the image selection method according to any one of claims 11 to 19, The image selection method, wherein the reference pose information includes relative positions of a plurality of key points representing different parts of a human body. 21. To the computer, a threshold setting function for setting at least one of a threshold for selecting at least one target image from a plurality of selection target images and a threshold for classifying the plurality of selection target images, using reference orientation information indicating a reference orientation; an image selection function that selects the at least one target image from the plurality of selection candidate images using the threshold value, or classifies the plurality of selection candidate images; A program that allows you to have 22. In the program according to 21 above, A query acquisition unit for acquiring query information indicating a posture of a person by the computer. function And further the threshold setting function sets a threshold for selecting the at least one target image using the query information and the reference orientation information; The image selection function selects the at least one target image using the threshold and the query information. 23. In the program according to 21 or 22 above, A program in which the threshold setting function acquires the reference attitude information using input from a user. 24. In the program according to 21 or 22 above, The threshold setting function is a program for generating the reference attitude information by performing statistical processing on the plurality of selection candidate images. 25. In the program according to 24 above, The threshold setting function is a program that acquires selection information for selecting a portion of the plurality of selection target images, and generates the reference posture information by statistically processing the selection target images indicated by the selection information. 26. In the program according to 22 above, The threshold setting function is a program that sets the threshold by multiplying a value indicating a difference between the query information and the reference attitude information by a constant. 27. In the program according to 26 above, The threshold setting function further includes a program for setting the threshold using a result of statistical processing of the plurality of selection candidate images. 28. In the program according to any one of the above 21 to 27, The image selection function is a program that causes a terminal to display the position of the target image in a multidimensional space based on each of a plurality of features that characterize posture, and the position of at least one selection target image that is different from the target image. 29. In the program according to 22 above, The image selection function displays, on a terminal, a position of the target image in a multidimensional space with axes corresponding to a plurality of feature amounts that characterize a posture, and a position of at least one selection target image different from the target image; The image selection function further includes a program for displaying, within the multi-dimensional space, a circle or sphere having a radius equal to the threshold value and centered on the position of the query information. 30. In the program according to any one of claims 21 to 29, The reference posture information includes relative positions of a plurality of key points that indicate different parts of a human body. [Explanation of symbols]

[0141] 1. Image Processing System 10 Image processing device (image selection device) 11 Skeleton detection section 12 Feature Calculation Unit 13 Recognition part 100 Image processing device (image selection device) 101 Image acquisition unit 102 Skeletal structure detection unit 103 Feature Calculation Unit 104 Classification Department 105 Search Department 106 Input section 107 Display section 108 Height Calculator 110 Database 200 Cameras 300, 301 Human body models 401 2D Skeleton Structure 402 3D Human Body Model 610 Query Acquisition Unit 620 Threshold setting unit 630 Image Selection 640 Image storage unit

Claims

1. a threshold setting means for setting at least one of a threshold for selecting at least one target image from a plurality of selection candidate images and a threshold for classifying the plurality of selection candidate images, using reference orientation information indicating a reference orientation; an image selection means for selecting the at least one target image from the plurality of selection candidate images or for classifying the plurality of selection candidate images using the threshold; A query acquisition means for acquiring query information indicating a posture of a person; Equipped with the threshold setting means sets a threshold for selecting the at least one target image using the query information and the reference orientation information; The image selection means selects the at least one target image using the threshold and the query information.

2. 2. The image selection device according to claim 1, The threshold setting means obtains the reference orientation information using an input from a user.

3. 2. The image selection device according to claim 1, The threshold setting means is an image selection device that generates the reference orientation information by performing statistical processing on the plurality of selection candidate images.

4. 2. The image selection device according to claim 1, The threshold setting means sets the threshold by multiplying a value indicating a difference between the query information and the reference orientation information by a constant.

5. 2. The image selection device according to claim 1, the image selection means displays, on a terminal, a position of the target image in a multidimensional space with axes corresponding to a plurality of feature amounts characterizing a posture and a position of at least one selection target image different from the target image; The image selection means further displays, in the multi-dimensional space, a circle or a sphere having a radius equal to the threshold value and centered on the position of the query information.

6. The computer a threshold setting process for setting at least one of a threshold for selecting at least one target image from a plurality of selection target images and a threshold for classifying the plurality of selection target images, using reference orientation information indicating a reference orientation; an image selection process for selecting the at least one target image from the plurality of selection candidate images or classifying the plurality of selection candidate images using the threshold; A query acquisition process for acquiring query information indicating a posture of a person; Do the following: The computer, In the threshold setting process, a threshold for selecting the at least one target image is set using the query information and the reference orientation information; The image selection method further comprising: selecting the at least one target image using the threshold and the query information in the image selection process.

7. On the computer, a threshold setting function for setting at least one of a threshold for selecting at least one target image from a plurality of selection target images and a threshold for classifying the plurality of selection target images, using reference orientation information indicating a reference orientation; an image selection function that selects the at least one target image from the plurality of selection candidate images using the threshold value, or classifies the plurality of selection candidate images; A query acquisition function that acquires query information indicating a person's posture, the threshold setting function sets a threshold for selecting the at least one target image using the query information and the reference orientation information; The image selection function selects the at least one target image using the threshold and the query information.

8. A threshold setting means for setting at least one of a threshold for selecting at least one target image relating to the target posture from a plurality of selection target images and a threshold for classifying the plurality of selection target images as the target posture, using a difference between reference posture information indicating a reference posture and target posture information indicating a target posture; an image selection means for selecting the at least one target image from the plurality of selection candidate images or for classifying the plurality of selection candidate images using the threshold; An image selection device comprising:

9. A computer comprising: a threshold setting process for setting at least one of a threshold for selecting at least one target image related to the target posture from a plurality of selection target images and a threshold for classifying the plurality of selection target images as the target posture, using a difference between reference posture information indicating a reference posture and target posture information indicating a target posture; an image selection process for selecting the at least one target image from the plurality of selection candidate images or classifying the plurality of selection candidate images using the threshold; Image selection method.

10. A computer comprising: a threshold setting function for setting at least one of a threshold for selecting at least one target image related to the target posture from a plurality of selection target images and a threshold for classifying the plurality of selection target images as the target posture, using a difference between reference posture information indicating a reference posture and target posture information indicating a target posture; an image selection function that selects the at least one target image from the plurality of selection candidate images using the threshold value, or classifies the plurality of selection candidate images; A program that allows you to have

Citation Information

Patent Citations

  • Image information updating system, image inputting device, image processing device, image updating device, image information updating method, image information updating program, and recording medium recording the program

    JP2006260405A

  • Printer, apparatus and method for processing image, and computer program

    JP2011008522A

  • Attitude estimation device, attitude estimation system, and attitude estimation method

    JP2012181736A

  • Apparatus and method for retrieving object poses

    JP2014522035A

  • Obtaining metrics for position using frames classified by associative memory

    JP2016058078A