Analysis system and analysis method

The analysis system addresses the challenge of high calculation loads in video inference by extracting regions of interest and selecting appropriate models for each area, significantly reducing the overall calculation and improving performance.

WO2024180768A1PCT designated stage expired Publication Date: 2024-09-06NT T INC
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/007854
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-02
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Conventional technologies reduce the frequency of heavy inference processing but fail to decrease the amount of calculation per inference, especially in high-definition video analysis, leading to a need for further performance improvement and reduced calculation in inference models.

Method used

An analysis system that extracts regions of interest from images or videos and selects a corresponding model for each region, performing heavy inference only on those areas, thereby reducing overall calculation and improving system performance.

Benefits of technology

The system effectively reduces the amount of calculation during inference processing by focusing heavy inference on specific regions of interest, enhancing the performance and efficiency of the analysis system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023007854_06092024_PF_FP
    Figure JP2023007854_06092024_PF_FP
Patent Text Reader

Abstract

This analysis system is for analyzing images or video and includes an information processing device and a server. An extraction unit in the information processing device extracts a region of interest from a target area in an image or a video by a predetermined method. A selection unit in the information processing device selects a predetermined model corresponding to the region of interest. A transmission unit in the information processing device transmits the region of interest and information relating to the predetermined model selected by the selection unit to the server. An inference unit in the server performs predetermined inference regarding the region of interest on the basis of the predetermined model selected by the selection unit.
Need to check novelty before this filing date? Find Prior Art

Description

Analysis system and analysis method

[0001] The present invention relates to an analysis system and an analysis method.

[0002] When making inferences about videos, images, etc., a technology has been proposed in which heavy inference processing (inference processing with a heavy processing load, such as a large amount of calculations, hereafter simply referred to as "heavy inference processing") is performed only when it is determined that the video, image, etc. is an inference target, thereby reducing the frequency (number of times) of heavy inferences and improving the performance of the entire system (see, for example, non-patent document 1).

[0003] Daniel Kang, John Emmons, Firas Abuzaid, Peter Bailis, Matei Zaharia, NoScope: Optimizing Neural Network Queries over Video at Scale, Stanford InfoLab

[0004] However, conventional techniques have had the problem of difficulty in reducing the amount of calculation required for inference. For example, conventional techniques output confidence levels using a lightweight inference model, and perform heavy inference processing only when it is determined that inference should be performed based on the output results. However, conventional techniques have not been able to reduce the amount of calculation required for each inference, even when the number of inference processes is reduced. This makes it difficult to reduce the amount of calculation required, particularly in inference processing for high-definition video, which has a wide range of inference targets.

[0005] Therefore, in order to solve the above problems and achieve the objective, the analysis system of the present invention is an analysis system that analyzes an image or video, and is characterized in that the information processing device has an extraction unit that extracts a region of interest from a target area of ​​the image or video using a predetermined method, a selection unit that selects a predetermined model corresponding to the region of interest, and a transmission unit that transmits information identifying the region of interest and the predetermined model selected by the selection unit to a server, and the server has an inference unit that makes a predetermined inference about the region of interest based on the predetermined model selected by the selection unit.

[0006] The present invention has the effect of enabling a reduction in the amount of calculation required during inference.

[0007] FIG. 1 is a diagram showing an overview of an analysis system according to this embodiment. FIG. 2 is a diagram showing an overview of selection of a predetermined model in the analysis system according to this embodiment. FIG. 3 is a diagram showing an overview of an analysis system according to a first embodiment. FIG. 4 is a diagram showing an example of a device configuration of the analysis system according to the first embodiment. FIG. 5 is a diagram showing an overview of analysis processing according to a second embodiment. FIG. 6 is a diagram showing an overview of a method for extracting a region of interest according to the second embodiment. FIG. 7 is a diagram showing an example of a method for extracting a region of interest according to the second embodiment. FIG. 8 is a diagram showing an example of a flowchart of a processing method according to the first embodiment. FIG. 9 is a diagram showing an example of a flowchart of a processing method according to the second embodiment. FIG. 10 is a diagram showing an example of a computer in which devices constituting the analysis system according to this embodiment are realized.

[0008] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. Note that the embodiments are not limited to the following description.

[0009] [1. Introduction] The analysis system 1 of this embodiment is a system for analyzing images or videos, and provides a technology for reducing the amount of calculation required for inference on images or videos. This section provides an introduction to the background and an overview of this embodiment.

[0010] [1-1. Background] Recently, real-time applications using deep neural networks (DNNs), such as video surveillance, voice assistants, and autonomous driving, have emerged. These real-time applications require the ability to process a large number of queries in real time with limited resources while maintaining the accuracy of the DNN. To address this issue, a technology called model cascade has been proposed, which uses a fast, low-accuracy lightweight model and a slow, high-accuracy high-accuracy model to accelerate inference processing with minimal degradation in accuracy.

[0011] Therefore, in conventional technology, when performing inference on videos, images, etc., a confidence level (an overall assessment of an index of whether an object exists or not, referred to as "confidence level" in this embodiment) based on a lightweight model is output as the first-layer inference, and the object to be inferred is determined in the second-layer model. Subsequently, in the second-layer model, heavy inference processing based on a high-precision model is performed only on the object selected by the first-layer model. In this way, a technology has been proposed that reduces the frequency (number of times) of computationally intensive inference and improves the performance of the entire analysis system.

[0012] However, in the conventional technology, although the number of calculations could be reduced, the amount of calculation itself could not be reduced. Specifically, in the conventional technology, the number of heavy inference processes was reduced, but the amount of calculation per process was not reduced. On the other hand, further performance improvement is required for more accurate analysis (inference), and there is a need for a technology that can reduce the amount of calculation for the current inference model that requires a large amount of calculation.

[0013] [1-2. Overview of the Present Embodiment] Therefore, the analysis system 1 according to the present embodiment extracts an area where an inference target such as an object exists from a video or image as a region of interest (ROI). The analysis system 1 then selects a predetermined model corresponding to the extracted region of interest and performs heavy inference processing using the selected predetermined model only for the region of interest. This allows the analysis system 1 to reduce the amount of calculation per heavy inference processing and improve the performance of the entire system.

