Information processing device, information processing method, and computer program product
By generating tile images from cropped target regions and limiting spatial attention within each tile, the method addresses inefficiencies in conventional image recognition, achieving accurate and efficient processing even with multiple objects, especially in camera-based applications.
Patent Information
- Application Number
- US19/464735
- Authority / Receiving Office
- US · United States
- Patent Type
- Applications(United States)
- Current Assignee / Owner
- Priority Date
- 2025-05-26
- Filing Date
- 2026-01-30
- Publication Date
- 2026-11-26
AI Technical Summary
Conventional image recognition techniques face challenges in achieving accurate processing results with a smaller calculation amount, particularly when multiple objects are detected in an image, leading to inefficiencies and increased computational load, especially in applications involving multiple cameras.
The proposed solution involves generating a tile image by cropping target regions from an input image based on region information, performing image recognition processing on each tile independently, and limiting spatial attention within each tile to prevent erroneous answers, thereby reducing calculation load and improving accuracy.
This approach allows for more accurate processing results with reduced computational resources, utilizing existing data sets effectively and optimizing processing across multiple camera inputs.
Smart Images

Figure US20260378187A1-D00000_ABST
Abstract
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2025-087290, filed on May 26, 2025; the entire contents of which are incorporated herein by reference.FIELD
[0002] Embodiments described herein relate generally to an information processing device, an information processing method, and a computer program product.BACKGROUND
[0003] As an image recognition technique related to a text and an image, for example, an artificial intelligence (AI) technique of visual question answering (VQA) has been conventionally known. VQA is a task of returning a correct answer when one image and a question related to the image are given.
[0004] However, by the conventional technique, in a case where a plurality of objects to be detected is included in an image, it is difficult to acquire a more accurate processing result with a smaller calculation amount.BRIEF DESCRIPTION OF THE DRAWINGS
[0005] FIG. 1 is a diagram illustrating an example of an image recognition technique;
[0006] FIG. 2 is a diagram illustrating an example of a solution of reducing a calculation amount of image recognition processing;
[0007] FIG. 3A is a diagram for describing a challenge in the solution in FIG. 2;
[0008] FIG. 3B is a diagram for describing a challenge in the solution in FIG. 2;
[0009] FIG. 3C is a diagram for describing a challenge in the solution in FIG. 2;
[0010] FIG. 4 is a diagram for describing an overview of image recognition processing of a first embodiment;
[0011] FIG. 5A is a diagram for describing the overview of the image recognition processing of the first embodiment;
[0012] FIG. 5B is a diagram for describing the overview of the image recognition processing of the first embodiment;
[0013] FIG. 6 is a diagram illustrating a functional configuration of the information processing device of the first embodiment;
[0014] FIG. 7 is a diagram illustrating a first example of a tile image of the first embodiment;
[0015] FIG. 8 is a diagram illustrating a second example of the tile image of the first embodiment;
[0016] FIG. 9A is a diagram illustrating a third example of the tile image of the first embodiment;
[0017] FIG. 9B is a diagram illustrating the third example of the tile image of the first embodiment;
[0018] FIG. 9C is a diagram illustrating the third example of the tile image of the first embodiment;
[0019] FIG. 9D is a diagram illustrating the third example of the tile image of the first embodiment;
[0020] FIG. 10A is a diagram illustrating a fourth example of the tile image of the first embodiment;
[0021] FIG. 10B is a diagram illustrating the fourth example of the tile image of the first embodiment;
[0022] FIG. 10C is a diagram illustrating the fourth example of the tile image of the first embodiment;
[0023] FIG. 11 is a diagram illustrating a first processing example of image recognition on each of tiles in the first embodiment;
[0024] FIG. 12 is a diagram illustrating a second processing example of the image recognition for each of the tiles in the first embodiment;
[0025] FIG. 13A is a diagram illustrating an example of input and output of conventional image recognition;
[0026] FIG. 13B is a diagram illustrating an example of input and output of image recognition of the first embodiment;
[0027] FIG. 14A is a diagram for describing a disadvantage of a case where an entire image is referred to;
[0028] FIG. 14B is a diagram for describing a disadvantage of the case where the entire image is referred to;
[0029] FIG. 14C is a diagram for describing a disadvantage of the case where the entire image is referred to;
[0030] FIG. 14D is a diagram for describing a disadvantage of the case where the entire image is referred to;
[0031] FIG. 15A is a diagram illustrating an example of a spatial attention in the image recognition for each of the tiles in the first embodiment;
[0032] FIG. 15B is a diagram illustrating an example of the spatial attention in the image recognition for each of the tiles in the first embodiment;
[0033] FIG. 15C is a diagram illustrating an example of the spatial attention in the image recognition for each of the tiles in the first embodiment;
[0034] FIG. 15D is a diagram illustrating an example of the spatial attention in the image recognition for each of the tiles in the first embodiment;
[0035] FIG. 16 is a flowchart illustrating an example of an information processing method of the first embodiment;
[0036] FIG. 17 is a diagram for describing an example of an effect of the first embodiment;
[0037] FIG. 18 is a diagram for describing an example of an effect of the first embodiment;
[0038] FIG. 19 is a diagram for describing an example of the effect of the first embodiment;
[0039] FIG. 20 is a diagram for describing an example of the effect of the first embodiment;
[0040] FIG. 21 is a diagram illustrating an example of a functional configuration of an information processing device of a second embodiment;
[0041] FIG. 22A is a diagram illustrating a processing example of an association unit and a tiling unit of the second embodiment;
[0042] FIG. 22B is a diagram illustrating a processing example of a recognizer of the second embodiment;
[0043] FIG. 22C is a diagram illustrating a processing example of the recognizer of the second embodiment;
[0044] FIG. 23 is a diagram illustrating a processing example of the association unit of the second embodiment;
[0045] FIG. 24 is a flowchart illustrating an example of an information processing method of the second embodiment;
[0046] FIG. 25 is a diagram illustrating an example of a functional configuration of an information processing device of a third embodiment;
[0047] FIG. 26 is a diagram illustrating a utilization example of modality (in a case of depth information) of the third embodiment; and
[0048] FIG. 27 is a diagram illustrating an example of a hardware configuration of the information processing devices of the first to third embodiments.DETAILED DESCRIPTION
[0049] According to an embodiment, an information processing device includes one or more hardware processors configured to function as an acquirer, a cropping unit, a tiling unit, and a recognizer. The acquirer acquires a plurality of pieces of region information respectively indicative of a target region including an object to be detected, from at least one image based on a text indicative of an instruction given to image recognition processing. The cropping unit crops a plurality of target regions from at least one image based on the plurality of pieces of region information. The tiling unit generates, by tiling each of the plurality of target regions as a tile, a tile image including a plurality of tiles. The recognizer executes the image recognition processing by using the text for each of the tiles included in the tile image.
[0050] Hereinafter, embodiments of an information processing device, an information processing method, and a computer program product, will be described in detail with reference to the accompanying drawings. The present disclosure is not limited to the following embodiments.
[0051] First, an example of an image recognition technique will be described.
[0052] FIG. 1 is a diagram illustrating the example of the image recognition technique. In an example of image recognition in FIG. 1, when an instruction by a text and an image are given, a target object is extracted from the image. Then, image recognition such as captioning is executed for each target object. Then, a final answer is generated by collection of image recognition results according to the instruction.
[0053] However, in the example of the image recognition in FIG. 1, since it is necessary to execute the image recognition for each target object, a calculation amount increases as target objects included in an image increase, which is challenging.
[0054] An example of a naive solution to this challenge will be described with reference to FIG. 2.
[0055] FIG. 2 is a diagram illustrating an example of a solution of reducing a calculation amount of image recognition processing. As illustrated in FIG. 2, a solution of collectively acquiring an answer for each target object by inputting an entire image and an instruction is thinkable. However, an approach to the solution in FIG. 2 has three challenges, as illustrated in FIGS. 3A - 3C.
[0056] FIGS. 3A - 3C are diagrams for describing the challenges in the solution of FIG. 2.
[0057] First, in order to learn image recognition processing by the approach of FIG. 2, a dedicated data set to which a correct answer is assigned for each target object is required as illustrated in FIG. 3A. The construction of the data set needs a huge cost and is time-consuming, and avoidance of such is desired if possible.
[0058] Next, a second challenge will be described with reference to FIG. 3B. In the image recognition processing by the approach of FIG. 2, the image is collectively processed, and accordingly, an empty space other than the target objects is also calculated as illustrated in FIG. 3B. As such, the second challenge is that the calculation of the empty space is wasteful and inefficient.
[0059] Lastly, a third challenge will be described with reference to FIG. 3C. Considering application to monitoring cameras, it is necessary to process videos from a plurality of cameras. Thus, in a case of the image recognition processing by the approach of FIG. 2 for which the entire image is input, it is necessary to perform processing for the number of cameras. That is, the third challenge is that the calculation amount increases as the number of cameras increases. Herein, a plurality of cameras (for example, a camera-1, a camera-2, and a camera-3) are supported (handled) as illustrated in FIG. 3C.
[0060] Hereinafter, an information processing device of each of embodiments that addresses the above-described challenges will be described.First Embodiment
[0061] First, an overview of image recognition processing of the first embodiment will be described.
[0062] FIGS. 4, 5A, and 5B are diagrams for describing an overview of the image recognition processing of the first embodiment. In the image recognition processing of the first embodiment, as illustrated in FIG. 4, a tile image, in which target regions respectively including target objects extracted from an input image are arranged in a tile layout pattern, is generated. Then, recognition processing is performed for (on) each of tiles of the tile image, and an acquired output is remapped to the target objects of the input image.
[0063] Here, as illustrated in FIG. 5A, when an entire screen can be referred to in the recognition processing of each of the tiles, an answer may be made by referring to information of another tile. This behavior is inherently an undesirable behavior.
[0064] To address this, in the image processing of the present embodiment, in order to acquire an independent result for each of the tiles, as illustrated in FIG. 5B, a spatial attention is limited in such a manner as to refer only to the inside of the tile (attention is masked) in the image processing in each of the tiles. This enables preventing an erroneous answer caused by referring to a tile (non-target tile) other than the tile to be processed.Example of a functional configuration
[0065] FIG. 6 is a diagram illustrating an example of a functional configuration of an information processing device 1 of the first embodiment. The information processing device 1 of the first embodiment includes an acquirer 11, a cropping unit 12, a tiling unit 13, and a recognizer 14.
[0066] The acquirer 11 acquires an instruction of a text. For example, the text is based on an input operation by, for example, a user. For example, the text includes specifying information used for specifying a target object to be extracted from the image. Specifically, the specifying information is an object label (for example, "person", "car", and the like) indicative of a type of the target object, coordinates indicative of a position of the target object, and the like. Furthermore, for example, the text includes an instruction given to image recognition by using a text (such as a question in VQA).
[0067] As the object label, for example, data according to MSCOCO is used. MSCOCO is the most standard benchmark data set for object detection. For example, 80 labels related to general objects such as a person, car, dog, cat, train, bus, and table are used in a related technology. Note that in the information processing device 1 of the first embodiment, it is not necessary to use all the labels, and only the labels necessary for the text (question) assumed as the input may be used (for example, a person, a car, and the like).
[0068] Then, the acquirer 11 acquires region information from the image based on the specifying information specified from the text. The acquirer 11 uses, for example, object detection to acquire region information from the inside of the image. In the object detection, a region corresponding to the object label is extracted. For example, in another related technology, an object detector is used for the object detection.
[0069] The object detector outputs box coordinates and an object label in a case where an object is found. A format of the box coordinates is expressed by, for example, coordinates specifying a rectangle (x coordinate and y coordinate at the upper left, and x coordinate and y coordinate at the lower right). Note that the acquirer 11 assigns an object-specific ID to the detected object and manages the object. For example, in a case where a person is detected, the acquirer 11 assigns a unique ID to each of objects, such as a "object (person) 1" or a "object (person) 2" in such a manner that the object can be specified.
[0070] Note that although detection processing is performed on all learned labels in usual object detection, detection processing is performed on an object label related to a preset question in the information processing device 1 of the first embodiment. That is, the acquirer 11 specifies the object label of the object to be detected based on the text indicative of the instruction given to the image recognition processing, and acquires the region information by using the object detector that detects the object with the object label.
[0071] The cropping unit 12 crops (cuts out) a target region from the image based on the region information acquired by the acquirer 11. For example, for each detected object, the cropping unit 12 crops the target region from the image based on the region information (such as box coordinates) of the object.
[0072] The tiling unit 13 generates a tile image by tiling a cropped image region. Specifically, the tiling unit 13 generates the tile image by tiling tiles (each tile) of arbitrary shape according to the number of target regions. In addition, a size (height × width) of the tile image may be arbitrary. For example, the size of the tile image is rescaled to a predetermined size when the tile image is generated.
[0073] FIG. 7 is a diagram illustrating a first example of the tile image of the first embodiment. In the example of FIG. 7, the tile image is generated by arranging the image regions, which are cropped (cropped image regions), in the tile layout pattern. For example, the number of the tiles is determined according to the number of objects as illustrated in FIG. 7. In a case of a square tile, the number of tiles increases as 1, 2x2 = 4, 3x3 = 9, 4x4 = 16,…. For example, in a case where the number of objects is 5 to 9, the tile image including 3x3 = 9 tiles is generated.
[0074] FIG. 8 is a diagram illustrating a second example of the tile image of the first embodiment. In the example of FIG. 8, the number of the tiles included in the tile image is fixed to 2x2 = 4. As illustrated in FIG. 8, the tiling unit 13 may determine the number of tile images according to the number of extracted objects. In this case, in the fourth tile image, one tile is used and the remaining three tiles are not used. In the example of FIG. 8, the unused tiles are blacked out (black-masked), for example.
[0075] FIGS. 9A - 9D are diagrams illustrating a third example of the tile image of the first embodiment. A shape and size of tiles included in the tile image may be changed, for example, according to the number of objects.
[0076] In the example of FIG. 9A, four tiles are formed by four square regions.
[0077] In the example of FIG. 9B, eight tiles are formed by eight rectangular regions.
[0078] In the example of FIG. 9C, 10 tiles are formed by square regions of two sizes.
[0079] In the example of FIG. 9D, nine tiles are formed by squares of two sizes and four rectangular regions.
[0080] FIGS. 10A - 10C are diagrams illustrating a fourth example of the tile image of the first embodiment. A shape of tiles is not limited to a quadrangle, and may be arbitrary shape.
[0081] In the example of FIG. 10A, a combination of hexagons is used and tiles are distinguished from each other.
[0082] In the example of FIG. 10B, a combination of triangles is used and tiles are distinguished from each other.
[0083] In the example of FIG. 10C, a combination of arbitrary shapes is used and tiles are distinguished from each other.
[0084] FIG. 11 is a diagram illustrating a first processing example of the image recognition for each of the tiles in the first embodiment. In image recognition by a text, even in a case where a plurality of object labels (person and dog in the example of FIG. 11) and a question are input, in a case where the question is the same, image recognition for the plurality of object labels is processed on the same tile image.
[0085] FIG. 12 is a diagram illustrating a second processing example of the image recognition for each of the tiles in the first embodiment. As illustrated in FIG. 12, in a case where different questions are input respectively for the object labels with respect to the plurality of object labels, image recognition processing by a text is not performed on the same tile image. That is, in a case where a plurality of texts of different instructions is input, the tiling unit 13 generates a plurality of tile images respectively corresponding to the plurality of texts. In a case of FIG. 12, the image recognition processing by using the text is performed by division of the tile image for each of the object labels.
[0086] Returning to FIG. 6, the recognizer 14 performs the image recognition processing for each of the tiles based on the text and the tile image. The image recognition processing is, for example, VQA, image captioning, image classification by an open vocabulary, or the like. VQA is an AI technique that answers a question related to the image. The image captioning is an AI technique that generates a caption representing contents of the image. The image classification by the open vocabulary is an AI technique that classifies the input image into a class represented by an arbitrary word.
[0087] The image recognition for each of the tiles in the first embodiment is different in an input / output format from conventional image recognition by a text.
[0088] FIG. 13A is a diagram illustrating an example of input and output of the conventional image recognition. In the example of FIG. 13A, the input is a text indicative of a question and an entire image. The output is an answer including one recognition result for the entire image.
[0089] FIG. 13B is a diagram illustrating an example of input and output of image recognition of the first embodiment. In the example of FIG. 13B, the input is a tile image. The output is an answer including four recognition results respectively for tiles.
[0090] Furthermore, in FIGS. 13A and 13B, the largest feature is that spatial attentions are different. In the example of FIG. 13A, since the one recognition result is output for the one input image, the entire image is referred to. There is a possibility that a probability of outputting an erroneous answer increases by the reference to the entire image.
[0091] A disadvantage in a case where the entire image is referred to will be described with a case of a tile image as an example.
[0092] FIGS. 14A - 14D are diagrams for describing disadvantages of a case where the entire image is referred to. As illustrated in FIGS. 14A - 14D, it is assumed that the entire tile image is referred to in the image recognition of each of tiles. In this case, for example, in the image recognition of an upper left tile of the tile image (processing of a tile-1 in FIG. 14A), although a person of the tile-1 is not using a smartphone while walking, an upper right tile-2 and a lower right tile-4 are referred to and an erroneous answer that the person is using the smartphone while walking is led.
[0093] FIGS. 15A - 15D are diagrams illustrating examples of a spatial attention in the image recognition for each of the tiles in the first embodiment. In the image recognition for each of the tiles in the first embodiment, the spatial attention is limited only within a tile of a target object as illustrated in FIGS. 15A - 15D. That is, when executing the image recognition processing for each of the tiles, the recognizer 14 refers to a tile to be processed and does not refer to another tile other than the tile to be processed. In such a manner, for example, when the upper left tile-1 is processed, only the upper left tile-1 is referred to (see FIG. 15A). As such, an erroneous answer as in the conventional technologies is avoidable.Example of an information processing method
[0094] FIG. 16 is a flowchart illustrating an example of the information processing method of the first embodiment. First, based on an input image and text, the acquirer 11 acquires region information (such as the above-described box coordinates) of the image (Step S1).
[0095] Then, the cropping unit 12 crops target regions from the image according to the region information (Step S2).
[0096] Then, the tiling unit 13 generates a tile image by arranging the target regions, which are cropped (cropped target regions), in the tile layout pattern, for example (Step S3).
[0097] Then, the recognizer 14 executes the image recognition processing by using the text for each of the tiles included in the tile image, and acquires a recognition result for each of the tiles (Step S4).
[0098] As described above, in the information processing device 1 of the first embodiment, the acquirer 11 acquires the plurality of pieces of region information indicative of the target regions including the objects to be detected from at least one image based on the text indicative of the instruction given to the image recognition processing. The cropping unit 12 crops the plurality of target regions from the at least one image based on the plurality of pieces of region information. The tiling unit 13 generates the tile image including the plurality of tiles by tiling each of the plurality of target regions as the tile. Then, the recognizer 14 executes the image recognition processing by using the text for each of the tiles included in the tile image.Example of an effect of the first embodiment
[0099] As a result, according to the information processing device 1 of the first embodiment, even in a case where a plurality of objects to be detected is included in an image, a more accurate processing result can be acquired with a smaller calculation amount. Specifically, according to the information processing device 1 of the first embodiment, for example, effects illustrated in FIGS. 17 - 20 can be acquired.
[0100] FIGS. 17 - 20 are diagrams for describing examples of an effect of the first embodiment.
[0101] First, as illustrated in FIG. 17, by collecting target objects (target regions that are cropped from the image) into one tile image, the calculation amount at the time of the image recognition is reduced to 1 / (the number of target objects). For example, in the example of FIG. 17, image recognition is performed for each of the tiles included in the tile image and the calculation amount is reduced to 1 / 4.
[0102] Next, as illustrated in FIG. 18, learning of the recognizer 14 can be performed by utilization of a generally widespread data set (data set in which an image and a correct answer are on a one-to-one basis). Specifically, the same image of one sample in the data set is arranged in the tile layout pattern, and the correct answer is arranged in the same manner. In the image recognition of each of the tiles, because only an inner portion of the tile is referred to, it does not matter if the tile image is composed from the same image. In the image recognition for each of the tiles, the recognizer 14 outputs an answer by referring to the inner portion of the tile, and updates weight of a machine learning model used for the recognition processing based on the associated correct answer. The entire machine learning model is learned by similar processing on all the tiles included in the tile image.
[0103] Furthermore, as illustrated in FIG. 19, while a space other than the target objects is wastefully calculated by the input of the entire image in the naive approach, the information processing device 1 of the first embodiment performs the recognition processing on the target regions arranged, for example, in the tile layout pattern. This enables effectively utilizing all the spaces of the objects to be processed (target objects) in the image recognition.
[0104] Lastly, even when it is necessary to process a plurality of camera images captured, for example, by the camera-1, the camera-2, and the camera-3 as illustrated in FIG. 20, it is possible to calculate the recognition processing very efficiently by composing the tile image only of the extracted target objects. The information processing device 1 of the first embodiment is useful, for example, in a case of performing recognition processing of images captured by a plurality of monitoring cameras in a factory, an office building, or the like.Second Embodiment
[0105] Next, the second embodiment will be described. In the description of the second embodiment, a description similar to that of the first embodiment will be omitted, and a part different from the first embodiment will be described.
[0106] For example, information of a plurality of frames is effective for analyzing motion information of a person, such as shaking of a hand from left to right. However, in the first embodiment described above, analysis with reference to a plurality of frames cannot be performed because image recognition of each of the tiles is performed with reference only to the tile. Thus, in the second embodiment, an embodiment in which a plurality of tiles is extended as one spatial attention in such a manner that a plurality of pieces of frame information such as a moving image can be analyzed will be described.Example of a functional configuration
[0107] FIG. 21 is a diagram illustrating an example of a functional configuration of an information processing device 1-2 of the second embodiment. The information processing device 1-2 of the second embodiment includes the acquirer 11, the cropping unit 12, the tiling unit 13, the recognizer 14, and an association unit 15.
[0108] In a description of the FIG. 21, a description similar to that of the first embodiment will be omitted, and a part different from the first embodiment will be described.
[0109] The acquirer 11 acquires a plurality of pieces of region information from a plurality of frame images included in a moving image based on a text.
[0110] For example, for each object detected by an object detector, the cropping unit 12 crops a target region based on region information (such as box coordinates) of the object. The cropping unit 12 associates, with the cropped target region, information that specifies a frame image from which the target region is cropped. The information that specifies the frame image is, for example, a frame number to identify the frame image included in the moving image.
[0111] The association unit 15 performs association for the target regions of different frame images included in the moving image.
[0112] FIG. 22A is a diagram illustrating a processing example of the association unit 15 and the tiling unit 13 of the second embodiment. FIGS. 22B and 22C are diagrams illustrating a processing example of the recognizer 14 of the second embodiment.
[0113] For example, as illustrated in FIG. 22A, the association unit 15 performs association for the target regions corresponding to the same person. Then, as illustrated in FIG. 22A, the tiling unit 13 generates a tile image by tiling four target regions. In FIG. 22A, two tiles in an upper part of the tile image are associated and two tiles on a lower part of the tile image are associated.
[0114] An association method may be arbitrary. For example, the association unit 15 associates target regions for which an overlap of box coordinates detected in two frame images to be compared is larger than a threshold. In addition, for example, the association unit 15 associates target regions having a degree of similarity of feature amounts indicative of features of the target regions in two frame images to be compared that is larger than a threshold. Note that the feature amount and the degree of similarity may be arbitrary. The feature amount is, for example, histograms of oriented gradients (HoG). The degree of similarity is, for example, cosine similarity.
[0115] While the spatial attention is limited with respect to each of the tiles at the time of the image recognition in the first embodiment described above, the spatial attention is extended in such a manner that reference can be made between associated tiles in the second embodiment.
[0116] In the example of FIGS. 22B and 22C, an upper left tile-1 and an upper right tile-2 of the tile image are associated with each other, and a lower left tile-3 and a lower right tile-4 are associated with each other. In this case, the spatial attention at the time of the image recognition for each of the tiles by the recognizer 14 is as follows.
[0117] When the recognition processing is performed on the tile-1, the tile-1 and the tile-2 are referred to.
[0118] When the recognition processing is performed on the tile-2, the tile-1 and the tile-2 are referred to.
[0119] When the recognition processing is performed on the tile-3, the tile-3 and the tile-4 are referred to.
[0120] When the recognition processing is performed on the tile-4, the tile-3 and the tile-4 are referred to.
[0121] In the image recognition processing of the plurality of associated tiles, the image recognition processing for each of the tiles may be performed by utilization of the plurality of associated tiles as one tile. For example, in the example of FIG. 22B, the recognition processing may be performed with the tile-1 and the tile-2 as one tile.
[0122] Note that although a case where the same person in the different frames is associated has been described as an example in the above example, the example of association is not limited to the above example.
[0123] FIG. 23 is a diagram illustrating a processing example of the association unit 15 of the second embodiment. As illustrated in FIG. 23, the association unit 15 may associate adjacent objects. With the association of the adjacent target objects, interaction of the adjacent target objects can be grasped. In the example of FIG. 23, the recognizer 14 can specify not only that a person is walking but also can specify dog-walking.Example of an information processing method
[0124] FIG. 24 is a flowchart illustrating an example of the information processing method of the second embodiment. First, the acquirer 11 acquires region information (such as the above-described box coordinates) of an image based on the input image and text (Step S11).
[0125] Then, the cropping unit 12 crops a target region from the image according to the region information (Step S12).
[0126] Then, the association unit 15 associates the target region that is cropped in Step S12 with a target region of another frame (Step S13).
[0127] Then, the tiling unit 13 generates the tile image by arranging the associated target regions as in FIG. 22A described above, for example (Step S14).
[0128] Then, the recognizer 14 executes the image recognition processing by using the text, for example, as illustrated in FIGS. 22A and 22C described above, and acquires a recognition result for each of the tiles with respect to each of the tiles included in the tile image (Step S15).
[0129] As described above, in the information processing device 2 of the second embodiment, the association unit 15 associates a plurality of target regions. For example, the association unit 15 associates target regions having a degree of similarity of feature amounts indicative of features of target regions in a plurality of frame images that is larger than a threshold. Then, in a case where a tile to be processed is associated with another tile, the recognizer 14 also refers to the other tile when executing the image recognition processing for each of the tiles.
[0130] As a result, according to the information processing device 2 of the second embodiment, it is possible to analyze a plurality of frame images and the like included in a moving image by expanding a plurality of tiles as one spatial attention.Third Embodiment
[0131] Next, the third embodiment will be described. In the description of the third embodiment, a description similar to that of the second embodiment will be omitted, and a part different from the second embodiment will be described. In the third embodiment, an embodiment in which modality different from the input image is utilized will be described.Example of a functional configuration
[0132] FIG. 25 is a diagram illustrating an example of a functional configuration of an information processing device 1-3 of the third embodiment. The information processing device 1-3 of the second embodiment includes the acquirer 11, the cropping unit 12, the tiling unit 13, the recognizer 14, and the association unit 15.
[0133] In a description of the FIG. 25, a description similar to that of the first embodiment will be omitted, and a part different from the first embodiment will be described.
[0134] For each detected object, the cropping unit 12 crops a target region based on region information (such as box coordinates) of the object and modality.
[0135] The modality is, for example, data including at least one of edge information, normal information, or depth information of an image, sound, or the like. The edge information is utilized, for example, to detect the number of target objects (such as a person or the like) and characters (text) included in the image. The normal information is utilized, for example, to detect the orientation of the target object included in an image.
[0136] FIG. 26 is a diagram illustrating a utilization example of the modality (in a case of depth information) of the third embodiment. In the example of FIG. 26, the depth information is expressed as a depth image, and indicates to be closer to the front as becoming brighter, and indicates to be on the further side as becoming darker.
[0137] The cropping unit 12 crops a plurality of target regions from at least one image further based on modality indicative of at least one of edge information of an image, normal information indicative of the orientation of a target object included in the image, or depth information indicative of a depth of the image. Specifically, the cropping unit 12 crops the target regions in the image based on the region information (such as the box coordinates), and also crops regions representing coordinate positions corresponding to the target regions in the image from the modality (depth image in the example of FIG. 26).
[0138] The association unit 15 associates the target regions in the image with the target regions cropped from the modality.
[0139] The tiling unit 13 generates a tile image by tiling the associated target regions.
[0140] For example, by using the depth information as the modality, the recognizer 14 can perform more complicated recognition processing by specifying front-back information (depth information) of an object that cannot be determined only by an image (such as a parcel on the front side, a parcel on the far side, or the like).
[0141] Note that the cropping unit 12 may dynamically determine whether to further use the modality according to the set number of tiles and the cropped target regions. For example, in a case where the number of tiles in the tile image is four and the number of cropped target regions is two, even by adding one piece of modality for each, accommodation within the tile image is feasible. However, in a case where there are four target regions, the tile image is filled only with the image. Thus, the cropping unit 12 may determine not to use the modality in a case where the number of tiles becomes insufficient when the modality is used.
[0142] Lastly, an example of a hardware configuration of the information processing device 1 (1-2 to 1-3) of the first to third embodiments will be described.Example of the hardware configuration
[0143] FIG. 27 is a diagram illustrating an example of the hardware configuration of the information processing device 1 (1-2 to 1-3) of the first to third embodiments. The information processing device 1 includes a processor 201, a main storage device 202, an auxiliary storage device 203, a display device 204, an input device 205, and a communication device 206. The processor 201, the main storage device 202, the auxiliary storage device 203, the display device 204, the input device 205, and the communication device 206 are connected via a bus 210.
[0144] Note that the information processing device 1 may not include a part of the above configuration. For example, in a case where the information processing device 1 can use an input function and a display function of an external device, the information processing device 1 may not include the display device 204 and the input device 205.
[0145] The processor 201 executes a program read from the auxiliary storage device 203 to the main storage device 202. The main storage device 202 is a memory such as a read only memory (ROM) and a random access memory (RAM). The auxiliary storage device 203 is a hard disk drive (HDD), a memory card, and the like.
[0146] The display device 204 is, for example, a liquid crystal display or the like. The input device 205 is an interface to operate the information processing device 1. Note that the display device 204 and the input device 205 may be realized by a touch panel or the like having a display function and an input function. The communication device 206 is an interface to communicate with other devices.
[0147] For example, the program executed by the information processing device 1 is a file in an installable format or an executable format, is recorded in a computer-readable storage medium such as a memory card, a hard disk, a CD-RW, a CD-ROM, a CD-R, a DVD-RAM, and a DVD-R, and is provided as a computer program product.
[0148] Furthermore, for example, the program executed by the information processing device 1 may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network.
[0149] Furthermore, for example, the program executed by the information processing device 1 may be provided via a network such as the Internet without being downloaded. Specifically, for example, a configuration by an application service provider (ASP) type cloud service may be employed.
[0150] Furthermore, for example, the program of the information processing device 1 may be provided by being incorporated in a ROM or the like in advance.
[0151] The program executed by the information processing device 1 has a module configuration including a function that can be realized by the program among the above-described functional configurations. As actual hardware, the processor 201 reads the program from the storage medium and executes the program, and the functional blocks are loaded on the main storage device 202. That is, the functional blocks are generated on the main storage device 202.
[0152] Note that a part or all of the above-described functions may not be implemented by software but may be implemented by hardware such as an integrated circuit (IC).
[0153] In addition, the functions may be realized by a plurality of the processors 201. In this case, each of the processors 201 may realize one of the functions or may realize two or more of the functions.
[0154] While certain embodiments have been described, these embodiments have been presented by way of example only, and are not intended to limit the scope of the inventions. Indeed, the novel embodiments described herein may be embodied in a variety of other forms; furthermore, various omissions, substitutions and changes in the form of the embodiments described herein may be made without departing from the spirit of the inventions. The accompanying claims and their equivalents are intended to cover such forms or modifications as would fall within the scope and spirit of the inventions.
Claims
1. An information processing device comprising:one or more hardware processors configured to function as:an acquirer that acquires a plurality of pieces of region information, each piece indicating a target region including an object to be detected, from at least one image based on a text indicative of an instruction given to image recognition processing;a cropping unit that crops a plurality of target regions from the at least one image based on the plurality of pieces of region information;a tiling unit that generates, by tiling each of the plurality of target regions as a tile, a tile image including a plurality of tiles; anda recognizer that executes the image recognition processing by using the text for each of the tiles included in the tile image.
2. The information processing device according to claim 1, whereinthe recognizer refers to a tile to be processed and does not refer to another tile other than the tile to be processed when executing the image recognition processing for each of the tiles.
3. The information processing device according to claim 1, whereinthe tiling unit generates the tile image by tiling tiles having an arbitrary shape according to a number of the target regions.
4. The information processing device according to claim 1, whereinthe tiling unit generates a plurality of tile images respectively corresponding to a plurality of texts in a case where the plurality of texts of different instructions is input.
5. The information processing device according to claim 1, whereinthe one or more hardware processors are configured to further function as:an association unit that associates the plurality of target regions, whereinin a case where a tile to be processed is associated with another tile, the recognizer also refers to the other tile when executing the image recognition processing for each of the tiles.
6. The information processing device according to claim 5, whereinthe acquirer acquires the plurality of pieces of region information from a plurality of frame images included in a moving image based on the text, andthe association unit performs association for target regions having a degree of similarity of feature amounts indicative of features of the target regions in the plurality of frame images that is larger than a threshold.
7. The information processing device according to claim 1, whereinthe cropping unit crops the plurality of target regions from the at least one image further based on modality indicative of at least one of edge information of the image, normal information indicative of an orientation of a target object included in the image, and depth information indicative of a depth of the image.
8. The information processing device according to claim 1, whereinthe acquirer specifies an object label of an object to be detected based on the text indicative of the instruction given to the image recognition processing, and acquires the region information by using an object detector that detects the object with the object label.
9. An information processing method implemented by a computer of an information processing device, the method comprising:acquiring a plurality of pieces of region information, each piece indicating a target region including an object to be detected, from at least one image based on a text indicative of an instruction given to image recognition processing;cropping a plurality of target regions from the at least one image based on the plurality of pieces of region information;generating, by tiling each of the plurality of target regions as a tile, a tile image including a plurality of tiles; andexecuting the image recognition processing by using the text for each of the tiles included in the tile image.
10. A computer program product having a non-transitory computer readable medium including instructions stored thereon, wherein the instructions, when executed by a computer, cause the computer to function as:an acquirer that acquires a plurality of pieces of region information, each piece indicating a target region including an object to be detected, from at least one image based on a text indicative of an instruction given to image recognition processing;a cropping unit that crops a plurality of target regions from the at least one image based on the plurality of pieces of region information;a tiling unit that generates, by tiling each of the plurality of target regions as a tile, a tile image including a plurality of tiles; anda recognizer that executes the image recognition processing by using the text for each of the tiles included in the tile image.
