OBJECT RECOGNITION DEVICE, OBJECT RECOGNITION METHOD, AND PROGRAM
The object recognition device addresses recognition challenges by tracking and determining object attributes based on visibility, while the information superimposition device ensures clear and consistent superimposed information display, enhancing recognition accuracy and viewer experience.
Patent Information
- Application Number
- JP2020206297
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-12-11
- Publication Date
- 2024-10-02
- Estimated Expiration
- 2040-12-11
AI Technical Summary
Conventional object recognition technologies face challenges in achieving high-speed and high-accuracy object recognition in videos due to the need for extensive learning data and insufficient appearance information, leading to recognition failures and slow processing speeds, especially when objects are partially hidden or numerous.
An object recognition device that tracks objects, determines their attributes by calculating an index value indicating visibility and comparing it with a threshold, and an information superimposition device that selects non-overlapping candidate positions for superimposing information, maintaining temporal consistency.
Enables high-speed and high-accuracy object recognition with improved processing efficiency and viewer understanding by ensuring objects are not obscured and maintaining consistent information positioning.
Smart Images

Figure 0007560015000006 
Figure 0007560015000007 
Figure 0007560015000008
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for recognizing an object in an image and superimposing related information on the recognized object. [Background technology]
[0002] There are technologies that recognize objects in a video and superimpose related information on the recognized object. By superimposing related information on a specific object shown in the video, the viewer can obtain the information without having to actively look it up.
[0003] The process of recognizing a specific object in an input image and superimposing related information onto the image broadly involves two processes: a process of recognizing the specific object (object recognition process), and a process of superimposing information using the results of that process as input (information superimposition process). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2020-017136 A Summary of the Invention [Problem to be solved by the invention]
[0005] Regarding the above-mentioned object recognition process, for example, there is a conventional technology that uses an object detector to detect a target object from each image frame in a video. However, with this conventional technology, a huge amount of learning data must be prepared to distinguish objects in the video, and if the data is insufficient, sufficient recognition accuracy cannot be obtained.
[0006] Another method is to detect candidate objects and then detect specific attributes from each object to recognize the objects. However, this method fails to recognize attributes if there is insufficient appearance information in the image to distinguish the attributes, resulting in a decrease in the accuracy of attribute recognition. In addition, since specific attributes are detected from each object in each image frame, the processing speed may be slow.
[0007] The present invention has been made in consideration of the above-mentioned points, and has an object to provide a technique that enables a specific object to be recognized from an image quickly and accurately. [Means for solving the problem]
[0008] According to the disclosed technology, there is provided a tracking unit that tracks each object detected from an image; an attribute determination unit that, for an undetermined object whose attribute has not yet been determined among one or more objects tracked by the tracking unit, determines whether or not the attribute of the undetermined object can be determined based on information on how the undetermined object appears in the image, and determines the attribute of the undetermined object if the attribute can be determined; the attribute determination unit calculates an index value indicating a degree to which the undetermined object is not hidden by other objects, and determines whether or not an attribute of the undetermined object can be determined by comparing the index value with a threshold value; The other object is an object that exists in front of the undetermined object, and the index value is a value obtained by subtracting the IoU (Intersection-over-Union) between the other object and the undetermined object from 1. An object recognition device is provided. Effect of the Invention
[0009] According to the disclosed technology, a technology is provided that enables a specific object to be recognized from an image quickly and accurately. [Brief description of the drawings]
[0010] [Figure 1] 11A and 11B are diagrams illustrating an example in which related information of a specific object is superimposed on a video image. [Diagram 2] 13A and 13B are diagrams illustrating examples of cases where discrimination of a class or attribute fails. [Diagram 3] 13A and 13B are diagrams illustrating examples of cases where discrimination of a class or attribute fails. [Figure 4] FIG. 1 is a configuration diagram of an information presentation device. [Diagram 5] FIG. 11 is a diagram for explaining the operation of the information display device. [Figure 6] FIG. 11 is a diagram showing an example of superimposition information. [Figure 7] FIG. 1 is a configuration diagram of an object recognition device. [Figure 8] FIG. 2 is a diagram illustrating the configuration of a label determination unit. [Figure 9] FIG. 2 is a diagram for explaining the operation of the object recognition device. [Figure 10] FIG. 1 is a diagram showing an example of an object. [Figure 11] FIG. 13 is a diagram for explaining a method for extracting an object that exists in front of a certain object. [Figure 12] 11 is a diagram for explaining a method for determining whether or not an attribute of an object is visible to a degree that allows it to be recognized. [Figure 13] FIG. 2 is a configuration diagram of an information superimposing device. [Figure 14] FIG. 2 is a diagram for explaining the operation of the information superimposing device. [Figure 15] FIG. 13 is a diagram for explaining a folding position of a candidate object. [Figure 16] FIG. 2 illustrates an example of a hardware configuration of the apparatus. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, an embodiment of the present invention (the present embodiment) will be described with reference to the drawings. The embodiment described below is merely an example, and the embodiment to which the present invention is applied is not limited to the following embodiment.
[0012] (Outline of this embodiment) This embodiment relates to a technology for recognizing a specific object shown in an input video and superimposing related information on the video.
[0013] As a concrete example of this technology, Figure 1 shows an example in which footage of a rugby match is input, the players shown in it are recognized, and relevant information such as the player's name, position, height, and weight are displayed in the vicinity of the player on a panel image.
[0014] In this way, if related information about a specific object (e.g., a player) shown in a video can be superimposed, the viewer can obtain the information without having to actively look it up. In particular, if the viewer is not familiar with the target video, there are very few ways to look up details about an object that interests them among the objects shown in the video, so presenting the information in a superimposed manner is expected to greatly promote the viewer's understanding of the content. In other words, the technology related to this embodiment leads to an improved viewing experience.
[0015] In order to recognize a specific object that appears in an input image and superimpose related information onto the image, two main processes are required: a process to recognize the specific object (object recognition process), and a process to superimpose information using the results of that process as input (information superimposition process).
[0016] In this embodiment, an example related to object recognition processing is described as Example 1, and an example related to information overlay processing is described as Example 2. Note that, in this embodiment, an embodiment in which object recognition processing and information overlay processing are combined is described, but the object recognition processing and the information overlay processing may be performed independently.
[0017] Before describing the configuration and operation of the device in each embodiment, the details of the problem will be described. Note that the names of reference documents used in the following description are listed at the end of the specification.
[0018] (Problems related to Example 1) One of the simplest methods for realizing object recognition processing is to detect target objects from each image frame in a video using an object detector, such as that disclosed in reference [1]. In this case, training data must be prepared for each target object to train the object detector. In general, collecting such training data incurs a non-negligible cost. In particular, when the target objects look similar, such as multiple players wearing the same uniform in the example shown in Figure 1, the amount of training data to be prepared to distinguish between them becomes enormous, and if the data is insufficient, sufficient recognition accuracy cannot be obtained.
[0019] As another method, it is possible to detect candidate objects and then recognize and detect a specific class or attribute from each of them to recognize a specific object. In the example of Figure 1, specifically, a person is first detected from the image frame, and the team (a specific example of a class) is estimated from the overall appearance of the person. At the same time, the uniform number (a specific example of an attribute) is recognized using a method such as that disclosed in Reference [2], and a player is uniquely identified from the combination of the team and uniform number. Using this method, it is not necessary to prepare learning data for each target object.
[0020] However, there are two major problems with this method. The first problem is that, depending on the relative positions of the object and the camera, there may not be enough visibility information in the image frame to recognize and distinguish classes and attributes, and recognition often fails. Examples are shown in Figures 2 and 3. In the example of Figure 2, the player surrounded by the solid frame is mostly hidden by the player surrounded by the dotted frame, so if the solid frame is used as a clue for the visibility area, there is a high possibility that the team estimation will fail.
[0021] In addition, in the example of Figure 3, the player's uniform number, 76, is printed on the back. The number can be accurately recognized in the image in the center, but in the images on both ends, only a portion of it (only 6 on the left, and only 7 on the right) is visible due to the player's posture, making it extremely difficult to recognize the exact number from these images.
[0022] The second problem is that it is computationally expensive to recognize and detect classes and attributes for all detection results, which becomes more pronounced when there are many target objects in the image or when real-time processing is required.
[0023] As described above, when a method of detecting the classes and attributes of candidate objects and discriminating a specific object is simply applied, there is a problem that the recognition accuracy of the classes and attributes that serve as clues for discriminating a specific object is low and the processing speed is slow.
[0024] (Problems related to Example 2) Regarding information overlay processing, reference [3] discloses a method of displaying and outputting a label at a position adjacent to the detected object area. If reference [3] is used as a method of displaying overlay information of the same size or larger than the target object, such as the panel shown in the example of Figure 1, the panel will often hide the object itself or nearby objects, compromising the quality of the viewing experience.
[0025] To solve the above problem, a method can be considered in which a position close to the target object and without overlapping with the target object is determined for each image frame, and the superimposed information is placed at the obtained position so that the target object is not hidden. With this method, the superimposed information can be displayed in a way that makes it easy for the viewer to understand the content of the superimposed information.
[0026] However, this method does not take into account the temporal consistency of the position of the overlay information, so the position of the overlay information may change significantly from one image frame to the next, which may result in the viewer being unable to grasp the content of the information being displayed.
[0027] In this embodiment, (i) the superimposed information does not cover the target object, (ii) the proximity to the target object is maintained, and (iii) the temporal consistency of the position of the superimposed information is maintained. This makes it possible to display the superimposed information in a way that makes it easy for the viewer to grasp the content of the superimposed information, without the position of the superimposed information changing significantly for each image frame.
[0028] (Example of overall device configuration) In this embodiment, an example will be described using player recognition and information presentation from the rugby video shown in Fig. 1. However, targeting rugby video is just one example, and the technology according to the present invention can also be applied to player recognition for sports other than rugby, and may also target specific objects other than players, such as products, animals, buildings, signs, etc.
[0029] Fig. 4 shows an overall configuration diagram of information presentation device 300 in this embodiment. As shown in Fig. 4, information presentation device 300 has object recognition unit 100, video data storage unit 110, information superimposition unit 200, and object weight folding information storage unit 210. Note that video data storage unit 110 may be included in object recognition unit 100, and object weight folding information storage unit 210 may be included in information superimposition unit 200. Furthermore, video data storage unit 110 and object weight folding information storage unit 210 may be located outside the information presentation device.
[0030] The information presentation device 300 may be configured by one computer, or may be configured by connecting a plurality of computers via a network. The object recognition unit 100 and the information superimposition unit 200 may be called the object recognition device 100 and the information superimposition device 200, respectively. In the first and second embodiments described below, they are called the object recognition device 100 and the information superimposition device 200. The information presentation device 300 may be called the object recognition device or the information superimposition device.
[0031] The video data storage unit 110 stores image frames in a time series, and the object recognition unit 100 and the information superimposition unit 200 perform processing for each image frame read out from the video data storage unit 110. An image of processing the image frames at each time is shown in FIG. 5. As shown in FIG. 5, processing is performed on the image frames at each time, starting from the image frame at time t=0. The operation of the object recognition unit 100 and the information superimposition unit 200 is outlined below. Details of these will be explained in Examples 1 and 2 below.
[0032] The object recognition unit 100 receives as input the image frames at each time constituting the video data stored in the video data storage unit 110 and the object recognition result at the immediately preceding time, and outputs the object recognition result at the current time. Note that the "current time" refers to the time of the latest image frame that is the subject of object recognition or information superimposition processing.
[0033] The object convolution information storage unit 210 stores the convolution information to be convolutionalized on each specific object. An example of the convolutional information in this embodiment is shown in FIG. 6. The convolutional information in the example shown in FIG. 6 is data to be convolutionalized (convolutional image) for each pair of a player's class and attribute. In this embodiment, the class is the team name to which the player belongs, and the attribute is the uniform number. In the following, the pair of class and attribute is referred to as the label of the specific object. In this embodiment, as shown in FIG. 6, the label of the specific object is uniquely determined by the combination of the object's class and attribute.
[0034] In this embodiment, "class" and "attribute" are used, but both are examples of attributes. "Label" is also an example of an attribute. For example, the team name may be called attribute 1 and the uniform number may be called attribute 2. Also, when classes are used as an example of an attribute, the number of attributes is not limited to two, and may be one, or three or more.
[0035] The information superimposition unit 200 determines the superimposition position of the object superimposition information shown in the image frame at the current time from the object superimposition information stored in the object superimposition information storage unit 210, taking into consideration the superimposition position in the immediately preceding image frame, and superimposes it on the image frame at the current time and outputs the result. The image frame at each time on which the superimposition information is superimposed is transmitted to, for example, a user terminal, and is displayed on the user terminal as a video on which the superimposition information is superimposed.
[0036] Hereinafter, a detailed example of the object recognition device 100 corresponding to the object recognition unit 100 will be described as a first embodiment, and a detailed example of the information superimposing device 200 corresponding to the information superimposing unit 200 will be described as a second embodiment.
[0037] Example 1 <Configuration of Object Recognition Device 100> Fig. 7 shows an example of the configuration of the object recognition device 100. As shown in Fig. 7, the object recognition device 100 includes a video data storage unit 110, a detection unit 120, a tracking unit 130, and a label determination unit 140. The operation of each unit is outlined below.
[0038] A time series of image frames is stored in the video data storage unit 110. The detection unit 120 receives as input the image frames at each time that make up the video data stored in the video data storage unit 110, and detects objects that appear in the image frames.
[0039] The tracking unit 130 receives the detection result and past tracking results output by the detection unit 120, and outputs a tracking result at the current time. The label determination unit 140 receives the tracking result and the image frame at the current time output by the tracking unit 130, and determines the specific object label of each tracked object.
[0040] Here, the tracking result output by the tracking unit 130 is composed of a set of positions of each object captured in the image frame at the current time, and a set of IDs shared by the same individual throughout the video (tracking ID set).
[0041] The label determination unit 140 performs label determination processing only on tracking IDs included in the tracking result of the image frame at the current time that have not been assigned a specific object label in the past. This makes it possible to reduce the number of times label determination is performed compared to performing label determination on all objects detected in the image frame, and as a result, the throughput of the entire process can be improved.
[0042] Fig. 8 shows an example of the configuration of the label determination unit 140. As shown in Fig. 8, the label determination unit 140 has a class visibility determination unit 141, a class estimation unit 142, an attribute visibility determination unit 143, and an attribute determination unit 144. The operation of each unit is outlined below.
[0043] The class visibility determination unit 141 receives a set of object positions and a set of tracking IDs as input and determines whether or not class-related visibility information is present for each object that appears in the image frame at the current time and has a tracking ID that is not assigned a specific object label.
[0044] The class estimation unit 142 estimates the class of each object of the tracking ID that is determined by the class visibility determination unit 141 to include appearance information related to the class, based on the appearance information.
[0045] The class visibility determination unit 141 determines whether or not a certain object contains appearance information related to a class by evaluating the spatial overlap with other objects captured in the same image frame. By estimating the class of an object determined to contain appearance information related to a class, erroneous estimation of the class can be suppressed.
[0046] The attribute visibility determination unit 143 receives a set of object positions and a set of tracking IDs as input and determines whether or not attribute visibility information is present for each object that appears in the image frame at the current time and has a tracking ID that is not assigned a specific object label.
[0047] The attribute estimation unit 144 estimates attributes of each object of the tracking ID that is determined by the attribute visibility determination unit 143 to include appearance information related to an attribute, based on the appearance information.
[0048] The attribute visibility determination unit 143 determines whether or not an object contains appearance information related to its attributes by evaluating the spatial overlap with other objects captured in the same image frame and the posture of the object. By estimating the attributes of an object determined to contain appearance information related to its attributes, erroneous estimation of attributes can be suppressed.
[0049] It should be noted that the label determining unit 140, the "class visibility determining unit 141+class estimation unit 142", and the "attribute visibility determining unit 143+attribute estimation unit 144" are all examples of attribute determining units.
[0050] <Details of Operation of Object Recognition Device 100> As described above, image frames in a time series are stored in the video data storage unit 110 of the object recognition device 100, and the detection unit 120 (as well as the tracking unit 130 and the label determination unit 140) processes each image frame read out from the video data storage unit 110. An image of processing the image frames at each time is shown in FIG. 9. As shown in FIG. 9, processing is performed on the image frames at each time, starting from the image frame at time t=0. The operation of each unit of the object recognition device 100 will be described in detail below with reference to FIGS. 8 to 12.
[0051] <Detection Unit 120> The detection unit 120 receives image frames at each time in the video, detects the position of an object in the image, and estimates its orientation. The method for defining the object position is arbitrary, and it may be defined by a rectangle that just surrounds the object, such as the black frame in Fig. 10.
[0052] The method for defining the posture of an object may also be arbitrary. For example, it may be defined as a set of positions of the object's joint points (eyes, shoulders, waist, etc., a total of 17 joints in this example) as shown in FIG.
[0053] When the object to be detected is a person as in the present embodiment 1, any method can be used to detect the person and estimate his / her posture, and for example, the technique disclosed in reference document [1] can be used. In this case, a mask that defines the target area in the image may be prepared, and the results may be filtered and output by determining whether the detected person is included in the mask.
[0054] In this embodiment, by using a mask that defines the area included in the rugby court in the input image, it is possible to exclude detection results of people corresponding to spectators and staff. In addition, the image data may be internally resized to a predetermined size before pose estimation.
[0055] <Tracking Unit 130> The tracking unit 130 receives the current object detection result and past tracking results output from the detection unit 120, and outputs the current tracking result. Here, the tracking result is composed of a set of tracking IDs assigned to each individual to be tracked, and a set of positions (including postures) of the individuals of each tracking ID at the current time. The tracking unit 130 can perform the above tracking using, for example, the technology disclosed in Reference [4].
[0056] <Label Determination Unit 140> The label determination unit 140 assigns a label to an individual having an ID to which no label has been assigned so far, among the tracking results at the current time output from the tracking unit 130. As described above, a label in the present embodiment 1 is defined by a combination of a class and an attribute.
[0057] 8, the label determination unit 140 is made up of a class visibility determination unit 141, a class estimation unit 142, an attribute visibility determination unit 143, and an attribute estimation unit 144. The operation of each unit will be described below.
[0058] <Class Visibility Judgment Unit 141> The class visibility determination unit 141 receives a set of object positions at the current time, determines whether or not each object is visible enough to be class recognizable, and outputs the result.
[0059] In this embodiment 1, the class visibility determination unit 141 determines whether an object is visible enough to recognize its class by calculating the extent to which the object is not hidden by objects located in front of it, and compares this value with a predetermined threshold value.
[0060] The method for extracting an object existing in front of the object is not limited to a specific method, and any method can be used. An example of the method for extracting an object existing in front of the object will be described with reference to FIG.
[0061] Figure 11 shows an example of a case where a target object (person) exists on a flat athletic court. In this case, the y coordinates on the image of the position equivalent to the feet of each object can be compared. In the example of Figure 11, y_2 is larger than y_1, so it can be determined that the person corresponding to y_1 exists in front of the person corresponding to y_2.
[0062] Furthermore, the calculation of the degree to which the object is not hidden is not limited to a specific method, and any method can be used. For example, the intersection-over-union (IoU) between the object and each object in front of it is calculated, and the maximum value is subtracted from 1 to calculate an index of the degree to which the object is not hidden (i.e., the degree to which the object is visible). This index is the visibility.
[0063] For example, in the example of Figure 11, let the visibility of the person in the foreground be V1, and the visibility of the person in the background be V2. Since the person in the foreground is not hidden, V1 = 1. Also, if we assume that (the intersection of the "area of the person in the foreground" and the "area of the person in the background") ÷ (the connection of the "area of the person in the foreground" and the "area of the person in the background"), that is, the IoU is 0.4, then V2 = 1 - 0.4 = 0.6.
[0064] For example, if V2 for a person in the background is greater than a threshold, the class visibility determining unit 141 determines that the person in the background is visible enough to enable class recognition.
[0065] <Class Estimation Unit 142> The class estimation unit 142 estimates and outputs the class of an object that has not been assigned a class among the tracking results at the current time and that has been determined by the class visibility determination unit 141 to be visible enough to allow class recognition. The method of class estimation is not limited to a specific method, and any method can be used.
[0066] For example, features can be extracted from a partial region in an image frame corresponding to an object position using the technology disclosed in Reference [5], and the features can be input to a classifier such as SVM to classify the objects in the partial region into a predetermined class. Alternatively, representative features for each class can be defined in advance, and features extracted from the partial region can be compared with the representative features, and the class corresponding to the most similar one can be assigned. Any method can be used to calculate the representative features, and for example, the features extracted from objects of each class can be averaged.
[0067] <Attribute visibility determination unit 143> The attribute visibility determination unit 143 receives a set of object positions at the current time, determines whether each object is visible enough to recognize its attributes, and outputs the result. In this embodiment 1, when determining whether each object is visible enough to recognize its attributes, object posture information is used.
[0068] In this embodiment, a uniform number is printed on the back of a player, which is a target object. Under this condition, an example of a method for determining whether or not the attributes of the object are visible to a degree that allows recognition will be described with reference to FIG.
[0069] In the example of Fig. 12, the posture is expressed by the positions of the joint points (shoulders, waist) of the person on the image. Specifically, in the case of Fig. 12, the attribute visibility determination unit 143 determines the position p ls =(x ls ,y ls ), right shoulder position p rs =(x rs ,y rs ), left hip position p lw =(x lw ,y lw ), right hip position p rw =(x rw ,y rw ) to get the
[0070] The attribute visibility determining unit 143 determines whether the following formula is satisfied.
[0071]
number
[0072] In addition to or instead of using the object's posture, the attribute visibility determination unit 143 may determine whether the attributes of the target object are visible enough to be recognizable based on the overlap between objects, in the same manner as the class visibility determination unit 141.
[0073] In addition, the class visibility determination unit 141 may determine whether or not class determination is possible by a method that uses the posture of an object, in addition to or instead of the method that uses the overlap between objects, in the same manner as the attribute visibility determination unit 143.
[0074] <Attribute determination section 144> The attribute determination unit 144 estimates and outputs attributes of objects that have not been assigned attributes and that are determined by the attribute visibility determination unit 143 to be visible enough to recognize attributes among the tracking results at the current time. Any method can be used for attribute estimation, and for example, the technology disclosed in reference [2] can be used.
[0075] <Effects of Example 1> According to the first embodiment, it becomes possible to recognize a specific object quickly and accurately.
[0076] Example 2 Next, a description will be given of Example 2. In Example 2, a detailed description will be given of an information superimposing device 200 corresponding to the information superimposing unit 200 in the information presentation device 300 in FIG.
[0077] <Configuration of information superimposition device 200> 13 shows a configuration example of the information superimposing device 200. As shown in FIG. 13, the information superimposing device 200 includes an object superimposing information storage unit 210, a candidate superimposing position selection unit 220, a matching unit 230, and a superimposing unit 240. In this embodiment, the information superimposing device 200 processes, for each image frame to be processed by the object recognition device 100 of Example 1, using as input the object recognition result by the object recognition device 100. The image frame is also input to the information superimposing device 200.
[0078] However, this is merely an example, and the information superimposing device 200 may operate using an object recognition result obtained by any method as an input, without being based on the object recognition device 100 of the first embodiment. The operation of each part of the information superimposing device 200 is outlined below.
[0079] The object overlay information storage unit 210 stores overlay information such as that shown in Fig. 6. The candidate overlay position selection unit 220 receives the object recognition result output by the object recognition device 100 as input, and selects and outputs candidates for positions (candidate overlay positions) for overlaying and displaying the object information.
[0080] The matching unit 230 receives the object recognition result, the candidate superimposition positions, and the object / superimposition position matching result in the immediately preceding image frame, and matches the object in the image frame at the current time with the superimposition position. The superimposition unit 240 superimposes object convolution information onto the image frame at the current time based on the object / superimposition position matching result by the matching unit 230, and outputs the superimposed information. By sequentially outputting the image frames on which the object convolution information is superimposed, for example, a video on which information is superimposed onto the object is displayed on the user terminal.
[0081] Here, the candidate superimposition position selection unit 220 outputs candidate superimposition positions that do not overlap with the object positions recognized in the image frame at the current time. This satisfies the above-mentioned condition (i) "the superimposition information does not occlude the target object." Furthermore, the association unit 230 determines the superimposition information display position of each object from among the candidate superimposition positions through optimization of an objective function that simultaneously satisfies the following conditions: superimposition information is displayed near each object recognized in the image frame at the current time, and the position of the superimposition information displayed in the immediately preceding image frame is not changed as much as possible in the current frame. This satisfies the above-mentioned conditions (ii) "proximity to the target object is maintained," and (iii) "temporal consistency of the superimposition information position is maintained."
[0082] <Details of Operation of Information Superimposing Device 200> As described above, the information superimposing device 200 performs processing using as input the object recognition result at each time, which is the processing result, for each image frame processed by the object recognition device 100. An image of processing the object recognition result at each time is shown in FIG. 14. As shown in FIG. 14, processing is performed on the object recognition results at each time, starting from the object recognition result obtained from the image frame at time t=0. Hereinafter, the operation of each part of the information superimposing device 200 will be described in detail with reference to FIGS. 14 and 15.
[0083] <Candidate superimposition position selection unit 220> The candidate superimposition position selection unit 220 receives the object recognition result at each time and outputs candidate object superimposition positions that do not overlap with the recognized object and are candidates for positions at which object superimposition information can be superimposed.
[0084] As a method for outputting the candidate object folding positions, for example, as shown in FIG. 15, a method may be used in which the overlap between the overlapping positions (dotted frame in FIG. 15(a)) generated in a lattice pattern and the object position (solid frame) is calculated in a brute-force manner, and those that do not overlap with any object (dotted frame in FIG. 15(b)) are extracted and output.
[0085] In addition, the overlap calculation method in the above process may use, for example, Intersection-over-Union (IoU). When IoU is used, for example, the area of the overlapping position where IoU=0 (dotted frame in FIG. 15(b)) is extracted.
[0086] In the above example (the example shown in FIG. 15(b)), no overlap between the candidate superimposition positions and the object positions is permitted, but a predetermined parameter may be set and the candidate superimposition positions may be selected while permitting overlap not exceeding that value.
[0087] <Association Unit 230> The association section 230 associates the candidate superimposition positions output by the candidate superimposition position selection section 220 with the objects recognized at the current time, and determines the information superimposition position of each object.
[0088] More specifically, the association unit 230 determines the association so as to simultaneously satisfy the following: the superimposed information is displayed near each object recognized in the image frame at the current time, and the position of the superimposed information displayed in the immediately preceding image frame is not changed as much as possible in the image frame at the current time. An example of a method for performing the above association will be described below.
[0089] The object recognition device 100 recognizes an image frame I at time t. tLet the set of specific objects detected from 1 ,b 1 ),...,(l i ,b i ),...,(l Nt ,b Nt )}. i ∈L t is the label of a specific object, b i is the detection result. i is a vector defined by the information of the four corners of a rectangle. Also, the set of candidate overlapping positions at the current time t is expressed as {c 1 ,...,c j ,...,c M )}. c j For example, if the overlay information is an image, it is the information (vector) of the four corners of a rectangle. Furthermore, each object label l at the previous time t-1 i ∈L t-1 The position where the information of is superimposed is {p 1 ,...,p i ,...}far away.
[0090] The value indicating the validity of the correspondence between object i and candidate superposition position j is {a ij}∈R N×M The value is defined as in the following formula (1), and the association unit 230 associates each ij Calculate.
[0091]
number
[0092] At time t-1, the label l of a specific object i When the two are overlapped, the position p t-1 i and candidate overlap position c j Distance from a ij Reducing the size of the image frame means that the position of the superimposed information displayed in the previous image frame is not changed as much as possible in the current frame. i and candidate overlap position c j Distance from a ij Reducing the size of the image frame means that the superimposed information is displayed near each object recognized in the image frame at the current time.
[0093] In this embodiment, the label l of the specific object at time t-1 i When the information of the position p is superimposed, t-1 i and candidate overlap position c j Distance from a ij By reducing (let it be A), the label l of a specific object at time t-1 i When the information of the specific object position b is not superimposed, i and candidate overlap position c j Distance from a ij In the present embodiment, the objective function is defined using both A and B to reduce (denoted as B) and to solve the optimization problem of equation (2) described later. However, the optimization problem of equation (2) described later may be solved using either A or B.
[0094] {x ij}∈R N×M is defined as a binary matrix that is 1 when the object i corresponds to the candidate superimposition position j and is 0 otherwise. The correspondence unit 230 calculates {x ij}, we obtain a correspondence {x ij}* can be obtained.
[0095]
number
[0096] In the above example, a correspondence is determined that simultaneously satisfies that the superimposed information is displayed near each object recognized in the image frame at the current time and that the position of the superimposed information displayed in the immediately preceding image frame is not changed as much as possible in the current frame, but this is an example. For example, a correspondence may be determined that satisfies only that the superimposed information is displayed near each object recognized in the image frame at the current time, or a correspondence may be determined that satisfies only that the position of the superimposed information displayed in the immediately preceding image frame is not changed as much as possible in the current frame.
[0097] <Superimposing unit 240> The superimposing unit 240 superimposes the object convolution information onto the image frame of the current time based on the object-overlap position association result obtained by the association unit 230, and outputs the superimposed information.
[0098] <Effects of Example 2> As described above, according to the second embodiment, the superimposed information can be displayed so that the viewer can easily grasp the contents of the superimposed information. More specifically, for example, the superimposed information can be superimposed on the video so as to simultaneously satisfy the following: (i) the superimposed information does not cover the target object, (ii) the proximity to the target object is maintained, and (iii) the temporal consistency of the position of the superimposed information is maintained. It is not essential to simultaneously satisfy these three. If at least one of them is satisfied, the superimposed information can be displayed so that the viewer can easily grasp the contents of the superimposed information. However, by simultaneously satisfying the above three, the effect of being able to display the superimposed information so that the contents of the superimposed information can be easily grasped is maximized.
[0099] (Hardware configuration example) The object recognition device 100, the information superimposition device 200, and the information presentation device 300 can all be realized, for example, by causing a computer to execute a program. This computer may be a physical computer or a virtual machine on the cloud. Note that hereinafter, the object recognition device 100, the information superimposition device 200, and the information presentation device 300 are collectively referred to as "devices."
[0100] That is, the device can be realized by executing a program corresponding to the processing performed by the device, using hardware resources such as a CPU and memory built into a computer. The program can be recorded on a computer-readable recording medium (such as a portable memory) and stored or distributed. The program can also be provided via a network such as the Internet or email.
[0101] Fig. 16 is a diagram showing an example of the hardware configuration of the computer. The computer in Fig. 16 has a drive device 1000, an auxiliary storage device 1002, a memory device 1003, a CPU 1004, an interface device 1005, a display device 1006, an input device 1007, an output device 1008, and the like, all of which are connected to one another via a bus BS. Note that some of these devices may not be provided. For example, if no display is performed, the display device 1006 may not be provided.
[0102] The program for realizing the processing on the computer is provided by a recording medium 1001 such as a CD-ROM or a memory card. When the recording medium 1001 storing the program is set in the drive device 1000, the program is installed from the recording medium 1001 to the auxiliary storage device 1002 via the drive device 1000. However, the program does not necessarily have to be installed from the recording medium 1001, but may be downloaded from another computer via a network. The auxiliary storage device 1002 stores the installed program as well as necessary files, data, etc.
[0103] The memory device 1003 reads out and stores the program from the auxiliary storage device 1002 when an instruction to start the program is received. The CPU 1004 realizes the functions related to the device in accordance with the program stored in the memory device 1003. The interface device 1005 is used as an interface for connecting to a network, and functions as a transmitting unit and a receiving unit. The display device 1006 displays a GUI (Graphical User Interface) or the like according to a program. The input device 1007 is composed of a keyboard and mouse, buttons, a touch panel, or the like, and is used to input various operation instructions. The output device 1008 outputs the results of calculations.
[0104] (Summary of Example 1) This specification discloses at least the following object recognition device, object recognition method, and program. (Section 1) a tracking unit that tracks each object detected from the video; an attribute determination unit that determines whether or not the attributes of an undetermined object, the attributes of which have not yet been determined, among the one or more objects tracked by the tracking unit, can be determined based on information on how the undetermined object appears in the video, and determines the attributes of the undetermined object if the attributes can be determined; An object recognition device comprising: (Section 2) The attribute determination unit calculates an index value indicating the degree to which the undetermined object is not hidden by other objects, and compares the index value with a threshold value to determine whether or not the attribute of the undetermined object can be determined. 2. An object recognition device according to claim 1. (Section 3) The attribute determination unit determines whether or not a predetermined area of the undetermined object is visible based on information about the posture of the undetermined object, thereby determining whether or not an attribute of the undetermined object can be determined. 3. An object recognition device according to claim 1 or 2. (Section 4) An object recognition method executed by an object recognition device, comprising: a tracking step of tracking each object detected from the video; an attribute determination step of determining whether or not the attributes of an undetermined object, the attributes of which have not yet been determined, among the one or more objects tracked by the tracking step are determinable based on information on how the undetermined object appears in the image, and determining the attributes of the undetermined object if the attributes are determinable; The object recognition method comprises: (Section 5) A program for causing a computer to function as each unit in the object recognition device according to any one of claims 1 to 3.
[0105] (Summary of Example 2) This specification discloses at least the following information superimposition device, learning device, information superimposition method, and program. (Section 1) An information superimposing device for superimposing superimposing information corresponding to an object on an image, the information superimposing device comprising: a candidate superimposition position selection unit that extracts, based on respective positions of one or more objects recognized from the video, candidate superimposition positions from the video, which are positions at which the superimposition information can be superimposed without overlapping with the recognized objects; a position determination unit that determines a position of the superimposition information based on the set of candidate superimposition positions and the respective positions of one or more objects recognized from the video so that a distance between the object and the superimposition information corresponding to the object is small; An information superimposition device comprising: (Section 2) An information superimposing device for superimposing superimposing information corresponding to an object on an image, the information superimposing device comprising: a candidate superimposition position selection unit that extracts, based on respective positions of one or more objects recognized from the video, candidate superimposition positions from the video, which are positions at which the superimposition information can be superimposed without overlapping with the recognized objects; a position determination unit that determines a position of the superimposition information based on the set of candidate superimposition positions and the positions of one or more objects recognized from the video so that a change in the position of the superimposition information between image frames is small; An information superimposition device comprising: (Section 3) An information superimposing device for superimposing superimposing information corresponding to an object on an image, the information superimposing device comprising: a candidate superimposition position selection unit that extracts, based on respective positions of one or more objects recognized from the video, candidate superimposition positions from the video, which are positions at which the superimposition information can be superimposed without overlapping with the recognized objects; a position determination unit that determines a position of the superimposition information based on the set of candidate superimposition positions and the respective positions of one or more objects recognized from the video, so that a distance between an object and superimposition information corresponding to the object is reduced and a change in the position of the superimposition information between image frames is reduced; An information superimposition device comprising: (Section 4) The position determination unit determines the position of the superimposition information for each object by solving an optimization problem having as its objective function the reduction of the distance between the position of the object and a candidate superimposition position when the superimposition information was superimposed on the object at the previous time, and the reduction of the distance between the position of the object and a candidate superimposition position when the superimposition information was not superimposed on the object at the previous time. 4. An information superimposition device according to claim 3. (Section 5) 1. An information superimposing method executed by an information superimposing device for superimposing, on an image, superimposing information corresponding to an object on the image, comprising: a candidate superimposition position selection step of extracting, from the video, candidate superimposition positions at which the superimposition information can be superimposed without overlapping with the recognized objects, based on respective positions of one or more objects recognized from the video; a position determination step of determining a position of the superimposition information based on the set of candidate superimposition positions and the respective positions of one or more objects recognized from the video so that a distance between the object and the superimposition information corresponding to the object is small and a change in the position of the superimposition information between image frames is small; An information superimposition method comprising: (Section 6) A program for causing a computer to function as each unit in the information superimposition device according to any one of claims 1 to 4.
[0106] Although the present embodiment has been described above, the present invention is not limited to such a specific embodiment, and various modifications and variations are possible within the scope of the gist of the present invention described in the claims.
[0107] [References] [1] X. Zhou, D. Wang, and P. Krahenbuhl. Objects as points. In arXiv preprint arXiv:1904.07850, 2019. [2] G. Li, S. Xu, X. Liu, L. Li, and C. Wang. Jersey number recognition with semi-supervised spatial transformer network. In CVPR Workshop, 2018. [3] Y. Wu, A. Kirillov, F. Massa, W.-Y. Lo, and R. Girshick. Detectron2. https: / / github.com / facebookresearch / detectron2, 2019. [4] A. Bewley, Z. Ge, L. Ott, F. Ramos, and B. Upcroft. Simple online and realtime tracking. In ICIP, 2016. [5] K. Zhou, Y. Yang, A. Cavallaro, and T. Xiang. Omni-scale feature learning for person re-identification. In ICCV,2019. [Explanation of symbols]
[0108] 100 Object recognition device, object recognition unit 110 Video data storage unit 120 Detection unit 130 Tracking Department 140 Label Judgment Unit 141 Class Visibility Judgment Department 142 Class Estimation Unit 143 Attribute Visibility Determination Unit 144 Attribute determination section 200 Information superimposition device, information superimposition unit 210 Object weight folding information storage unit 220 Candidate superimposition position selection unit 230 Mapping section 240 Overlapped section 300 Information presentation device 1000 Drive Device 1001 Recording media 1002 Auxiliary storage 1003 Memory device 1004 CPU 1005 Interface device 1006 Display device 1007 Input Device 1008 Output device
Claims
1. a tracking unit that tracks each object detected from the video; an attribute determination unit that, for an undetermined object whose attribute has not yet been determined among one or more objects tracked by the tracking unit, determines whether or not the attribute of the undetermined object can be determined based on information on how the undetermined object appears in the video, and determines the attribute of the undetermined object if the attribute can be determined; the attribute determination unit calculates an index value indicating a degree to which the undetermined object is not hidden by other objects, and determines whether or not an attribute of the undetermined object can be determined by comparing the index value with a threshold value; The other object is an object that exists in front of the undetermined object, and the index value is a value obtained by subtracting an intersection-over-union (IoU) between the other object and the undetermined object from 1. Object recognition device.
2. a tracking unit that tracks each object detected from the video; an attribute determination unit that, for an undetermined object whose attribute has not yet been determined among one or more objects tracked by the tracking unit, determines whether or not the attribute of the undetermined object can be determined based on information on how the undetermined object appears in the video, and determines the attribute of the undetermined object if the attribute can be determined; the attribute determination unit determines whether or not a predetermined area of the undetermined object is visible based on information about the posture of the undetermined object, thereby determining whether or not an attribute of the undetermined object can be determined; When each of the objects is a person, and in a video in which the undetermined object appears, the position of the left shoulder is p ls = (x ls , y ls ), the position of the right shoulder is p rs = (x rs , y rs ), the position of the left waist is p lw = (x lw , y lw ), and the position of the right waist is p rw = (x rw , y rw ), the bar at the top indicates length, and σ aspect is a parameter that satisfies 1>σ aspect >0, the attribute determination unit [0010] By determining whether the above condition is satisfied, it is determined whether a predetermined area in the undetermined object is visible. Object recognition device.
3. An object recognition method executed by an object recognition device, comprising: a tracking step of tracking each object detected from the video; an attribute determination step of determining whether or not an attribute of an undetermined object, the attribute of which has not yet been determined, among the one or more objects tracked by the tracking step is determinable based on information on how the undetermined object appears in the video, and determining the attribute of the undetermined object if the attribute is determinable, In the attribute determination step, the object recognition device calculates an index value indicating a degree to which the undetermined object is not hidden by other objects, and determines whether or not an attribute of the undetermined object can be determined by comparing the index value with a threshold value; The other object is an object that exists in front of the undetermined object, and the index value is a value obtained by subtracting an intersection-over-union (IoU) between the other object and the undetermined object from 1. Object recognition method.
4. An object recognition method executed by an object recognition device, comprising: a tracking step of tracking each object detected from the video; an attribute determination step of determining whether or not an attribute of an undetermined object, the attribute of which has not yet been determined, among the one or more objects tracked by the tracking step is determinable based on information on how the undetermined object appears in the video, and determining the attribute of the undetermined object if the attribute is determinable, In the attribute determination step, the object recognition device determines whether or not a predetermined area of the undetermined object is visible based on information about the posture of the undetermined object, thereby determining whether or not an attribute of the undetermined object can be determined; When each of the objects is a person, and in a video in which the undetermined object is shown, the position of the left shoulder is p ls = (x ls , y ls ), the position of the right shoulder is p rs = (x rs , y rs ), the position of the left waist is p lw = (x lw , y lw ), and the position of the right waist is p rw = (x rw , y rw ), the bar at the top indicates length, and σ aspect is a parameter that satisfies 1>σ aspect >0, in the attribute determination step, the object recognition device [0025] By determining whether the above condition is satisfied, it is determined whether a predetermined area in the undetermined object is visible. Object recognition method.
5. A program for causing a computer to function as each unit in the object recognition device according to claim 1 or 2.
Citation Information
Patent Citations
Image processing apparatus and image processing method
JP2018025966A
Object detection and recognition apparatus, method, and program
JP2020017136A
Information processor, information processing method, and information processing system
WO2018135095A1