[0014] Here, an overview of a method for reducing the amount of calculation in inference processing by the analysis system 1 will be described with reference to FIG. 1 . FIG. 1 is a diagram showing an overview of the analysis system 1 according to this embodiment. As shown in FIG. 1 , the inference processing by the analysis system 1 has a first step and a second step. The first step is a step performed by the information processing device 100 to extract a region of interest, determine the region of interest to be inferred, and select a predetermined model corresponding to the region of interest. On the other hand, the second step is a step performed by the server 200 to perform a predetermined inference (heavy inference processing) using a corresponding predetermined model (e.g., a YOLO model for each size of an object included in the region of interest) for the region of interest to be inferred.

[0015] In a first step, the information processing device 100 included in the analysis system 1 performs a process of reducing processing in the time direction for image or video frames that are not the inference target. Specifically, the information processing device 100 determines a region of interest of the inference target using an output result (e.g., a confidence level) of an index based on a lightweight inference model (a model that performs inference processing with a low load, such as a low amount of calculation). For example, the information processing device 100 in FIG. 1 accepts an input frame 10 of an image, video, or the like ((1) in FIG. 1). Next, the information processing device 100 extracts a region of interest from the input image or video frame 10 ((2) in FIG. 1).

[0016] The information processing device 100 determines whether or not an object is included in the region of interest based on the certainty factor ((3) in FIG. 1). Specifically, if the certainty factor is equal to or greater than a preset threshold, the information processing device 100 determines that an object is present in the region of interest. On the other hand, if the certainty factor is less than the threshold, the information processing device 100 determines that an object is not present in the region of interest. Note that in FIG. 1, the process of determining whether or not an object is present is performed after extracting the region of interest, but it is also possible to first determine whether or not an object is present and then extract the region of interest for the target area.

[0017] The information processing device 100 ends the processing for the region of interest determined to contain no object ((4) in FIG. 1). On the other hand, the information processing device 100 selects a corresponding predetermined model based on the attributes (e.g., size, density, etc.) of the object included in the region of interest determined to contain an object ((5) in FIG. 1). The information processing device 100 then transmits the region of interest determined to contain an object and information identifying the selected predetermined model to the server 200, which performs the second step ((6) in FIG. 1).

[0018] In the second step, the server 200 included in the analysis system 1 performs heavy inference processing only for the region of interest of the inference target transmitted by the information processing device 100 in the first step, using a predetermined model corresponding to the region of interest. Specifically, the server 200 receives information identifying the region of interest of the inference target and the corresponding predetermined model from the information processing device 100 ((7) in FIG. 1). Next, the server 200 performs heavy inference processing for the region of interest of the inference target based on the predetermined model identified using the received information identifying the predetermined model ((8) in FIG. 1). The server 200 then outputs the inference result ((9) in FIG. 1).

[0019] In this way, the analysis system 1 according to this embodiment achieves a reduction in the amount of calculation required for the entire system by extracting regions of interest in the first and second steps and performing heavy inference processing based on the selection of a predetermined model for performing inference for each region of interest.

[0020] Next, the selection of a predetermined model by the analysis system 1 will be further described with reference to FIG. 2. FIG. 2 is a diagram showing an overview of the selection of a predetermined model by the analysis system 1 according to this embodiment. FIG. 2 shows the frame 10 shown in FIG. 1. As shown in frame 10 in FIG. 2, in the case of a high-definition image or video (e.g., 4K resolution or 8K resolution), the range included in the frame may be wide, but the area within which the inference target (e.g., a person) exists may be limited. Therefore, the analysis system 1 reduces the amount of calculation by narrowing down the area and performing inference.

[0021] In the example shown in FIG. 2 , the information processing device 100 extracts regions of interest 11, 12, and 13 from frame 10 based on a predetermined method described below ((1) in FIG. 2 ). Then, the information processing device 100 selects a predetermined model that performs heavy inference processing for each extracted region of interest. For example, the information processing device 100 selects a "large object detection model" for region of interest 11 as the predetermined model to be used for inference by the server 200 ((2) in FIG. 2 ). The information processing device 100 also selects a "medium object detection model" for region of interest 12 as the predetermined model to be used for inference by the server 200 ((3) in FIG. 2 ). The information processing device 100 also selects a "small object detection model" for region of interest 13 as the predetermined model to be used for inference by the server 200 ((4) in FIG. 2 ).

[0022] In this way, the analysis system 1 of this embodiment can reduce not only the calculation frequency but also the calculation processing by performing inference using an inference model selected according to the attributes of the extracted area of ​​interest of the analysis target (e.g., the number and density of objects contained therein).

[0023] The server 200 according to the present embodiment may be a cloud server. For example, the predetermined model may be arranged on a cloud server such as an inference server (a server that supports inference execution of multiple machine learning frameworks and is a serving technology that allows switching the predetermined model to be applied for each region of interest).

[0024] 2. First Embodiment A first embodiment realized by the analysis system 1 according to this embodiment will now be described. The first embodiment is an embodiment in which a region of interest is extracted from a preset area. An overview of the first embodiment will now be described with reference to FIG. 3. FIG. 3 is a diagram showing an overview of the analysis system 1 according to the first embodiment.

[0025] 3 , the information processing device 100 included in the analysis system 1 sets a designated area 20 in advance for the frame 10. Then, the information processing device 100 extracts an area included in the designated area 20 as a region of interest 21 ((1) in FIG. 3 ). Next, the information processing device 100 detects objects included in the region of interest 21 based on a predetermined method (object detection, segmentation, density estimation, etc.) ((2) in FIG. 3 ).

[0026] The information processing device 100 determines whether an object is present or absent based on the certainty factor for the region of interest 21 in which an object has been detected ((3) in FIG. 3). Specifically, if the certainty factor is equal to or greater than a preset threshold, the information processing device 100 determines that an object is present in the region of interest 21. On the other hand, if the certainty factor is less than the threshold, the information processing device 100 determines that an object is not present in the region of interest 21. Note that for a region of interest in which the information processing device 100 determines that an object is not present, processing ends at this point ((4) in FIG. 3).

[0027] The information processing device 100 selects a predetermined model to use for the region of interest 21 determined to contain an object based on the attributes (size, density, etc.) of the object contained therein ((5) in FIG. 3). The information processing device 100 then transmits the region of interest 21 determined to contain an object and information identifying the selected predetermined model to the server 200 ((6) in FIG. 3).

