Imaging device, imaging system, imaging method and imaging program
By introducing multiple pixel areas and readout unit setting units into the imaging device, combined with the control of the mediation unit, parallel processing of recognition processing and visual recognition is realized, and the information transfer between recognition processing and visual recognition in the existing technology is solved. obstacles, improving recognition accuracy and efficiency.
Patent Information
- Application Number
- CN201980054962.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2019-08-30
- Filing Date
- 2019-09-02
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2039-09-02
AI Technical Summary
It is difficult for existing imaging equipment to achieve efficient image recognition processing and visual recognition at the same time. There are obstacles in the accuracy of image recognition processing and the information transmission of visual recognition.
An imaging device is designed, including an imaging unit of a plurality of pixel areas, a readout unit controller, a first readout unit setting unit for recognition processing and a second readout unit setting unit for visual recognition, and mediation The unit controls the signal transmission between the readout units through the mediation unit to realize parallel processing of recognition processing and visual recognition.
It improves the information transfer efficiency between recognition processing and visual recognition of imaging equipment, enhances recognition accuracy and visual recognition accuracy, shortens processing time, and saves power consumption.
Smart Images

Figure CN112585948B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to an imaging device, an imaging system, an imaging method, and an imaging program. Background Art
[0002] In recent years, with the sophistication of imaging devices such as small cameras mounted on digital cameras, digital video cameras, and multi-function mobile phones (smart phones), imaging devices equipped with an image recognition function of recognizing a predetermined object included in a captured image have been developed.
[0003] Reference List
[0004] Patent Literature
[0005] Patent document 1: JP 2017-112409 A. Summary of the invention
[0006] Technical issues
[0007] Generally, an image suitable for recognition processing in an image recognition function is different from an image suitable for human visual recognition. Therefore, when trying to improve recognition accuracy in an imaging device equipped with an image recognition function, it may be difficult to use an image captured for recognition processing as an image that can provide sufficient information as an image for visual recognition.
[0008] The present disclosure aims to provide an imaging device, an imaging system, an imaging method, and an imaging program that can realize both imaging for recognition processing and imaging for visual recognition.
[0009] Solution to the problem
[0010] In order to solve the above-mentioned problems, an imaging device according to one aspect of the present disclosure has: an imaging unit, which has a pixel area in which a plurality of pixels are arranged, and reads and outputs pixel signals from pixels included in the pixel area; a readout unit controller, which controls a readout unit set as a part of the pixel area; a first readout unit setting unit, which is set to read out pixel signals from the pixel area to perform recognition processing of training data of each of the readout units that has been learned; a second readout unit setting unit, which is set to read out pixel signals from the pixel area to output the pixel signals to a second readout unit of a subsequent stage; and a mediation unit, which performs mediation between the first readout unit and the second readout unit, wherein the readout unit controller sets the readout unit through mediation of the mediation unit. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] [ Figure 1 ] is a block diagram showing a configuration of an example of an imaging device that can be applied to each embodiment of the present disclosure.
[0012] [ Figure 2A ] is a schematic diagram showing an example of the hardware configuration of an imaging device according to each embodiment.
[0013] [ Figure 2B ] is a schematic diagram showing an example of the hardware configuration of an imaging device according to each embodiment.
[0014] [ Figure 3A ] is a diagram showing an example in which the imaging apparatus according to each embodiment is formed as a stacked CIS having a two-layer structure.
[0015] [ Figure 3B ] is a diagram showing an example in which the imaging apparatus according to each embodiment is formed as a stacked CIS having a three-layer structure.
[0016] [ Figure 4 ] is a block diagram showing an example configuration of a sensor unit applicable to each embodiment.
[0017] [ Figure 5A ] is a schematic diagram illustrating a rolling shutter method.
[0018] [ Figure 5B ] is a schematic diagram illustrating the rolling shutter method.
[0019] [ Figure 5C ] is a schematic diagram illustrating the rolling shutter method.
[0020] [ Fig. 6A ] is a schematic diagram showing row thinning in the rolling shutter method.
[0021] [ Figure 6B ] is a schematic diagram showing row thinning in the rolling shutter method.
[0022] [ Figure 6C ] is a schematic diagram showing row thinning in the rolling shutter method.
[0023] [ Fig. 7A ] is a diagram schematically illustrating an example of another imaging method in the rolling shutter method.
[0024] [ Figure 7B ] is a diagram schematically illustrating an example of another imaging method in the rolling shutter method.
[0025] [ Fig. 8A ] is a schematic diagram illustrating a global shutter method.
[0026] [ Figure 8B ] is a schematic diagram illustrating a global shutter method.
[0027] [ Figure 8C] is a schematic diagram illustrating a global shutter method.
[0028] [ Fig.9A ] is a diagram schematically illustrating an example of a sampling pattern that can be implemented in the global shutter method.
[0029] [ Fig. 9B ] is a diagram schematically illustrating an example of a sampling pattern that can be implemented in the global shutter method.
[0030] [ Fig.10 ] is a diagram schematically illustrating image recognition processing performed by CNN.
[0031] [ Fig.11 ] is a diagram schematically illustrating an image recognition process for obtaining a recognition result from a part of an image serving as a recognition target.
[0032] [ Fig. 12A ] is a diagram schematically illustrating an example of recognition processing performed by a DNN when time series information is not used.
[0033] [ Fig. 12B ] is a diagram schematically illustrating an example of recognition processing performed by a DNN when time series information is not used.
[0034] [ Fig.13A ] is a diagram schematically illustrating a first example of recognition processing performed by a DNN when time series information is used.
[0035] [ Fig. 13B ] is a diagram schematically illustrating a first example of recognition processing performed by a DNN when time series information is used.
[0036] [ Fig.14A ] is a diagram schematically illustrating a second example of recognition processing performed by the DNN when time series information is used.
[0037] [ Fig. 14B ] is a diagram schematically illustrating a second example of recognition processing performed by the DNN when time series information is used.
[0038] [ Fig.15A ] is a diagram showing the relationship between the frame driving speed and the pixel signal readout amount.
[0039] [ Fig. 15B ] is a diagram showing the relationship between the frame driving speed and the pixel signal readout amount.
[0040] [ Fig.16 ] is a schematic diagram schematically illustrating the recognition process according to each embodiment of the present disclosure.
[0041] [ Fig.17] is a flowchart showing an example of recognition processing performed by the recognition processing unit according to the first embodiment.
[0042] [ Fig.18 ] is a diagram showing an example of image data of one frame.
[0043] [ Fig.19 ] is a diagram showing the flow of machine learning processing performed by the recognition processing unit according to the first embodiment.
[0044] [ Fig. 20A ] is a schematic diagram showing an application example of the first embodiment.
[0045] [ Fig. 20B ] is a schematic diagram showing an application example of the first embodiment.
[0046] [ Fig.21 ] is a functional block diagram showing an example of the functions of the imaging device according to the second embodiment.
[0047] [ Fig. 22 ] is a schematic diagram showing an example of processing in the recognition processing unit according to the second embodiment in more detail.
[0048] [ Fig.23 ] is a functional block diagram showing an example of functions according to the second embodiment.
[0049] [ Fig.24 ] is a schematic diagram showing the frame readout processing according to the second embodiment.
[0050] [ Fig.25 ] is a schematic diagram showing an overview of the recognition processing according to the second embodiment.
[0051] [ Fig.26 ] is a diagram showing an example of terminating recognition processing in the middle of frame readout.
[0052] [ Fig. 27 ] is a diagram showing an example of terminating recognition processing in the middle of frame readout.
[0053] [ Fig.28 ] is a flowchart showing an example of recognition processing according to the second embodiment.
[0054] [ Fig.29A ] is a timing chart showing an example of controlling readout and recognition processing according to the second embodiment.
[0055] [ Fig.29B ] is a timing chart showing an example of controlling readout and recognition processing according to the second embodiment.
[0056] [ Fig.30] is a timing chart showing another example of the control readout and recognition processing according to the second embodiment.
[0057] [ Fig.31 ] is a flowchart showing an example of control according to the third embodiment.
[0058] [ Fig.32 ] is a schematic diagram schematically showing an example of output control processing according to the third embodiment.
[0059] [ Fig.33A ] is a functional block diagram showing the functions of an example of the recognition processing unit side of the imaging device according to the third embodiment.
[0060] [ Fig.33B ] is a functional block diagram showing the functions of an example of the visual recognition processing unit side of the imaging device according to the third embodiment.
[0061] [ Fig.34 ] is a flowchart showing an example of processing when a trigger signal is output according to time according to the third embodiment.
[0062] [ Fig.35 ] is a schematic diagram schematically showing an example of output control processing according to the first modification of the third embodiment.
[0063] [ Fig.36A ] is a functional block diagram showing the functions of an example of the recognition processing unit side of the imaging device according to the first modification of the third embodiment.
[0064] [ Fig.36B ] is a functional block diagram showing the functions of an example of the visual recognition processing unit side of the imaging device according to the first modification of the third embodiment.
[0065] [ Fig.37 ] is a flowchart showing an example of processing according to the first modification of the third embodiment.
[0066] [ Fig.38 ] is a schematic diagram schematically showing an example of the output control process according to the second modification of the third embodiment.
[0067] [ Fig.39A ] is a functional block diagram showing the functions of an example of the recognition processing unit side of the imaging device according to the second modification of the third embodiment.
[0068] [ Fig.39B ] is a functional block diagram showing the functions of an example of the visual recognition processing unit side of the imaging device according to the second modification of the third embodiment.
[0069] [ Fig.40] is a flowchart showing an example of processing according to the second modification of the third embodiment.
[0070] [ Fig.41A ] is a functional block diagram showing the functions of an example of the recognition processing unit side of the imaging device according to the third modification of the third embodiment.
[0071] [ Fig.41B ] is a functional block diagram showing the functions of an example of the visual recognition processing unit side of the imaging device according to the third modification of the third embodiment.
[0072] [ Fig.42 ] is a flowchart showing an example of processing according to the third modification of the third embodiment.
[0073] [ Fig.43 ] is a schematic diagram schematically showing an example of output control processing according to the fourth embodiment.
[0074] [ Fig.44 ] is a functional block diagram showing the functions of an example of an imaging device according to the fourth embodiment.
[0075] [ Fig.45 ] is a flowchart showing an example of processing according to the fourth embodiment.
[0076] [ Fig.46 ] is a functional block diagram showing the functions of an example of an imaging device according to a first modification of the fourth embodiment.
[0077] [ Fig.47 ] is a flowchart showing an example of processing according to the first modification of the fourth embodiment.
[0078] [ Fig.48 ] is a schematic diagram schematically showing an example of output control processing according to the second modification of the fourth embodiment.
[0079] [ Fig.49 ] is a functional block diagram showing the functions of an example of an imaging device 1 according to a second modification of the fourth embodiment.
[0080] [ Fig.50 ] is a flowchart showing an example of processing according to the second modification of the fourth embodiment.
[0081] [ Fig.51 ] is a flowchart showing an example of an overview of mediation processing according to the fifth embodiment.
[0082] [ Fig.52 ] is a functional block diagram showing an example of the functions of the imaging apparatus 1 applicable to the fifth embodiment.
[0083] [ Fig.53 ] is a schematic diagram showing the mediation process according to the fifth embodiment.
[0084] [ Fig.54 ] is an exemplary flowchart showing the mediation process according to the fifth embodiment.
[0085] [ Fig.55 ] is a functional block diagram showing an example of the functions of an imaging device that can be applied to the first modification of the fifth embodiment.
[0086] [ Fig.56 ] is a schematic diagram showing a first example of mediation processing according to the first modification of the fifth embodiment.
[0087] [ Fig.57 ] is a schematic diagram showing a second example of mediation processing according to the first modification of the fifth embodiment.
[0088] [ Fig.58 ] is a flowchart showing an example of mediation processing according to the first modification of the fifth embodiment.
[0089] [ Fig.59 ] is a functional block diagram showing an example of the functions of an imaging device that can be applied to the second modification of the fifth embodiment.
[0090] [ Fig.60 ] is a schematic diagram showing the mediation process according to the second modification of the fifth embodiment.
[0091] [ Fig.61 ] is a flowchart showing an example of mediation processing according to the second modification of the fifth embodiment.
[0092] [ Fig.62 ] is a functional block diagram showing an example of the functions of an imaging device 1 applicable to the third modification of the fifth embodiment.
[0093] [ Fig.63 ] is a flowchart showing an example of mediation processing according to the third modification of the fifth embodiment.
[0094] [ Fig.64 ] is a diagram illustrating a usage example of an imaging device to which the technology of the present disclosure is applied.
[0095] [ Fig.65 ] is a block diagram showing an example of a schematic configuration of a vehicle control system.
[0096] [ Fig.66 ] is a diagram showing an example of the installation position of the vehicle exterior information detection unit and the imaging portion. DETAILED DESCRIPTION
[0097] Embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. In each of the following embodiments, the same parts are denoted by the same reference numerals, and repeated descriptions thereof will be omitted.
[0098] Hereinafter, embodiments of the present disclosure will be described in the following order.
[0099] 1. Configuration example according to each embodiment of the present disclosure
[0100] 2. Examples of prior art that can be applied to the present disclosure
[0101] 2-1. Overview of Rolling Shutter
[0102] 2-2. Overview of Global Shutter
[0103] 2-3. Deep Neural Network (DNN)
[0104] 2-3-1. Overview of Convolutional Neural Network (CNN)
[0105] 2-3-2. Overview of Recurrent Neural Network (RNN)
[0106] 2-4. Drive speed
[0107] 3. Overview of the Disclosure
[0108] 4. First Implementation
[0109] 4-1. Operation example in the recognition processing unit
[0110] 4-2. Specific example of operation in the recognition processing unit
[0111] 4-3. Application examples of the first embodiment
[0112] 5. Second Implementation
[0113] 5-0-1. Configuration Example According to Second Embodiment
[0114] 5-0-2. Example of Processing in Recognition Processing Unit According to Second Embodiment
[0115] 5-0-3. Details of Identification Processing According to Second Embodiment
[0116] 5-0-4. Example of Control of Readout and Recognition Processing According to Second Embodiment
[0117] 6. Third Implementation
[0118] 6-0. Overview of the Third Embodiment
[0119] 6-0-1. Example of outputting trigger signals according to time
[0120] 6-1. First Modification of Third Embodiment
[0121] 6-2. Second Modification of Third Embodiment
[0122] 6-3. Third Modification of Third Embodiment
[0123] 7. Fourth Implementation
[0124] 7-1. First Modification of Fourth Embodiment
[0125] 7-2. Second Modification of Fourth Embodiment
[0126] 8. Fifth Implementation
[0127] 8-0-1. Specific examples of mediation processing
[0128] 8-1. First Modification of Fifth Embodiment
[0129] 8-2. Second Modification of Fifth Embodiment
[0130] 8-3. Third Modification of Fifth Embodiment
[0131] 9. Sixth Implementation
[0132] [1. Configuration example according to each embodiment of the present disclosure]
[0133] The configuration of an imaging device according to the present disclosure will be schematically described. Figure 1 is a block diagram showing a configuration of an example of an imaging device applicable to each embodiment of the present disclosure. Figure 1 , the imaging device 1 includes a sensor unit 10, a sensor controller 11, a recognition processing unit 12, a memory 13, a visual recognition processing unit 14, and an output controller 15. The imaging device 1 is a complementary metal oxide semiconductor (CMOS) image sensor (CIS), in which these individual units are integrally formed by using CMOS. The imaging device 1 is not limited to this example, and may be another type of optical sensor, such as an infrared light sensor that performs imaging using infrared light.
[0134] The sensor unit 10 outputs a pixel signal corresponding to the light emitted to the light receiving surface via the optical unit 30. More specifically, the sensor unit 10 has a pixel array in which pixels including at least one photoelectric conversion element are arranged in a matrix. The light receiving surface is formed by individual pixels arranged in a matrix in the pixel matrix. The sensor unit 10 further includes: a driving circuit for driving the individual pixels included in the pixel array; and a signal processing circuit that performs predetermined signal processing on a signal read out from each pixel and outputs the processed signal as a pixel signal of each pixel. The sensor unit 10 outputs a pixel signal of each pixel included in the pixel area as image data in a digital format.
[0135] Hereinafter, in the pixel array included in the sensor unit 10, an area in which effective pixels for generating pixel signals are arranged will be referred to as a frame. Frame image data is formed by pixel data based on each pixel signal output from each pixel included in the frame. In addition, each row in the pixel array of the sensor unit 10 is referred to as a line, and line image data will be formed based on pixel data of the pixel signal output from each pixel included in the line. The operation in which the sensor unit 10 outputs a pixel signal corresponding to light applied to the light receiving surface is referred to as imaging. The sensor unit 10 controls the exposure during imaging and the gain (analog gain) of the pixel signal according to the imaging control signal provided from the sensor controller 11 described below.
[0136] For example, the sensor controller 11 composed of a microprocessor controls the reading of pixel data from the sensor unit 10 and outputs pixel data based on each pixel signal read from each pixel included in the frame. The pixel data output from the sensor controller 11 is transferred to the recognition processing unit 12 and the visual recognition processing unit 14.
[0137] In addition, the sensor controller 11 generates an imaging control signal for controlling imaging in the sensor unit 10. The sensor controller 11 generates the imaging control signal, for example, according to instructions from the recognition processing unit 12 and the visual recognition processing unit 14 to be described below. The imaging control signal contains information indicating the above-mentioned exposure and analog gain set when imaging in the sensor unit 10. The imaging control signal further contains a control signal (vertical synchronization signal, horizontal synchronization signal, etc.) used by the sensor unit 10 to perform an imaging operation. The sensor controller 11 provides the generated imaging control signal to the sensor unit 10.
[0138] The optical unit 30 is configured to apply light from the subject to the light receiving surface of the sensor unit 10, and is, for example, disposed at a position corresponding to the sensor unit 10. The optical unit 30 includes, for example, a plurality of lenses, an aperture mechanism for adjusting the size of the aperture relative to the incident light, and a focusing mechanism for adjusting the focus of the light applied to the light receiving surface. The optical unit 30 may further include a shutter mechanism (mechanical shutter) for adjusting the duration of light applied to the light receiving surface. The aperture mechanism, the focusing mechanism, and the shutter mechanism of the optical unit 30 may be controlled, for example, by the sensor controller 11. Without being limited thereto, the aperture / diaphragm and the focus of the optical unit 30 may be controlled from outside the imaging device 1. The optical unit 30 may also be configured integrally with the imaging device 1.
[0139] The recognition processing unit 12 performs recognition processing on an object included in an image containing pixel data based on the pixel data transmitted from the sensor controller 11. In the present disclosure, for example, a digital signal processor (DSP) reads out and executes a program that has undergone pre-learning using training data and is stored as a learning model in the memory 13, thereby implementing the recognition processing unit 12 as a machine learning unit that performs recognition processing using a deep neural network (DNN). The recognition processing unit 12 can instruct the sensor controller 11 to read out pixel data required for recognition processing from the sensor unit 10. The recognition result obtained by the recognition processing unit 12 is transmitted to the output controller 15.
[0140] The visual recognition processing unit 14 performs processing for obtaining an image suitable for human recognition on the pixel data transmitted from the sensor controller 11, and outputs image data containing a set of pixel data, for example. For example, an image signal processor (ISP) reads out and executes a program pre-stored in a memory (not shown), thereby realizing the visual recognition processing unit 14.
[0141] For example, in the case where a color filter is provided for each pixel included in the sensor unit 10 and the pixel data has separate types of color information (i.e., information of red (R), green (G), and blue (B)), the visual recognition processing unit 14 can perform a demosaic process, a white balance process, etc. In addition, the visual recognition processing unit 14 can instruct the sensor controller 11 to read out pixel data required for the visual recognition process from the sensor unit 10. Image data whose pixel data has been subjected to the image processing performed by the visual recognition processing unit 14 is transferred to the output controller 15.
[0142] The output controller 15 is constituted by, for example, a microprocessor, and outputs one or both of the recognition result delivered from the recognition processing unit 12 and the image data delivered from the visual recognition processing unit 14 as a result of the visual recognition processing to the outside of the imaging device 1. For example, the output controller 15 may output the image data to a display unit 31 having a display device. This enables a user to visually recognize the image data displayed by the display unit 31. The display unit 31 may be built in the imaging device 1, or may be provided outside the imaging device 1.
[0143] Figure 2A and Figure 2B 2 is a schematic diagram showing an example of the hardware configuration of the imaging apparatus 1 according to each embodiment. Figure 2A yes Figure 1 The sensor unit 10, the sensor controller 11, the recognition processing unit 12, the memory 13, the visual recognition processing unit 14, and the output controller 15 among the components are mounted on one chip 2. Note that for simplicity, Figure 2A Illustration of the memory 13 and the output controller 15 is omitted.
[0144] exist Figure 2A In the configuration shown, the recognition result obtained by the recognition processing unit 12 is output to the outside of the chip 2 via the output controller 15 (not shown). Figure 2A In the configuration, the recognition processing unit 12 can obtain pixel data for recognition from the sensor controller 11 via the internal interface of the chip 2.
[0145] Figure 2B yes Figure 1 An example in which the sensor unit 10, the sensor controller 11, the visual recognition processing unit 14, and the output controller 15 among the components are mounted on one chip 2 and the recognition processing unit 12 and the memory 13 (not shown) are provided outside the chip 2. Figure 2A , to simplify, Figure 2B Illustration of the memory 13 and the output controller 15 is also omitted.
[0146] exist Figure 2B In the configuration of , the recognition processing unit 12 obtains pixel data to be used for recognition via an interface provided for inter-chip communication. Figure 2B In the example, the recognition result obtained by the recognition processing unit 12 is directly output from the recognition processing unit 12 to the outside, but the output method is not limited to this example. Figure 2B In the configuration of , the recognition processing unit 12 can return the recognition result to the chip 2, and can perform control to output the result from the output controller 15 (not shown) mounted on the chip 2.
[0147] exist Figure 2AIn the configuration shown, the recognition processing unit 12 is mounted on the chip 2 together with the sensor controller 11, so that high-speed communication between the recognition processing unit 12 and the sensor controller 11 can be performed by the internal interface of the chip 2. Figure 2A The configuration shown makes it difficult to replace the recognition processing unit 12, resulting in difficulty in changing the recognition processing. Figure 2B The identification processing unit 12 in the illustrated configuration is provided outside the chip 2, and communication needs to be performed between the identification processing unit 12 and the sensor controller 11 via an interface between the chips. This makes the communication between the identification processing unit 12 and the sensor controller 11 more complex than that between the chips. Figure 2A The communication in the illustrated configuration is slow, resulting in the possibility of delay in control. On the other hand, the recognition processing unit 12 can be easily replaced, and thus various recognition processes can be realized.
[0148] In the following, unless otherwise specified, the imaging device 1 has a Figure 2A The configuration of the sensor unit 10, the sensor controller 11, the recognition processing unit 12, the memory 13, the visual recognition processing unit 14 and the output controller 15 on one chip 2.
[0149] In the above Figure 2A In the illustrated configuration, the imaging device 1 may be formed on one substrate. Without being limited thereto, the imaging device 1 may be implemented as a stacked CIS in which a plurality of semiconductor chips are stacked and integrally formed.
[0150] As an example, the imaging device 1 may be formed to have a two-layer structure in which semiconductor chips are stacked in two layers. Figure 3A 1 is a diagram showing an example in which the imaging device 1 according to each embodiment is formed as a stacked CIS having a two-layer structure. Figure 3A In the structure, the pixel unit 20a is formed on the first layer of semiconductor chips, and the memory + logic unit 20b is formed on the second layer of semiconductor chips. The pixel unit 20a includes at least the pixel array in the sensor unit 10. For example, the memory + logic unit 20b includes a sensor controller 11, a recognition processing unit 12, a memory 13, a visual recognition processing unit 14, and an output controller 15, as well as an interface provided for communication between the imaging device 1 and the outside. The memory + logic unit 20b further includes a part or all of a driving circuit that drives the pixel array in the sensor unit 10. In addition, although not shown, the memory + logic unit 20b may further include a memory used by the visual recognition processing unit 14 to process image data.
[0151] like Figure 3AAs shown on the right side of , the first layer semiconductor chip and the second layer semiconductor chip are bonded together while being in electrical contact with each other, so that the imaging device 1 can be configured as a solid-state imaging element.
[0152] As another example, the imaging device 1 may be formed to have a three-layer structure in which semiconductor chips are stacked in three layers. Figure 3B 1 is a diagram showing an example in which the imaging device 1 according to each embodiment is formed as a stacked CIS having a three-layer structure. Figure 3B In the structure, the pixel unit 20a is formed on the first layer semiconductor chip, the storage unit 20c is formed on the second layer semiconductor chip, and the logic unit 20b' is formed on the third layer semiconductor chip. In this case, the logic unit 20b' includes, for example, a sensor controller 11, a recognition processing unit 12, a visual recognition processing unit 14, an output controller 15, and an interface provided for communication between the imaging device 1 and the outside. In addition, the storage unit 20c may include, for example, a memory 13 and a memory used by the visual recognition processing unit 14 to process image data. The memory 13 may be included in the logic unit 20b'.
[0153] like Figure 3B As shown on the right side of , the first layer semiconductor chip, the second layer semiconductor chip, and the third layer semiconductor chip are combined together while being in electrical contact with each other, so that the imaging device 1 can be configured as a solid-state imaging element.
[0154] Figure 4 is a block diagram showing a configuration of an example of the sensor unit 10 applicable to each embodiment. Figure 4 In FIG. 1 , the sensor unit 10 includes a pixel array unit 101, a vertical scanning unit 102, an analog-to-digital (AD) conversion unit 103, a pixel signal line 106, a vertical signal line VSL, a control unit 1100, and a signal processing unit 1101. Figure 4 For example, the control unit 1100 and the signal processing unit 1101 may be included in Figure 1 In the sensor controller 11 shown.
[0155] The pixel array unit 101 includes a plurality of pixel circuits 100, each of which includes, for example, a photoelectric conversion element that performs photoelectric conversion on received light using a photodiode and a circuit that reads out charges from the photoelectric conversion element. In the pixel array unit 101, a plurality of pixel circuits 100 are arranged in a matrix in the horizontal direction (row direction) and the vertical direction (column direction). In the pixel array unit 101, the arrangement of the pixel circuits 100 in the row direction is referred to as a row. For example, in the case where a frame of image is formed by 1920 pixels × 1080 rows, the pixel array unit 101 includes at least 1080 rows, which include at least 1920 pixel circuits 100. The pixel signals read out from the pixel circuits 100 included in the frame form an image (image data) of one frame.
[0156] Hereinafter, the operation of reading out pixel signals from each pixel circuit 100 included in a frame of the sensor unit 10 will be appropriately described as the operation of reading out pixels from a frame. In addition, the operation of reading out pixel signals from each pixel circuit 100 included in a row in a frame will be appropriately described as the operation of reading out a row.
[0157] In addition, in the pixel array unit 101, with respect to the row and column of each pixel circuit 100, a pixel signal line 106 is connected to each row, and a vertical signal line VSL is connected to each column. The end of the pixel signal line 106 that is not connected to the pixel array unit 101 is connected to the vertical scanning unit 102. Under the control of the control unit 1100 described below, the vertical scanning unit 102 transmits a control signal (such as a drive pulse used when a pixel signal is read out from a pixel) to the pixel array unit 101 via the pixel signal line 106. The end of the vertical signal line VSL that is not connected to the pixel array unit 101 is connected to the AD conversion unit 103. The pixel signal read out from the pixel is transmitted to the AD conversion unit 103 via the vertical signal line VSL.
[0158] The readout control of the pixel signal from the pixel circuit 100 will be schematically described. The readout of the pixel signal from the pixel circuit 100 is performed in a process of transferring the charge stored in the photoelectric conversion element by exposing to the floating diffusion layer (FD) and converting the transferred charge in the floating diffusion layer into a voltage. The voltage converted from the charge in the floating diffusion layer is output to the vertical signal line VSL via an amplifier.
[0159] More specifically, during exposure, the pixel circuit 100 is set to close (open) the connection between the photoelectric conversion element and the floating diffusion layer so that the charge generated by the photoelectric conversion incident light is stored in the photoelectric conversion element. After the exposure is completed, the floating diffusion layer and the vertical signal line VSL are connected according to the selection signal provided via the pixel signal line 106. In addition, according to the reset pulse provided via the pixel signal line 106, the floating diffusion layer is connected to the power supply line of the power supply voltage VDD or the black level voltage for a short period of time so as to reset the floating diffusion layer. The reset level voltage (defined as voltage A) of the floating diffusion layer is output to the vertical signal line VSL. Thereafter, the transfer pulse provided via the pixel signal line 106 turns on (closes) the connection between the photoelectric conversion element and the floating diffusion layer so as to transfer the charge stored in the photoelectric conversion element to the floating diffusion layer. The voltage corresponding to the amount of charge in the floating diffusion layer (defined as voltage B) is output to the vertical signal line VSL.
[0160] The AD conversion unit 103 includes an AD converter 107 provided for each vertical signal line VSL, a reference signal generator 104, and a horizontal scanning unit 105. The AD converter 107 is a column AD converter that performs AD conversion processing on each column of the pixel array unit 101. The AD converter 107 performs AD conversion processing on a pixel signal provided from the pixel circuit 100 via the vertical signal line VSL, thereby generating two digital values (corresponding to the values of the voltages A and B) in a correlated double sampling (CDS) process for noise reduction.
[0161] The AD converter 107 supplies the two generated digital values to the signal processing unit 1101. The signal processing unit 1101 performs CDS processing based on the two digital values supplied from the AD converter 107, thereby generating a pixel signal (pixel data) formed of a digital signal. The pixel data generated by the signal processing unit 1101 is output to the outside of the sensor unit 10.
[0162] Based on the control signal input from the control unit 1100, the reference signal generator 104 generates a ramp signal as a reference signal, which is used by each AD converter 107 to convert the pixel signal into two digital values. The ramp signal is a signal whose level (voltage value) decreases at a constant slope relative to time, or a signal whose level decreases step by step. The reference signal generator 104 provides the generated ramp signal to each AD converter 107. The reference signal generator 104 is configured by using a digital-to-analog converter (DAC) or the like.
[0163] When a ramp signal whose voltage gradually decreases at a predetermined slope is provided from the reference signal generator 104, the counter starts counting according to the clock signal. The comparator compares the voltage of the pixel signal provided from the vertical signal line VSL with the voltage of the ramp signal, and stops the counting of the counter at the timing when the voltage of the ramp signal crosses the voltage of the pixel signal. When the counting stops, the AD converter 107 outputs a value corresponding to the count value, thereby converting the pixel signal as an analog signal into a digital value.
[0164] The AD converter 107 supplies the two generated digital values to the signal processing unit 1101. The signal processing unit 1101 performs CDS processing based on the two digital values supplied from the AD converter 107, thereby generating a pixel signal (pixel data) formed of a digital signal. The pixel signal, which is a digital signal generated by the signal processing unit 1101, is output to the outside of the sensor unit 10.
[0165] Under the control of the control unit 1100, the horizontal scanning unit 105 performs selective scanning in which each AD converter 107 is selected in a predetermined order so that each digital value temporarily stored in each AD converter 107 is sequentially output to the signal processing unit 1101. For example, the horizontal scanning unit 105 is implemented as a shift register or an address decoder.
[0166] Based on the imaging control signal supplied from the sensor controller 11, the control unit 1100 performs drive control of the vertical scanning unit 102, the AD conversion unit 103, the reference signal generator 104, the horizontal scanning unit 105, and the like. The control unit 1100 generates various drive signals as references for the operations of the vertical scanning unit 102, the AD conversion unit 103, the reference signal generator 104, and the horizontal scanning unit 105. For example, based on the vertical synchronization signal or the external trigger signal included in the imaging control signal and the horizontal synchronization signal, the control unit 1100 generates a control signal to be supplied to each pixel circuit 100 by the vertical scanning unit 102 via the pixel signal line 106. The control unit 1100 supplies the generated control signal to the vertical scanning unit 102.
[0167] In addition, the control unit 1100 transmits, for example, information indicating an analog gain included in the imaging control signal provided from the sensor controller 11 to the AD conversion unit 103. Based on the information indicating the analog gain, the AD conversion unit 103 controls the gain of the pixel signal input to each AD converter 107 included in the AD conversion unit 103 via the vertical signal line VSL.
[0168] Based on the control signal provided from the control unit 1100, the vertical scanning unit 102 provides various signals including the driving pulse in the pixel signal line 106 of the selected pixel row of the pixel array unit 101 to each pixel circuit 100 row by row, so as to allow the pixel signal to be output from each pixel circuit 100 to the vertical signal line VSL. For example, the vertical scanning unit 102 is implemented as a shift register or an address decoder. In addition, the vertical scanning unit 102 controls the exposure in each pixel circuit 100 based on the information indicating the exposure provided from the control unit 1100.
[0169] The sensor unit 10 configured in this manner is a column AD type complementary metal oxide semiconductor (CMOS) image sensor in which the AD converters 107 are arranged in columns.
[0170] [2. Examples of prior art applicable to the present disclosure]
[0171] Before describing each embodiment according to the present disclosure, the prior art applicable to the present disclosure will be summarized for easy understanding.
[0172] (2-1. Overview of Rolling Shutter)
[0173] Known imaging methods used when imaging is performed by the pixel array unit 101 include a rolling shutter (RS) method and a global shutter (GS) method. First, the rolling shutter method will be schematically described. Figure 5A , Figure 5B and Figure 5C is a schematic diagram showing a rolling shutter method. In the rolling shutter method, Figure 5A As shown, for example, imaging is performed sequentially in row units starting from row 201 at the upper end of frame 200 .
[0174] The above description describes "imaging" as a representation of an operation in which the sensor unit 10 outputs a pixel signal corresponding to light applied to the light receiving surface. More specifically, "imaging" is used to represent a series of operations from exposure of a pixel until a pixel signal is transmitted to the sensor controller 11 based on the charge stored by exposure to the photoelectric conversion element included in the pixel. In addition, as described above, a frame refers to a region of the pixel array unit 101 in which the pixel circuit 100 effective for generating a pixel signal is arranged.
[0175] For example, in Figure 4 In the configuration of , exposure is simultaneously performed on each pixel circuit 100 included in a row. After the exposure ends, a pixel signal based on the charge stored by the exposure is simultaneously transmitted in each pixel circuit 100 included in the row via each vertical signal line VSL corresponding to each pixel circuit 100. By sequentially performing this operation in units of rows, imaging can be achieved with a rolling shutter.
[0176] Figure 5B An example of the relationship between imaging and time in a rolling shutter method is schematically shown. Figure 5B In the rolling shutter method, since the exposure of each row is performed in sequence, the exposure timing of each row shifts with the position of the row, such as Figure 5B Therefore, for example, in the case where the horizontal position relationship between the imaging device 1 and the subject changes at a high speed, the captured image of the frame 200 is distorted, such as Figure 5C As shown. Figure 5C In the example of , the image 202 corresponding to the frame 200 is an image tilted at an angle corresponding to the speed and direction of the change in the horizontal positional relationship between the imaging device 1 and the subject.
[0177] In the rolling shutter method, the lines used for imaging can also be refined. Fig. 6A , Figure 6B and Figure 6C is a schematic diagram showing row thinning in the rolling shutter method. Fig. 6A As shown, similar to the above Figure 5A , imaging is performed in units of rows from the row 201 at the upper end of the frame 200 toward the lower end of the frame 200. At this time, imaging is performed while skipping rows by a predetermined number.
[0178] Here, for the sake of explanation, it is assumed that imaging is performed every other row by performing single-row thinning. That is, after imaging of the nth row, imaging of the (n+2)th row is performed. At this time, when thinning is not performed, the time from imaging of the nth row to imaging of the (n+2)th row is assumed to be equal to the time from imaging of the nth row to imaging of the (n+1)th row.
[0179] Figure 6B An example of the relationship between imaging and time when single-row thinning is performed in a rolling shutter method is schematically shown. Figure 6B In , the vertical axis represents row position and the horizontal axis represents time. Figure 6B Exposure A corresponds to no refinement. Figure 5B , while exposure B shows the exposure when single-row thinning is performed. As shown in exposure B, the execution of row thinning makes it possible to reduce the deviation of exposure timing at the same row position compared to the case where row thinning is not performed. Figure 6C As shown in the image 203, Figure 5C Compared with the case of line thinning shown, less distortion in the oblique direction appears in the image of the captured frame 200. On the other hand, the image resolution decreases when line thinning is performed compared with the case where line thinning is not performed.
[0180] The above description is an example of the rolling shutter method in which imaging is sequentially performed in the order of rows from the upper end to the lower end of the frame 200. However, the present invention has been described, but the present disclosure is not limited to this example. Fig. 7A and Figure 7B Schematically illustrates an example of other imaging methods in the rolling shutter method. Fig. 7A As shown, in the rolling shutter method, imaging can be performed sequentially in the order of rows from the lower end to the upper end of the frame 200. In this case, the distortion direction of the image 202 in the horizontal direction will be opposite to the direction in which the image is sequentially imaged in the order of rows from the upper end to the lower end of another frame 200.
[0181] In addition, for example, by setting the range of the vertical signal line VSL for transmitting pixel signals, a portion of the row can also be selectively read out. In addition, by separately setting the row for imaging and the vertical signal line VSL for transmitting pixel signals, the imaging start / end row can also be set to a position other than the upper end and the lower end of the frame 200. Figure 7B An example is schematically shown in which a region 205 having a rectangular shape and a width and a height smaller than the width and the height of the frame 200 is set as the imaging range. Figure 7B In the example of , imaging is performed sequentially in order from the row 204 at the upper end of the region 205 toward the row at the lower end of the region 205 .
[0182] (2-2. Overview of Global Shutter)
[0183] Next, a global shutter (GS) method will be schematically described as an imaging method when imaging is performed by using the pixel array unit 101 . Fig. 8A , Figure 8B and Figure 8C is a schematic diagram showing a global shutter method. Fig. 8A As shown, the global shutter method exposes all pixel circuits 100 included in the frame 200 simultaneously.
[0184] When Figure 4 When the global shutter method is implemented in a configuration of, as an example, a configuration using the pixel circuit 100 can be conceived, in which a capacitor is further provided between the photoelectric conversion element and the FD. In addition, the configuration further includes a first switch provided between the photoelectric conversion element and the capacitor and a second switch provided between the capacitor and the floating diffusion layer, respectively, and the opening and closing of each of the first switch and the second switch is controlled by a pulse provided via the pixel signal line 106.
[0185] In such a configuration, in all pixel circuits 100 included in the frame 200, the first switch and the second switch are set to be disconnected during the exposure period, and then, when the exposure is completed, the first switch is switched from the disconnected state to the closed state so as to transfer the charge from the photoelectric conversion element to the capacitor. Thereafter, in the case where the capacitor is regarded as a photoelectric conversion element, the charge will be read out from the capacitor in a sequence similar to the sequence used in the readout operation of the above-mentioned rolling shutter method. This makes it possible to perform simultaneous exposure in all pixel circuits 100 included in the frame 200.
[0186] Figure 8B An example of the relationship between imaging and time in a global shutter method is schematically shown. Figure 8B In FIG. 2 , the vertical axis represents the row position, and the horizontal axis represents the time. In the global shutter method, exposure is performed simultaneously in all pixel circuits 100 included in the frame 200. Figure 8B As shown in FIG. 1 , this makes it possible to obtain the same exposure timing for each row. Therefore, for example, even in the case where the horizontal position relationship between the imaging device 1 and the subject changes at a high speed, the image 206 captured in the frame 200 is not distorted by the change, as shown in FIG. Figure 8C shown.
[0187] The global shutter method makes it possible to ensure the simultaneity of exposure timing in the full pixel circuit 100 included in the frame 200. Therefore, by controlling the timing of each pulse provided by the pixel signal line 106 of each row and the timing transmitted by each vertical signal line VSL, sampling (readout of pixel signals) can be achieved in various modes.
[0188] Fig.9A and Fig. 9B is a diagram schematically illustrating an example of a sampling pattern that can be implemented in a global shutter method. Fig.9A is an example of extracting samples 208 of pixel signal readout in a checkered pattern from each pixel circuit 100 arranged in a matrix included in the frame 200. In addition, Fig. 9B is an example of extracting samples 208 of pixel signal readout in a grid pattern from each pixel circuit 100. Furthermore, also in the global shutter method, similarly to the above-described rolling shutter method, imaging can be sequentially performed in the order of rows.
[0189] (2-3. Deep Neural Network (DNN))
[0190] Next, the recognition processing using a deep neural network (DNN) applicable to each embodiment will be schematically described. In each embodiment, the recognition processing of image data is performed by using a convolutional neural network (CNN) and particularly a recurrent neural network (RNN) in the DNN. Hereinafter, "recognition processing of image data" will be appropriately referred to as "image recognition processing" or the like.
[0191] (2-3-1. Overview of CNN)
[0192] First, CNN will be schematically described. In image recognition processing using CNN, image recognition processing is performed based on image information provided by pixels arranged in a matrix. Fig.10 5 is a diagram schematically showing an image recognition process performed by a CNN. Pixel information 51 of an entire image 50 including a drawing of a number "8" as an object of recognition target is processed by a CNN 52 that has been trained in a predetermined manner. Through this process, the number "8" is recognized as a recognition result 53.
[0193] In contrast, it is also possible to apply the processing of the CNN based on the image of each row to obtain a recognition result from a part of the image that is a recognition target. Fig.11 Schematic diagram of an image recognition process for obtaining a recognition result from a part of an image as a recognition target. Fig.11 In the example, the image 50' is an image of a part of the number "8" as an object of recognition target obtained in units of lines. For example, each piece of pixel information 54a, 54b, and 54c of each line of pixel information 51' forming the image 50' is sequentially processed by a CNN 52' that has been trained in a predetermined manner.
[0194] For example, here is a hypothetical situation in which the recognition result 53a obtained by the recognition processing performed by the CNN 52' on the pixel information 54a of the first row is not a valid recognition result. Here, a valid recognition result refers to a recognition result in which the score indicating the reliability of the recognition result is a predetermined value or higher. The CNN 52' performs an internal state update 55 based on the recognition result 53a. Next, the pixel information 54b of the second row is subjected to the recognition processing performed by the CNN 52', which has performed an internal state update 55 based on the previous recognition result 53a. Fig.11 , as a result of the processing, a recognition result 53b indicating that the number as the recognition target is "8" or "9" has been obtained. In addition, based on this recognition result 53b, the internal information of the CNN 52' is updated 55. Next, the pixel information 54c of the third row is subjected to the recognition processing performed by the CNN 52', which has performed the internal state update 55 based on the previous recognition result 53b. Therefore, in Fig.11The number to be recognized is narrowed down to "8" among "8" or "9".
[0195] Here, Fig.11 The recognition process shown uses the result of the previous recognition process to update the internal state of the CNN. Next, the CNN whose internal state has been updated uses the pixel information of the row adjacent to the row on which the previous recognition process has been performed to perform the recognition process. That is, Fig.11 The recognition process shown is performed sequentially in row order for the image, updating the internal state of the CNN based on the previous recognition results. Therefore, Fig.11 The illustrated recognition processing is a processing that is repeatedly performed sequentially in the order of rows, and can be considered to have a structure equivalent to the processing of RNN.
[0196] (2-3-2. Overview of RNN)
[0197] Next, the RNN will be schematically described. Fig. 12A and Fig. 12B is a diagram schematically showing an example of an identification process (recognition process) performed by a DNN when time series information is not used. In this case, Fig. 12A As shown in FIG, an image is input to DNN. DNN performs recognition processing on the input image and outputs the recognition result.
[0198] Fig. 12B is used to provide Fig. 12A A more detailed diagram of the processing of Fig. 12B As shown, DNN performs feature extraction processing and recognition processing. DNN performs feature extraction processing on the input image, thereby extracting feature data of the image. In addition, DNN performs recognition processing on the extracted feature data and obtains a recognition result.
[0199] Fig.13A and Fig. 13B is a diagram schematically showing a first example of recognition processing performed by a DNN when time series information is used. Fig.13A and Fig. 13B In the example of , a fixed amount of past information in a time series is used to perform recognition processing with a DNN. Fig.13A In the example of , an image [T] at time T, an image [T-1] at time T-1 before time T, and an image [T-2] at time T-2 before time T-1 are input to the DNN. The DNN performs recognition processing on each of the input images [T], [T-1], and [T-2], thereby obtaining a recognition result [T] at time T.
[0200] Fig. 13B is used to provide Fig.13A A more detailed diagram of the processing of Fig. 13B As shown, DNN performs the above reference on each of the input images [T], [T-1] and [T-2]. Fig. 12B The feature extraction process described above is performed to extract feature data corresponding to images [T], [T-1], and [T-2], respectively. The DNN integrates the feature data obtained based on these images [T], [T-1], and [T-2], and further performs recognition processing on the integrated feature data to obtain a recognition result at time T.
[0201] Fig.13A and Fig. 13B The method will make it necessary to have multiple configurations for performing feature data extraction and to have a configuration for performing feature data extraction according to the number of available past images, resulting in an enlargement of the DNN configuration.
[0202] Fig.14A and Fig. 14B is a diagram schematically showing a second example of recognition processing performed by a DNN when time series information is used. Fig.14A In the example of , an image [T] at time T is input to a DNN whose internal state has been updated to the state at time T-1, thereby obtaining a recognition result [T] at time T.
[0203] Fig. 14B is used to provide Fig.14A A more detailed diagram of the processing of Fig. 14B As shown, DNN performs the above reference on the input image [T] at time T Fig. 12B The feature extraction process described above is performed to extract feature data corresponding to the image [T]. In the DNN, the internal state has been updated by the image before time T, and the feature data related to the updated internal state is retained. The features related to the retained internal information and the feature data on the image [T] are integrated, and the recognition process is performed on the integrated feature data.
[0204] Fig.14A and Fig. 14B The recognition process shown is performed using a DNN whose internal state has been updated using the immediately preceding recognition result, and is therefore a loop process. A DNN that performs loop processing in this way is called a recurrent neural network (RNN). Recognition processing performed by an RNN is often used for motion image recognition, etc., where, for example, the recognition accuracy can be improved by sequentially updating the internal state of the DNN with frame images updated in a time series.
[0205] In the present disclosure, RNN is applied to the rolling shutter method structure. That is, in the rolling shutter method, pixel signals are read out sequentially in the order of rows. The pixel signals read out sequentially in the order of rows are applied to the RNN as information about the time series. This makes it possible to perform recognition processing based on multiple rows with a smaller configuration compared to the case of using CNN (refer to Fig. 13B ). Not limited to this, RNN can also be applied to the structure of the global shutter method. In this case, for example, it is conceivable to regard adjacent rows as information in a time series.
[0206] (2-4. Driving speed)
[0207] Next, we will refer to Fig.15A and Fig. 15B Describe the relationship between frame drive speed and pixel signal readout amount. Fig.15A : is a diagram showing an example of reading out all the lines in the image. Here, it is assumed that the resolution of the image as the recognition processing target is 640 pixels horizontally × 480 pixels vertically (480 lines). In this case, when driven at a driving speed of 14400 [lines / second], it can be output at 30 [frames / second (fps)].
[0208] Next, here is a possible situation where imaging is performed while line thinning is performed. Fig. 15B As shown, it is assumed that imaging is performed by skipping every other line, that is, imaging is performed by reading out using 1 / 2 thinning. As a first example of 1 / 2 thinning, driving at a driving speed of 14400 [lines / second] as described above will halve the number of lines read out from the image. Although the resolution is reduced, output can be achieved at a rate of 60 [fps], which is twice the rate in the case without thinning, thereby improving the frame rate. The second example of 1 / 2 thinning is a case where driving is performed at a driving speed of 7200 [fps], which is half of the first example. In this case, although the frame rate will be 30 [fps], similar to the case without thinning, power saving is achieved.
[0209] When reading out image lines, depending on the purpose of the identification processing based on the pixel signals to be read out, it can be selected whether to perform no thinning, perform thinning to increase the drive speed, or perform thinning and keep the drive speed at the same speed as without thinning.
[0210] [3. Overview of the present disclosure]
[0211] Hereinafter, each embodiment of the present disclosure will be described in more detail. First, a process according to each embodiment of the present disclosure will be schematically described. Fig.16 Schematic diagram schematically illustrating the recognition process according to each embodiment of the present disclosure. Fig.16In step S1, the imaging device 1 according to each embodiment (reference Figure 1 ) starts imaging the target image as the recognition target.
[0212] Note that the target image is, for example, an image of a handwritten number "8". In addition, as a premise, the memory 13 pre-stores a learning model trained to be able to recognize numbers through predetermined training data as a program, and the recognition processing unit 12 reads out the program from the memory 13 and executes the program, thereby enabling the recognition of the numbers included in the image. In addition, the imaging device 1 will perform imaging by the rolling shutter method. Even when the imaging device 1 performs imaging by the global shutter method, the following processing can be applied similarly to the case of the rolling shutter method.
[0213] When imaging starts, the imaging device 1 sequentially reads out frames in units of lines from the upper end side to the lower end side of the frames in step S2 .
[0214] When the line is read out to a specific position, the recognition processing unit 12 recognizes the number "8" or "9" from the image of the read line (step S3). For example, the numbers "8" and "9" include features common to the upper half. Therefore, at the point where the line is read out in order from the top and the features are recognized, the recognized object can be recognized as the number "8" or the number "9".
[0215] Here, as shown in step S4a, by reading the row at or near the lower end of the frame, the entire picture of the recognized object appears, and the object recognized as the number "8" or "9" in step S2 is now determined to be the number "8".
[0216] In contrast, steps S4b and S4c are processes related to the present disclosure.
[0217] As shown in step S4b, when the row is further read from the row position read out in step S3, the identified object can be identified as the number "8" even before reaching the lower end of the number "8". For example, the lower half of the number "8" and the lower half of the number "9" have different features. By reading out the row of the portion that illustrates the difference in features, it can be identified whether the object identified in step S3 is the number "8" or "9". Fig.16 In the example of FIG. 4 , in step S4b , the object is determined to be the number “8”.
[0218] In addition, as shown in step S4c, it is also conceivable to further read out from the row position of step S3 in the state of step S3 so as to jump to a row position where the object recognized in step S3 seems to be able to be determined as the number "8" or the number "9". By reading out the row reached by the jump, it can be determined whether the object recognized in step S3 is the number "8" or "9". The row position reached by the jump can be determined based on a learning model pre-trained according to predetermined training data.
[0219] Here, in the case where the object is recognized in the above-mentioned step S4b or step S4c, the imaging device 1 can end the recognition process. This makes it possible to shorten the recognition process and save power in the imaging device 1.
[0220] Note that the training data is data that maintains multiple combinations of input signals and output signals of each readout unit. As an example, in the task of recognizing the above-mentioned numbers, the data of each readout unit (row data, sub-sampling data, etc.) can be used as an input signal, and the data indicating the "correct number" can be used as an output signal. As another example, in the task of detecting an object, the data of each readout unit (row data, sub-sampling data, etc.) can be used as an input signal, and the object category (person / vehicle / non-object), the coordinates of the object (x, y, h, w), etc. can be used as output signals. In addition, the output signal can be generated only from the input signal by using self-supervised learning.
[0221] [4. First embodiment]
[0222] Next, a first embodiment of the present disclosure will be described.
[0223] (4-1. Operation Example in Recognition Processing Unit)
[0224] In the imaging device 1 according to the first embodiment, as described above, the recognition processing unit 12 reads out and executes a program stored in the memory 13 as a learning model trained in advance based on predetermined training data, thereby functioning as a recognizer using a DNN.
[0225] Fig.17 is a flowchart showing an example of the recognition process performed by the recognition processing unit 12 according to the first embodiment. Fig.17 In step S121, the DSP constituting the recognition processing unit 12 in the imaging device 1 reads out the learning model from the memory 13 and executes the learning model. Through this process, the DSP functions as the recognition processing unit 12.
[0226] Next, in step S122, the recognition processing unit 12 in the imaging device 1 instructs the sensor controller 11 to start reading out frames from the sensor unit 10. In this frame reading, for example, one frame of image data is sequentially read out in line units (also referred to as row units). The recognition processing unit 12 determines whether a predetermined number of lines of image data in one frame have been read out.
[0227] When the recognition processing unit 12 determines that a predetermined number of lines of image data in one frame have been read out (step S123, "Yes"), the recognition processing unit 12 proceeds to the processing of step S124. In step S124, the recognition processing unit 12 performs recognition processing as a machine learning processing using CNN on the predetermined number of lines of read image data. That is, the recognition processing unit 12 performs machine learning processing on the predetermined number of lines of image data as a unit area using a learning model. The machine learning processing using CNN includes performing various recognition or detection processing, such as face detection, face authentication, line of sight detection, facial expression recognition, facial direction detection, object detection, object recognition, motion (moving body) detection, pet detection, scene recognition, state detection, avoidance target object recognition, and other processing.
[0228] Here, face detection is a process of detecting the face of a person included in the image data. Face authentication is one of biometric authentication, and is a process of authenticating whether the face of a person included in the image data matches the face of a person registered in advance. Line of sight detection is a process of detecting the line of sight direction of a person included in the image data. Facial expression recognition is a process of identifying the facial expression of a person included in the image data. Facial direction detection is a process of detecting the up / down direction of the face of a person included in the image data. Object detection is a process of detecting an object included in the image data. Object recognition is a process of identifying what the object included in the image data is. Motion (moving body) detection is a process of detecting a moving body included in the image data. Pet detection is a process of detecting a pet such as a dog or a cat included in the image data. Scene recognition is a process of identifying a scene (sea, mountain, etc.) being photographed. State detection is a process of detecting the state (normal state, abnormal state, etc.) of a person or the like included in the image data. Avoidance target object recognition is a process of identifying an object existing in front of the traveling direction as an avoidance target when a person moves. The machine learning process performed by the recognition processing unit 12 is not limited to these examples.
[0229] In step S125, the recognition processing unit 12 determines whether the machine learning process using CNN in step S124 is successful. When the recognition processing unit 12 determines that the machine learning process using CNN is successful (step S125, "Yes"), the recognition processing unit 12 proceeds to the process of step S129. In contrast, when the recognition processing unit 12 determines that the machine learning process using CNN in step S124 fails (step S125, "No"), the recognition processing unit 12 proceeds to the process of step S126. In step S126, the recognition processing unit 12 waits for the next predetermined number of lines of image data to be read out from the sensor controller 11 (step S126, "No").
[0230] In the present description, the success of the machine learning process means that a certain detection result, recognition result, or authentication has been obtained, for example, in the face detection, face authentication, etc. as described above. In contrast, the failure of the machine learning process means that sufficient detection results, recognition results, and authentication have not been obtained, for example, in the face detection, face authentication, etc. as described above.
[0231] Next, in step S126, when the image data of the next predetermined number of lines (unit area) is read out (step S126, "Yes"), the recognition processing unit 12 performs the machine learning processing using the RNN on the image data of the predetermined number of lines that have been read out in step S127. For the image data of the same frame, the machine learning processing using the RNN also utilizes the result of the machine learning processing using the CNN or RNN that has been performed so far.
[0232] In the case where it has been determined in step S128 that the machine learning process using the RNN in step S127 has been successful (step S128, "Yes"), the recognition processing unit 12 proceeds to the process of step S129.
[0233] In step S129, the recognition processing unit 12 provides the machine learning result successfully obtained in, for example, step S124 or step S127 from the recognition processing unit 12 to the output controller 15. For example, the machine learning result output in step S129 is a valid recognition result obtained by the recognition processing unit 12. The recognition processing unit 12 may store the machine learning result in the memory 13.
[0234] Furthermore, when the recognition processing unit 12 determines in step S128 that the machine learning processing using the RNN in step S127 has failed (step S128, "No"), the recognition processing unit 12 proceeds to the processing of step S130. In step S130, the recognition processing unit 12 determines whether the readout of the image data of one frame is completed. When it has been determined that the readout of the image data of one frame has not been completed (step S130, "No"), the recognition processing unit 12 returns the processing to step S126, in which the processing of the image data of the next predetermined number of lines will be performed.
[0235] In contrast, when the recognition processing unit 12 determines in step S130 that the reading of the image data of one frame is completed (step S130, "Yes"), the recognition processing unit 12 determines in step S131 whether to end the reading of the image data of one frame. Fig.17 When the recognition processing unit 12 determines not to end the processing (step S131, "No"), the recognition processing unit 12 returns the processing to step S122 and performs a similar operation on the next frame. When the recognition processing unit 12 determines to end the processing (step S131, "Yes"), the recognition processing unit 12 ends. Fig.17 A series of processing of the flowchart.
[0236] Whether to proceed to the next frame in step S131 may be determined based on whether an end instruction has been input from outside the imaging device 1 or based on whether a series of processes for image data of a predetermined number of frames has been completed.
[0237] In addition, there is a situation that can be assumed in which machine learning processes such as face detection, face authentication, line of sight detection, facial expression recognition, face direction detection, object detection, object recognition, motion (moving body) detection, scene recognition, or state detection are performed successively. In this case, if the previous machine learning process fails, the latter machine learning process can be skipped. For example, when face authentication is to be performed after face detection, if face detection has failed, the latter face authentication process can be skipped.
[0238] (4-2. Specific Example of Operation in Identification Processing Unit)
[0239] Next, reference will be made to a specific example. Fig.17 The operation of the machine learning unit described above. Hereinafter, the case where face detection is performed using DNN will be described.
[0240] Fig.18 is a diagram showing an example of image data of one frame. Fig.19 is a diagram showing the flow of a machine learning process performed by the recognition processing unit 12 according to the first embodiment.
[0241] When machine learning is used to Fig.18 When performing face detection on the image data shown, Fig.19 As shown in part (a) of FIG. 1 , the recognition processing unit 12 first receives an input of a predetermined number of lines of image data (corresponding to Fig.17 By performing machine learning processing using CNN on the image data of a predetermined number of lines that have been input, the recognition processing unit 12 performs face detection (corresponding to Fig.17 However, due to the Fig.19 The image data of the entire face has not been input at the stage of part (a), so the recognition processing unit 12 fails in face detection (corresponding to Fig.17 ”No” in step S125).
[0242] Then, if Fig.19 As shown in part (b) of FIG. 1 , the image data of the next predetermined number of lines is input to the recognition processing unit 12 (corresponding to Fig.17 Step S126). When using Fig.19 When the result of the machine learning process using CNN is obtained for the image data of the predetermined number of lines input in part (a), the recognition processing unit 12 performs the machine learning process using RNN on the image data of the predetermined number of lines newly input, thereby performing face detection (corresponding to Fig.17 .
[0243] exist Fig.19 In the stage of part (b), the image data of the entire face is Fig.19 The pixel data of the predetermined number of lines input at the stage of part (a) are input together. Fig.19 At the stage of part (b), the recognition processing unit 12 successfully performs face detection (corresponding to Fig.17 This causes the operation to output the result of face detection without reading out the next and subsequent image data ( Fig.19 The image data in parts (c) to (f) of Fig.17 .
[0244] In this way, by performing machine learning processing using DNN on a predetermined number of lines of image data, it is possible to omit reading out image data and performing machine learning processing after the point at which face detection succeeds. This makes it possible to complete processing such as detection, recognition, and authentication in a short time, thereby reducing processing time and power consumption.
[0245] The predetermined number of rows is the number of rows determined by the size of the filter required by the algorithm of the learning model, and the minimum number is one row.
[0246] In addition, the image data read out from the sensor unit 10 by the sensor controller 11 may be image data refined in at least one of the column direction and the row direction. In this case, for example, when image data is read out every other row in the column direction, image data on the 2nd (N-1)th row (N is an integer of 1 or more) is read out.
[0247] In addition, in the case where the filter required for the learning model algorithm is not formed in units of rows but is formed as a rectangular area in units of pixels such as 1×1 pixels or 5×5 pixels, image data in a rectangular area corresponding to the shape and size of the filter instead of image data of a predetermined number of rows can be input to the recognition processing unit 12 as image data of a unit area on which the recognition processing unit 12 performs machine learning processing.
[0248] Furthermore, although CNN and RNN are described above as examples of DNN, the present disclosure is not limited to these, and other learning models may be used.
[0249] (4-3. Application Examples of First Embodiment)
[0250] Next, an application example of the first embodiment will be described. Here, as an application example of the first embodiment, the following is an example based on Fig.17 An example of controlling exposure of a predetermined number of lines to be read out next based on the result of the machine learning process performed by the CNN in step S124 of the flowchart and the result of the machine learning process performed by the RNN in step S127. Fig. 20A and Fig. 20B : is a schematic diagram showing an application example of the first embodiment.
[0251] Fig. 20A Part (a) of FIG. 6 is a schematic diagram showing an example of an overexposed image 60a. Overexposure of the image 60a causes the image 60a to look whitish as a whole. For example, the monitor 62 as an object included in the image 60a has a phenomenon called blown-out highlight in the screen, making it difficult for the human eye to distinguish details. On the other hand, the person 61 as another object included in the image 60a is slightly whitish due to overexposure, but it seems easy for the human eye to recognize it compared to the monitor 62.
[0252] Fig. 20A Part (b) is a schematic diagram showing an example of an underexposed image 60b. The underexposure of image 60b causes image 60b to appear dark as a whole. For example, the person 61 visible in image 60a is now difficult to be recognized by the human eye. On the other hand, the monitor 62 included in image 60b can be recognized in detail by the human eye compared to image 60a.
[0253] Fig. 20B is a schematic diagram illustrating a readout method according to an application example of the first embodiment. Fig. 20B Parts (a) and (b) show the Fig.17 The case where frame readout is started in an underexposed state in step S122 of the flowchart of FIG.
[0254] Fig. 20B Part (a) shows a readout method according to a first example among application examples of the first embodiment. Fig. 20B Image 60c of part (a) indicates that, for example, recognition processing using CNN regarding row L#1 at the top of the frame in step S124 has failed, or the score indicating the reliability of the recognition result is a predetermined value or less. In this case, the recognition processing unit 12 instructs the sensor controller 11 to set the exposure of row L#2 read out in step S126 to an exposure suitable for recognition processing (in this case, to a larger exposure amount). Fig. 20B In the example, rows L#1, L#2, etc. may be a single row, or may be multiple rows adjacent to each other.
[0255] exist Fig. 20B In the example in part (a) of , the exposure of row L#2 is greater than the exposure of row L#1. In this case, it is assumed that the result is overexposure of row L#2, and the recognition processing using the RNN in step S127 has failed, or the score is a predetermined value or less. The recognition processing unit 12 instructs the sensor controller 11 to set the exposure of row L#3 to be read out after the processing returns from step S130 to step S126 to be smaller than the exposure of row L#2. Similarly, the exposure of the next row will also be set in sequence for row #4, ..., L#m, ... according to the result of the recognition processing.
[0256] In this way, by adjusting the exposure amount of a row to be read out next based on the recognition result of a specific row, the recognition process can be performed with higher accuracy.
[0257] In addition, as a further application of the above application examples, Fig. 20B As shown in part (b) of , there is a conceivable method for resetting the exposure at a point where readout is completed to a predetermined row, and then performing readout again from the first row of the frame. Fig. 20B As shown in part (b) of the present invention, the recognition processing unit 12 reads out, for example, line L#1 at the top of the frame to line L#m (first) similarly to the above-mentioned part (a), and resets the exposure based on the recognition result. The recognition processing unit 12 reads out the individual lines L#1, L#2, etc. (second) of the frame again based on the reset exposure.
[0258] In this way, the exposure is reset based on the readout results of a predetermined number of lines, and the lines L#1, L#2, . . . are read out again from the top of the frame based on the reset exposure, so that the recognition process can be performed with higher accuracy.
[0259] [5. Second embodiment]
[0260] (5-0-1. Configuration Example According to Second Embodiment)
[0261] Next, a second embodiment of the present disclosure will be described. The second embodiment is an extension of the recognition process according to the above-described first embodiment. Fig.21 : is a functional block diagram showing an example of the functions of the imaging device according to the second embodiment. Note that Fig.21 Omitted Figure 1 The optical unit 30, the sensor unit 10, the memory 13 and the display unit 31 are shown. Fig.21 With added to Figure 1 The trigger generator 16 in the configuration.
[0262] exist Fig.21 , the sensor controller 11 includes a readout unit 110 and a readout controller 111. The recognition processing unit 12 includes a feature data calculation unit 120, a feature data storage controller 121, a readout determiner 123, and a recognition processing execution unit 124. The feature data storage controller 121 includes a feature data storage unit 122. In addition, the visual recognition processing unit 14 includes an image data storage controller 140, a readout determiner 142, and an image processing unit 143. The image data storage controller 140 includes an image data storage unit 141.
[0263] In the sensor controller 11, the readout controller 111 receives readout area information representing a readout area for readout performed by the recognition processing unit 12 from the readout determiner 123 included in the recognition processing unit 12. The readout area information represents the row number of one or more rows. Without being limited to this, the readout area information may be information indicating the pixel position in a row. In addition, by providing readout area information obtained by combining one or more row numbers and information indicating the pixel position of one or more pixels in the row, various modes of readout areas may be specified. The readout area is equivalent to a readout unit. Without being limited to this, the readout area and the readout unit may be different.
[0264] Similarly, the readout controller 111 receives readout area information indicating a readout area used for readout performed by the visual recognition processing unit 14 from the readout determiner 142 included in the visual recognition processing unit 14 .
[0265] Based on these readout determiners 123 and 142, the readout controller 111 delivers readout area information indicating a readout area for actual readout to the readout unit 110. For example, in the event of a conflict between the readout area information received from the readout determiner 123 and the readout area information received from the readout determiner 142, the readout controller 111 may perform mediation and adjustment on the readout area information to be delivered to the readout unit 110.
[0266] Furthermore, the readout controller 111 may receive information indicating the exposure and the analog gain from the readout determiner 123 or the readout determiner 142. The readout controller 111 transfers the received information indicating the exposure and the analog gain to the readout unit 110.
[0267] The readout unit 110 reads out pixel data from the sensor unit 10 according to the readout area information delivered from the readout controller 111. For example, the readout unit 110 obtains the row number indicating the row to be read out and the pixel position information indicating the position of the pixel in the row to be read out based on the readout area information, and delivers the obtained row number and pixel position information to the sensor unit 10. The readout unit 110 delivers the individual pixel data acquired from the sensor unit 10 to the recognition processing unit 12 and the visual recognition processing unit 14 together with the readout area information.
[0268] Furthermore, the readout unit 110 sets exposure and analog gain of the sensor unit 10 according to information indicating exposure and analog gain received from the readout controller 111. Furthermore, the readout unit 110 may generate a vertical synchronization signal and a horizontal synchronization signal and provide the generated signals to the sensor unit 10.
[0269] In the recognition processing unit 12, the readout determiner 123 receives readout information indicating a readout area to be read out next from the feature data storage controller 121. The readout determiner 123 generates readout area information based on the received readout information and passes the generated information to the readout controller 111.
[0270] Here, the readout determiner 123 may use information that, for example, the readout position information for reading out the pixel data of the readout unit has been added to the predetermined readout unit as the readout area indicated in the readout area information. The readout unit is a collection of one or more pixels and corresponds to a processing unit performed by the recognition processing unit 12 and the visual recognition processing unit 14. As an example, when the readout unit is a row, the row number [L#x] indicating the row position is added as the readout position information. In addition, when the readout unit is a rectangular area including a plurality of pixels, information indicating the position of the rectangular area in the pixel array unit 101 (for example, information indicating the position of the pixel in the upper left corner) is added as the readout position information. The readout determiner 123 pre-specifies the readout unit to be applied. Without being limited to this, the readout determiner 123 may also determine the readout unit, for example, in response to an instruction from outside the readout determiner 123. Therefore, the readout determiner 123 serves as a readout unit controller that controls the readout unit.
[0271] Note that the readout determiner 123 may also determine the readout region to be read out next based on identification information passed from the identification processing execution unit 124 to be described below, and may generate readout region information indicating the determined readout region.
[0272] Similarly, in the visual recognition processing unit 14, the readout determiner 142 receives readout information indicating a readout area to be read out next, for example, from the image data storage controller 140. The readout determiner 142 generates readout area information based on the received readout information and passes the generated information to the readout controller 111.
[0273] In the recognition processing unit 12, the feature data calculation unit 120 calculates feature data in the area indicated by the readout area information based on the pixel data and the readout area information passed from the readout unit 110. The feature data calculation unit 120 passes the calculated feature data to the feature data storage controller 121.
[0274] As described below, the feature data calculation unit 120 may calculate feature data based on the pixel data transferred from the readout unit 110 and the past feature data transferred from the feature data storage controller 121. Without being limited thereto, the feature data calculation unit 120 may, for example, acquire information for setting exposure and analog gain from the readout unit 110, and may further calculate feature data using the acquired information.
[0275] In the recognition processing unit 12, the feature data storage controller 121 stores the feature data delivered from the feature data calculation unit 120 in the feature data storage unit 122. In addition, when the feature is delivered from the feature data calculation unit 120, the feature data storage controller 121 generates readout information indicating a readout area for next readout, and delivers the generated information to the readout determiner 123.
[0276] Here, the feature data storage controller 121 can integrate and store the feature data that has been stored and the newly transmitted feature data. In addition, the feature data storage controller 121 can delete unnecessary feature data from the feature data stored in the feature data storage unit 122. Examples of unnecessary feature data can be feature data related to the previous frame, or feature data calculated based on a frame image of a scene different from the frame image for which the new feature data has been calculated and stored. In addition, the feature data storage controller 121 can also delete and initialize all feature data stored in the feature data storage unit 122 as needed.
[0277] Furthermore, the feature data storage controller 121 generates feature data used for recognition processing by the recognition processing execution unit 124 based on the feature data delivered from the feature data calculation unit 120 and the feature data stored in the feature data storage unit 122. The feature data storage controller 121 delivers the generated feature data to the recognition processing execution unit 124.
[0278] The recognition processing execution unit 124 performs recognition processing based on the feature data transferred from the feature data storage controller 121. The recognition processing execution unit 124 performs object detection, face detection, etc. through the recognition processing. The recognition processing execution unit 124 transfers the recognition result obtained through the recognition processing to the output controller 15. The recognition processing execution unit 124 may also transfer recognition information including the recognition result generated by the recognition processing to the readout determiner 123. The recognition processing execution unit 124 may receive the feature data from the feature data storage controller 121, and perform the recognition processing according to the execution of the trigger generated by the trigger generator 16, for example.
[0279] Meanwhile, in the visual recognition processing unit 14, the image data storage controller 140 receives the pixel data read out from the readout area and the readout area information corresponding to the image data from the readout unit 110. The image data storage controller 140 stores the pixel data and the readout area information in the image data storage unit 141 in association with each other.
[0280] The image data storage controller 140 generates image data used by the image processing unit 143 to perform image processing based on the pixel data transferred from the readout unit 110 and the image data stored in the image data storage unit 141. The image data storage controller 140 transfers the generated image data to the image processing unit 143. Without being limited thereto, the image data storage controller 140 may also transfer the pixel data transferred from the readout unit 110 to the image processing unit 143 as it is.
[0281] Furthermore, the image data storage controller 140 generates readout information indicating the readout area for the next readout based on the readout area information delivered from the readout unit 110 , and delivers the generated readout information to the readout determiner 142 .
[0282] Here, for example, the image data storage controller 140 can use additive averaging to perform integrated storage of the already stored image data and the newly transferred pixel data. In addition, the image data storage controller 140 can delete unnecessary image data from the image data stored in the image data storage unit 141. An example of unnecessary image data can be image data related to the previous frame, or image data calculated based on a frame image of a scene different from the frame image for which the new image data is calculated and stored. In addition, the image data storage controller 140 can also delete and initialize all image data stored in the image data storage unit 141 as needed.
[0283] Furthermore, the image data storage controller 140 may acquire information for setting exposure and analog gain from the readout unit 110 , and may store image data corrected using the acquired information in the image data storage unit 141 .
[0284] The image processing unit 143 performs predetermined image processing on the image data transferred from the image data storage controller 140. For example, the image processing unit 143 may perform predetermined image quality enhancement processing on the image data. In addition, in the case where the transferred image data is image data in which data is spatially reduced by line thinning or the like, interpolation processing may be used to fill image information into the thinned portion. The image processing unit 143 transfers the image data that has been subjected to the image processing to the output controller 15.
[0285] The image processing unit 143 may receive image data from the image data storage controller 140 , and perform image processing according to execution of a trigger generated by the trigger generator 16 , for example.
[0286] The output controller 15 outputs one or both of the recognition result delivered from the recognition processing execution unit 124 and the image data delivered from the image processing unit 143. The output controller 15 outputs one or both of the recognition result and the image data according to a trigger generated by the trigger generator 16, for example.
[0287] Based on the information related to the recognition processing delivered from the recognition processing unit 12 and the information related to the image processing delivered from the visual recognition processing unit 14, the trigger generator 16 generates triggers including a trigger to be delivered to the recognition processing execution unit 124, a trigger to be delivered to the image processing unit 143, and a trigger to be delivered to the output controller 15. The trigger generator 16 delivers each of the generated triggers to the recognition processing execution unit 124, the image processing unit 143, and the output controller 15, respectively, at predetermined timings.
[0288] (5-0-2. Example of Processing in Recognition Processing Unit According to Second Embodiment)
[0289] Fig. 22 1 is a schematic diagram showing an example of processing in the recognition processing unit 12 according to the second embodiment in more detail. Here, it is assumed that the readout area is a line, and the readout unit 110 reads out pixel data in units of lines from the upper end to the lower end of the frame of the image 60. The line image data (line data) of the line L#x read out in units of lines by the readout unit 110 will be input to the feature data calculation unit 120.
[0290] The feature data calculation unit 120 performs a feature data extraction process 1200 and an integration process 1202. The feature data calculation unit 120 performs the feature data extraction process 1200 on the input row data to extract feature data 1201 from the row data. Here, the feature data extraction process 1200 extracts feature data 1201 from the row data based on parameters obtained by pre-learning. Using the integration process 1202, the feature data 1201 extracted by the feature data extraction process 1200 is integrated with feature data 1212 processed by the feature data storage controller 121. The integrated feature data 1210 is transferred to the feature data storage controller 121.
[0291] The feature data storage controller 121 performs an internal state update process 1211. The feature data 1210 delivered to the feature data storage controller 121 is delivered to the recognition process execution unit 124 and undergoes the internal state update process 1211. The internal state update process 1211 reduces the feature data 1210 based on the pre-learned parameters so as to update the internal state of the DNN, and then generates feature data 1212 corresponding to the updated internal state. The feature data 1212 is integrated with the feature data 1201 through the integration process 1202. The process performed by the feature data storage controller 121 corresponds to the process using the RNN.
[0292] The recognition processing execution unit 124 performs recognition processing 1240 on the feature data 1210 transferred from the feature data storage controller 121 based on parameters learned in advance using predetermined training data, for example, and outputs a recognition result.
[0293] As described above, based on the parameters learned in advance, the recognition processing unit 12 according to the second embodiment performs processing, specifically, feature data extraction processing 1200, integration processing 1202, internal state update processing 1211, and recognition processing 1240. Parameter learning is performed using training data based on an assumed recognition target.
[0294] Note that, for example, when the program stored in the memory 13 or the like is read and executed by the DSP included in the imaging device 1, the functions of the above-described feature data calculation unit 120, feature data storage controller 121, readout determiner 123, and recognition processing execution unit 124 are realized. Similarly, for example, when the program stored in the memory 13 or the like is read and executed by the DSP included in the imaging device 1, the functions of the above-described image data storage controller 140, readout determiner 142, and image processing unit 143 are realized. These programs may be stored in the memory 13 in advance, or may be provided to the imaging device 1 from the outside and written to the memory 13.
[0295] (5-0-3. Details of Identification Processing According to Second Embodiment)
[0296] Next, the second embodiment will be described in more detail. Fig.23 1 is a functional block diagram showing an example of functions according to the second embodiment. Since the second embodiment mainly describes the recognition processing performed by the recognition processing unit 12, Fig.23 Omitted in Fig.21 The configuration shown in FIG. 1 is a diagram of a visual recognition processing unit 14, an output controller 15, and a trigger generator 16. In addition, Fig.23 Illustration of the readout controller 111 is omitted from the sensor controller 11 .
[0297] Fig.24is a schematic diagram showing a frame readout process according to the second embodiment. In the second embodiment, the readout unit is a row, and for the frame Fr(x), the readout of pixel data is sequentially performed in the order of rows. Fig.24 In the example of , in the m-th frame Fr(m), readout of rows is sequentially performed in the order of rows starting from row L#1 at the upper end of the frame Fr(m) to continue to rows L#2, L#3, etc. When readout of rows in the frame Fr(m) is completed, in the next frame Fr(m+1) which is the (m+1)-th frame, readout of rows is sequentially performed in the order of rows starting from row L#1 at the upper end in a similar manner.
[0298] Fig.25 Schematic diagram schematically showing the recognition process according to the second embodiment. Fig.25 As shown, recognition processing is performed by sequentially performing the processing performed by CNN 52' and internal information update 55 on each pixel information 54 of each line L#1, L#2, L#3, etc. Therefore, it is sufficient to input the pixel information 54 of one line into CNN 52', so that the recognizer 56 can be formed on an extremely small scale. Note that the recognizer 56 has a configuration as an RNN because it performs the processing of CNN 52' on the information sequentially input and performs internal information update 55.
[0299] By using RNN to sequentially perform recognition processing in the order of rows, it is possible to obtain an effective recognition result without performing readout of all rows included in the frame. In this case, the recognition processing unit 12 can end the recognition processing at the point where an effective recognition result is obtained. Fig.26 and Fig. 27 An example in which the recognition processing is ended in the middle of frame readout is described.
[0300] Fig.26 is a diagram showing an exemplary case where the recognition target is the number "8". Fig.26 In the example of FIG. 1 , the number “8” is recognized at a point where a range 71 of about ¾ of the frame 70 in the vertical direction has been read out. Therefore, the recognition processing unit 12 can output a valid recognition result indicating that the number “8” is recognized at a point where the range 71 has been read out, and the row readout processing and the recognition processing of the frame 70 can be ended.
[0301] Fig. 27 is a diagram showing an example when the recognition target is a person. Fig. 27 In the example of , person 74 is recognized at a point in range 73 of about 1 / 2 of frame 72 in the vertical direction having been read out. Therefore, the recognition processing unit 12 can output a valid recognition result indicating that person 74 is recognized at a point in range 73 having been read out, and the row readout processing and recognition processing of frame 72 can be ended.
[0302] In this way, in the second embodiment, when a valid recognition result is obtained in the middle of the line readout of the frame, the line readout and recognition processing can be ended. This makes it possible to save power in the recognition processing and shorten the time required for the recognition processing.
[0303] Although the above is an example of performing row readout from the upper end side to the lower end side of the frame, the readout direction is not limited to this example. For example, row readout may be performed from the lower end side to the upper end side of the frame. That is, by performing row readout from the upper end side to the lower end side of the frame, an object existing far from the imaging device 1 can generally be identified earlier. In contrast, by performing row readout from the lower end side to the upper end side of the frame, an object existing on the front side relative to the imaging device 1 can generally be identified earlier.
[0304] For example, there is a conceivable situation in which the imaging device 1 is installed for in-vehicle application in order to image a front view. In this case, an object in front (for example, a vehicle or pedestrian in front of the present vehicle) exists in the lower part of the screen to be imaged. Therefore, it will be more efficient to perform row readout from the lower end side to the upper end side of the frame. In addition, when an advanced driver assistance system (ADAS) needs to stop immediately, only at least one corresponding object needs to be identified. In addition, in the case where an object has been identified, it is considered to be more efficient to perform row readout again from the lower end side of the frame. In addition, for example, on a highway, there is a situation in which a distant object will be given priority. In this case, it is preferred to perform row readout from the upper end side to the lower end side of the frame.
[0305] In addition, the readout unit can be set to the column direction in the matrix (row-column) direction in the pixel array unit 101. For example, it is conceivable to use a plurality of pixels arranged in columns in the pixel array unit 101 as readout units. The application of the global shutter method as an imaging method makes it possible to perform column-based readout using columns as readout units. In the global shutter method, readout can be performed by switching between column-based readout and row-based readout. For example, when the readout is fixed to the column-based readout, it is conceivable to rotate the pixel array unit 101 by 90° and use the rolling shutter method.
[0306] For example, by sequentially reading out from the left end side of the frame based on column readout, an object existing on the left side of the imaging device 1 can be recognized earlier. Similarly, by sequentially reading out from the right end side of the frame based on column readout, an object existing on the right side relative to the imaging device 1 can be recognized earlier.
[0307] In a use example of using the imaging device 1 for an in-vehicle application, for example, when the vehicle is turning, in some cases, an object existing on the turning side will be given priority. In this case, it is preferred to perform readout from the end of the turning side by column-based readout. For example, the turning direction can be acquired based on the steering information of the vehicle. Without being limited to this, for example, a sensor capable of detecting angular velocities in three directions can be provided for the imaging device 1, and the turning direction can be acquired based on the detection result of the sensor.
[0308] Fig.28 is a flowchart showing an example of the recognition process according to the second embodiment. Fig.28 The processing of the flowchart corresponds to the processing of reading out pixel data from a readout unit (e.g., a row) of a frame. Here, it is assumed that the readout unit is a row. For example, the readout area information can be represented by a row number indicating the row to be read out.
[0309] In step S100, the recognition processing unit 12 reads out row data from the row indicated by the readout row of the frame. More specifically, in the recognition processing unit 12, the readout determiner 123 passes the row number about the row to be read out next to the sensor controller 11. In the sensor controller 11, the readout unit 110 reads out the pixel data of the row indicated by the row number from the sensor unit 10 as row data according to the passed row number. The readout unit 110 passes the row data read out from the sensor unit 10 to the feature data calculation unit 120. In addition, the readout unit 110 passes the readout area information (e.g., the row number) indicating the area for pixel data readout to the feature data calculation unit 120.
[0310] In the next step S101, the feature data calculation unit 120 calculates feature data based on the row data according to the pixel data transferred from the readout unit 110, and calculates the feature data of the row. In the next step S102, the feature data calculation unit 120 acquires the feature data stored in the feature data storage unit 122 from the feature data storage controller 121. In the next step S103, the feature data calculation unit 120 integrates the feature data calculated in step S101 and the feature data acquired from the feature data storage controller 121 in step S102. The integrated feature data is transferred to the feature data storage controller 121. The feature data storage controller 121 stores the integrated feature data transferred from the feature data calculation unit 120 in the feature data storage unit 122 (step S104).
[0311] Note that a series of processing starting from step S100 is processing for the first line of the frame, and therefore, for example, when the feature data storage unit 122 is initialized, the processing in steps S102 and S103 can be omitted. At this time, the processing according to step S104 is a processing for accumulating the line feature data calculated based on the first line in the feature data storage unit 122.
[0312] In addition, the feature data storage controller 121 also transfers the integrated feature data transferred from the feature data calculation unit 120 to the recognition processing execution unit 124. In step S105, the recognition processing execution unit 124 performs recognition processing using the integrated feature data transferred from the feature data storage controller 121. In the next step S106, the recognition processing execution unit 124 outputs the recognition result of the recognition processing of step S105.
[0313] In step S107, the readout determiner 123 in the recognition processing unit 12 determines the readout row for performing the next readout according to the readout information transmitted from the feature data storage controller 121. For example, the feature data storage controller 121 receives the readout area information and the feature data from the feature data calculation unit 120. Based on the readout area information, the feature data storage controller 121 determines the readout row to be read out next according to, for example, a predetermined readout pattern (in this example, in the order of rows). For the determined readout row, the processing starting from step S100 is performed again.
[0314] (5-0-4. Example of Control of Reading and Recognition Processing According to Second Embodiment)
[0315] Next, an example of controlling readout and recognition processing according to the second embodiment will be described. Fig.29A and Fig.29B is a timing chart showing an example of controlling readout and recognition processing according to the second embodiment. Fig.29A and Fig.29B The example of is an example of providing a blank time blk during which no imaging operation is performed within one imaging cycle (one frame cycle). Fig.29A and Fig.29B Time is shown passing to the right.
[0316] Fig.29A An example is shown in which 1 / 2 of the imaging period is continuously allocated to the blank time blk. Fig.29A In , the imaging period corresponds to a frame period of, for example, 1 / 30 [second]. Reading out frames from the sensor unit 10 is performed in this frame period. The imaging time is the length of time required to image all the rows included in the frame. Fig.29AIn the example of , it is assumed that a frame includes n lines, and imaging of n lines from line L#1 to line L#n is completed within 1 / 60 [second] (which is 1 / 2 of the frame period of 1 / 30 [second]. The time length allocated to imaging of one line is 1 / (60×n) [second]. A period of 1 / 30 [second] from the timing of imaging the last line L#n in the frame to the timing of imaging the first line L#1 of the next frame is defined as a blank time blk.
[0317] For example, at the timing when imaging of row L#1 is completed, imaging of the next row L#2 is started. At the same time, the recognition processing unit 12 performs row recognition processing on row L#1, that is, recognition processing of pixel data included in row L#1. Before imaging of the next row L#2 is started, the recognition processing unit 12 ends the row recognition processing on row L#1. When the row recognition processing on row L#1 is completed, the recognition processing unit 12 outputs the recognition result regarding the recognition processing.
[0318] Similarly, for the next line L#2, at the timing when imaging of line L#2 is completed, imaging of the next line L#3 is started. Subsequently, the recognition processing unit 12 executes the line recognition processing of line L#2, and ends the executed line recognition processing before imaging of the next line L#3 is started. Fig.29A In the example of , imaging of the rows L#1, L#2, #3, ..., L#m, ... is performed sequentially in this manner. In each of the rows L#1, L#2, L#3, ..., L#m, ..., imaging of the next row of the row where imaging is completed is started at the timing of the end of imaging. At the same time as the start, row recognition processing of the row where imaging is completed is performed.
[0319] In this way, by sequentially performing recognition processing in the readout unit (row in this example), recognition results can be obtained sequentially without inputting all the image data of the frame into the recognizer (recognition processing unit 12), so that the delay until the recognition result is obtained can be reduced. In addition, when a valid recognition result is obtained on a certain row, the recognition processing can be ended at that point, thereby reducing the time of the recognition processing and saving power. In addition, by propagating information on the time axis and integrating the recognition results of each row, the recognition accuracy can be gradually improved.
[0320] exist Fig.29A In the example of , the blank time blk within the frame period can be used to perform other processing that is assumed to be performed within the frame period (for example, image processing in the visual recognition processing unit 14 using the recognition result).
[0321] Fig.29B An example of providing a blank time blk for each time a row of imaging is shown. Fig.29B In the example, similar to Fig.29AIn the example of , the frame period (imaging period) is set to 1 / 30 [second]. On the other hand, the imaging time is set to 1 / 30 [second], which is the same as the imaging period. Fig.29B In the example, it is assumed that line imaging of n lines (i.e., lines L#1 to L#n) is performed at time intervals of 1 / (30×n) [seconds] in one frame cycle, and the imaging time of one line is 1 / (60×n) [seconds].
[0322] In this case, a blank time blk of 1 / (60×n) [seconds] can be provided for each imaging time of each of the rows L#1 to L#n. In each blank time blk of each of the rows L#1 to L#n, other processing assumed to be performed (for example, image processing in the visual recognition processing unit 14 using the recognition result) can be performed on the captured image of the corresponding row. At this time, the time until the imaging of the next row immediately following the target row ends (approximately 1 / (30×n) [seconds] in this example) can be allocated to other processing. Fig.29B In the example, the processing results of other processing can be output line by line, so that the processing results of other processing can be obtained more quickly.
[0323] Fig.30 29, the imaging of all the rows L#1 to L#n included in the frame is completed within 1 / 2 period of the frame period, wherein the remaining 1 / 2 period of the frame period is set as a blank time. In contrast, in Fig.30 In the illustrated example, imaging of all the lines L#1 to L#n included in a frame is performed using all frame periods without a blank time within the frame period.
[0324] Here, when the imaging time of a line is Fig.29A and Fig.29B The time is the same as 1 / (60×n) [seconds], and the number of lines included in the frame is the same as Fig.29A and Fig.29B The frame period (i.e., imaging period) will be 1 / 60 [seconds] when the number of n is the same. Fig.30 In the example of blank time blk shown above, Fig.29A and Fig.29B The frame rate can be increased compared to the example.
[0325] [6. Third embodiment]
[0326] Next, a third embodiment of the present disclosure will be described. The third embodiment is an example of controlling the output timing of the recognition result of the recognition processing unit 12 and the image data for visual recognition by the visual recognition processing unit 14. In the third embodiment, reference is made to Fig.21 , based on the trigger signal generated by the trigger generator 16, control is performed on the output of the recognition result from the recognition processing execution unit 124 and the output of the image data from the image processing unit 143.
[0327] (6-0. Overview of the Third Embodiment)
[0328] Fig.31 is a flowchart showing an example of an overview of an output control process according to the third embodiment. Fig.31 The processing in the flowchart of is processing performed for each readout of the readout unit. In the following, it is assumed that the readout unit is a row, and the sensor controller 11 reads out pixel data from the sensor unit 10 in units of rows.
[0329] In step S200, the readout unit 110 reads out pixel data in units of lines (hereinafter, appropriately referred to as line data) from the sensor unit 10. The readout unit 110 transfers the line data read out from the sensor unit 10 to the recognition processing unit 12 and the visual recognition processing unit 14. The visual recognition processing unit 14 transfers the pixel data transferred from the readout unit 110 to the image data storage controller 140. For example, the image data storage controller 140 stores the received pixel data in the image data storage unit 141, and also transfers the pixel data to the image processing unit 143.
[0330] Meanwhile, in step S201, the recognition processing unit 12 performs calculation of feature data by the feature data calculation unit 120 based on the row data transferred from the readout unit 110, stores the calculated feature data in the feature data storage unit 122, and performs recognition processing by the recognition processing execution unit 124 based on the integrated feature data stored in the feature data storage unit 122, etc. In the next step S202, the recognition processing unit 12 outputs the recognition result of the recognition processing from the recognition processing execution unit 124. In the next step S203, in the recognition processing unit 12, the readout determiner 123 generates readout area information indicating the next readout row, and transfers the information to the sensor controller 11.
[0331] In the next step S204, the trigger generator 16 determines whether to output an image for visual recognition from the image processing unit 143 based on the output of the recognition result in step S202, for example. In the case where the trigger generator 16 determines not to output an image for visual recognition (step S204, "No"), the trigger generator 16 proceeds to the process of step S206. In contrast, when the trigger generator 16 determines to output an image for visual recognition (step S204, "Yes"), the trigger generator 16 proceeds to the process of step S205.
[0332] In step S205, the trigger generator 16 performs output processing to output a trigger signal. The trigger signal is transmitted to the recognition processing execution unit 124, the image processing unit 143, and the output controller 15. In response to the trigger signal, the recognition processing execution unit 124 and the image processing unit 143 output the recognition result and the image data, respectively. The recognition result and the image data output from the recognition processing execution unit 124 and the image processing unit 143 are transmitted to the output controller 15, respectively.
[0333] In the next step S206 , the output controller 15 performs output control processing according to the trigger signal transmitted from the trigger generator 16 in step S205 , and outputs the recognition result and the image data to the subsequent stage.
[0334] In this way, by controlling the recognition process execution unit 124 , the image processing unit 143 , and the output controller 15 according to the trigger signal generated by the trigger generator 16 , the recognition result and the image data can be output at appropriate timing.
[0335] (6-0-1. Example of outputting trigger signals according to time)
[0336] Fig.32 2 is a diagram schematically showing an example of the output control process according to the third embodiment. Here, a case where the trigger generator 16 outputs a trigger signal based on time will be described.
[0337] exist Fig.32 In the imaging device 1 (reference Figure 1 ) starts imaging of a target image (handwritten number "8") as a recognition target. In step S10, the sensor controller 11 starts reading out frames in units of lines in the frame at time t0 based on the readout area information transmitted from the recognition processing unit 12. The sensor controller 11 reads out frames in units of lines in sequence from the upper end side to the lower end side of the frame.
[0338] When the row is read out to a certain position, the recognition processing unit 12 recognizes the numeral "8" or "9" from the image of the read row (step S11). Based on the integrated feature data delivered from the feature data storage controller 121, the readout determiner 123 of the recognition processing unit 12 generates readout area information that specifies the row predicting which of the numerals "8" or "9" the object recognized in step S11 can be recognized as, and delivers the generated information to the readout unit 110. Subsequently, the recognition processing unit 12 performs recognition processing based on the pixel data obtained by reading out the specified row by the readout unit 110 (step S12).
[0339] The trigger generator 16 generates a trigger signal at a time t after a predetermined time has elapsed from the time t0 at which the reading is started. TRGOutput trigger signal. For example, when the frame is read out in units of lines in a frame period, the trigger generator 16 outputs a trigger signal at a specific time interval corresponding to the frame period. Fig.32 In the example of step S12, time t has passed since the processing point TRG , and the trigger generator 16 has output a trigger signal. In response to the trigger signal, the recognition processing execution unit 124 outputs the recognition result, and the image processing unit 143 outputs the image data. In addition, in response to the trigger signal, the output controller 15 outputs the recognition result output from the recognition processing execution unit 124 and the image data output from the image processing unit 143 to the subsequent stage.
[0340] Note that the recognition processing unit 12 performs processing at a timing different from that in the visual recognition processing unit 14 and the trigger generator 16. Therefore, the recognition processing unit 12 sometimes performs processing at time t TRG In this case, the recognition processing unit 12 waits for the next processing until the time t TRG Until a trigger signal is output from the trigger generator 16.
[0341] Furthermore, at this time, in the case where there are unprocessed lines that have not been read out from the frame at the point where the recognition processing in the recognition processing unit 12 is completed, the visual recognition processing unit 14 may further read out the unprocessed lines. The output controller 15 may output line data on the unprocessed lines read out by the visual recognition processing unit 14 and line data read out by the recognition processing unit 12 for recognition processing.
[0342] There may be a recognition processing unit 12 at time point t TRG In this case, the recognition processing unit 12 responds to the trigger signal at time point t TRG Output the recognition result.
[0343] Fig.33A and Fig.33B 1 and 2 are functional block diagrams respectively showing exemplary functions on the recognition processing unit 12 side and exemplary functions on the visual recognition processing unit 14 side of the imaging device 1 according to the third embodiment. Fig.33A and Fig.33B The above Fig.21 1 and 14. Exemplary functions on the recognition processing unit 12 side and exemplary functions on the visual recognition processing unit 14 side of the configuration.
[0344] like Fig.33A As shown, the trigger generator 16a outputs a trigger signal to the recognition processing execution unit 124 at a specific time interval. Fig.33BAs shown, the trigger generator 16 a outputs a trigger signal to the image processing unit 143 at specific time intervals.
[0345] Fig.34 : is a flowchart showing an example of processing when a trigger signal is output according to time according to the third embodiment. Fig.34 In the process of steps S200 to S203, the processing is similar to that according to the above Fig.31 The processing of steps S200 to S203 of the flowchart.
[0346] That is, in step S200, the readout unit 110 reads out the row data from the sensor unit 10, and transfers the row data to the recognition processing unit 12 and the visual recognition processing unit 14. The visual recognition processing unit 14 transfers the pixel data transferred from the readout unit 110 to the image data storage controller 140. For example, the image data storage controller 140 stores the received pixel data in the image data storage unit 141, and also transfers the pixel data to the image processing unit 143.
[0347] In step S201, the recognition processing unit 12 performs calculation of feature data, storage of the calculated feature data, recognition processing based on the stored and integrated feature data, and the like based on the row data transferred from the readout unit 110. In the following step S202, the recognition processing unit 12 outputs the recognition result of the recognition processing from the recognition processing execution unit 124. In the following step S203, in the recognition processing unit 12, the readout determiner 123 generates readout area information indicating the next readout row, and transfers the information to the sensor controller 11.
[0348] In the next step S2040, the trigger generator 16 determines whether a specific time has passed since the line was read out in step S200. In the case where it is determined that the time has not passed (step S2040, "No"), the trigger generator 16 determines whether a specific time has passed since the line was read out in step S200. Fig.34 A series of processing of the flowchart of is terminated. In contrast, when the trigger generator 16 determines that the specific time has passed (step S2040, "Yes"), the trigger generator 16 proceeds to the processing of step S205.
[0349] In step S205, the trigger generator 16 performs output processing to output a trigger signal. The trigger signal is transmitted to the recognition processing execution unit 124, the image processing unit 143, and the output controller 15. In response to the trigger signal, the recognition processing execution unit 124 and the image processing unit 143 output the recognition result and the image data, respectively. The recognition result and the image data output from the recognition processing execution unit 124 and the image processing unit 143 are output to the subsequent stage via the output controller 15, respectively.
[0350] In this manner, in the third embodiment, since the trigger signal is output by the trigger generator 16 at a fixed cycle, the recognition result and the image data for visual recognition can be output at a fixed cycle (eg, a frame cycle).
[0351] [6-1. First Modification of Third Embodiment]
[0352] Next, a first modification of the third embodiment will be described. The first modification of the third embodiment is an example in which a trigger signal is generated according to an area read out from a frame by the sensor controller 11 .
[0353] Fig.35 is a diagram schematically showing an example of an output control process according to a first modification of the third embodiment. Fig.35 In FIG. 1 , part (a) shows the temporal change of the ratio of the area read out from the frame by the sensor controller 11 to the entire frame (ratio of the read-out area). In addition, part (b) corresponds to the above Fig.32 , and schematically shows the state of the frame read out by the sensor controller 11. That is, the frame is read out sequentially in the order of rows in step S10, and the process jumps to the position where the predicted object is identifiable, and the reading is performed in step S11. Subsequently, the recognition result is output in step S12.
[0354] exist Fig.35 In part (a), the ratio of the read area changes at a constant rate until step S11, and changes at a rate less than step S11 from step S11. Here, when the ratio of the read area reaches the threshold value R th When the trigger generator 16 is at time t TRG A trigger signal is generated. In response to the trigger signal, the recognition processing execution unit 124 outputs the recognition result, and the image processing unit 143 outputs the image data. In addition, in response to the trigger signal, the output controller 15 outputs the recognition result output from the recognition processing execution unit 124 and the image data output from the image processing unit 143 to the subsequent stage.
[0355] Fig.36A and Fig.36B 1 and 2 are functional block diagrams respectively showing exemplary functions on the recognition processing unit 12 side and exemplary functions on the visual recognition processing unit 14 side of the imaging device 1 according to the first modification of the third embodiment. Fig.36A and Fig.36B From the above Fig.21 The configuration shows an exemplary function on the recognition processing unit 12 side and an exemplary function on the visual recognition processing unit 14 side.
[0356] like Fig.36A and Fig.36BAs shown separately, the trigger generator 16b receives the readout area information from the readout controller 111 of the sensor controller 11, and obtains the ratio of the readout area based on the received readout area information. When the trigger generator 16b determines that the obtained ratio of the readout area exceeds the threshold value R th When the trigger generator 16b generates a trigger signal, the generated trigger signal is output to the recognition processing execution unit 124 (refer to Fig.36A ) and image processing unit 143 (reference Fig.36B ).
[0357] Fig.37 : is a flowchart showing an example of the process according to the first modification of the third embodiment. Fig.37 In the process of steps S200 to S203, the processing is similar to that according to the above Fig.34 The processing of steps S200 to S203 of the flowchart of is performed, and therefore the description thereof will be omitted here. In step S203, the readout determiner 123 in the recognition processing unit 12 transmits the readout region information indicating the next readout row to the sensor controller 11, and then the processing proceeds to step S2041.
[0358] In step S2041, the trigger generator 16b determines whether the ratio of the readout area exceeds the threshold value R based on the readout area information received from the sensor controller 11. th When it is determined that the ratio does not exceed the threshold R th When (step S2041, "No"), according to Fig.37 A series of processing of the flowchart ends. Thereafter, for example, the next line of data is read out from step S200.
[0359] In contrast, when the trigger generator 16b determines that the ratio of the readout area exceeds the threshold R th In the case of (step S2041, "Yes"), the trigger generator 16b proceeds to the process of step S205, and performs output processing to output a trigger signal. In response to the trigger signal, the recognition processing execution unit 124 and the image processing unit 143 output the recognition result and the image data, respectively.
[0360] In this way, in the first modification of the third embodiment, a trigger signal is output by the trigger generator 16b according to the ratio of the readout area, so that image data in a specific area or more in the frame can be output as image data for visual recognition.
[0361] [6-2. Second Modification of Third Embodiment]
[0362] Next, a second modification of the third embodiment will be described. The second modification of the third embodiment is an example in which a trigger signal is generated according to the recognition confidence level indicating the confidence level of the recognition processing result by the recognition processing execution unit 124 .
[0363] Fig.38 : is a schematic diagram schematically showing an example of the output control process according to the second modification of the third embodiment. Fig.38 , part (a) shows the time change of the recognition confidence score, which indicates the recognition confidence of the recognition processing performed by the recognition processing execution unit 124 on the row data read from the frame by the sensor controller 11. In addition, part (b) corresponds to the above Fig.32 , and schematically shows the state of the frame read out by the sensor controller 11. That is, the frame is read out sequentially in the order of rows in step S10, and the process jumps to the position where the predicted object is identifiable, and the reading is performed in step S11. Subsequently, the recognition result is output in step S12.
[0364] exist Fig.38 In part (a), the recognition confidence score changes at a constant rate until step S11, and after the number "8" or "9" is recognized in step S11, the rate changes at a rate greater than that of step S11. Here, when the recognition confidence score reaches the threshold C th When the trigger generator 16 is at time t TRG A trigger signal is generated. In response to the trigger signal, the recognition processing execution unit 124 outputs the recognition result, and the image processing unit 143 outputs the image data. In addition, in response to the trigger signal, the output controller 15 outputs the recognition result output from the recognition processing execution unit 124 and the image data output from the image processing unit 143 to the subsequent stage.
[0365] Fig.39A and Fig.39B 1 and 2 are functional block diagrams respectively showing exemplary functions on the recognition processing unit 12 side and exemplary functions on the visual recognition processing unit 14 side of the imaging device 1 according to the second modification of the third embodiment. Fig.39A It is shown from the above Fig.21 An example of the function on the side of the recognition processing unit 12 is extracted from the configuration.
[0366] like Fig.39A and Fig.39B As shown in Figures 1 and 2, the recognition processing execution unit 124 appropriately outputs the recognition result including the recognition confidence score. The trigger generator 16c receives the recognition result from the recognition processing execution unit 124 and obtains the recognition confidence score included in the received recognition result. When the trigger generator 16c determines that the obtained recognition confidence score exceeds the threshold value C thWhen the trigger generator 16c generates a trigger signal, the generated trigger signal is output to the recognition processing execution unit 124 (refer to Fig.39A ) and image processing unit 143 (reference Fig.39B ).
[0367] Fig.40 : is a flowchart showing an example of the process according to the second modification of the third embodiment. Fig.40 In the process of steps S200 to S203, the processing is similar to that according to the above Fig.34 The processing of steps S200 to S203 of the flowchart of is performed, and therefore the description thereof will be omitted here. In step S203, the readout determiner 123 in the recognition processing unit 12 transmits the readout region information indicating the next readout row to the sensor controller 11, and then the processing proceeds to step S2041.
[0368] In step S2042, the trigger generator 16c determines whether the recognition confidence score included in the recognition result received from the recognition processing execution unit 124 exceeds the threshold value C. th When it is determined that the score does not exceed the threshold C th When (step S2042, "No"), according to Fig.40 A series of processing of the flowchart ends. Thereafter, for example, the next line of data is read out from step S200.
[0369] In contrast, when the trigger generator 16c determines that the recognition confidence score exceeds the threshold C th In the case of (step S2042, "Yes"), the trigger generator 16c proceeds to the process of step S205, and performs output processing to output a trigger signal. In response to the trigger signal, the recognition processing execution unit 124 and the image processing unit 143 output the recognition result and the image data, respectively.
[0370] In this way, in the second modification of the third embodiment, the trigger generator 16 c outputs a trigger signal according to the recognition confidence score, so that higher-precision recognition information related to the object included in the image data for visual recognition can be acquired.
[0371] [6-3. Third Modification of Third Embodiment]
[0372] Next, a third modification of the third embodiment will be described The third modification of the third embodiment is an example in which a trigger signal is generated according to external information acquired from outside the imaging apparatus 1 .
[0373] Fig.41A and Fig.41B1 and 2 are functional block diagrams respectively showing exemplary functions on the recognition processing unit 12 side and exemplary functions on the visual recognition processing unit 14 side of the imaging device 1 according to the third modification of the third embodiment. Fig.41A and Fig.41B From the above Fig.21 The configuration shows an exemplary function on the recognition processing unit 12 side and an exemplary function on the visual recognition processing unit 14 side.
[0374] like Fig.41A and Fig.41B As shown, the imaging device 1 according to the third modification of the third embodiment includes an external information acquisition unit 17 that acquires information from the outside. The external information acquisition unit 17 transfers the external information acquired from the outside to the trigger generator 16d. The trigger generator 16d generates a trigger signal based on the external information transferred from the external information acquisition unit 17, and outputs the generated trigger signal to the recognition processing execution unit 124 (refer to Fig.41A ) and image processing unit 143 (reference Fig.41B ).
[0375] Here, as the external information acquired by the external information acquisition unit 17, various information that can be acquired from the outside of the imaging device 1, such as a trigger signal from the outside and a recognition result of an external recognition device, can be applied. Examples of external devices that output such external information include other imaging devices, a laser imaging detection and ranging (LiDAR) system sensor (referred to as a LiDAR sensor), or a radar device. For example, when the imaging device 1 is used for vehicle-mounted applications, it is desirable to be able to input external information (such as recognition information, trigger signals, and vehicle information output from other imaging devices, LiDAR sensors, radar devices, etc. installed on the same vehicle) to the imaging device 1.
[0376] As an example, in the case where the external information is the recognition result of another imaging device or the recognition result of a LiDAR sensor or a radar device, it can be imagined that the trigger generator 16d generates a trigger signal based on the recognition confidence score of the recognition result acquired as external information by the external information acquisition unit 17.
[0377] Note that when using external information output from these external devices, it is preferable to perform calibration related to the position of the imaging device 1 relative to the captured image or related to time. In addition, although the above description is an example in which the external device serves as a host and the imaging device 1 outputs a trigger signal in response to the external information output from the external device, the present disclosure is not limited to this example. For example, it is also allowed to use a configuration in which the imaging device 1 serves as a host and the trigger generator 16d outputs a trigger signal generated by other methods (ratio of time and readout area, recognition confidence score, etc.) to the external device.
[0378] Without being limited to the above example, time information acquired by using a global navigation satellite system (GNSS) can also be used as external information. In addition, in the case where the imaging device 1 is used for vehicle-mounted applications, the external information acquisition unit 17 can acquire vehicle information (steering information, speed information, braking information, direction indication information, etc.) about the vehicle on which the imaging device 1 is installed as external information.
[0379] Fig.42 : is a flowchart showing an example of processing according to the third modification of the third embodiment. Fig.42 In the process of steps S200 to S203, the processing is similar to that according to the above Fig.34 The processing of steps S200 to S203 of the flowchart of is performed, and therefore the description thereof will be omitted here. In step S203, the readout determiner 123 in the recognition processing unit 12 transmits the readout region information indicating the next readout row to the sensor controller 11, and then the processing proceeds to step S2043.
[0380] In step S2043, the trigger generator 16d determines whether the external information acquisition unit 17 has acquired the predetermined external information. In the case where it is determined that the information has not been acquired (step S2043, "No"), the trigger generator 16d determines whether the external information acquisition unit 17 has acquired the predetermined external information. Fig.42 A series of processing of the flowchart ends. Thereafter, for example, the next line of data is read out from step S200.
[0381] In contrast, when the trigger generator 16d determines that the external information acquisition unit 17 has acquired the predetermined external information (step S2043, "Yes"), the trigger generator 16d proceeds to the process of step S205. The trigger generator 16d acquires the predetermined external information input from the external device to the external information acquisition unit 17 from the external information acquisition unit 17. The trigger generator 16d performs output processing according to the acquired predetermined external information and outputs a trigger signal. In response to the trigger signal, the recognition processing execution unit 124 and the image processing unit 143 output the recognition result and the image data, respectively.
[0382] In this way, in the third modification of the third embodiment, a trigger signal is output according to external information input from the outside, so that the recognition results obtained by the plurality of sensor devices can be used. Therefore, the imaging device 1 according to the third modification of the third embodiment can be linked with an external device.
[0383] [7. Fourth embodiment]
[0384] Next, a fourth embodiment will be described. The fourth embodiment corresponds to an example of a deviation between the output of the recognition result by the recognition processing unit 12 and the output of the image data for visual recognition by the visual recognition processing unit 14.
[0385] Fig.43 1 is a schematic diagram schematically showing an example of output control processing according to the fourth embodiment. In the fourth embodiment, a trigger signal for the recognition processing execution unit 124 and a trigger signal for the image processing unit 143 are output independently. Furthermore, in the following example, a trigger signal for each of the recognition processing execution unit 124 and the image processing unit 143 is output according to the ratio of the readout area to the frame in each process described in the second modification of the third embodiment. The threshold value of the ratio of the readout area to the process of the recognition processing execution unit 124 is defined as the threshold value R th1 , and the threshold value of the ratio of the readout area to the processing of the image processing unit 143 is defined as the threshold value R th2 .
[0386] exist Fig.43 In the example, the frame readout is started at time t0 (step S10), and the frame is read out in order of rows in step S11. In this example, after step S11, the process jumps to the row where the prediction object is identifiable, and the readout is performed in step S20. Here, in the process of step S20, it is assumed that the ratio of the readout area to the process performed by the recognition process execution unit 124 is 100% at time t0. TRG1 Reaching the threshold R th1 In this case, at time t TRG1 , the trigger signal is output to the recognition processing execution unit 124. The recognition processing execution unit 124 outputs the recognition result in response to the trigger signal. TRG1 The output recognition result is cached in a predetermined storage area (referred to as a cache memory) (step S21). When the recognition result is output and cached, the recognition processing unit 12 ends the recognition processing.
[0387] Here, at time t TRG1 , assuming that a predetermined time, such as a frame period, has not elapsed from time t0 when frame readout is started.
[0388] In step S21, after the recognition processing performed by the recognition processing unit 12 ends, the visual recognition processing unit 14 performs frame readout from the reading start time t0 until a predetermined time (e.g., frame cycle) has passed. Here, it is assumed that the ratio of the readout area to the processing of the image processing unit 143 is t1 at time t21. TRG2 Reaching the threshold R th2 At time t TRG2 , the trigger signal is output to the image processing unit 143.
[0389] The image processing unit 143 responds to t TRG2 The trigger signal at the time t outputs image data for visual recognition.TRG2 The recognition result cached in step S21 is read out from the cache memory and outputted according to the trigger signal at step S21. This makes it possible to output the image data for visual recognition and the recognition result at the same time.
[0390] In the above description, only the recognition result is cached in step S21. However, the present disclosure is not limited to this example, and image data for visual recognition may be further cached.
[0391] Fig.44 1 is a functional block diagram showing the functions of an example of an imaging device 1 according to a fourth embodiment. Fig.44 In the imaging device 1, two trigger generators are provided, namely, the trigger generator 16 for generating a trigger signal for the recognition processing execution unit 124. e1 and a trigger generator 16 for generating a trigger signal for the image processing unit 143 e2 .
[0392] For trigger generator 16 e1 , setting a threshold R regarding the ratio of the read-out area in the recognition processing execution unit 124 th1 Similarly, for the trigger generator 16 e2 , setting a threshold R regarding the ratio of the readout area in the image processing unit 143 th2 For example, these thresholds R th1 and R th2 Can be respectively triggered generator 16 e1 and 16 e2 It can be set in advance or adaptively according to the frame readout status.
[0393] Furthermore, the output controller 15 a includes a cache memory 150 that caches the recognition result and a cache memory 151 that caches the image data used for visual recognition.
[0394] The readout controller 111 transmits the readout area information indicating the readout row to be read out next to the trigger generator 16. e1 and 16 e2 . Trigger Generator 16 e1 and 16 e2 The ratio of the current readout area is obtained based on the transmitted readout area information. When the ratio of the current readout area obtained reaches the threshold R th1 When the trigger generator 16 e1 The trigger signal is output to the recognition processing execution unit 124. Similarly, when the ratio of the current readout area obtained reaches the threshold value R th2 When the trigger generator 16 e2 The trigger signal is output to the image processing unit 143 .
[0395] The recognition result output from the recognition processing execution unit 124 in response to the trigger signal is transferred to the output controller 15a and stored in the cache memory 150. Similarly, the image data for visual recognition output from the image processing unit 143 in response to the trigger signal is transferred to the output controller 15a and stored in the cache memory 151. The output controller 15a outputs the recognition result and the image data for visual recognition stored in the cache memories 150 and 151, respectively, at a predetermined timing (for example, at a timing synchronized with a frame cycle).
[0396] Fig.45 is a flowchart showing an example of processing according to the fourth embodiment. Fig.45 In the process of steps S200 to S203, the processing is similar to that according to the above Fig.34 The processing of steps S200 to S203 of the flowchart of is performed, and therefore the description thereof will be omitted here. In step S203, the readout determiner 123 in the recognition processing unit 12 transmits the readout region information indicating the next readout row to the sensor controller 11, and then the processing proceeds to step S2044.
[0397] For example, in the trigger generator 16 e1 and 16 e2 The processing of step S2044 and step S205 after step S2044 are performed in parallel.
[0398] In the trigger generator 16 e1 In step S2044, it is determined whether the recognition processing execution unit 124 is allowed to output the recognition result. More specifically, in step S2044, the trigger generator 16 e1 The ratio of the current readout region is obtained based on the readout region information indicating the next readout row determined in step S203, and when the obtained ratio of the current readout region reaches the threshold value R th1 In the case of, it is determined that the recognition processing execution unit 124 is allowed to output the recognition result. e1 When it is determined that the recognition result is not output at the current point (step S2044, "No"), the trigger generator 16 e1 Proceed to the processing of step S2060.
[0399] In contrast, when the trigger generator 16 e1 When it is determined that the recognition result is to be output (step S2044, "Yes"), the process proceeds to step S205. In step S205, the trigger generator 16 e1 An output process is performed to output the trigger signal to the recognition process execution unit 124. When the output process is performed, the process proceeds to step S2060.
[0400] Trigger generator 16 e2 The processing in is similar to that in trigger generator 16 e1 That is, the trigger generator 16 e2 In step S2044, it is determined whether the image processing unit 143 is allowed to output image data for visual recognition. More specifically, in step S2044, the trigger generator 16 e2 The ratio of the current readout region is obtained based on the readout region information indicating the next readout row determined in step S203, and when the obtained ratio of the current readout region reaches the threshold value R th2 In the case of, it is determined that the image processing unit 143 is allowed to output image data for visual recognition. e2 When it is determined that the recognition result is not output at the current point (step S2044, "No"), the trigger generator 16 e2 Proceed to the processing of step S2060.
[0401] In contrast, when the trigger generator 16 e2 When it is determined in step S2044 that the recognition result is to be output (step S2044, "Yes"), the trigger generator 16 e2 The process proceeds to step S205. In step S205, the trigger generator 16 e2 An output process is performed to output the trigger signal to the image processing unit 143. When the output process is performed, the process proceeds to step S2060.
[0402] The process of step S2060 and the process of step S2061 after step S2060 are processes executed by the output controller 15a. The output controller 15a performs output control processing on the recognition result output from the recognition processing execution unit 124 and the image data for visual recognition output from the image processing unit 143, respectively.
[0403] In step S2060, the output controller 15a stores the recognition result output from the recognition processing execution unit 124 in the cache memory 150 so as to perform output storage processing. After the output controller 15a has stored the recognition result in the cache memory 150, the output controller 15a proceeds to the processing of step S2061. In step S2061, the output controller 15a performs output control processing of outputting the recognition result stored in the cache memory 150 at a predetermined timing (for example, at a timing synchronized with a frame cycle).
[0404] Similarly, in step S2060, the output controller 15a stores the image data for visual recognition output from the image processing unit 143 in the cache memory 151 to perform output storage processing. After the output controller 15a has stored the image data for visual recognition in the cache memory 150, the output controller 15a proceeds to the processing of step S2061. In step S2061, the output controller 15a performs output control processing of outputting the image data for visual recognition stored in the cache memory 151 at a predetermined timing (for example, at a timing synchronized with the frame cycle).
[0405] Here, the output controller 15a performs the output of the recognition result in step S2061 in synchronization with the output of the image data for visual recognition. This makes it possible to output the recognition result and the image data for visual recognition without any time lag.
[0406] For example, after the output processing of the recognition result and the image data for visual recognition has been performed in step S2061, the line data of the next read-out line is read out from step S200.
[0407] In this way, in the fourth embodiment, the recognition result and the image data for visual recognition are cached separately, and the cached recognition result and the image data for visual recognition are output at a predetermined timing. This makes it possible to output the recognition result and the image data for visual recognition in a state where the time lag between the recognition result and the image data for visual recognition is suppressed.
[0408] [7-1. First Modification of Fourth Embodiment]
[0409] Next, the first modification of the fourth embodiment will be described. In the above-mentioned fourth embodiment, the time lag between the recognition result and the image data for visual recognition is suppressed. In contrast, in the first modification of the fourth embodiment, the spatial deviation between the recognition result and the image data for visual recognition will be suppressed. For example, when the imaging device 1 moves at a high speed during imaging for vehicle-mounted applications, there may be a situation where a spatial deviation (for example, a position deviation of an object in a two-dimensional plane) occurs between the recognition result and the image data for visual recognition. In addition, in the case where the imaging device 1 images a moving body moving at a high speed, a spatial deviation may occur to the object in the image data of the moving body. In the first modification of the fourth embodiment, such a deviation is suppressed based on information obtained from an external sensor.
[0410] Fig.46 is a functional block diagram showing functions of an example of an imaging apparatus 1 according to a first modification of the fourth embodiment. Fig.46 The illustrated configuration is an example of suppressing spatial deviation that occurs when the imaging device 1 moves at high speed.
[0411] exist Fig.46 In the configuration shown above, Fig.44 Compared to the configuration shown, the output of the external sensor 18 is provided to the output controller 15b. The external sensor 18 is, for example, a device capable of detecting the movement of the imaging device 1, and can be implemented by applying an angular velocity sensor installed on the imaging device. For example, a 3-axis gyro sensor is used to measure the angular velocity in each direction, the motion information of the imaging device 1 is acquired, and the acquired motion information is input to the output controller 15b. In addition, the external sensor 18 can be implemented by using another imaging device that uses motion detection to perform motion image compression or camera shake correction. The other imaging device is movably installed integrally or synchronously with the imaging device 1, and the detection result of the motion detection in the other imaging device will be input to the output controller 15b as the motion information of the imaging device 1.
[0412] Based on the motion information input from the external sensor 18 and the trigger generator 16 e1 and 16 e2 The output controller 15b estimates the spatial deviation between the recognition result and the image data for visual recognition at the output timing of each trigger signal outputted. e1 and 16 e2 The difference in output timing of each trigger signal output.
[0413] Note that the input timing of the recognition result from the recognition processing execution unit 124 to the output controller 15b and the input timing of the image data for visual recognition from the image processing unit 143 to the output controller 15b can be regarded as being controlled by the trigger generator 16. e1 and 16 e2 Output timing of trigger signals to be output respectively.
[0414] In addition, the output controller 15b obtains the movement direction and speed of the imaging device 1 based on the movement information input from the external sensor 18. The output controller 15b calculates the spatial deviation amount between the recognition result and the image data for visual recognition based on the difference in the output timing of each trigger signal and the movement direction and speed of the imaging device 1. The output controller 15b corrects the image data for visual recognition stored in the cache memory 151 based on the calculated spatial deviation amount. Examples of correction include trimming, tilt correction, etc. of the image data for visual recognition. The output controller 15b stores the corrected image data for visual recognition in the cache memory 151.
[0415] The output controller 15 b outputs the recognition result stored in the cache memory 150 and the corrected image data for visual recognition stored in the cache memory 151 at a predetermined timing (for example, at a timing synchronized with a frame cycle).
[0416] The above description is an example in which the output controller 15b corrects the image data for visual recognition stored in the cache memory 151 based on the calculated spatial deviation amount. However, the present disclosure is not limited to this example. That is, the output controller 15b can also correct the recognition result stored in the cache memory 150 based on the calculated spatial deviation amount. This includes a case in which the output controller 15b corrects the coordinate information of the recognition object included in the recognition result based on the calculated spatial deviation amount, for example. In addition, the output controller 15b can correct the recognition result and the image data for visual recognition separately.
[0417] Fig.47 : is a flowchart showing an example of processing according to the first modification of the fourth embodiment. Fig.47 In the process of steps S200 to S203, the processing is similar to that according to the above Fig.34 The processing of steps S200 to S203 of the flowchart of , and therefore the description thereof will be omitted here. Fig.47 The processing of step S2044 and step S205 is similar to the above Fig.45 The processing of step S2044 and step S205 is performed, and for example, the trigger generator 16 e1 and 16 e2 The detailed description of the processing of steps S2044 and S205 will be omitted here.
[0418] Similar to the above Fig.45 Step S2044 of the flowchart triggers the generator 16 e1 In step S2044, it is determined whether the recognition processing execution unit 124 is allowed to output the recognition result. e1 When it is determined that the recognition result is not to be output at the current point (step S2044, "No"), the trigger generator 16 e1 Proceed to the processing of step S2060.
[0419] In contrast, when the trigger generator 16 e1 When it is determined in step S2044 that the recognition result is to be output (step S2044, "Yes"), the trigger generator 16 e1 The process proceeds to step S205. In step S205, the trigger generator 16 e1 An output process is performed to output the trigger signal to the recognition process execution unit 124. When the output process is performed, the process proceeds to step S2060.
[0420] Trigger generator 16 e2 The processing in is similar to that in trigger generator 16 e1 That is, the trigger generator 16 e2 In step S2044, it is determined whether the image processing unit 143 is allowed to output image data for visual recognition. e2 When it is determined that the recognition result is not to be output at the current point (step S2044, "No"), the trigger generator 16 e2 Proceed to step S2060. In contrast, when the trigger generator 16 e2 When it is determined that the recognition result is to be output (step S2044, "Yes"), the process proceeds to step S205. In step S205, the trigger generator 16 e2 An output process is performed to output the trigger signal to the image processing unit 143. When the output process is performed, the process proceeds to step S2060.
[0421] The process of step S2060 and the process of step S2062 after step S2060 are processes executed by the output controller 15b. The output controller 15b executes output control processes for the recognition result output from the recognition process execution unit 124 and the image data for visual recognition output from the image processing unit 143, respectively.
[0422] In step S2060, the output controller 15b stores the recognition result output from the recognition processing execution unit 124 in the cache memory 150 to perform output storage processing. After the output controller 15a has stored the recognition result in the cache memory 150, the output controller 15a proceeds to the processing of step S2062.
[0423] In step S2062, the output controller 15b performs correction processing on the image data for visual recognition stored in the cache memory 151 in step S2060 using the motion information input from the external sensor 18, and stores the corrected image data for visual recognition in the cache memory 151. Without being limited thereto, in step S2062, the output controller 15b may perform correction processing on the recognition result stored in the cache memory 150 in step S2060. The output controller 15b stores the corrected recognition result in the cache memory 150.
[0424] The output controller 15 b outputs the recognition result stored in the cache memory 150 and the corrected image data for visual recognition stored in the cache memory 151 at a predetermined timing.
[0425] In this way, in the first modification of the fourth embodiment, the recognition result and the image data for visual recognition are cached separately, and the recognition result or the image data for visual recognition is corrected using the motion information input from the external sensor 18. This makes it possible to output the recognition result and the image data for visual recognition in a state where a spatial deviation between the recognition result and the image data for visual recognition is suppressed.
[0426] [7-2. Second Modification of Fourth Embodiment]
[0427] Next, a second modification of the fourth embodiment will be described. The second modification of the fourth embodiment is an example in which, after the recognition processing by the recognition processing unit 12, the visual recognition processing unit 14 performs readout of pixel data at high speed in order to suppress the difference between the output timing of the recognition result and the output timing of the image data used for visual recognition.
[0428] Fig.48 is a diagram schematically showing an example of output control processing according to the second modification of the fourth embodiment. Fig.48 In the above, steps S10 to S12 correspond to Fig.32 , and schematically shows the state of the frame read out by the sensor controller 11. That is, the frame is read out sequentially in the order of rows in step S10, and the process jumps to the position where the predicted object is identifiable, and the reading is performed in step S11. Subsequently, the recognition result is output in step S12.
[0429] exist Fig.48 In the state where all the row data of the frame have not been read out in step S12, the recognition result has been output. Therefore, in the next step S30, the visual recognition processing unit 14 performs readout of the row that has not been read out in the process until step S12 in the frame. At this time, the visual recognition processing unit 14 performs frame readout at a readout rate higher than the readout rate with respect to the readout performed by the recognition processing unit 12 in the process until step S12. The visual recognition processing unit 14 completes the readout at a predetermined timing, and outputs the image data for visual recognition.
[0430] In the second modification of the fourth embodiment, this makes it possible to suppress the time difference between the output timing of the recognition result and the output timing of the image data for visual recognition.
[0431] Fig.49 1 is a functional block diagram showing the functions of an example of an imaging device 1 according to a second modification of the fourth embodiment. Fig.49In the embodiment, the recognition result from the recognition processing execution unit 124 is appropriately provided, and the trigger generator 16f generates a trigger signal based on the recognition confidence score transmitted in the form included in the recognition result from the recognition processing execution unit 124, as described in the second modification of the third embodiment (refer to Figures 38 to 40 ).
[0432] When the recognition confidence score included in the recognition result transmitted from the recognition processing execution unit 124 reaches the threshold value C th When the trigger generator 16f is at time t TRG A trigger signal is generated. In response to the trigger signal, the recognition processing execution unit 124 transmits the recognition result to the output controller 15 c. The output controller 15 c stores the received recognition result in the cache memory 150 .
[0433] On the other hand, the trigger generator 16 f outputs a trigger signal to the recognition processing execution unit 124 , generates a high-speed readout instruction instructing to read out pixel data from the sensor unit 10 at a higher speed, and transmits the high-speed readout instruction to the readout determiner 142 .
[0434] The readout determiner 142 generates readout area information including the high-speed readout instruction transmitted from the output controller 15b, and transmits the generated readout area information to the sensor controller 11. In the sensor controller 11, the readout area information including the high-speed readout instruction is transmitted from the readout controller 111 to the readout unit 110. In response to the high-speed readout instruction included in the readout area information, the readout unit 110 generates an imaging control signal for driving the sensor unit 10 at a higher driving speed than the driving speed before the trigger signal occurs. The readout unit 110 drives the sensor unit 10 at a high speed according to the imaging control signal, and reads out the pixel data at a higher speed than before the trigger signal occurs.
[0435] The pixel data read out by the readout unit 110 is transferred to the image processing unit 143 as image data for visual recognition via the image data storage controller 140. The image processing unit 143 performs image processing on the received image data and transfers the processed data to the output controller 15c. The output controller 15c stores the image data transferred from the image processing unit 143 in the cache memory 151. The output controller 15c reads out the recognition result stored in the cache memory 150 and the image data for visual recognition stored in the cache memory 151 at a predetermined timing (for example, a timing synchronized with a frame cycle), and outputs the data respectively.
[0436] Fig.50 : is a flowchart showing an example of processing according to the second modification of the fourth embodiment. Fig.50In the process of steps S200 to S203, the processing is similar to that according to the above Fig.34 The processing of steps S200 to S203 of the flowchart of , and therefore the description thereof will be omitted here. Fig.50 The processing of step S2044 and step S205 is similar to the above Fig.45 The processing of step S2044 and step S205 is performed separately and in parallel in the trigger generator 16f, for example. The detailed description of the processing of step S2044 and step S205 will be omitted here.
[0437] Similar to the above Fig.45 In step S2044 of the flowchart of , the trigger generator 16f determines in step S2044 whether to allow the recognition processing execution unit 124 to output the recognition result. When the trigger generator 16f determines that the recognition result is not to be output at the current point (step S2044, "No"), the trigger generator 16f proceeds to the processing of step S2063. In contrast, when the trigger generator 16f determines that the recognition result is to be output (step S2044, "Yes"), the processing proceeds to step S205. In step S205, the trigger generator 16f performs an output processing of outputting the trigger signal to the recognition processing execution unit 124. When the output processing is performed, the processing proceeds to step S2051.
[0438] In step S2051, a high-speed readout process is performed. That is, in step S2051, the trigger generator 16f generates a high-speed readout instruction and passes the instruction to the readout determiner 142. The high-speed readout instruction is included in the readout area information generated by the readout determiner 142 and is passed to the sensor controller 11. The sensor controller 11 passes the received readout area information to the readout unit 110. The readout unit 110 drives the sensor unit 10 at a higher speed in response to the high-speed readout instruction included in the received readout area information. At this time, the readout unit 110 may perform a refined readout on the sensor unit 10 to increase the readout speed, or may reduce the bit depth of the image data to be read out to increase the readout speed.
[0439] The pixel data has been read out from the sensor unit 10 driven at high speed, and the readout unit 110 transfers the pixel data to the visual recognition processing unit 14. The visual recognition processing unit 14 transfers the pixel data received from the readout unit 110 to the image processing unit 143 via the image data storage controller 140. The image processing unit 143 performs image processing on the received image data and outputs the processed data as image data for visual recognition. The image data for visual recognition output from the image processing unit 143 is transferred to the output controller 15c and stored in the cache memory 151.
[0440] In the next step S2063, the output controller 15c outputs the recognition result stored in the cache memory 150 and the corrected image data for visual recognition stored in the cache memory 151 at a predetermined timing (for example, at a timing synchronized with the frame cycle).
[0441] In this way, in the second modification of the fourth embodiment, after the recognition result is output, the image data for visual recognition is acquired by high-speed readout, and the acquired image data for visual recognition and the recognition result are output at a predetermined timing. This makes it possible to output the recognition result and the image data for visual recognition in a state where the time lag between the recognition result and the image data for visual recognition is suppressed.
[0442] Although the above description is an example of performing high-speed readout of image data for visual recognition after outputting the recognition result, the present disclosure is not limited to this example. That is, high-speed readout for recognition processing may be performed after completing readout of image data for visual recognition processing.
[0443] In this case, the trigger generator 16f generates a high-speed readout instruction by outputting a trigger signal to the image processing unit 143, and Fig.49 The path shown delivers the generated high-speed readout instruction to the readout determiner 123. The high-speed readout instruction is included in the readout area information generated by the readout determiner 142 and is delivered to the sensor controller 11. The sensor controller 11 delivers the received readout area information to the readout unit 110. The readout unit 110 drives the sensor unit 10 at a higher speed in response to the high-speed readout instruction included in the received readout area information. The readout unit 110 reads out pixel data from the sensor unit 10 driven at a high speed and delivers the pixel data to the recognition processing unit 12.
[0444] [8. Fifth embodiment]
[0445] Next, the fifth embodiment will be described. The fifth embodiment is an example of performing mediation between the readout area where the recognition processing unit 12 performs readout and the readout area where the visual recognition processing unit 14 performs readout. For example, when one of the recognition processing unit 12 and the visual recognition processing unit 14 performs row readout by row thinning and the other performs readout sequentially in the order of rows, the target row of the row output between the recognition processing unit 12 and the visual recognition processing unit 14 will be different at a specific timing. In this case, mediation of the readout area is performed between the recognition processing unit 12 and the visual recognition processing unit 14 so as to determine the row as the readout target.
[0446] Fig.51 is a flowchart showing an example of an overview of mediation processing according to the fifth embodiment. Fig.51 The processing in the flowchart of is processing performed for each readout of the readout unit. In the following, it is assumed that the readout unit is a row, and the sensor controller 11 reads out pixel data from the sensor unit 10 in units of rows.
[0447] Will refer to Fig.21 Description based on Fig.51 In step S300, the readout unit 110 reads out pixel data (row data) in units of rows from the sensor unit 10. The readout unit 110 transfers the row data read out from the sensor unit 10 to the recognition processing unit 12 and the visual recognition processing unit 14. The visual recognition processing unit 14 transfers the pixel data transferred from the readout unit 110 to the image data storage controller 140. For example, the image data storage controller 140 stores the received pixel data in the image data storage unit 141, and transfers the data to the image processing unit 143.
[0448] When the processing of step S300 is completed, the processing proceeds to step S301 and step S311. The processing of steps S301 to S303 is the processing in the recognition processing unit 12. In contrast, the processing of steps S311 to S313 is the processing in the visual recognition processing unit 14. The processing in the recognition processing unit 12 and the processing in the visual recognition processing unit 14 can be performed in parallel.
[0449] First, the processing of the recognition processing unit 12 starting from step S301 will be described. In step S301, the recognition processing unit 12 performs calculation of feature data by the feature data calculation unit 120 based on the row data delivered from the readout unit 110, stores the calculated feature data in the feature data storage unit 122, and performs recognition processing by the recognition processing execution unit 124 based on the integrated feature data stored in the feature data storage unit 122, etc. In the next step S302, the recognition processing unit 12 outputs the recognition result of the recognition processing from the recognition processing execution unit 124. In the next step S303, in the recognition processing unit 12, the readout determiner 123 generates readout row information indicating the next readout row as readout area information using the integrated feature data, and delivers the generated information to the sensor controller 11. When the processing of step S303 is completed, the processing proceeds to step S320a.
[0450] Next, the processing performed by the visual recognition processing unit 14 starting from step S311 will be described. In step S311, the visual recognition processing unit 14 performs storage of the row data delivered from the readout unit 110 in the image data storage unit 141, image processing of the image data stored in the image data storage unit 141 by the image processing unit 143, and the like. In the following step S312, the image processing unit 143 in the visual recognition processing unit 14 outputs the image data subjected to the image processing in step S311. In the following step S313, the readout determiner 142 in the visual recognition processing unit 14 generates readout row information indicating the next readout row as readout area information using the row information of the row read out in step S300 and the recognition result output by the recognition processing unit 12 in step S302, and delivers the generated information to the sensor controller 11. When the processing of step S313 is completed, the processing proceeds to step S320a.
[0451] In step S320a, the sensor controller 11 acquires mediation information for mediating the readout area by a mediation controller described below. A specific example of the mediation information will be described below.
[0452] In the next step S321, the mediation controller uses the mediation information acquired in step S320a to determine which of the readout row indicated by the readout row information delivered from the recognition processing unit 12 in step S303 and the readout row indicated by the readout row information delivered from the visual recognition processing unit 14 in step S313 is to be used as the readout row for the next readout. In the next step S322, the sensor controller 11 performs a row control process for performing readout of the readout row determined by the mediation controller in step S321.
[0453] In this way, in the fifth embodiment, the mediation controller performs mediation of the readout row to be read out next, based on the mediation information acquired in a predetermined manner, between the recognition processing unit 12 and the visual recognition processing unit 14. Therefore, for example, even when the recognition processing unit 12 and the visual recognition processing unit 14 have determined different rows as the readout rows, it is possible to avoid a problem when performing the readout of the row.
[0454] (8-0-1. Specific example of mediation processing)
[0455] Next, the mediation process according to the fifth embodiment will be described in more detail. Fig.52 : is a functional block diagram showing an example of the functions of the imaging apparatus 1 applicable to the fifth embodiment.
[0456] exist Fig.52 In the configuration shown, Fig.21Compared with the configuration shown in the figure, the readout controller 111a in the sensor controller 11 includes a mediation controller 1110 and a readout processing controller 1111. One or more readout area information respectively from the readout determiner 123 of the recognition processing unit 12 and the readout determiner 142 of the visual recognition processing unit 14 is input to the mediation controller 1110 as a control signal for controlling the mediation process. In other words, the mediation controller 1110 in this example uses the control signal as mediation information for performing mediation control.
[0457] Here, it is assumed that one readout region information indicates one row. That is, the mediation controller 1110 receives input of one or more row information from the readout determiners 123 and 142, respectively.
[0458] In the fifth embodiment, the mediation controller 1110 obtains a logical product of a control signal input from the readout determiner 123 and a control signal input from the visual recognition processing unit 14 to determine one readout row for the next readout.
[0459] The mediation controller 1110 transmits a control signal indicating the readout row determined by the mediation process to the readout processing controller 1111. The readout processing controller 1111 transmits the received control signal to the readout unit 110 as readout region information indicating the readout row.
[0460] exist Fig.52 In the configuration of , the output controller 15 outputs the recognition result output from the recognition processing execution unit 124 and the image data for visual recognition output from the image processing unit 143 to the device in the subsequent stage. Here, the device in the subsequent stage can be implemented by applying another sensor device that performs the recognition processing. In this case, the recognition result and the image data for visual recognition output from the imaging device 1 can be applied to the recognition processing on another sensor device.
[0461] Fig.53 is a schematic diagram illustrating mediation processing according to the fifth embodiment. Fig.53 An example is shown in which the mediation controller 1110 performs mediation processing based on a control signal. Here, the readout area information is used as the control signal.
[0462] Fig.53 Time is shown passing to the right. In addition, the vertical directions respectively indicate the recognition control of the recognition processing unit 12, the visual recognition control of the visual recognition processing unit 14, the readout image read out from the sensor unit 10, and the mediation result of the mediation controller 1110. As described above, the mediation controller 1110 performs mediation by obtaining the logical product of the control signal (readout area information) output by the recognition processing unit 12 and the control signal output by the visual recognition processing unit 14.
[0463] In step S40, the recognition processing unit 12 and the visual recognition processing unit 14 generate readout area information for reading out the i-th row (i row). The recognition processing unit 12 outputs readout area information for reading out the three rows of the (i+1)th row, the (i+2)th row, and the (i+3)th row, respectively. Similarly, the visual recognition processing unit 14 also outputs control signals for reading out the three rows of the (i+1)th row, the (i+2)th row, and the (i+3)th row, respectively. The readout area information output from the recognition processing unit 12 and the readout area information output from the visual recognition processing unit 14 are input to the mediation controller 1110 as control signals for the mediation controller 1110 to perform mediation control.
[0464] The mediation controller 1110 obtains the logical product of the respective control signals of the (i+1)th row, the (i+2)th row and the (i+3)th row from the recognition processing unit 12 and the respective control signals of the (i+1)th row, the (i+2)th row and the (i+3)th row from the visual recognition processing unit 14. Here, since the respective control signals from the recognition processing unit 12 and the separate control signals from the visual recognition processing unit 14 match, all rows indicated by the respective control signals can be read out. The mediation controller 1110 selects the (i+1)th row, the (i+2)th row and the (i+3)th row one by one according to the readout order in the frame, and outputs these rows in sequence. For example, the mediation controller 1110 first selects the control signal indicating the (i+1)th row that is closest to the top of the frame among the (i+1)th row, the (i+2)th row and the (i+3)th row as the mediation result. Thereafter, the mediation controller 1110 selects the control signal indicating the (i+2)th row, the control signal indicating the (i+3)th row, that is, selects the control signals one by one in the order of rows.
[0465] The mediation controller 1110 transmits the control signal selected as the mediation result to the readout processing controller 1111. The readout processing controller 1111 transmits the control signal received from the mediation controller 1110 as the readout area information to the readout unit 110. The readout unit 110 reads out the row data of the row (the (i+1)th row) indicated in the readout area information from the sensor unit 10. The readout unit 110 transmits the row data of the (i+1)th row read out from the sensor unit 10 to the recognition processing unit 12 and the visual recognition processing unit 14.
[0466] Through this process, in step S40, as Fig.53 As shown in the read-out image, the line data is read out in order of lines, for example, from the line L#i on the upper end side of the frame toward the lower end side of the frame.
[0467] The frames are read out sequentially in row order, and it is assumed that at the point where the frame is read out to the jth row (j row) near the center, for example, the recognition processing unit 12 has recognized the number "8" or "9" based on the read row data (step S41).
[0468] The recognition processing unit 12 can perform readout by skipping rows to the row predicting which of the digits "8" or "9" the object recognized in step S41 can be recognized as. In this example, the recognition processing unit 12 outputs readout area information to read out three rows, namely, the (j+3)th row, the (j+5)th row, and the (j+7th row, respectively, so that refinement is performed every other row in the readout. Each readout area information output from the recognition processing unit 12 is input to the mediation controller 1110 as each control information for the mediation controller 1110 to perform mediation control.
[0469] On the other hand, since the image recognition ratio for visual recognition needs to be denser, the visual recognition processing unit 14 has the (j+1)th row, the (j+2)th row, and the (j+3)th row. The readout area information for sequentially reading the three rows is output. Each readout area information output from the visual recognition processing unit 14 is input to the mediation controller 1110 as each control information for the mediation controller 1110 to perform mediation control.
[0470] The mediation controller 1110 obtains the logical product of each control signal delivered from the recognition processing unit 12 and each control signal delivered from the visual recognition processing unit 14. In this case, each control signal delivered from the recognition processing unit 12 corresponds to the (j+3)th row, the (j+5)th row, and the (j+7)th row, and each control signal delivered from the visual recognition processing unit 14 corresponds to the (j+1)th row, the (j+2)th row, and the (j+3)th row. Therefore, the logical product is obtained by the mediation controller 1110, and the control signal indicating the (j+3)th row is output from the mediation controller 1110 as the mediation result.
[0471] Next, it is assumed that when the k-th row on the lower end side of the frame is read out from the j-th row in step S42, the object recognized as the number "8" or "9" in step S41 is determined to be the number "8". In this case, the recognition processing unit 12 may end the recognition processing. When the recognition processing is completed, the control signal input from the recognition processing unit 12 to the mediation controller 1110 may be optional.
[0472] On the other hand, regarding the image for visual recognition, further rows need to be read out. In this example, the visual recognition processing unit 14 sequentially outputs readout area information for reading out the three rows in the order of the (k+1)th row, the (k+2)th row, and the (k+3)th row.
[0473] For example, when the recognition processing of the recognition processing unit 12 is completed, the mediation controller 1110 ignores the control signal input from the recognition processing unit 12. Therefore, for example, the mediation controller 1110 selects the (k+1)th row, the (k+2)th row, and the (k+3)th row indicated by the control signal input from the visual recognition processing unit 14 one by one according to the readout order within the frame, and outputs these rows in sequence. For example, the mediation controller 1110 first selects the control signal indicating the (k+1)th row, which is closer to the upper end of the frame among the (k+1)th row, the (k+2)th row, and the (k+3)th row, as the mediation result.
[0474] In this way, in the fifth embodiment, the mediation controller 1110 obtains the logical product of each control signal input from the recognition processing unit 12 and each control signal input from the visual recognition processing unit 14, thereby performing mediation in order to determine the readout row to be read out next. Therefore, for example, even when the recognition processing unit 12 and the visual recognition processing unit 14 have determined different rows as readout rows, it is possible to avoid problems when performing readout of rows.
[0475] Incidentally, there may be a case where the row indicated by the control signal input from the recognition processing unit 12 and the row indicated by the control signal input from the visual recognition processing unit 14 do not overlap. For example, when the respective control signals input from the recognition processing unit 12 to the mediation controller 1110 are related to the (i+1)th row, the (i+3)th row, and the (i+5)th row, and the respective control signals input from the visual recognition processing unit 14 to the mediation controller 1110 are related to the (i+2)th row, the (i+4)th row, and the (i+6)th row, there will be no overlap between the rows.
[0476] Obtaining the logical product of the two by the mediation controller 1110 will produce an output of an empty set, resulting in no determination of the readout line to be read out next. As a first example to avoid this situation, it can be imagined that, among the control signal input from the recognition processing unit 12 and the control signal input from the visual recognition processing unit 14, a control signal to be used with a higher priority is predetermined. As an example, the control signal input from the recognition processing unit 12 is preferentially selected relative to the control signal input from the visual recognition processing unit 14. At this time, it can be imagined that, among the control signals input from the priority recognition processing unit 12, a control signal closer to the control signal input from the visual recognition processing unit 14 is adopted.
[0477] As a second example, it is conceivable that the recognition processing unit 12 and the visual recognition processing unit 14 preliminarily set a limit on the amount of readout region information that can be output. For example, in each of the recognition processing unit 12 and the visual recognition processing unit 14, three rows are selected as candidates from five rows that are sequentially adjacent.
[0478] Fig.54 is a flowchart showing an example of mediation processing according to the fifth embodiment. Fig.54 The processing of the flowchart is a processing executed for each readout of the readout unit.
[0479] In step S300, the readout unit 110 reads the line data from the sensor unit 10. The readout unit 110 transfers the line data read out from the sensor unit 10 to the recognition processing unit 12 and the visual recognition processing unit 14. Fig.54 The processing on the recognition processing unit 12 side of steps S301 to S303 and the processing on the visual recognition processing unit 14 side of steps S311 to S313 are the same as those described above. Fig.51 The corresponding processing in is the same, and therefore the description is omitted here.
[0480] exist Fig.54 In step S303, as described above, the recognition processing unit 12 generates readout row information indicating the next readout row as readout area information, and transmits the generated information to the sensor controller 11. The readout area information transmitted to the sensor controller 11 is input to the mediation controller 1110 as control information. Similarly, in step S313, the visual recognition processing unit 14 generates readout row information indicating the next readout row as readout area information, and transmits the generated information to the sensor controller 11. The readout area information transmitted to the sensor controller 11 is input to the mediation controller 1110 as control information.
[0481] After the control signals are input from the recognition processing unit 12 and the visual recognition processing unit 14 to the mediation controller 1110 in steps S303 and S313, the process proceeds to step S321. In step S321, the mediation controller performs mediation of the respective control signals by using the respective control signals input from the recognition processing unit 12 and the visual recognition processing unit 14 as mediation information. The mediation determines which of the readout row indicated by the control signal transmitted from the recognition processing unit 12 in step S303 and the readout row indicated by the control signal transmitted from the visual recognition processing unit 14 in step S313 is defined as the readout row to be read out next. In the next step S322, the sensor controller 11 performs a row control process for performing the readout of the readout row determined by the mediation controller in step S321.
[0482] [8-1. First Modification of Fifth Embodiment]
[0483] Next, a first modification of the fifth embodiment will be described. The first modification of the fifth embodiment is an example in which the recognition result of the recognition processing unit 12 is applied as mediation information used for mediation processing by the mediation controller 1110a. Fig.55 is a functional block diagram showing an example of the functions of an imaging apparatus 1 applicable to the first modification of the fifth embodiment.
[0484] exist Fig.55 In the configuration shown above, Fig.52 Compared with the configuration shown in the figure, the recognition result output from the recognition processing execution unit 124 is input to the mediation controller 1110a. The mediation controller 1110a according to the first modification of the fifth embodiment uses the recognition result as mediation information, thereby performing mediation processing between the readout area information input from the recognition processing unit 12 and the readout area information input from the visual recognition processing unit 14.
[0485] Fig.56 : is a schematic diagram showing a first example of mediation processing according to the first modification of the fifth embodiment. Fig.56 It is shown that time passes to the right. In addition, the figure indicates from the top in the vertical direction: the reading control and recognition result; the read-out image read out by the sensor controller 11; and the mediation result obtained by the mediation controller 1110a. In addition, Fig.56 In the example of , the imaging device 1 is used for vehicle-mounted application, and frames are read out in units of rows from the lower end side to the upper end side.
[0486] exist Fig.56 In the example of , when a moving object is recognized in the recognition process, the control of the visual recognition processing unit 14 is prioritized.
[0487] On the lower end side of the frame (step S50), the road surface is recognized based on the row data by the recognition processing execution unit 124 in the recognition processing unit 12. In this case, since the recognition target is the road surface, the readout can be performed by skipping the row to some extent. In addition, the mediation controller 1110a performs mediation according to the recognition processing based on the recognition result. For example, the mediation controller 1110a preferentially selects the readout area information input from the recognition processing unit 12 relative to the readout area information input from the visual recognition processing unit 14 based on the recognition result of recognizing the road surface, and then, passes the selection information to the readout processing controller 1111. For example, in the case where the recognition processing unit 12 controls the readout by thinning the row, the readout area information generated by thinning the row at predetermined intervals will be input to the mediation controller 1110a. The mediation controller 1110a passes the readout area information indicating the thinning to the readout processing controller 1111.
[0488] It is assumed that the recognition processing unit 12 recognizes a moving object based on line data obtained by finely reading out lines. Fig.56In the example of , in step S51, the recognition processing execution unit 124 obtains an object detection result indicating that an object is detected slightly before the line position of 1 / 2 of the frame, and detects that the detected object is a moving body (person). In the recognition processing unit 12, the recognition processing execution unit 124 transmits the recognition result indicating that a person has been recognized to the mediation controller 1110a.
[0489] The position of the moving body changes greatly over time, and therefore, in the case of performing row readout including skipping rows, the position deviation of the recognition object in each readout row will be large, resulting in the necessity to correct the deviation. Therefore, the mediation controller 1110a gives higher priority to the control for visual recognition based on the recognition result indicating that the person has been recognized, and preferentially selects the readout area information input from the visual recognition processing unit 14 relative to the readout area information input from the recognition processing unit 12, and transmits the selected information to the readout processing controller 1111. In this case, the visual recognition processing unit 14 generates, for example, the readout area information for sequentially performing readout in the order of rows, and inputs the generated information to the mediation controller 1110a.
[0490] Furthermore, it is assumed that row readout has been performed toward the upper end side of the frame, and a recognition result indicating a non-road surface has been obtained by the recognition processing execution unit 124 in the recognition processing unit 12. In the case of a non-road surface, it is considered that there is no problem in performing row readout by using a coarser refinement on the road surface identified in step S50. Therefore, the recognition processing unit 12 generates readout area information having a refinement interval greater than that in the case of a road surface, and inputs the generated information to the mediation controller 1110a. The mediation controller 1110a selects the readout area information input from the recognition processing unit 12 in priority to the readout area information input from the visual recognition processing unit 14, based on the recognition result indicating a non-road surface output from the recognition processing execution unit 124, and transmits the selected information to the readout processing controller 1111.
[0491] exist Fig.56 In step S52, it is shown that according to the read area information, the non-road area on the upper side of the frame is more roughly read than the road area on the lower side of the frame. In addition, in step S52, it is shown that the central part of the person detected in the frame is densely read for visual recognition.
[0492] Fig.57 1 is a schematic diagram showing a second example of the mediation process according to the first modification of the fifth embodiment. Fig.57 The parts are similar to the above Fig.56 Therefore, the description will be omitted here. Fig.57Each of the images shown is a dark image with low brightness as a whole, in which the front side (the lower end side of the frame) is brighter with slightly higher brightness.
[0493] In this second example, the mediation controller 1110 a uses the confidence level indicating the confidence level of the recognition result as mediation information, and performs mediation between the readout area information input from the recognition processing unit 12 and the readout area information input from the visual recognition processing unit 14 .
[0494] Assume that line reading is started from the lower end side of the frame, and the road surface is recognized with a predetermined level of confidence (high confidence) based on the line data by the recognition processing execution unit 124 in the recognition processing unit 12 (step S60). In this case, since the imaging target is the road surface, reading can be performed by skipping lines to some extent. The recognition processing unit 12 generates readout area information in which the lines have been refined at predetermined intervals based on the recognition result, and inputs the generated information to the mediation controller 1110a.
[0495] Since the recognition result output from the recognition processing execution unit 124 has a high confidence level, the mediation controller 1110a trusts the recognition result and selects the readout area information indicating refinement input from the recognition processing unit 12 from the readout area information input from the recognition processing unit 12 and the readout area information input from the visual recognition processing unit 14. The mediation controller 1110a passes the readout area information indicating the refinement to the readout processing controller 1111.
[0496] It is assumed that a moving object is identified by the identification processing unit 12 based on line data obtained by finely reading out lines. Fig.57 In the example of , in step S61, the recognition processing execution unit 124 recognizes a moving object (person) slightly before the line position of 1 / 2 of the frame. Fig.57 In the example of , it is assumed that the part of the person recognized has low brightness, and therefore, the recognition processing execution unit 124 has recognized the detection of the person with a confidence level less than a predetermined level (low confidence). The recognition processing execution unit 124 transmits the recognition result indicating that the person has been recognized with low confidence to the mediation controller 1110a.
[0497] In this case, since the person is recognized with low confidence, visual confirmation of the person is considered necessary. Therefore, the mediation controller 1110a gives higher priority to the readout area information output from the visual recognition processing unit 14 than to the readout area information output from the recognition processing unit 12.
[0498] Here, the mediation controller 1110a can give a readout instruction to the readout processing controller 1111 according to the confidence output from the recognition processing execution unit 124 to achieve easier visual recognition. For example, control can be performed so that the rows in the row range in which a person has been recognized with low confidence are read out multiple times. In this case, in the visual recognition processing unit 14, the image processing unit 143 or the like can combine the readout row data between the rows having mutually corresponding positions, and further perform image processing (e.g., high resolution processing, contrast adjustment) to increase the clarity of the image of the person recognized by the low confidence.
[0499] Furthermore, when the imaging device 1 is mounted on a vehicle capable of autonomous driving, it is conceivable to set the number of readouts, details of image processing, and the like according to the autonomous driving level (eg, level 2 to level 4) compatible with the vehicle.
[0500] Furthermore, it is assumed that the line readout has been performed toward the upper end side of the frame, and the recognition result indicating the non-road surface has been obtained with high confidence by the recognition processing execution unit 124 in the recognition processing unit 12 (step S62). In the case of the non-road surface, it is considered that there is no problem in performing the line readout by using a coarser refinement on the road surface recognized in step S60. Therefore, the recognition processing unit 12 generates the readout area information with a refinement interval larger than that in the case of the road surface, and inputs the generated information to the mediation controller 1110a.
[0501] Note that among images for visual recognition, non-road images are not considered to require high image quality. Therefore, it is conceivable that when the recognition processing execution unit 124 recognizes non-road, the visual recognition processing unit 14 outputs image data for visual recognition with default image quality settings.
[0502] Fig.58 is a flowchart showing an example of mediation processing according to the first modification of the fifth embodiment. Fig.58 The processing of the flowchart is a processing executed for each readout of the readout unit.
[0503] In step S300, the readout unit 110 reads the line data from the sensor unit 10. The readout unit 110 transfers the line data read out from the sensor unit 10 to the recognition processing unit 12 and the visual recognition processing unit 14. Fig.58 The processing on the recognition processing unit 12 side of steps S301 to S303 and the processing on the visual recognition processing unit 14 side of steps S311 to S313 are the same as those described above. Fig.51 The corresponding processing in is the same, and therefore the description is omitted here.
[0504] exist Fig.58In step S303, as described above, the recognition processing unit 12 generates readout row information indicating the next readout row as readout area information, and transmits the generated information to the sensor controller 11. The readout area information transmitted to the sensor controller 11 is input to the mediation controller 1110a as control information. Similarly, in step S313, the visual recognition processing unit 14 generates readout row information indicating the next readout row as readout area information, and transmits the generated information to the sensor controller 11. The readout area information transmitted to the sensor controller 11 is input to the mediation controller 1110a as control information.
[0505] After control signals are input from the recognition processing unit 12 and the visual recognition processing unit 14 to the mediation controller 1110a in steps S303 and S313, the process proceeds to step S320b. In step S320b, the mediation controller 1110a acquires the recognition result output from the recognition processing execution unit 124 as mediation information.
[0506] In the next step S321, the mediation controller 1110a determines which of the readout area information delivered from the recognition processing unit 12 in step S303 and the readout area information delivered from the visual recognition processing unit 14 in step S313 is to be defined as the readout area information indicating the row to be read out next, based on the confidence indicated in the recognition result acquired in step S320b. In the next step S322, the sensor controller 11 delivers the readout area information determined by the mediation controller 1110a in step S321 to the readout processing controller 1111, and performs row control processing to read out the readout row indicated in the readout area information.
[0507] In this way, in the first modification of the fifth embodiment, it is possible to adaptively determine which of the readout area information output from the recognition processing unit 12 and the readout area information output from the visual recognition processing unit 14 is to be used as the readout area information indicating the readout line to be read out next, based on the recognition result based on the line data. This makes it possible to obtain an appropriate image for visual recognition in accordance with various scenes as imaging targets.
[0508] [8-2. Second Modification of Fifth Embodiment]
[0509] Next, a second modification of the fifth embodiment will be described. The second modification of the fifth embodiment is an example in which the mediation controller 1110 applies an image for visual recognition output from the visual recognition processing unit 14 as mediation information for mediation processing. Fig.59 is a functional block diagram showing an example of the functions of the imaging apparatus 1 applicable to the second modification of the fifth embodiment.
[0510] exist Fig.59 In the configuration shown above, Fig.52 Compared to the configuration shown in the figure, the signal processing result obtained by the image processing unit 143 in the execution of the image processing is input to the mediation controller 1110b. The signal processing result may be the unprocessed image data for visual recognition output from the image processing unit 143, or may be the image data processed to facilitate the determination by the mediation controller 1110. The mediation controller 1110b according to the second modification of the fifth embodiment uses the signal processing result as mediation information, thereby performing mediation processing between the readout area information input from the recognition processing unit 12 and the readout area information input from the visual recognition processing unit 14.
[0511] Fig.60 is a schematic diagram showing the mediation process according to the second modification of the fifth embodiment. Fig.60 The parts are similar to the above Fig.56 Therefore, the description will be omitted here. Fig.60 Each image shown corresponds to the above Fig.57 Each image used in , and is a dark image with low brightness as a whole, in which the front side (the lower end side of the frame) is brighter with slightly higher brightness.
[0512] As shown in step S70, the row readout starts from the lower end side of the frame. The image processing unit 143 calculates the brightness value of the read row data (for example, the average value of the brightness values of the individual pixel data included in the row), and transmits the signal processing result including the calculated brightness value to the mediation controller 1110b. In the case where the brightness value included in the signal processing result transmitted from the image processing unit 143 is the first threshold value or greater, the mediation controller 1110b determines that the read area is bright and suitable for visual recognition, and therefore performs control that gives higher priority to visual recognition. Specifically, the mediation controller 1110b selects the read area information input from the visual recognition processing unit 14 from the read area information input from the recognition processing unit 12 and the read area information input from the visual recognition processing unit 14. The mediation controller 1110b selects the read area information input from the selected visual recognition processing unit 14 as the read area information indicating the row to be read next.
[0513] exist Fig.60 In the example of , it is assumed that when the brightness value of the line is a predetermined value or more, the visual recognition processing unit 14 is requested to perform line thinning. The visual recognition processing unit 14 generates readout area information for thinning the line at the lower end of the frame and transmits the generated information to the mediation controller 1110.
[0514] Based on the row data obtained by subsequently reading out the row, the image processing unit 143 transmits the signal processing result including the brightness value of the row data to the mediation controller 1110b. In the case where the brightness value included in the received signal processing result is less than the first threshold value, the mediation controller 1110b determines that the readout area is dark and not suitable for visual recognition, and thus performs control that gives recognition a higher priority. Specifically, the mediation controller 1110b selects the readout area information input from the recognition processing unit 12 from the readout area information input from the recognition processing unit 12 and the readout area information input from the visual recognition processing unit 14 (step S71).
[0515] Row readout is further performed toward the upper end side of the frame, and a signal processing result including a brightness value of the row data is transmitted from the image processing unit 143 to the mediation controller 1110b. In the case where the brightness value included in the signal processing result transmitted from the image processing unit 143 is the first threshold value or more, the mediation controller 1110b determines that the readout area is bright and suitable for visual recognition, and therefore returns control to control that gives higher priority to visual recognition. Specifically, the mediation controller 1110b selects the readout area information input from the visual recognition processing unit 14 as the readout area information indicating the row to be read out next from the readout area information input from the recognition processing unit 12 and the readout area information input from the visual recognition processing unit 14 (step S72).
[0516] Although the above description is an example in which the brightness value is determined only by the first threshold value, the present disclosure is not limited to this example. For example, it is allowed to provide a second brightness value having a brightness value higher than the first threshold value so that the second threshold value is applied to the control that gives higher priority to visual recognition. By using the second threshold value, a phenomenon called a "blown out" state in which the brightness value is saturated in the control that gives higher priority to visual recognition can be avoided.
[0517] Fig.61 is a flowchart showing an example of mediation processing according to the second modification of the fifth embodiment. Fig.61 The processing of the flowchart is a processing executed for each readout of the readout unit.
[0518] In step S300, the readout unit 110 reads the line data from the sensor unit 10. The readout unit 110 transfers the line data read out from the sensor unit 10 to the recognition processing unit 12 and the visual recognition processing unit 14. Fig.61 The processing on the recognition processing unit 12 side of steps S301 to S303 and the processing on the visual recognition processing unit 14 side of steps S311 to S313 are the same as those described above. Fig.51 The corresponding processing in is the same, and therefore the description is omitted here.
[0519] exist Fig.61 In step S303, as described above, the recognition processing unit 12 generates readout row information indicating the next readout row as readout area information, and transmits the generated information to the sensor controller 11. The readout area information transmitted to the sensor controller 11 is input to the mediation controller 1110b as control information. Similarly, in step S313, the visual recognition processing unit 14 generates readout row information indicating the next readout row as readout area information, and transmits the generated information to the sensor controller 11. The readout area information transmitted to the sensor controller 11 is input to the mediation controller 1110b as control information.
[0520] After the control signals are input to the mediation controller 1110b from the recognition processing unit 12 and the visual recognition processing unit 14 in steps S303 and S313, the process proceeds to step S320c. In step S320c, the mediation controller 1110b acquires the signal processing result output from the image processing unit 143 as mediation information.
[0521] In the next step S321, the mediation controller 1110b determines which of the readout area information delivered from the recognition processing unit 12 in step S303 and the readout area information delivered from the visual recognition processing unit 14 in step S313 is to be defined as the readout area information indicating the row to be read out next, based on the brightness value included in the signal processing result acquired in step S320c. In the next step S322, the sensor controller 11 delivers the readout area information determined by the mediation controller 1110b in step S321 to the readout processing controller 1111, and performs row control processing to read out the readout row indicated in the readout area information.
[0522] In this way, in the second modification of the fifth embodiment, it is possible to adaptively determine which of the readout area information output from the recognition processing unit 12 and the readout area information output from the visual recognition processing unit 14 is to be used as the readout area information indicating the readout line to be read out next, based on the brightness value based on the line data. This makes it possible to obtain an appropriate image for visual recognition according to the brightness of the imaging environment.
[0523] [8-3. Third Modification of Fifth Embodiment]
[0524] Next, a third modification of the fifth embodiment will be described. The third modification of the fifth embodiment is an example in which the mediation controller 1110 applies external control information supplied from the outside as mediation information for mediation processing. Fig.62 : is a functional block diagram showing an example of the functions of the imaging apparatus 1 applicable to the third modification of the fifth embodiment.
[0525] With the above Fig.52 Compared to the configuration shown, Fig.62 The configuration shown enables external control information to be input to the mediation controller 1110c. When the imaging device 1 is installed on a vehicle capable of autonomous driving, information indicating the autonomous driving level (e.g., level 2 to level 4) compatible with the vehicle can be applied to the external control information. Without limitation thereto, output signals of other sensors can be used as external control information. In this case, examples of other sensors include another imaging device, a LiDAR sensor, a radar device, and the like. In addition, the output of a camera of an electronic mirror that monitors the conditions around the vehicle by using a camera and a display can also be used as external control information. In addition, for example, information indicating an operating mode of an external device can be used as external control information.
[0526] The mediation controller 1110 c according to the third modification of the fifth embodiment uses the external control information as mediation information, thereby performing mediation processing between the readout area information input from the recognition processing unit 12 and the readout area information input from the visual recognition processing unit 14 .
[0527] Fig.63 is a flowchart showing an example of mediation processing according to the third modification of the fifth embodiment. Fig.63 The processing of the flowchart is a processing executed for each readout of the readout unit.
[0528] In step S300, the readout unit 110 reads the line data from the sensor unit 10. The readout unit 110 transfers the line data read out from the sensor unit 10 to the recognition processing unit 12 and the visual recognition processing unit 14. Fig.63 The processing on the recognition processing unit 12 side of steps S301 to S303 and the processing on the visual recognition processing unit 14 side of steps S311 to S313 are the same as those described above. Fig.51 The corresponding processing in is the same, and therefore the description is omitted here.
[0529] exist Fig.63 In step S303, as described above, the recognition processing unit 12 generates readout row information indicating the next readout row as readout area information, and transmits the generated information to the sensor controller 11. The readout area information transmitted to the sensor controller 11 is input to the mediation controller 1110c as control information. Similarly, in step S313, the visual recognition processing unit 14 generates readout row information indicating the next readout row as readout area information, and transmits the generated information to the sensor controller 11. The readout area information transmitted to the sensor controller 11 is input to the mediation controller 1110c as control information.
[0530] After the control signals are input from the recognition processing unit 12 and the visual recognition processing unit 14 to the mediation controller 1110c in steps S303 and S313, the process proceeds to step S320d. In step S320d, the mediation controller 1110c acquires external control information input from an external device as mediation information.
[0531] In the next step S321, the mediation controller 1110c determines, based on the external control information obtained in step S320d, which of the read-out area information transmitted from the recognition processing unit 12 in step S303 and the read-out area information transmitted from the visual recognition processing unit 14 in step S313 will be defined as the read-out area information indicating the row to be read next.
[0532] At this time, in the case where the reliability of the identification information is low when the mediation controller 1110c uses the identification information input from another sensor as the external control information, for example, in step S303, the mediation controller 1110c controls not to select the readout area information delivered from the identification processing unit 12. In addition, regarding the external control information, it can be conceived that when the imaging device 1 is mounted on a vehicle capable of autonomous driving and information indicating an autonomous driving level (e.g., level 2 to level 4) compatible with the vehicle is used, the readout area information delivered from the identification processing unit 12 in step S303 will be used with higher priority.
[0533] In the next step S322, the sensor controller 11 passes the readout region information determined by the mediation controller 1110c in step S321 to the readout processing controller 1111, and performs row control processing to read out the readout row indicated in the readout region information.
[0534] In this way, in the third modification of the fifth embodiment, the mediation controller 1110c performs mediation by using the external control information output from the external device as the mediation information. This makes it possible to apply in various cases, and in the case where the external device is an external sensor that does not have an output of image data for visual recognition, an image based on the image data for visual recognition can be provided to the external sensor.
[0535] [9. Sixth embodiment]
[0536] Next, as a sixth embodiment, application examples of the imaging apparatus 1 according to the first to fifth embodiments and according to each modification of the present disclosure will be described. Fig.64 1 and 2 are diagrams showing examples of using the imaging apparatus 1 according to the above-described first to fifth embodiments and respective modifications.
[0537] The above-described imaging device 1 is applicable to the following various cases in which sensing is performed on light including visible light, infrared light, ultraviolet light, and X-rays.
[0538] - Devices that capture images for entertainment viewing, such as digital cameras and mobile devices with camera capabilities.
[0539] -Devices for traffic, such as on-board sensors that image the front, rear, surroundings, interior, etc. of the vehicle to ensure safe driving including automatic stop, etc., and recognize the driver's status; surveillance cameras that monitor moving vehicles and roads; and ranging sensors that perform distance measurement between vehicles, etc.
[0540] -Devices for home appliances, including TVs, refrigerators, air conditioners, etc., to image the user's gestures and perform operations of the device according to the gestures.
[0541] - Devices used in medical and health care, such as endoscopes and devices that perform angiography by receiving infrared light.
[0542] -Devices for security, such as surveillance cameras for crime prevention and cameras for personal identity verification.
[0543] - Devices for beauty purposes, such as skin measurement devices for imaging the skin and microscopes for imaging the scalp.
[0544] -Devices for sports, such as action cameras and wearable cameras for sports applications.
[0545] -Devices for use in agriculture, such as cameras for monitoring the condition of fields and crops.
[0546] [Further application examples of the technology according to the present disclosure]
[0547] The technology according to the present disclosure (the present technology) is applicable to various products. For example, the technology according to the present disclosure can be applied to devices installed on various mobile objects (such as automobiles, electric vehicles, hybrid electric vehicles, motorcycles, bicycles, personal mobility devices, airplanes, drones, ships, and robots).
[0548] Fig.65 : is a block diagram showing an example of a schematic configuration of a vehicle control system as an example of a moving body control system to which the technology according to the embodiment of the present disclosure can be applied.
[0549] The vehicle control system 12000 includes a plurality of electronic control units connected to each other via a communication network 12001. Fig.65In the example shown, the vehicle control system 12000 includes a drive system control unit 12010, a body system control unit 12020, an external information detection unit 12030, an internal information detection unit 12040, and an integrated control unit 12050. In addition, a microcomputer 12051, a sound / image output unit 12052, and an in-vehicle network interface (I / F) 12053 are shown as the functional configuration of the integrated control unit 12050.
[0550] The drive system control unit 12010 controls the operation of the devices related to the drive system of the vehicle according to various programs. For example, the drive system control unit 12010 is used as a control device to control: a drive force generating device for generating the drive force of the vehicle, such as an internal combustion engine, a drive motor, etc., a drive force transmitting mechanism for transmitting the drive force to the wheels, a steering mechanism for adjusting the steering angle of the vehicle, and a braking device for generating the braking force of the vehicle, etc.
[0551] The body system control unit 12020 controls the operation of various types of equipment configured for the body according to various programs. For example, the body system control unit 12020 is used as a control device to control the following items: a keyless entry system, a smart key system, a power window device, or various lights such as headlights, reverse lights, brake lights, turn signals, fog lights, etc. In this case, the body system control unit 12020 can receive as input radio waves transmitted from a mobile device that replaces the key or signals from various switches. The body system control unit 12020 receives these input radio waves or signals to control the door lock device, power window device, lights, etc. of the vehicle.
[0552] The vehicle exterior information detection unit 12030 detects information outside the vehicle equipped with the vehicle control system 12000. For example, the vehicle exterior information detection unit 12030 is connected to an imaging unit 12031. The vehicle exterior information detection unit 12030 causes the imaging unit 12031 to image an image of the vehicle exterior, and receives the imaged image. Based on the received image, the vehicle exterior information detection unit 12030 may perform a process of detecting an object (such as a person, vehicle, obstacle, sign, symbol, etc. on the road), or perform a process of detecting the distance to the object.
[0553] The imaging unit 12031 is an optical sensor that receives light and outputs an electrical signal corresponding to the amount of light received. The imaging unit 12031 can output the electrical signal as an image, or can output the electrical signal as information about the measured distance. In addition, the light received by the imaging unit 12031 may be visible light, or may be invisible light such as infrared rays.
[0554] The in-vehicle information detection unit 12040 detects information about the interior of the vehicle. The in-vehicle information detection unit 12040 may be connected to a driver state detection unit 12041 that detects the state of the driver. The driver state detection unit 12041 includes, for example, a camera that photographs the driver. Based on the detection information input from the driver state detection unit 12041, the in-vehicle information detection unit 12040 may calculate the driver's fatigue level or the driver's concentration level, or may distinguish whether the driver is dozing off.
[0555] The microcomputer 12051 can calculate a control target value for a driving force generation device, a steering mechanism, or a braking device based on information about the interior or exterior of the vehicle obtained by the vehicle exterior information detection unit 12030 or the vehicle interior information detection unit 12040, and output a control command to the drive system control unit 12010. For example, the microcomputer 12051 can perform cooperative control aimed at realizing functions of an advanced driver assistance system (ADAS), including collision avoidance or impact buffering for the vehicle, following driving based on vehicle-to-vehicle distance, vehicle speed maintenance driving, an alarm for vehicle collision, an alarm for vehicle lane deviation, and the like.
[0556] In addition, the microcomputer 12051 can control the driving force generating device, the steering mechanism, and the braking device based on the information about the outside or inside of the vehicle obtained by the outside information detection unit 12030 or the inside information detection unit 12040, thereby performing collaborative control intended for automatic driving, etc. that is independent of the driver's operation.
[0557] In addition, the microcomputer 12051 can output a control command to the body system control unit 12020 based on the information about the exterior of the vehicle obtained by the exterior information detection unit 12030. For example, the microcomputer 12051 can control the headlights to change from high beam to low beam based on the position of the preceding vehicle or oncoming vehicle detected by the exterior information detection unit 12030, thereby performing cooperative control aimed at preventing glare by controlling the headlights.
[0558] The sound / image output unit 12052 transmits an output signal of at least one of sound and image to an output device, which can notify information to the passengers of the vehicle or the outside of the vehicle in a visual or auditory manner. Fig.65 In the example of FIG. 1206 , an audio speaker 12061, a display portion 12062, and an instrument panel 12063 are shown as output devices. The display portion 12062 may include, for example, at least one of an in-vehicle display and a head-up display.
[0559] Fig.66 12031 is a diagram showing an example of the installation position of the imaging unit 12031. Fig.66In the figure, the imaging unit 12031 includes imaging units 12101, 12102, 12103, 12104 and 12105.
[0560] The imaging units 12101, 12102, 12103, 12104 and 12105 may be arranged at the positions of the front nose, side mirrors, rear bumper, rear door and the upper portion of the windshield inside the vehicle 12100. The imaging unit 12101 arranged at the front nose and the imaging unit 12105 arranged at the upper portion of the windshield inside the vehicle mainly obtain images in front of the vehicle 12100. The imaging units 12102 and 12103 arranged at the side mirrors mainly obtain images of the sides of the vehicle 12100. The imaging unit 12104 arranged at the rear bumper or rear door mainly obtains images of the rear of the vehicle 12100. The imaging unit 12105 arranged at the upper portion of the windshield inside the vehicle is mainly used to detect the front vehicle, pedestrians, obstacles, signals, traffic signs, lanes, etc.
[0561] By the way, Fig.66 An example of the shooting range of the imaging units 12101 to 12104 is shown. Imaging range 12111 represents the imaging range of the imaging unit 12101 arranged at the front nose. Imaging ranges 12112 and 12113 respectively represent the imaging ranges of the imaging units 12102 and 12103 arranged at the side mirrors. Imaging range 12114 represents the imaging range of the imaging unit 12104 arranged at the rear bumper or the rear door. For example, a bird's-eye view image of the vehicle 12100 observed from above can be obtained by superimposing the image data imaged by the imaging units 12101 to 12104.
[0562] At least one of the imaging units 12101 to 12104 may have a function of obtaining distance information. For example, at least one of the imaging units 12101 to 12104 may be a stereo camera composed of a plurality of imaging elements, or may be an imaging element having pixels for phase difference detection.
[0563] For example, the microcomputer 12051 can determine the distance to each three-dimensional object within the imaging ranges 12111 to 12114 and the time change of the distance (relative speed relative to the vehicle 12100) based on the distance information obtained from the imaging units 12101 to 12104, and thereby extract the nearest three-dimensional object as the leading vehicle, which specifically exists on the driving path of the vehicle 12100 and travels at a predetermined speed (e.g., equal to or greater than 0 km / h) in the substantially same direction as the vehicle 12100. In addition, the microcomputer 12051 can pre-set the following distance to be maintained from the leading vehicle, and perform automatic braking control (including following parking control), automatic acceleration control (including following starting control), etc. Therefore, cooperative control intended for automatic driving, etc. that does not depend on the operation of the driver, can be performed.
[0564] For example, the microcomputer 12051 can classify the three-dimensional object data about the three-dimensional object into three-dimensional object data of two-wheeled vehicles, standard-sized vehicles, large vehicles, pedestrians, utility poles, and other three-dimensional objects based on the distance information obtained from the imaging units 12101 to 12104, and extract the classified three-dimensional object data for automatic avoidance of obstacles. For example, the microcomputer 12051 distinguishes whether the obstacles around the vehicle 12100 are obstacles that can be visually identified by the driver of the vehicle 12100, or obstacles that are difficult for the driver of the vehicle 12100 to visually identify. Then, the microcomputer 12051 determines the collision risk, which indicates the risk of collision with each obstacle. In the case where the collision risk is equal to or higher than the set value and there is a possibility of collision, the microcomputer 12051 outputs an alarm to the driver via the audio speaker 12061 or the display unit 12062, and performs forced deceleration or avoidance steering via the drive system control unit 12010. Thus, the microcomputer 12051 can assist driving to avoid collisions.
[0565] At least one of the imaging units 12101 to 12104 may be an infrared camera that detects infrared rays. For example, the microcomputer 12051 is capable of identifying pedestrians by determining whether there are pedestrians in the imaging images of the imaging units 12101 to 12104. This pedestrian recognition is performed, for example, by the following programs: a program for extracting characteristic points in the imaging images of the imaging units 12101 to 12104 as infrared cameras, and a program for determining whether it is a pedestrian by performing pattern matching processing on a series of characteristic points representing the contour of the object. When the microcomputer 12051 determines that there are pedestrians in the imaging images of the imaging units 12101 to 12104 and thus identifies the pedestrians, the sound / image output unit 12052 controls the display unit 12062 to display a square outline superimposed on the identified pedestrian for emphasizing the identified pedestrian. The sound / image output unit 12052 can also control the display unit 12062 to display an icon representing a pedestrian at a desired position.
[0566] In the above, an example of a vehicle control system to which the technology according to the present disclosure can be applied has been described. For example, the technology according to the present disclosure can be applied to the imaging unit 12031 in the above configuration. By applying the imaging device 1 according to the present disclosure to the imaging unit 12031, both imaging for recognition processing and imaging for visual recognition can be achieved, and sufficient information can be provided for each of the recognition processing and the visual recognition of a person.
[0567] The effects described in this specification are only examples, and therefore are not limited to the effects of the examples, and other effects may exist.
[0568] Furthermore, the present technology may also have the following configurations. (1)
[0570] An imaging device, comprising:
[0571] an imaging unit having a pixel area in which a plurality of pixels are arranged, and reading and outputting pixel signals from pixels included in the pixel area;
[0572] a readout unit controller that controls a readout unit provided as a part of the pixel region;
[0573] a first readout unit setting unit that sets a first readout unit for reading out a pixel signal from a pixel region to perform recognition processing for which training data for each of the readout units has been learned;
[0574] a second readout unit setting unit that sets a second readout unit for reading out a pixel signal from the pixel region to output the pixel signal to a subsequent stage; and
[0575] a mediation unit that performs mediation between the first readout unit and the second readout unit,
[0576] The readout unit controller sets the readout unit through the mediation of the mediation unit. (2)
[0578] According to the imaging device of (1),
[0579] The mediation unit performs mediation by a logical product of the first readout unit and the second readout unit. (3)
[0581] According to the imaging device of (1),
[0582] The mediation unit performs mediation based on the result of the identification process. (4)
[0584] According to the imaging device of (3),
[0585] Here, when the result of the recognition processing indicates recognition of the moving object, the mediation unit selects the second reading unit. (5)
[0587] The imaging device according to (3) or (4),
[0588] Wherein, in a case where the result of the recognition processing indicates a recognition confidence level of a threshold value or less, the mediation unit selects the second reading unit. (6)
[0590] According to the imaging device of (1),
[0591] The mediation unit performs mediation based on the pixel signal read out from the second readout unit. (7)
[0593] According to the imaging device of (6),
[0594] Wherein, when the brightness of the pixel signal exceeds a threshold, the mediation unit selects the second readout unit. (8)
[0596] The imaging device according to any one of (1) to (7),
[0597] The mediation unit performs mediation based on external information provided from outside the imaging device. (9)
[0599] According to the imaging device of (8),
[0600] The mediation unit performs mediation based on an operation mode provided from the outside. (10)
[0602] The imaging device according to (8) or (9),
[0603] Here, the mediation unit performs mediation based on a detection output of another sensor device provided from the outside. (11)
[0605] An imaging system, comprising:
[0606] An imaging device comprising:
[0607] an imaging unit having a pixel area in which a plurality of pixels are arranged, and reading and outputting pixel signals from pixels included in the pixel area;
[0608] a readout unit controller that controls a readout unit provided as a part of the pixel region;
[0609] a first readout unit setting unit that sets a first readout unit for reading out a pixel signal from a pixel region to perform recognition processing for which training data for each of the readout units has been learned;
[0610] a second readout unit setting unit that sets a second readout unit for reading out a pixel signal from the pixel region to output the pixel signal to a subsequent stage; and
[0611] a mediation unit that performs mediation between the first reading unit and the second reading unit; and
[0612] An information processing device equipped with a recognition unit that performs recognition processing,
[0613] The readout unit controller sets the readout unit through the mediation of the mediation unit. (12)
[0615] An imaging method executed by a processor, comprising:
[0616] a readout unit control step for controlling a readout unit provided as a part of a pixel area where a plurality of pixels are arranged, the pixel area being included in the imaging unit;
[0617] a first readout unit setting step for setting a first readout unit for reading out pixel signals from pixels included in the pixel area to perform recognition processing for which training data for each of the readout units has been learned;
[0618] a second readout unit setting step for setting a second readout unit for reading out a pixel signal from the pixel region to output the pixel signal to a subsequent stage; and
[0619] a mediation step for performing mediation between the first readout unit and the second readout unit,
[0620] The readout unit control step sets the readout unit through the mediation of the mediation step. (13)
[0622] An imaging program that causes the processor to perform:
[0623] a readout unit control step for controlling a readout unit provided as a part of a pixel area where a plurality of pixels are arranged, the pixel area being included in the imaging unit;
[0624] a first readout unit setting step for setting a first readout unit for reading out pixel signals from pixels included in the pixel area to perform recognition processing for which training data for each of the readout units has been learned;
[0625] a second readout unit setting step for setting a second readout unit for reading out a pixel signal from the pixel region to output the pixel signal to a subsequent stage; and
[0626] a mediation step for performing mediation between the first readout unit and the second readout unit,
[0627] The readout unit control step sets the readout unit through the mediation of the mediation step.
[0628] Furthermore, the present technology may also have the following configurations. (14)
[0630] An electronic device, comprising:
[0631] an imaging unit that generates image data;
[0632] a machine learning unit that performs a machine learning process using a learning model on the image data of each unit area read out from the imaging unit; and
[0633] A function execution unit that executes a predetermined function based on the result of the machine learning process. (15)
[0635] The electronic device according to (14),
[0636] Among them, the machine learning unit performs machine learning processing using a convolutional neural network (CNN) on the image data of the unit area that is first input in the image data of the same frame. (16)
[0638] The electronic device according to (15),
[0639] Among them, in the case where the machine learning processing using CNN on the image data having the unit area input first fails, the machine learning unit performs machine learning processing using a recurrent neural network (RNN) on the next input image data having the unit area in the same frame. (17)
[0641] The electronic device according to any one of (14) to (16), further comprising:
[0642] a control section that reads out image data from the imaging unit in units of lines,
[0643] Among them, image data is input into the machine learning unit in units of lines. (18)
[0645] The electronic device according to any one of (14) to (17),
[0646] Here, the image data in the unit area is image data having a predetermined number of lines. (19)
[0648] The electronic device according to any one of (14) to (17),
[0649] Here, the image data in the unit area is image data in a rectangular area. (20)
[0651] The electronic device according to any one of (14) to (19), further comprising:
[0652] a memory that records the program of the learning model,
[0653] Among them, the machine learning unit performs machine learning processing by reading out a program from a memory and executing the program.
[0654] Reference Mark List
[0655] 1 Imaging equipment
[0656] 10 Sensor unit
[0657] 11 Sensor Controller
[0658] 12 Identification Processing Unit
[0659] 14 Visual recognition processing unit
[0660] 110 Readout unit
[0661] 111 Readout Controller
[0662] 120 Feature data calculation unit
[0663] 121 Features Data Storage Controller
[0664] 122 Feature data storage unit
[0665] 123 Readout Determinator
[0666] 124 Identification processing execution unit
[0667] 140 Image data storage controller
[0668] 141 Image data storage unit
[0669] 143 Image processing unit.
Claims
1. An imaging device, include: an imaging unit having a pixel area in which a plurality of pixels are arranged, and reading and outputting pixel signals from pixels included in the pixel area; a readout unit controller that controls a readout unit disposed as a part of the pixel region; a first readout unit setting unit that sets a first readout unit for reading out the pixel signal from the readout unit to perform recognition processing for which training data for each of the readout units has been learned; a second readout unit setting unit that sets a second readout unit for reading out the pixel signal from the readout unit to output the pixel signal to a subsequent stage, wherein the first readout unit and the second readout unit are set at the same time; and a mediation unit, performing mediation between the first reading unit and the second reading unit, Among them, the first read-out unit and the second read-out unit respectively output the read-out area information of the next read-out unit, the mediation unit performs mediation on the two read-out area information, determines the final read-out area information to be used as the next read-out, and the read-out unit controller sets the read-out unit for the next read-out through the read-out area information obtained by the mediation of the mediation unit.
2. The imaging device according to claim 1, in, The mediation unit performs the mediation by a logical product of the first readout unit and the second readout unit.
3. The imaging device according to claim 1, in, The mediation unit performs the mediation based on a result of the identification process.
4. The imaging device according to claim 3, in, The mediation unit selects the second reading unit in a case where the result of the recognition process indicates recognition of a moving body.
5. The imaging device according to claim 3, in, In a case where the result of the recognition process indicates a recognition confidence level of a threshold value or less, the mediation unit selects the second reading unit.
6. The imaging device according to claim 1, in, The mediation unit performs the mediation based on the pixel signal read out from the second readout unit.
7. The imaging device according to claim 6, in, The mediation unit selects the second readout unit when the brightness based on the pixel signal exceeds a threshold.
8. The imaging device according to claim 1, in, The mediation unit performs the mediation based on external information provided from outside the imaging device.
9. The imaging device according to claim 8, in, The mediation unit performs the mediation based on an operation mode provided from the outside.
10. The imaging device according to claim 8, in, The mediation unit performs the mediation based on a detection output of another sensor device provided from the outside.
11. An imaging system, include: Imaging equipment, equipped with: an imaging unit having a pixel area in which a plurality of pixels are arranged, and reading and outputting pixel signals from pixels included in the pixel area; a readout unit controller that controls a readout unit disposed as a part of the pixel region; a first readout unit setting unit that sets a first readout unit for reading out the pixel signal from the readout unit to perform recognition processing for which training data for each of the readout units has been learned; a second readout unit setting unit that sets a second readout unit for reading out the pixel signal from the readout unit to output the pixel signal to a subsequent stage, wherein the first readout unit and the second readout unit are set at the same time; and a mediation unit that performs mediation between the first reading unit and the second reading unit; and an information processing device equipped with a recognition unit that performs the recognition processing, Among them, the first read-out unit and the second read-out unit respectively output the read-out area information of the next read-out unit, the mediation unit performs mediation on the two read-out area information, determines the final read-out area information to be used as the next read-out, and the read-out unit controller sets the read-out unit for the next read-out through the read-out area information obtained by the mediation of the mediation unit.
12. An imaging method performed by a processor, include: a readout unit control step for controlling a readout unit provided as a part of a pixel area where a plurality of pixels are arranged, the pixel area being included in the imaging unit; a first readout unit setting step for setting a first readout unit for reading out pixel signals from the readout units to perform recognition processing for which training data for each of the readout units has been learned; a second readout unit setting step for setting a second readout unit for reading out the pixel signal from the readout unit to output the pixel signal to a subsequent stage, wherein the first readout unit and the second readout unit are set at the same time; and a mediation step for performing mediation between the first reading unit and the second reading unit, Among them, the first read-out unit and the second read-out unit respectively output the read-out area information of the next read-out unit, the mediation step performs mediation on the two read-out area information to determine the final read-out area information to be used as the next read-out, and the read-out unit control step sets the read-out unit for the next read-out through the read-out area information obtained by the mediation of the mediation step.
13. A computer storage medium storing an imaging program, which, when executed, causes a processor to perform: a readout unit control step for controlling a readout unit provided as a part of a pixel area where a plurality of pixels are arranged, the pixel area being included in the imaging unit; a first readout unit setting step for setting a first readout unit for reading out pixel signals from the readout units to perform recognition processing for which training data for each of the readout units has been learned; a second readout unit setting step for setting a second readout unit for reading out the pixel signal from the readout unit to output the pixel signal to a subsequent stage, wherein the first readout unit and the second readout unit are set at the same time; and a mediation step for performing mediation between the first reading unit and the second reading unit, Among them, the first read-out unit and the second read-out unit respectively output the read-out area information of the next read-out unit, the mediation step performs mediation on the two read-out area information to determine the final read-out area information to be used as the next read-out, and the read-out unit control step sets the read-out unit for the next read-out through the read-out area information obtained by the mediation of the mediation step.