[0028] The server 200 selects a predetermined model corresponding to each region of interest 21 determined to contain an object and information identifying the selected predetermined model, which is transmitted from the information processing device 100, and performs heavy inference processing ((7) in FIG. 3). The server 200 then outputs the inference results ((8) in FIG. 3).

[0029] In this way, the analysis system 1 according to the first embodiment extracts a region of interest of an inference target included in a predetermined area and selects a model to be used for inference. The analysis system 1 then selects an inference model suitable for the region of interest of the inference target, reduces the amount of computation required for heavy inference processing only for the selected region of interest, and improves the performance of the entire system.

[0030] 2-1. Configuration of Analysis System Now, an example configuration of the analysis system 1 according to the first embodiment will be described with reference to Fig. 4. Fig. 4 is a diagram showing an example of the device configuration of the analysis system 1 according to the first embodiment. As shown in Fig. 4, the analysis system 1 has a configuration in which an information processing device 100 and a server 200 are connected via a predetermined network NW.

[0031] 2-2. Configuration of Information Processing Device Next, a configuration example of the information processing device 100 included in the analysis system 1 according to this embodiment will be described. As described above, the information processing device 100 performs object detection, extraction of related regions, and selection of a predetermined model to be used for each region of interest of the target for an image or video to be analyzed. As shown in FIG. 4, the information processing device 100 has a communication unit 110, a storage unit 120, and a control unit 130.

[0032] (Communication Unit 110) The communication unit 110 is realized by a network interface card (NIC) or the like, and controls communication via a telecommunication line such as a local area network (LAN) or the Internet. The communication unit 110 is connected to a network via a wired or wireless connection as necessary, and can transmit and receive information bidirectionally. For example, the communication unit 110 of the information processing device 100 communicates with the communication unit 210 of the server 200 via a predetermined network NW.

[0033] (Storage Unit 120) The storage unit 120 stores data and programs used for various processes by the control unit 130. The storage unit 120 is realized by a semiconductor memory element such as a random access memory (RAM) or a flash memory, or a storage device such as a hard disk or an optical disk. As shown in FIG. 4 , the storage unit 120 has an image information storage unit 121, a detection information storage unit 122, an extraction information storage unit 123, and a model identification information storage unit 124.

[0034] (Image Information Storage Unit 121) The image information storage unit 121 stores information about images or videos accepted by the accepting unit 131 (described later). Note that the image information storage unit 121 can store images or videos without limiting the data format (e.g., whether it is a still image or a moving image), file size, etc.

[0035] (Detection Information Storage Unit 122) The detection information storage unit 122 can store information (detected object 122a) related to an object detected by the later-described detection unit 133. Specifically, the detection information storage unit 122 can store, as the detected object 122a, information such as a BBOX (bounding box) related to object detection of the object detected by the detection unit 133, a cell related to segmentation, a density area related to density estimation, and the like.

[0036] In this embodiment, an object refers to an image area in an image or video that satisfies a predetermined condition, and is collectively referred to as an object, such as a person, an animal, a plant, an inorganic object, etc. The detection information storage unit 122 can store any information that falls within the category of the object described above, without any limitations.

[0037] (Extraction Information Storage Unit 123) The extraction information storage unit 123 can store a region of interest 123a extracted by the extraction unit 132 described below. Note that in this embodiment, the region of interest 123a (ROI) refers to a "partial region of interest in an image" on which inference processing is performed.

[0038] (Model Identification Information Storage Unit 124) The model identification information storage unit 124 stores information for identifying a predetermined model selected for each region of interest of the inference target selected by the selection unit 135 described below. Note that the model identification information storage unit 124 can store any information, including but not limited to text, numerical values, and other information, as long as it is information that can identify the aforementioned predetermined model.

[0039] (Control Unit 130) The control unit 130 has an internal memory for temporarily storing programs that define various processing procedures and the like and processing data, and is realized by electronic circuits such as a CPU (Central Processing Unit) and an MPU (Micro Processing Unit), and integrated circuits such as an ASIC (Application Specific Integrated Circuit) and an FPGA (Field Programmable Gate Array). Also, as shown in FIG. 4 , the control unit 130 has a reception unit 131, an extraction unit 132, a detection unit 133, a determination unit 134, a selection unit 135, and a transmission unit 136.

[0040] (Reception unit 131) The reception unit 131 receives an image or video to be used for inference. The reception unit 131 then stores the received image or video in the image information storage unit 121. Note that the reception unit 131 is not limited to receiving the above-described image or video, and can receive any data that can be used for inference processing.

[0041] (Extraction unit 132) The extraction unit 132 extracts a region of interest from a target area of ​​an image or video using a predetermined method. Specifically, the extraction unit 132 of the first embodiment extracts a predetermined region from a target area of ​​an image or video as a region of interest using a predetermined method.

[0042] 3, the extraction unit 132 can extract a region of interest 21 (region of interest 123a) from a predetermined designated area 20 for the frame 10. Note that the predetermined designated area 20 here may be an area designated based on input by an administrator of the analysis system 1 or an area designated based on predetermined conditions.

[0043] For example, for an imaging device (e.g., a surveillance camera) that continuously captures video, the extraction unit 132 may extract the region of interest 123a from an area (e.g., an entrance) that is to be monitored by the imaging device and that is preset as the designated area 20. Note that the above is merely an example, and the position, size, etc. of the designated area 20 designated by the analysis system 1 are not limited.

[0044] (Detection unit 133) The detection unit 133 detects objects included in a predetermined region using a DNN. Specifically, the detection unit 133 of the first embodiment detects objects included in a region of interest using at least one of object detection, segmentation, and density estimation as the DNN. The detection unit 133 then stores information about the detected object in the detection information storage unit 122 as the detected object 122a.

[0045] Here, object detection, segmentation, and density estimation will be described. Object detection may be performed using a type of DNN such as "Yolov4," "Faster-CNN," or "CenterNet." Segmentation may be performed using a type of DNN such as "U-net," which is an algorithm for classifying the class (e.g., person, car, etc.) of each pixel in an image, etc. Density estimation may be performed using a type of DNN such as "CrowdCounting," which is an algorithm for predicting the number of people present in each pixel in an image, etc.

[0046] (Determination unit 134) The determination unit 134 determines whether or not an object is present in a predetermined region. Specifically, the determination unit 134 determines that an object is present in the region of interest when the certainty factor for the object detected by the detection unit 133 exceeds a preset threshold. Specifically, the determination unit 134 can determine that an object is present in the extracted region of interest when the certainty factor included in the detected object 122a stored in the detection information storage unit 122 is equal to or greater than a predetermined threshold.

[0047] On the other hand, if the confidence level included in the detected object 122a stored in the detection information storage unit 122 is less than a predetermined threshold, the determination unit 134 can determine that there is no object in the extracted region of interest. Note that the confidence level according to this embodiment may be the maximum value of the confidence values ​​(DNN output results) of all objects detected by object detection in a predetermined frame.

[0048] (Selection unit 135) The selection unit 135 selects a predetermined model corresponding to the region of interest 123 a. Specifically, the selection unit 135 selects a predetermined model corresponding to the region of interest 123 a in which it has been determined that an object exists by the determination unit 134. After selecting the predetermined model as described above, the selection unit 135 stores information identifying the predetermined model in the model identification information storage unit 124.

[0049] For example, the selection unit 135 may select one of a small model, a medium model, or a large model as the predetermined model corresponding to the region of interest 123a based on the size of the detected object. Furthermore, the selection unit 135 may select one of a small model, a medium model, or a large model as the predetermined model corresponding to the region of interest 123a based on the density of the object included in the region of interest. Note that the selection unit 135 may select "yolov4-p7" as the large model, "yolov4-p5" as the medium model, and "yolov4-tiny" as the small model.

[0050] (Transmitting unit 136) The transmitting unit 136 transmits the region of interest 123a and information identifying the predetermined model selected by the selecting unit 135 to the server 200. Specifically, the transmitting unit 136 transmits the region of interest 123a in which the determining unit 134 has determined that an object is present and information identifying the predetermined model selected by the selecting unit 135 to the server 200.

[0051] [2-3. Server Configuration] Next, an example configuration of the server 200 according to this embodiment will be described. The server 200 according to this embodiment is an information processing device that receives requests and instructions from another device (information processing device 100) and performs predetermined information processing. As shown in FIG. 4, the server 200 has a communication unit 210, a storage unit 220, and a control unit 230. Note that the server 200 according to this embodiment may be an independent, stand-alone information processing device, or may be, for example, a cloud server in which a plurality of servers 200 communicate and process over a predetermined network, such as in distributed computing.

[0052] (Communication Unit 210) The communication unit 210 is realized by a NIC or the like, and controls communication via an electric communication line such as a LAN or the Internet. The communication unit 210 is connected to a network via a wired or wireless connection as necessary, and can transmit and receive information bidirectionally. For example, the communication unit 210 of the server 200 communicates with the communication unit 110 of the information processing device 100 via a predetermined network NW.

[0053] (Storage unit 220) The storage unit 220 stores data and programs used for various processes by the control unit 230. The storage unit 220 is realized by a semiconductor memory element such as RAM or flash memory, or a storage device such as a hard disk or optical disk. As shown in FIG. 4 , the storage unit 220 has an extracted information storage unit 221 and an inference model storage unit 222.

[0054] (Extraction information storage unit 221) The extraction information storage unit 221 stores the region of interest 123a transmitted from the information processing device 100 as the region of interest 221a. For example, the extraction information storage unit 221 can associate the region of interest 123a with a predetermined model selected by the selection unit 135 of the information processing device 100 and store the associated region of interest 123a as the region of interest 221a. Note that the extraction information storage unit 221 can store any information that falls within the category of the region of interest without any limitations.

[0055] (Inference model storage unit 222) The inference model storage unit 222 can store models used when the inference unit 232, described below, performs a predetermined inference process. Specifically, the inference model storage unit 222 according to this embodiment stores a large model 222a, a medium model 222b, and a small model 222c as predetermined models. For example, the inference model storage unit 222 may store "yolov4-p7" as the large model 222a. The inference model storage unit 222 may also store "yolov4-p5" as the medium model 222b. The inference model storage unit 222 may also store "yolov4-tiny" as the small model 222c.

[0056] (Control unit 230) The control unit 230 has an internal memory for temporarily storing programs that define various processing procedures and the like and processing data, and is realized by electronic circuits such as a CPU or MPU, or integrated circuits such as an ASIC or FPGA. As shown in FIG. 4 , the control unit 230 has a receiving unit 231, an inference unit 232, and an output unit 233.

[0057] (Receiving unit 231) The receiving unit 231 receives information identifying the region of interest 123a and the selected predetermined model transmitted from the information processing device 100. The receiving unit 231 then associates the received region of interest 123a with the information identifying the selected predetermined model, and stores the associated information as a region of interest 221a in the extracted information storage unit 221. Note that the receiving unit 231 according to this embodiment can receive, without limitation, information necessary for the server 200 to realize its functions, in addition to the information described above.

[0058] (Inference unit 232) The inference unit 232 performs a predetermined inference on the region of interest 221 a based on the predetermined model selected by the selection unit 135. Specifically, the inference unit 232 identifies a target model from the models stored in the inference model storage unit 222 based on information for identifying the predetermined model transmitted by the information processing device 100, and can perform a predetermined inference on the region of interest 221 a.

[0059] For example, the inference unit 232 can perform a predetermined inference based on YOLO (You Look Only Once), which is a model for detecting objects from the region of interest 123a transmitted from the information processing device 100. For example, the inference unit 232 can perform object detection and object class classification based on the YOLO detection algorithm.

[0060] The inference by the detection unit 133 and the inference unit 232 of the information processing device 100 described above is performed based on a predetermined model (DNN). For example, the model used for object detection (inference) by the information processing device 100 may be a lightweight algorithm (e.g., shallow layers, few parameters, etc.). On the other hand, the model used by the inference unit 232 of the server 200 may be an algorithm with high accuracy (deeper layers, many parameters).

[0061] (Output unit 233) The output unit 233 can output the results of heavy inference processing performed by the inference unit 232. For example, the output unit 233 can output the inference results inferred by the inference unit 232 to a terminal device operated by a user or the like who uses the analysis system 1 according to this embodiment as information that the user can grasp with their five senses, such as text, numerical values, images, graphs, etc. Note that the format of the information output by the output unit 233 is not particularly limited.

[0062] 3. Second Embodiment A second embodiment realized by the analysis system 1 according to this embodiment will now be described. The second embodiment is an embodiment in which an object is dynamically detected from a target area of ​​an image or video and a region of interest is extracted. An overview of the second embodiment will now be described with reference to FIG. 5. FIG. 5 is a diagram showing an overview of the analysis system 1 according to the second embodiment.

[0063] 5, the information processing device 100 detects objects (objects 31, 32, and 33) included in the frame 10 based on a predetermined method (object detection, segmentation, density estimation, etc.) ((1) in FIG. 5). Next, the information processing device 100 determines the presence or absence of the detected objects 31, 32, and 33 based on the confidence level ((2) in FIG. 5).

[0064] Specifically, if the confidence level is equal to or greater than a preset threshold, the information processing device 100 determines that an object is present in the detection area. On the other hand, if the confidence level is less than the preset threshold, the information processing device 100 determines that an object is not present in the detection area. Note that for detection areas determined by the information processing device 100 as having no object (detection areas including the object 33), processing ends at this point ((3) in FIG. 5).

[0065] The information processing device 100 extracts regions of interest (regions of interest 14 and 15) from detection regions determined to contain objects (detection regions including objects 31 and 32) based on a predetermined method (such as fusion of detection regions or separation of multiple objects included in the detection regions) ((4) in FIG. 5). The information processing device 100 then selects a predetermined model to use based on the attributes (size, density, etc.) of the objects included in each extracted region of interest ((5) in FIG. 5). The information processing device 100 then transmits the extracted regions of interest (regions of interest 14 and 15) and information identifying the selected predetermined model to the server 200 ((6) in FIG. 5).

[0066] The server 200 identifies the predetermined model corresponding to each region of interest using the regions of interest (regions of interest 14 and 15) determined to contain an object and information identifying the selected predetermined model transmitted from the information processing device 100, and performs heavy inference processing ((7) in FIG. 5). The server 200 then outputs the inference results ((8) in FIG. 5).

[0067] In this way, the analysis system 1 according to the second embodiment detects an object included in the field of view of the imaging device without having to set a target area in advance, and extracts the region including the object as a region of interest to be inferred. The analysis system 1 then selects an inference model suitable for the region of interest to be inferred, and reduces the computational load of the heavy inference process only for the selected region of interest, thereby improving the performance of the entire system.

[0068] 3-1. Configuration of the Analysis System A configuration example of the analysis system 1 according to the second embodiment will now be described. Since the analysis system 1 according to the second embodiment has the same configuration as the analysis system 1 according to the first embodiment, the following description will again refer to FIG. 4. Description of functional units having similar functions between the first and second embodiments will be omitted, and only functional units having differences will be described. As shown in FIG. 4, the analysis system 1 has a configuration in which an information processing device 100 and a server 200 are connected via a predetermined network NW.

[0069] 3-2. Configuration of Information Processing Device Next, a configuration example of the information processing device 100 included in the analysis system 1 according to the second embodiment will be described. As shown in Fig. 4, the information processing device 100 according to the second embodiment has a communication unit 110, a storage unit 120, and a control unit 130. As mentioned above, the description of the communication unit 110 and the storage unit 120 (the image information storage unit 121, the detection information storage unit 122, the extraction information storage unit 123, and the model identification information storage unit 124) will be omitted.

[0070] (Control Unit 130) As shown in FIG. 4, the control unit 130 according to the second embodiment includes a receiving unit 131, an extracting unit 132, a detecting unit 133, a determining unit 134, a selecting unit 135, and a transmitting unit 136.

[0071] (Extraction Unit 132) The extraction unit 132 extracts a region of interest from a target area of ​​the image or video using a predetermined method. Specifically, the extraction unit 132 of the second embodiment extracts a region of interest from a detection region in which the determination unit 134 has determined that an object exists, based on a predetermined method. For example, the extraction unit 132 extracts a region of interest by fusing multiple detection regions, or extracts multiple regions of interest from a detection region. Furthermore, if the number of extracted regions of interest exceeds a predetermined number, the extraction unit 132 changes the size of the region of interest.

[0072] Here, extraction of a region of interest will be described using Fig. 6. Fig. 6 is a diagram showing an overview of a region of interest extraction method according to the second embodiment. As shown in the upper diagram of Fig. 6, when individual objects (BBOX) are within a predetermined distance based on the detection result by the detection unit 133, the extraction unit 132 can extract them by fusing them into one region of interest ((1) in Fig. 6). On the other hand, as shown in the upper diagram of Fig. 6, when individual objects (BBOX) are beyond a predetermined distance based on the detection result by the detection unit 133, the extraction unit 132 can extract them separately into multiple regions of interest ((2) in Fig. 6).

[0073] Furthermore, as shown in the lower diagram of Figure 6, when multiple regions of interest are extracted from an individual object (BBOX) and the number of such regions of interest exceeds a predetermined number ((3-1) in Figure 6), the extraction unit 132 can change the size of the regions of interest without extracting individual regions of interest, thereby treating the entire frame as the region of interest ((3-2) in Figure 6).

[0074] Note that the extraction of the region of interest described in Fig. 6 is not limited to object detection and may be performed based on other methods. Here, an example of a method for extracting a region of interest according to the second embodiment will be described with reference to Fig. 7. Fig. 7 is a diagram showing an example of a method for extracting a region of interest according to the second embodiment.

[0075] For example, in the extraction by object detection shown in the upper diagram of Fig. 7, the extraction unit 132 can extract a region of interest based on a BBOX ((1) in Fig. 7). In addition, in the extraction by segmentation shown in the middle diagram of Fig. 7, the extraction unit 132 can extract a region of interest based on a cell ((2) in Fig. 7). In addition, in the extraction by density estimation shown in the lower diagram of Fig. 7, the extraction unit 132 can extract a region of interest based on a density area ((3) in Fig. 7).

[0076] (Detection Unit 133) The detection unit 133 detects objects included in a target area of ​​an image or video using at least one of object detection, segmentation, and density estimation. Note that the target area here may be a part of the image or video, or the entire frame.

[0077] (Determination unit 134) The determination unit 134 determines whether or not an object is present in a predetermined area. Specifically, the determination unit 134 determines that an object is present in the detection area when the certainty factor for the object detected by the detection unit 133 exceeds a predetermined threshold. For example, the determination unit 134 can determine that "an object is present" in the detection area when the certainty factor for the object detected in the detection area by the detection unit 133 is equal to or greater than a predetermined threshold. On the other hand, the determination unit 134 can determine that "an object is not present" in the detection area when the certainty factor for the object detected in the detection area by the detection unit 133 is less than the predetermined threshold.

[0078] (Selection unit 135) The selection unit 135 selects a predetermined model corresponding to the region of interest 123a. Specifically, the selection unit 135 selects a predetermined model corresponding to the region of interest extracted by the extraction unit 132. After selecting the predetermined model as described above, the selection unit 135 stores information for identifying the predetermined model in the model identification information storage unit 124.

[0079] On the other hand, the selection unit 135 can select one of a small model, a medium model, or a large model as the predetermined model corresponding to the region of interest 123a based on the size of the detected object. Specifically, the selection unit 135 can select the predetermined model based on the size of the object (person) included in the region of interest. For example, the selection unit 135 can select the predetermined model based on the number of pixels of the object (person) detected by the detection unit 133 through object detection. As a specific example, the selection unit 135 can select a "small model" if the number of pixels is equal to or greater than a predetermined number, a "large model" if the number of pixels is equal to or less than the predetermined number, and a "medium model" otherwise.

[0080] For example, the selection unit 135 selects one of a small model, a medium model, or a large model as the predetermined model corresponding to the region of interest 123a based on the density of objects included in the region of interest. Specifically, the selection unit 135 can select the predetermined model based on the density of objects (people) included in the region of interest. For example, the selection unit 135 can select the predetermined model based on the distance and number (number of people) of objects (people) detected by the detection unit 133 through object detection. As a specific example, the selection unit 135 can select a "small model" when the density is equal to or less than a predetermined density, a "large model" when the density is equal to or greater than the predetermined density, and a "medium model" in other cases.

[0081] (Transmitting unit 136) The transmitting unit 136 transmits the region of interest and information identifying the predetermined model selected by the selecting unit 135. Specifically, the transmitting unit 136 transmits the region of interest extracted by the extracting unit 132 and information identifying the predetermined model selected by the selecting unit 135 to the server 200. For example, the transmitting unit 136 transmits the extracted region of interest and information identifying the predetermined model corresponding to the region of interest to the server 200.

[0082] [3-3. Server Configuration] Next, an example configuration of the server 200 according to this embodiment will be described. The server 200 according to this embodiment is an information processing device that receives requests and instructions from other devices (information processing devices 100) and performs predetermined information processing. Note that the server 200 according to the second embodiment can be realized with the same configuration and functions as the server 200 according to the first embodiment, and therefore detailed description thereof will be omitted in this section.

[0083] [4. Processing Procedure] From here, the processing procedure of the analysis system 1 will be described. The flowchart will be explained separately as a "first embodiment" and a "second embodiment." Note that the steps described below may be executed in a different order, and some processes may be omitted. Furthermore, the processing procedures of each embodiment may be implemented in an appropriate combination.

[0084] (Flowchart of First Embodiment) From here, a processing procedure of the analysis system 1 according to the first embodiment will be described with reference to Fig. 8. Fig. 8 is a diagram showing an example of a flowchart of a processing method according to the first embodiment. Note that the steps may be performed interchangeably, or some steps may not be performed.

[0085] The receiving unit 131 receives an image or video for inference (step S101). The extracting unit 132 extracts a region of interest from a region previously set in a target area (step S102). The detecting unit 133 detects an object from the region of interest using at least one of object detection, segmentation, and density estimation (step S103).

[0086] If the certainty factor for the detected object does not exceed the predetermined threshold (No in step S104), the information processing device 100 ends the process. On the other hand, if the certainty factor for the detected object exceeds the predetermined threshold (Yes in step S104), the selection unit 135 selects a predetermined model corresponding to the region of interest in which it is determined that an object exists (step S105). Then, the transmission unit 136 transmits information identifying the region of interest and the selected predetermined model (step S106).

[0087] The receiving unit 231 of the server 200 receives the region of interest and information identifying the selected predetermined model (step S107). Subsequently, the inference unit 232 performs inference on the target region of interest using the predetermined model identified based on the information identifying the selected predetermined model (step S108). Then, the output unit 233 outputs the inference result (step S109), and the process ends.

[0088] (Flowchart of Second Embodiment) From here, a processing procedure of the analysis system 1 according to the second embodiment will be described with reference to Fig. 9. Fig. 9 is a diagram showing an example of a flowchart of a processing method according to the second embodiment. Note that the steps may be interchanged and performed, or some steps may not be performed.

[0089] The receiving unit 131 receives an image or video for inference (step S201). Objects are detected from a target area of ​​the image or video using at least one of object detection, segmentation, and density estimation (step S202).

[0090] If the certainty factor for the object in the detection area does not exceed the predetermined threshold (No in step S203), the information processing device 100 ends the process. On the other hand, if the certainty factor for the object in the detection area exceeds the predetermined threshold (Yes in step S203), the information processing device 100 extracts a region of interest from the detection area in which it has been determined that an object exists (step S204).

[0091] The selection unit 135 selects a corresponding predetermined model for the extracted region of interest (step S205), and the transmission unit 136 transmits information identifying the region of interest and the selected predetermined model (step S206).

[0092] The receiving unit 231 of the server 200 receives the region of interest and information identifying the selected predetermined model (step S207). Subsequently, the inference unit 232 performs inference on the target region of interest using the predetermined model identified based on the information identifying the selected predetermined model (step S208). Then, the output unit 233 outputs the inference result (step S209), and the process ends.

[0093] 5. Effects The effects provided by the analysis system 1 of this embodiment will now be described. First, the problems with the conventional technology will be described. As a conventional technology, a technology has been proposed in which, when performing inference on videos, images, etc., heavy inference processing is performed only on selected targets, thereby reducing the frequency (number of times) of heavy inference processing and improving the performance of the entire system.

[0094] However, conventional techniques have only been able to reduce the number of heavy inference processes, and have not been able to reduce the amount of calculation per process. On the other hand, further performance improvements are required for more accurate analysis (inference) of images and videos, and as a result, there is a demand for techniques to reduce the amount of calculation for current inference models that require a large amount of calculation.

[0095] Therefore, the analysis system 1 according to this embodiment is an analysis system that analyzes an image or video, and includes an information processing device 100 and a server 200. The extraction unit 132 of the information processing device 100 according to this embodiment extracts a region of interest from a target area of ​​the image or video using a predetermined method. The selection unit 135 of the information processing device 100 according to this embodiment selects a predetermined model corresponding to the region of interest. The transmission unit 136 of the information processing device 100 according to this embodiment transmits to the server 200 information identifying the region of interest and the predetermined model selected by the selection unit 135. Furthermore, the inference unit 232 of the server 200 according to this embodiment performs a predetermined inference on the region of interest based on the predetermined model selected by the selection unit 135.

[0096] As a result, the analysis system 1 performs heavy inference processing only on the target region of interest based on a predetermined model corresponding to that region of interest, thereby reducing the number of heavy inference processes and the amount of calculation, thereby improving the performance of the entire system.

[0097] Specifically, the analysis system 1 selects and extracts a region of interest to be inferred from the image or video to be analyzed, and further selects an inference model according to the attributes of the region of interest (such as the number and density of objects contained therein). Therefore, by excluding regions of interest that are not the inference target, the analysis system 1 can reduce the frequency of heavy inference processing performed by the server 200, thereby reducing the amount of calculation. Furthermore, by limiting the inference target to the region of interest rather than the entire frame, the analysis system 1 can reduce the amount of calculation of heavy inference processing performed by the server 200. Furthermore, by selecting an inference model that is suitable for inferring the region of interest to be inferred, the analysis system 1 can reduce unnecessary calculations and reduce the amount of calculation of heavy inference processing performed by the server 200.

[0098] The extraction unit 132 of the information processing device 100 included in the analysis system 1 according to the first embodiment extracts a predetermined region as a region of interest from a target area of ​​an image or video using a predetermined method. The detection unit 133 of the information processing device 100 detects an object included in the region of interest using at least one of object detection, segmentation, and density estimation. The determination unit 134 of the information processing device 100 determines that an object is present in the region of interest when the certainty factor for the object detected by the detection unit 133 exceeds a predetermined threshold. The selection unit 135 of the information processing device 100 selects a predetermined model corresponding to the region of interest in which the determination unit 134 determines that an object is present. The transmission unit 136 of the information processing device 100 transmits to the server 200 the region of interest in which the determination unit 134 determines that an object is present and information identifying the predetermined model selected by the selection unit 135.

[0099] As a result, the analysis system 1 according to the first embodiment can more efficiently reduce the amount of calculations required for analyzing frames whose target area is limited in advance. For example, the analysis system 1 according to the first embodiment can more efficiently reduce the amount of calculations required when a specific location is continuously captured by a security camera or the like and inference processing is performed for that area.

[0100] The detection unit 133 of the information processing device 100 included in the analysis system 1 according to the second embodiment detects an object included in a target area of ​​an image or video using at least one of object detection, segmentation, and density estimation. The determination unit 134 of the information processing device 100 determines that an object is present in a detection area when the certainty factor for the object detected by the detection unit 133 exceeds a preset threshold. The extraction unit 132 of the information processing device 100 extracts a region of interest from the detection area in which the determination unit 134 determines that an object is present, using a predetermined method. The selection unit 135 of the information processing device 100 selects a predetermined model corresponding to the region of interest extracted by the extraction unit 132. The transmission unit 136 of the information processing device 100 transmits the region of interest extracted by the extraction unit 132 and information identifying the predetermined model selected by the selection unit 135 to the server 200.

[0101] As a result, the analysis system 1 according to the second embodiment can more efficiently reduce the amount of calculations required for analyzing frames whose target area is not limited in advance. For example, the analysis system 1 according to the second embodiment can more efficiently reduce the amount of calculations required when an imaging device, such as a security camera, that monitors a wide area without limiting the target area performs inference processing in that area.

[0102] The analysis system 1 described above improves the overall system performance and reduces power consumption by reducing the amount of calculation required for heavy inference processing using the system's functions. Furthermore, by transmitting only the target region of interest to the server 200 that performs the heavy inference processing, the analysis system 1 can reduce the compression and transfer costs of the target data compared to transferring the entire frame.

[0103] [6. Hardware Configuration] The components of each device shown in the figures are conceptual functional units and do not necessarily have to be physically configured as shown. In other words, the specific form of distribution and integration of each device is not limited to that shown, and all or part of the devices can be functionally or physically distributed and integrated in any unit depending on various loads, usage conditions, etc. Furthermore, all or any part of the processing functions performed by each device can be realized by a CPU and a program analyzed and executed by the CPU, or can be realized as hardware using wired logic.

[0104] Furthermore, among the processes described in this embodiment, all or part of the processes described as being performed automatically can also be performed manually using known methods. In addition, the information including the processing procedures, control procedures, specific names, various data, and parameters shown in the drawings can be changed as desired unless otherwise specified.

[0105] [Program] In one embodiment, the various devices constituting the information processing device 100 included in the analysis system 1 can be implemented by installing the above-described information processing program as package software or online software on a desired computer. For example, by executing the above-described information processing program on an information processing device, it is possible to cause the various information processing devices constituting the information processing device 100 to function. The information processing device referred to here includes desktop and notebook personal computers. In addition, the information processing device also includes mobile communication terminals such as smartphones and mobile phones, and even slate terminals such as PDAs (Personal Digital Assistants).

[0106] 10 is a diagram showing an example of a computer in which the devices constituting the analysis system 1 according to this embodiment are realized. The computer 1000 includes, for example, a memory 1010 and a CPU 1020. The computer 1000 also includes a hard disk drive interface 1030, a disk drive interface 1040, a serial port interface 1050, a video adapter 1060, and a network interface 1070. These components are connected by a bus 1080.

[0107] The memory 1010 includes a ROM (Read Only Memory) 1011 and a RAM 1012. The ROM 1011 stores a boot program such as a BIOS (Basic Input Output System). The hard disk drive interface 1030 is connected to a hard disk drive 1090. The disk drive interface 1040 is connected to a disk drive 1100. A removable storage medium such as a magnetic disk or optical disk is inserted into the disk drive 1100. The serial port interface 1050 is connected to a mouse 1110 and a keyboard 1120, for example. The video adapter 1060 is connected to a display 1130, for example.

[0108] The hard disk drive 1090 stores, for example, an OS 1091, an application program 1092, a program module 1093, and program data 1094. That is, a program that defines each process of the various devices that make up the information processing device 100 is implemented as a program module 1093 in which computer-executable code is written. The program module 1093 is stored, for example, in the hard disk drive 1090. For example, a program module 1093 for executing processes similar to those of the functional configurations of the various devices that make up the information processing device 100 is stored in the hard disk drive 1090. Note that the hard disk drive 1090 may be replaced with an SSD (Solid State Drive).

[0109] Furthermore, setting data used in the processing of the above-described embodiment is stored as program data 1094, for example, in the memory 1010 or the hard disk drive 1090. The CPU 1020 then reads the program module 1093 or the program data 1094 stored in the memory 1010 or the hard disk drive 1090 into the RAM 1012 as necessary, and executes the processing of the above-described embodiment.

[0110] The program module 1093 and program data 1094 are not limited to being stored in the hard disk drive 1090, but may also be stored in, for example, a removable storage medium and read by the CPU 1020 via the disk drive 1100 or the like. Alternatively, the program module 1093 and program data 1094 may be stored in another computer connected via a network (such as a LAN or a WAN (Wide Area Network)). The program module 1093 and program data 1094 may then be read by the CPU 1020 from the other computer via the network interface 1070.

[0111] [7. Other] While the present embodiment has been described above, the present embodiment is not limited by the descriptions and drawings that form part of the disclosure. In other words, other embodiments, examples, operational techniques, etc. made by those skilled in the art based on the present embodiment are all included in the scope of the present embodiment.

[0112] 1 Analysis system 10 Frame 20 Designated area 11, 12, 13, 14, 15, 21 Region of interest 31, 32 Object 100 Information processing device 110, 210 Communication unit 120, 220 Storage unit 121 Image information storage unit 122 Detection information storage unit 122a Detected object 123, 221 Extraction information storage unit 123a, 221a Region of interest 124 Model identification information storage unit 130,230 Control unit 131 Reception unit 132 Extraction unit 133 Detection unit 134 Determination unit 135 Selection unit 136 Transmission unit 200 Server 222 Inference model storage unit 222a Large model 222b Medium model 222c Small model 231 Reception unit 232 Inference unit 233 Output unit 1000 Computer 1010 Memory 1011 ROM 1012 RAM 1020 CPU 1030 Hard disk drive interface 1040 Disk drive interface 1050 Serial port interface 1060 Video adapter 1070 Network interface 1080 Bus 1090 Hard disk drive 1091 OS 1092 Application program 1093 Program module 1094 Program data 1100 Disk drive 1110 Mouse 1120 Keyboard 1130 Display

Claims

1. An analysis system for analyzing an image or video, comprising: an information processing device having an extraction unit that extracts a region of interest from a target area of ​​the image or video using a predetermined method; a selection unit that selects a predetermined model corresponding to the region of interest; and a transmission unit that transmits information identifying the region of interest and the predetermined model selected by the selection unit to a server; and the server having an inference unit that makes a predetermined inference about the region of interest based on the predetermined model selected by the selection unit.

2. The analysis system described in claim 1, characterized in that the extraction unit extracts a predetermined area from a target area of ​​the image or video as the region of interest as the predetermined method, and further has a detection unit that detects an object included in the region of interest using at least one of object detection, segmentation, or density estimation, and a judgment unit that determines that the object is present in the region of interest if the certainty of the object detected by the detection unit exceeds a predetermined threshold, the selection unit selects the predetermined model corresponding to the region of interest in which the judgment unit has determined that the object is present, and the transmission unit transmits to the server the region of interest in which the judgment unit has determined that an object is present and information identifying the predetermined model selected by the selection unit.

3. The analysis system described in claim 1, further comprising: a detection unit that detects an object included in a target area of ​​the image or video using at least one of object detection, segmentation, or density estimation; and a judgment unit that judges that the object is present in a detection area when a certainty factor for the object detected by the detection unit exceeds a predetermined threshold; the extraction unit extracts the region of interest from the detection area in which the judgment unit judges that the object is present based on the specified method; the selection unit selects the specified model corresponding to the region of interest extracted by the extraction unit; and the transmission unit transmits the region of interest extracted by the extraction unit and information identifying the specified model selected by the selection unit to the server.

4. The analysis system according to claim 3, characterized in that the extraction unit extracts the region of interest by fusing a plurality of the detection regions, or extracts a plurality of regions of interest from the detection region, and if the number of the extracted regions of interest exceeds a predetermined number, changes the size of the regions of interest.

5. An analysis system according to any one of claims 1 to 3, characterized in that the selection unit selects one of a small model, a medium model, or a large model as the specified model corresponding to the region of interest based on the size of the detected object.

6. An analysis system according to any one of claims 1 to 3, characterized in that the selection unit selects one of a small model, a medium model, or a large model as the specified model corresponding to the region of interest based on the density of objects contained in the region of interest.

7. An analysis method for analyzing an image or video, comprising: an extraction step executed by an information processing device, for extracting a region of interest from a target area of ​​the image or video in a predetermined manner; a selection step executed by a selection step of selecting a predetermined model corresponding to the region of interest; and a transmission step executed by the server, for transmitting information identifying the region of interest and the predetermined model selected by the selection step; and an inference step executed by the server, for making a predetermined inference about the region of interest based on the predetermined model selected by the selection step.

Citation Information

Patent Citations

  • Automatic monitoring system

    JP2008241707A

  • Information providing device, information providing method, and program

    JP2020012815A

  • Position estimation device, position estimation method, and position estimation program

    JP2021182299A