Imaging system, imaging device, information processing server, imaging method, information processing method, and computer program

The imaging system allows users to generate custom dictionary data for object detection, addressing limitations in existing systems by incorporating teacher data input and network structure designation, enhancing subject detection accuracy and flexibility.

JP7543328B2Active Publication Date: 2024-09-02CANON KK
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2022012054
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-01-28
Publication Date
2024-09-02
Estimated Expiration
2042-01-28

AI Technical Summary

Technical Problem

Existing imaging systems using neural networks struggle to allow users to detect arbitrary subjects due to limitations in generating and updating dictionary data, and constraints on network structures differ across devices, hindering effective object detection.

Method used

An imaging system that includes teacher data input, network structure designation, and dictionary data generation means, allowing users to specify constraints and generate custom dictionary data for object detection, tailored to the specific device's network structure.

Benefits of technology

Enables users to create arbitrary dictionary data for object detection, improving the system's ability to detect various subjects accurately and efficiently, with the option for validation and billing for custom dictionaries.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007543328000011
    Figure 0007543328000011
  • Figure 0007543328000016
    Figure 0007543328000016
  • Figure 0007543328000003
    Figure 0007543328000003
Patent Text Reader

Abstract

To provide an imaging system that allows a user to generate arbitrary dictionary data.SOLUTION: An imaging system for performing subject detection on the basis of a neural network includes: teacher data inputting means that inputs teacher data for the subject detection; network structure specifying means that specifies restriction of a network structure in the subject detection; dictionary generating means that generates dictionary data for the subject detection on the basis of the teacher data and the restriction of the network structure; and an imaging device that carries out the subject detection on the basis of the dictionary data generated by the dictionary generating means, and carries out predetermined imaging control with respect to a subject detected by the subject detection. The dictionary data includes, as header information, information on the number of sheets of the teacher data used for generation of the dictionary data.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an imaging system, an imaging device, an information processing server, an imaging method, an information processing method, and a computer program that use a neural network. [Background technology]

[0002] Object detection is one of the fields of computer vision research and has been widely studied. Computer vision is a technology that understands images input into a computer and automatically recognizes various characteristics of the image. Object detection is the task of estimating the position and type of objects present in a natural image. Object detection is applied to autofocus technology in imaging devices, etc.

[0003] In recent years, imaging devices that detect subjects using machine learning techniques such as neural networks have become known. Such imaging devices use trained models (dictionary data) corresponding to specific subjects to detect the specific subjects and control the imaging. Typical types of specific subjects are people, animals such as dogs and cats, and vehicles such as automobiles, and are subjects that are in high demand for the autofocus function of imaging devices. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2011-90410 A [Patent Document 2] JP 2011-90413 A Summary of the Invention [Problem to be solved by the invention]

[0005] Patent Document 1 discloses an image processing device that receives dictionary data for recognizing objects present in a specified location from a server device. Although the dictionary data is switched depending on the situation, the device is not configured to enable the user to detect any specific object.

[0006] Patent Document 2 discloses an image processing device that realizes an object detector suitable for a user by additional learning. Since it is additional learning, it is difficult for a user to detect any new object. In addition, the image processing device is premised on a situation in which learning and inference are executed, but for example, in an imaging device, etc., there are cases in which the constraints of the object detection network structure are different, and additional learning may not be performed appropriately.

[0007] The present invention has been made in consideration of the above-mentioned problems, and has an object to provide an imaging system that allows a user to generate arbitrary dictionary data. [Means for solving the problem]

[0008] In order to solve the above problems, the present invention provides: In an imaging system that performs subject detection based on a neural network, A training data input means for inputting training data for the subject detection; A network structure designation means for designating constraints on the network structure in the subject detection. and, Based on the training data and the constraints of the network structure, the dictionary data for subject detection is A dictionary generating means for generating data; performing the subject detection based on the dictionary data generated by the dictionary generation means; the network structure designation means designates information regarding the network structure by designating a model of the imaging device; an imaging device that performs a predetermined imaging control on the subject detected by the subject detection; The present invention is characterized by the above. Effect of the Invention

[0009] According to the present invention, it is possible to realize an imaging system that allows a user to generate any dictionary data. [Brief description of the drawings]

[0010] [Figure 1] 1 is a configuration diagram of an imaging system according to a first embodiment of the present invention. [Diagram 2] 1 is a block diagram showing an example of the configuration of an imaging device 100 according to a first embodiment. [Diagram 3] 2 is a block diagram showing a schematic configuration of a neural network processing unit 205 according to the first embodiment. FIG. [Figure 4] FIG. 13 is a diagram illustrating an example of constraints in terms of a network structure. [Diagram 5] FIG. 2 is a block diagram showing an example of the hardware configuration of a server 110. [Figure 6] 2 is a block diagram showing an example of the hardware configuration of a mobile terminal 120. FIG. [Figure 7] 4 is a flowchart showing a process of the imaging device according to the first embodiment. [Figure 8] 11A and 11B are diagrams illustrating an example of subject detection based on dictionary data. [Figure 9] 11 is a flowchart showing a process of the server according to the first embodiment. [Figure 10] 1 is a flowchart illustrating a process flow of generating dictionary data according to the first embodiment. [Figure 11] 10 is a flowchart showing an example of a flow of a process executed by the mobile terminal 120 according to the first embodiment. [Figure 12] FIG. 6 is a diagram for explaining an example of an input screen for teacher data and a network structure on the display unit 604 of the mobile terminal according to the first embodiment. [Figure 13] FIG. 11 is a diagram illustrating an example of the configuration of an imaging system according to a second embodiment. [Figure 14] 11 is a flowchart illustrating an example of processing in an imaging device according to a second embodiment. [Figure 15] 11A and 11B are diagrams illustrating imaging control before and after a user custom dictionary is enabled. [Figure 16] FIG. 11 is a configuration diagram of an imaging system according to a third embodiment. [Figure 17] 11 is a flowchart for explaining a process of the imaging device 100 in the third embodiment. [Figure 18] 18 is a flowchart illustrating the flow of processing for inputting teacher data in FIG. 17(B). [Figure 19] FIG. 19 is a diagram showing an example of a teacher data input screen in FIG. 18. [Figure 20] 10 is a diagram for explaining an example of checking information of dictionary data in the imaging device 100. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. In each drawing, the same members or elements are given the same reference numerals, and duplicated descriptions will be omitted or simplified.

[0012] In the embodiment, a digital still camera is used as the imaging device. However, the imaging device may include electronic devices having an imaging function, such as digital movie cameras, smartphones with cameras, tablet computers with cameras, network cameras, in-vehicle cameras, drone cameras, and cameras mounted on robots.

[0013] <Example 1> An imaging system according to a first embodiment of the present invention will be described in detail below.

[0014] 1 is a configuration diagram of an imaging system according to a first embodiment of the present invention, and the imaging system includes an imaging device 100, a server 110 as an information processing server, and a mobile terminal 120 as an information processing terminal different from the imaging device 100. The imaging device 100 and the server 110 are connected to each other, for example, via a wireless communication network. Also, the server 110 and the mobile terminal 120 are connected to each other, for example, via a wireless communication network.

[0015] 1 are realized by causing a computer included in the server 110 and the mobile terminal 120 to execute a computer program stored in a memory serving as a storage medium. This also applies to Figs. 13 and 16, which will be described later.

[0016] The imaging system according to the first embodiment performs subject detection based on a neural network and also enables a user to detect any subject. A representative subject detection method is a method called a convolutional neural network (hereinafter abbreviated as CNN). In CNN, inference processing is performed based on an image signal and dictionary data, which is a processing parameter, and the dictionary data is generated in advance by a learning process based on teacher data.

[0017] In the imaging system of the first embodiment, the mobile terminal 120 has a teacher data input unit 121 as a teacher data input means for inputting teacher data for subject detection. In addition, the teacher data input unit 121 executes a teacher data input step for inputting teacher data for subject detection.

[0018] In addition, the teacher data input unit 121 can input multiple sets of teacher data, each of which is a set of image data and subject area information of the image data in which the target subject is present, and can transmit these multiple sets to the server 110.

[0019] In the server 110, the teacher data transmitted from the mobile terminal 120 is acquired, and the dictionary data generation unit 111 generates dictionary data based on the acquired teacher data. The generated dictionary data is transmitted to the imaging device 100. In the first embodiment, the dictionary data generation unit 111 as a dictionary generating means is provided in the server 110 as an information processing server different from the imaging device.

[0020] In the imaging device 100, the dictionary data transmitted from the server 110 is received, and the subject detection unit 101 performs inference processing based on a neural network based on the received dictionary data. Next, imaging control such as autofocus is executed in the imaging control unit 102 based on the inference result. That is, the imaging device 100 performs subject detection based on the dictionary data, and performs predetermined imaging control (autofocus, exposure control, etc.) on the subject detected by the subject detection.

[0021] The constraints on the network structure for subject detection may differ depending on the model of the imaging device 100. In such a case, the dictionary data also differs according to the constraints on the network structure. Therefore, the mobile terminal 120 is provided with a network structure designation unit 122 as a network structure designation means. The network structure designation unit 122 designates the model name and ID of the imaging device, and designates constraint conditions on the network structure as information on the network structure, and transmits it to the server 110.

[0022] That is, the network structure designation unit 122 executes a network structure designation step for designating information related to the network structure.

[0023] The dictionary data generating unit 111 in the server 110 generates dictionary data for subject detection based on the teacher data and information related to the network structure.

[0024] Fig. 2 is a block diagram showing an example of the configuration of the imaging device 100 of the first embodiment. As shown in Fig. 2, the imaging device 100 includes a CPU 201, a memory 202, a non-volatile memory 203, an operation unit 204, a neural network processing unit 205, an imaging unit 212, an image processing unit 213, and an encoding processing unit 214. Furthermore, the imaging device 100 includes a display control unit 215, a display unit 216, a communication control unit 217, a communication unit 218, a recording medium control unit 219, and an internal bus 230.

[0025] Furthermore, the imaging device 100 uses a photographing lens 211 to form an optical image of a subject on a pixel array of an imaging section 212, but the photographing lens 211 may be either non-detachable from the body (housing, main body) of the imaging device 100. Furthermore, the imaging device 100 writes and reads image data to a recording medium 220 via a recording medium control section 219, but the recording medium 220 may be either detachable from the imaging device 100, or non-detachable.

[0026] The CPU 201 executes a computer program stored in the non-volatile memory 203 to control the operation of each unit (each functional block) of the imaging device 100 via the internal bus 230.

[0027] The memory 202 is a rewritable volatile memory. The memory 202 temporarily records a computer program for controlling the operation of each part of the imaging device 100, information such as parameters related to the operation of each part of the imaging device 100, information received by the communication control unit 217, etc. The memory 202 also temporarily records an image acquired by the imaging unit 212, and images and information processed by the image processing unit 213, the encoding processing unit 214, etc. The memory 202 has a sufficient storage capacity for temporarily recording these.

[0028] The non-volatile memory 203 is an electrically erasable and recordable memory, and may be, for example, an EEPROM or a hard disk. The non-volatile memory 203 stores computer programs for controlling the operation of each part of the imaging device 100 and information such as parameters related to the operation of each part of the imaging device 100. Various operations performed by the imaging device 100 are realized by such computer programs. Furthermore, the non-volatile memory 203 stores computer programs describing the processing contents of the neural network used by the neural network processing unit 205, and learned coefficient parameters such as weighting coefficients and bias values.

[0029] The weighting coefficient is a value indicating the strength of the connection between nodes in the neural network, and the bias is a value for providing an offset to the integrated value of the weighting coefficient and the input data. The non-volatile memory 203 can hold multiple learned coefficient parameters and computer programs describing the processing of the neural network.

[0030] Incidentally, a plurality of computer programs describing the neural network processing and learned coefficient parameters used in the above-mentioned neural network processing unit 205 may be temporarily stored in the memory 202 instead of the memory 203. Incidentally, the computer programs describing the neural network processing and the learned coefficient parameters correspond to dictionary data for subject detection.

[0031] The operation unit 204 provides a user interface for operating the imaging device 100. The operation unit 204 includes various buttons such as a power button, a menu button, a release button for shooting, a video recording button, and a cancel button, and the various buttons are configured with switches, a touch panel, etc. The CPU 201 controls the imaging device 100 according to instructions input by the user via the operation unit 204.

[0032] In the above description, the CPU 201 controls the imaging device 100 based on an operation input via the operation unit 204, but the present invention is not limited to this. For example, the CPU 201 may control the imaging device 100 based on a request input via the communication unit 218 from a remote controller (not shown) or the mobile terminal 120.

[0033] The neural network processing unit 205 performs inference processing of the subject detection unit 101 based on the dictionary data. Details will be described later with reference to FIG.

[0034] The photographing lens (lens unit) 211 is composed of a group of lenses including a zoom lens, a focus lens, etc., a lens control unit (not shown), an aperture (not shown), etc. The photographing lens 211 can function as a zoom unit that changes the angle of view. The lens control unit of the photographing lens 211 adjusts the focus and controls the aperture value (F value) according to a control signal transmitted from the CPU 201.

[0035] The imaging unit 212 can function as an acquisition unit that sequentially acquires a plurality of images including a moving image. For example, a CCD (charge-coupled device) image sensor, a CMOS (complementary metal-oxide semiconductor) image sensor, or the like is used as the imaging unit 212. The imaging unit 212 has a pixel array (not shown) in which photoelectric conversion units (pixels) that convert an optical image of a subject into an electric signal are arranged in a matrix, i.e., two-dimensionally. An optical image of the subject is formed on the pixel array by the photographing lens 211. The imaging unit 212 outputs the captured image to the image processing unit 213 or the memory 202. The imaging unit 212 can also acquire a still image.

[0036] The image processing unit 213 performs predetermined image processing on the image data output from the imaging unit 212 or the image data read from the memory 202. Examples of the image processing include dynamic range conversion processing, interpolation processing, reduction processing (resizing processing), color conversion processing, etc. Furthermore, the image processing unit 213 performs predetermined arithmetic processing for exposure control, distance measurement control, etc., using the image data acquired by the imaging unit 212.

[0037] Then, based on the calculation results obtained by the calculation processing by the image processing unit 213, the CPU 201 performs exposure control, distance measurement control, etc. Specifically, the CPU 201 performs AE (Auto Exposure) processing, AWB (Auto White Balance) processing, AF (Auto Focus) processing, etc. These shooting controls are performed with reference to the subject detection results by the neural network processing unit 205.

[0038] The encoding processing unit 214 compresses the size of the image data by performing intraframe predictive coding (intra-screen predictive coding), interframe predictive coding (inter-screen predictive coding), or the like on the image data from the image processing unit 213.

[0039] The display control unit 215 controls the display unit 216. The display unit 216 has a display screen (not shown). The display control unit 215 generates an image that can be displayed on the display screen of the display unit 216, and outputs the image, i.e., an image signal, to the display unit 216. The display control unit 215 not only outputs image data to the display unit 216, but can also output image data to an external device via the communication control unit 217. The display unit 216 displays an image on the display screen based on the image signal sent from the display control unit 215.

[0040] The display unit 216 has an OSD (On Screen Display) function that displays a setting screen such as a menu on the display screen. The display control unit 215 can superimpose an OSD image on an image signal and output the image signal to the display unit 216. It is also possible to generate a subject frame based on the subject detection result by the neural network processing unit 205 and display it superimposed on the image signal. The display unit 216 is composed of a liquid crystal display, an organic EL display, or the like, and displays the image signal sent from the display control unit 215. The display unit 216 may include, for example, a touch panel. When the display unit 216 includes a touch panel, the display unit 216 can also function as the operation unit 204.

[0041] The communication control unit 217 is controlled by the CPU 201. The communication control unit 217 generates a modulated signal conforming to a wireless communication standard such as IEEE802.11, outputs the modulated signal to the communication unit 218, and receives the modulated signal from an external device via the communication unit 218. The communication control unit 217 can also transmit and receive a control signal for a video signal. For example, the communication unit 217 may control the communication unit 218 to send a video signal conforming to a communication standard such as HDMI (registered trademark) (High Definition Multimedia Interface) or SDI (Serial Digital Interface).

[0042] The communication unit 218 converts the video signal and the control signal into physical electrical signals and transmits and receives them to and from external devices. Note that the communication unit 218 not only transmits and receives the video signal and the control signal, but also receives dictionary data for subject detection in the neural network processing unit 205.

[0043] The recording medium control unit 219 controls the recording medium 220. Based on a request from the CPU 201, the recording medium control unit 219 outputs a control signal for controlling the recording medium 220 to the recording medium 220. For example, a non-volatile memory or a magnetic disk is used as the recording medium 220. As described above, the recording medium 220 may be removable or non-removable. The recording medium 220 stores the encoded image data, etc. as a file in a format compatible with the file system of the recording medium 220.

[0044] The functional blocks 201 to 205, 212 to 215, 217, and 219 are accessible to each other via an internal bus 230.

[0045] 2 are realized by causing a CPU 201 as a computer included in the imaging device 100 to execute a computer program stored in a non-volatile memory 203 as a storage medium. However, some or all of these may be realized by hardware. As the hardware, a dedicated circuit (ASIC) or a processor (reconfigurable processor, DSP), etc., may be used.

[0046] FIG. 3 is a block diagram showing a schematic configuration of the neural network processing unit 205 according to the first embodiment.

[0047] The neural network processing unit 205 executes neural network processing using pre-trained coefficient parameters. The neural network processing is, for example, configured with a fully connected layer of CNN, but is not limited to this. The above-mentioned trained coefficient parameters correspond to the weight coefficients and bias values ​​of each edge connecting the nodes of each layer in the fully connected layer, and the weight coefficients and bias values ​​of the kernel in CNN.

[0048] As shown in FIG. 3, the neural network processing unit 205 includes a neural core 300 including a CPU 301, a product-sum calculation circuit 302, a DMA (Dynamic Memory Access) 303, an internal memory 304, and the like.

[0049] The CPU 301 retrieves a computer program describing the processing contents of the neural network from the memory 202 or non-volatile memory 203 via the internal bus 230, or from the internal memory 304, and executes it. The CPU 301 also controls the product-sum calculation circuit 302 and the DMA 303.

[0050] The product-sum calculation circuit 302 is a circuit that performs product-sum calculation in a neural network. The product-sum calculation circuit 302 has a plurality of product-sum calculation units, which can perform product-sum calculation in parallel. The product-sum calculation circuit 302 also outputs intermediate data calculated during the product-sum calculation performed in parallel by the plurality of product-sum calculation units to the internal memory 304 via the DMA 303.

[0051] The DMA 303 is a circuit specialized for data transfer without going through the CPU 301, and transfers data between the memory 202 or non-volatile memory 203 and the internal memory 304 via the internal bus 230. The DMA 303 also transfers data between the product-sum calculation circuit 302 and the internal memory 304. Data transferred by the DMA 303 includes a computer program describing the processing contents of the neural network, learned coefficient parameters, intermediate data calculated by the product-sum calculation circuit 302, etc.

[0052] The internal memory 304 stores a computer program describing the processing contents of the neural network, learned coefficient parameters, intermediate data calculated by the product-sum calculation circuit 302, etc. The internal memory 304 may have multiple banks, and the banks may be dynamically switched.

[0053] Note that there are restrictions on the capacity of the internal memory 304 and the calculation specifications of the product-sum calculation circuit 302, and the neural network processing must be performed while satisfying certain restrictions. The constraint conditions may differ depending on the model of the imaging device, and if the constraint conditions differ, the computer program and learned coefficient parameters will differ. In other words, the dictionary data for subject detection will differ.

[0054] FIG. 4 is a diagram showing an example of constraint conditions from the viewpoint of network structure.

[0055] 4, the horizontal axis indicates the model name of the imaging device, and the vertical axis indicates information about the network structure, such as constraints on each network structure, etc. The image size of the input data, the number of channels of the input data, and the number of network parameters are constraints that depend on the capacity of the internal memory 304. Compared to imaging device B, imaging device A has a smaller memory capacity and therefore has greater constraints.

[0056] Furthermore, the type of layer and the type of activation function are constraints on the calculation specifications of the product-sum calculation circuit 302, and the image capture device A has fewer types of expressions and therefore more severe constraints than the image capture device B. That is, the information on the network structure includes information on at least one of the image size of the input data, the number of channels of the input data, the number of parameters of the network, the memory capacity, the type of layer, the type of activation function, and the product-sum calculation specifications.

[0057] FIG. 5 is a block diagram showing an example of the hardware configuration of the server 110. As shown in FIG.

[0058] As shown in FIG. 5, the server 110 includes a CPU 501 , a memory 502 , a display unit 503 , an operation unit 505 , a recording unit 506 , a communication unit 507 , and a neural network processing unit 508 .

[0059] 5 are realized by causing a CPU 501 as a computer included in the server 110 to execute a computer program stored in a recording unit 506 or the like as a storage medium. However, some or all of these may be realized by hardware. As the hardware, a dedicated circuit (ASIC) or a processor (reconfigurable processor, DSP), etc., may be used.

[0060] The CPU 501 executes a computer program stored in the recording unit 506 to control all the processing blocks that constitute the server 110 .

[0061] The memory 502 is a memory that is mainly used as a work area for the CPU 501 and a temporary buffer area for data.

[0062] The display unit 503 is configured with a liquid crystal panel, an organic EL panel, or the like, and displays an operation screen and the like based on instructions from the CPU 501.

[0063] The internal bus 504 is a bus for connecting each processing block in the server 110 to each other.

[0064] The operation unit 505 is configured with a keyboard, a mouse, buttons, a touch panel, a remote control, etc., and receives operation instructions from a user. Operation information input from the operation unit 505 is transmitted to the CPU 501, and the CPU 501 executes control of each processing block based on the operation information.

[0065] The recording unit 506 is a processing block that is configured with a recording medium and stores and reads various data in the recording medium based on instructions from the CPU 501. The recording medium is configured with, for example, an EEPROM, an internal flash memory, an internal hard disk, or a removable memory card. In addition to computer programs, the recording unit 506 stores input data, which is learning data for the neural network processing unit 508, teacher data, dictionary data, and the like.

[0066] The communication unit 507 includes hardware for performing communication over a wireless LAN and a wired LAN. In the case of a wireless LAN, for example, processing is performed according to the IEEE802.11n / a / g / b method. The communication unit 507 connects to an external access point over a wireless LAN and performs wireless LAN communication with other wireless communication devices via the access point. In addition, the communication unit 507 performs communication over a wired LAN via an external router or a switching hub using an Ethernet cable or the like. The communication unit 507 communicates with external devices including the imaging device 100 and exchanges information such as teacher data and dictionary data.

[0067] The neural network processing unit 508 selects a neural network model and performs a learning process for the neural network based on the teacher data obtained via the communication unit 507 and the constraint information on the network structure obtained via the communication unit 507. The neural network processing unit 508 corresponds to the dictionary data generating unit 111 in Fig. 1, and performs a learning process for constructing dictionary data corresponding to each of the different classes of subjects using the teacher data.

[0068] The neural network processing unit 508 is composed of a GPU (Graphic Processing Unit), a DSP (Digital Signal Processor), etc. Moreover, dictionary data, which is a result of the learning process performed by the neural network processing unit 508, is held in the recording unit 506.

[0069] FIG. 6 is a block diagram showing an example of the hardware configuration of the mobile terminal 120. As shown in FIG.

[0070] As shown in Fig. 6, the mobile terminal 120 has a CPU 601, a memory 602, an imaging unit 603, a display unit 604, an operation unit 605, a recording unit 606, a communication unit 607, and an internal bus 608. Some of the functional blocks shown in Fig. 6 are realized by causing the CPU 601, which serves as a computer included in the mobile terminal 120, to execute a computer program stored in the recording unit 606, which serves as a storage medium. However, some or all of these may be realized by hardware. As the hardware, a dedicated circuit (ASIC), a processor (reconfigurable processor, DSP), or the like may be used.

[0071] The CPU 601 executes a computer program stored in the recording unit 606 to control all the processing blocks that constitute the mobile terminal 120 .

[0072] The memory 602 is a memory that is mainly used as a work area for the CPU 601 and a temporary buffer area for data. Programs such as an OS (Operating System) and application software are loaded onto the memory 602 and executed by the CPU 601.

[0073] The imaging unit 603 includes an optical lens, a CMOS sensor, a digital image processor, etc., and captures an optical image input through the optical lens and converts it into digital data to obtain captured image data. The captured image data obtained by the imaging unit 603 is temporarily stored in a memory 602 and processed under the control of the CPU 601. For example, the data is recorded on a recording medium by a recording unit 606, or transmitted to an external device by a communication unit 607. The imaging unit 603 also includes a lens controller, and controls zoom, focus, aperture adjustment, etc., under instructions from the CPU 601.

[0074] The display unit 604 is composed of a liquid crystal panel, an organic EL panel, or the like, and performs display based on instructions from the CPU 601. It displays an operation screen, photographed images, etc., in order to select an image of teacher data from the photographed images and to specify a network structure.

[0075] The operation unit 605 is composed of a keyboard, a mouse, buttons, a cross key, a touch panel, a remote control, etc., and receives operation instructions from a user. Operation information input from the operation unit 605 is transmitted to the CPU 601, and the CPU 601 executes control of each processing block based on the operation information.

[0076] The recording unit 606 is configured by a large-capacity recording medium, and is a processing block that stores and reads various data in the recording medium based on instructions from the CPU 601. The recording medium is configured by, for example, an internal flash memory, an internal hard disk, or a removable memory card.

[0077] The communication unit 607 includes processing hardware for performing communication via an antenna, wireless LAN, wired LAN, etc., and performs wireless LAN communication, for example, IEEE802.11n / a / g / b. The communication unit 607 connects to an external access point via wireless LAN, and performs wireless LAN communication with other wireless communication devices via the access point. The communication unit 607 transmits teacher data and network structure input by the user via the operation unit 605 to the server 110.

[0078] The internal bus 608 is a bus for connecting each processing block in the mobile terminal SP to each other.

[0079] Fig. 7 is a flowchart showing the processing of the imaging device according to the first embodiment, and the flow of processing for receiving dictionary data and performing subject detection and imaging control executed by the imaging device 100 in the first embodiment will be described with reference to Fig. 7. This operation is realized by developing a computer program stored in the non-volatile memory 203 into the memory 202 when the imaging device 100 is powered on, and by the CPU 201 reading and executing the computer program from the memory 202.

[0080] In step S701, the imaging device 100 checks with the server 110 via the communication unit 218 whether there is any dictionary data that has not been received from the server 110. If there is any dictionary data that has not been received from the server 110 in the server 110 (determined as YES in step S701), in step S702, the imaging device 100 acquires the dictionary data from the server 110 via the communication unit 218 and stores it in the non-volatile memory 203. If there is no dictionary data that has not been received from the server 110 (determined as NO in step S701), the processing proceeds to step S703.

[0081] In step S703, subject detection is performed by the neural network processing unit 205 using the dictionary data recorded in the nonvolatile memory 203. The dictionary data may be copied from the nonvolatile memory 203 to the memory 202 or the internal memory 304 of the neural network processing unit 205 and used in subject detection. Moreover, the subject detection in step S703 is performed using image data acquired by the imaging unit 212 as input data.

[0082] In step S704, imaging control such as autofocus is performed in the imaging unit 212 based on the subject detection result. That is, imaging control such as autofocus and exposure control is performed to focus on the detected subject and to obtain proper exposure. Here, steps S703 and S704 function as imaging steps that perform subject detection based on dictionary data and perform predetermined imaging control on the subject detected by subject detection.

[0083] In this embodiment, the step of acquiring dictionary data from the server and the subject detection and shooting control based on the acquired dictionary data are performed in the same flow. However, this is not limiting, and for example, a mode or timing for acquiring query dictionary data from the server in advance when shooting is not being performed may be provided. Furthermore, the dictionary data used for subject detection does not necessarily have to be acquired by querying the server and using unacquired dictionary data as is. For example, a step of accepting a user operation or a step of automatically deciding may be provided as a step for determining dictionary data before using the dictionary data (for example, before step S704).

[0084] FIG. 8 is a diagram for explaining an example of subject detection based on dictionary data.

[0085] The dictionary data in the first embodiment includes a computer program describing the processing content for executing an object detection task in the neural network processing unit 205, and learned coefficient parameters for each type of object.

[0086] For example, types of subjects include people, animals such as dogs and cats, vehicles such as automobiles, and motorcycles.

[0087] Numerals 801 and 805 in Fig. 8 show examples of menu screens on the display unit 216, and the user sets the subject to be detected via the operation unit 204. In (A) of Fig. 8, "person" 802 is set as the subject to be detected. When "person" is set, subject detection is performed using dictionary data of "person" stored in advance in the non-volatile memory 203. Numeral 803 is a captured image displayed on the display unit 216, and shows a state in which the face of the "person" has been detected and a frame 804 is displayed superimposed thereon.

[0088] In Fig. 8(B), "Custom" 806 is set as the subject to be detected. In the case of "Custom," subject detection is performed using, for example, "fish" as custom dictionary data received from the server 110. Reference numeral 803 denotes a captured image displayed on the display unit 216, which is a case in which the dictionary data for "Custom" is "fish," and shows a state in which a frame 806 is superimposed on a detected fish.

[0089] FIG. 9 is a flowchart illustrating a process of the server according to the first embodiment.

[0090] The processing in FIG. 9 is realized by, when the power of the server 110 is on, expanding the computer program stored in the recording unit 506 into the memory 502, and the CPU 501 reading and executing the computer program from the memory 502.

[0091] Using FIG. 9, an excerpt of the processing of server 110 that acquires teaching data and information related to a network structure from mobile terminal 120, generates dictionary data, and transmits the generated dictionary data to imaging device 100 will be described.

[0092] In step S901, server 110 acquires teacher data from mobile terminal 120 via communication unit 507. Here, step S901 functions as teacher data acquisition means for acquiring teacher data for subject detection. In addition, in step S902, information related to the network structure is also acquired from mobile terminal 120 via communication unit 507, and the network structure is identified. The information related to the network structure is, for example, the model name of the imaging device, and the correspondence between the model name of the imaging device and the network structure is recorded in recording unit 506. Step S902 functions as network structure acquisition means for acquiring information related to the network structure.

[0093] Next, in step S903, it is confirmed whether data necessary for generating dictionary data is available. If the data is available (YES in step S903), the process proceeds to step S904. If the data is not available (NO in step S903), the process proceeds to step S907.

[0094] For example, in a case where the training data includes image data but no subject region is set, the determination in step S903 is NO.

[0095] In step S904, dictionary data is generated by the neural network processing unit 508. One method for generating dictionary data is to generate a large amount of dictionary data in advance and select appropriate dictionary data from teacher data (e.g., FIG. 10(A)). Another method is to generate dictionary data by learning from teacher data (e.g., FIG. 10(B)). Step S904 functions as a dictionary generating means (dictionary generating step).

[0096] FIG. 10 is a flowchart illustrating a process of generating dictionary data according to the first embodiment.

[0097] 10A is a flowchart showing a process flow of an example of dictionary data generation based on selection. In step S1001a, object detection is performed from image data of training data. In this case, a publicly known object detection method such as YOLO or Fast R-CNN can be applied as an object detection method capable of detecting multiple types of objects.

[0098] As detection results, position information of xy coordinates, size, detection score, object type, etc. are output. In step S1002a, detection results that match the area of ​​the teacher data are extracted from the area information of the teacher data and the position information and size of the object detection results.

[0099] In step S1003a, the type of training data is estimated from the extracted detection result. If there are multiple training data, the type of the subject is determined from the average score for each subject type.

[0100] In step S1004a, the estimated dictionary data is selected. A plurality of dictionary data are prepared in advance for each type of network structure, and dictionary data for a target network structure is selected. Here, step S1004a functions as a dictionary generating means for selecting a dictionary suitable for the subject of the teacher data from a plurality of dictionary data prepared in advance.

[0101] Fig. 10(B) is a flowchart showing the process flow of an example of dictionary data generation based on learning. If learning is performed from a state in which the initial values ​​of the dictionary data are random numbers, a large amount of training data is required. Since the need for a large amount of training data increases the time and effort required for users to input the training data, a method of learning with a small amount of training data is desirable.

[0102] Therefore, in step S1001b, dictionary data that has been previously trained on a wide variety of objects is set as an initial value. In step S1002b, learning is performed based on teacher data. Since the initial values ​​of the dictionary data are not random numbers but are values ​​that have been trained to be object-like, this is what is called fine tuning. Here, step S1002b functions as a dictionary generating means that generates the dictionary data by learning based on the teacher data.

[0103] Returning to the explanation of the flowchart in Fig. 9, once dictionary data generation has been performed in step S904, it is determined in step S905 whether or not the dictionary data generation has been successful. When the dictionary data is generated using a selection-based method such as that shown in Fig. 10(A), it is determined that the generation is successful if the dictionary can be selected, and it is determined that the generation is unsuccessful if the dictionary cannot be selected, for example, because no detection results belonging to the teacher data have been obtained. When the dictionary data is generated using a learning-based method such as that shown in Fig. 10(B), it is determined that the generation is successful if the value of the learning loss function is equal to or smaller than a predetermined threshold, and it is determined that the generation is unsuccessful if it is greater than the predetermined threshold.

[0104] If the generation of the dictionary data is successful (determined as YES in step S905), in step S906, the dictionary data is transmitted to the imaging device 100 via the communication unit 507. Here, step S906 functions as a dictionary data transmission means that transmits the dictionary data generated by the dictionary generation means to the imaging device 100.

[0105] If the generation of dictionary data fails (determined as NO in step S905), in step S907, the occurrence of an error is notified to mobile terminal 120 via communication unit 507.

[0106] FIG. 11 is a flowchart illustrating an example of a flow of a process executed by the mobile terminal 120 according to the first embodiment.

[0107] An excerpt will be explained below regarding the processing in mobile terminal 120 for inputting teacher data and information related to the network structure in mobile terminal 120 and notifying server 110 of the start of learning. This operation is realized by developing a computer program stored in recording unit 606 in memory 602 while mobile terminal 120 is powered on, and having CPU 601 read and execute the computer program in memory 602.

[0108] The process flow of the flowchart in FIG. 11 will be described with reference to FIG.

[0109] FIG. 12 is a diagram for explaining an example of an input screen for teacher data and a network structure on the display unit 604 of the mobile terminal according to the first embodiment.

[0110] In step S1101 in Fig. 11, the user selects images to be used as teacher data from among the captured images stored in the recording unit 606 via the operation unit 605. Fig. 12(A) is a diagram showing an example of an image selection screen on the display unit 604, in which 12 captured images are displayed as shown in 1201. The user selects, for example, two pieces of teacher data from among these 12 captured images by touching the operation unit 605, etc. The captured image with a circle displayed in the upper left corner as shown in 1202 is regarded as the image of the selected teacher data.

[0111] In step S1102, the user specifies the desired subject area in the two images selected as the training data via the operation unit 605. FIG. 12(B) is a diagram showing an example of an input screen for the subject area by the display unit 604, and a rectangular frame 1203 indicates the subject area input by the user. The subject area is set for each image selected as the training data. As a method for setting the subject area, the area may be directly selected from the image displayed via a touch panel which is part of the operation unit 605 and is integrated with the display unit 604. Alternatively, the area may be selected by selecting and fine-tuning from a subject frame detected simply by the CPU 601 or the like using feature amounts such as edges.

[0112] In step S1103, the user specifies constraints on the network structure (specifies information related to the network structure) via the operation unit 605. Specifically, for example, the type of imaging device is selected. FIG. 12(C) is a diagram showing an example of an input screen for the network structure on the display unit 604, in which multiple model names of imaging devices are displayed. From these, the user selects one model name of the imaging device for which imaging control using dictionary data is to be performed. It is assumed that 1204 has been selected.

[0113] In step S1104, the user decides to start dictionary data generation via operation unit 605. Fig. 12(D) is a diagram showing an example of a confirmation screen for starting dictionary data generation by display unit 604, and YES or NO is input. If YES shown in 1205 is selected, the teacher data and information on the type of imaging device are transmitted to server 110 via communication unit 607, and dictionary data generation is performed in server 110. If NO is selected in Fig. 12(D), the process ends.

[0114] In addition, the subject area in the image data of the teacher data is treated as a positive example, and the other areas are treated as negative examples in dictionary data generation by the server 110. In the above explanation, an example of selecting an image containing a subject area was shown, but an image containing no subject area may also be selected. In that case, information on the subject area is not input, and the entire image is treated as a negative example.

[0115] As described above, according to the imaging system of the first embodiment, it becomes possible for the user to generate any dictionary data that can be used in the imaging device.

[0116] <Example 2> An imaging system according to a second embodiment of the present invention will be described in detail below. Descriptions of parts similar to those in the first embodiment will be omitted.

[0117] 13 is a diagram showing an example of the configuration of an imaging system according to the embodiment 2, which includes an imaging device 100, a server 110 as an information processing device, and a mobile terminal 120 as an information input device. The imaging device 100, the server 110, and the mobile terminal 120 are connected to each other via a wireless communication network.

[0118] In the second embodiment, too, in a manner similar to that of the first embodiment, a user can generate arbitrary (custom) subject detection dictionary data by using a predetermined application software installed on the mobile terminal 120. However, in the second embodiment, it is assumed that a service for generating dictionary data customized by a user (referred to as a user custom dictionary) by paying a fee can be enabled in the imaging device 100.

[0119] In this paid service, unless it can be confirmed whether the user's custom dictionary is what they intended, the value of the dictionary data cannot be determined.

[0120] Therefore, the detection result based on the user custom dictionary is displayed in a frame in the imaging device 100. This makes it possible to evaluate the detection ability. A billing system is provided in which, by purchasing the dictionary data, the imaging control function using the user custom dictionary in the imaging device 100 is enabled (available).

[0121] Mobile terminal 120 includes dictionary activation unit 123. Then, when the user custom dictionary is activated in mobile terminal 120 by charging a fee, imaging control based on a subject detection result using the user custom dictionary is possible in imaging device 100. Here, dictionary activation unit 123 functions as dictionary activation means that activates dictionary data generated by dictionary generation means by charging a fee.

[0122] Fig. 14 is a flowchart showing an example of processing in the imaging device according to the second embodiment, and a flow of processing executed in the imaging device 100 in the second embodiment will be described with reference to Fig. 14. The operation of this flowchart is realized by developing a computer program stored in the non-volatile memory 203 in the memory 202 and having the CPU 201 read and execute the computer program in the memory 202 when the imaging device 100 is powered on.

[0123] In step S1401, the neural network processing unit 205 performs subject detection using a user custom dictionary. Note that, as described in FIG. 8B, it is assumed that the imaging device 100 is set to a state in which the custom dictionary is used.

[0124] In step S1402, the display control unit 215 displays the subject detection result as a frame superimposed on the captured image of the imaging device on the display unit 216 as a display means. This allows the user to check whether the subject detection dictionary data is what the user intended. If the intended subject is detected and no subjects other than the intended subject are detected, it can be evaluated that the dictionary data intended by the user has been generated. If the subject detection dictionary data is not what the user intended, the user may add teacher data in the mobile terminal 12 and regenerate the dictionary data. That is, in step S1402, a screen may be displayed that displays the subject detection result and allows the user to select whether or not to proceed to the dictionary data regeneration flow (FIG. 11).

[0125] In step S1403, CPU 201 determines whether the user custom dictionary is in a valid state. The initial state of the user custom dictionary is set to an invalid state, and is changed to a valid state by mobile terminal 120. When a process for validating dictionary data in response to a fee is executed in mobile terminal 120 via operation unit 605, the imaging device 100 is notified of this via communication unit 607.

[0126] If the user custom dictionary is valid in step S1403, imaging control is performed using the detection result based on the dictionary data in step S1404. If the user custom dictionary is invalid in step S1403, imaging control is performed without using the detection result based on the dictionary data in step S1405.

[0127] That is, when the dictionary data is enabled by the dictionary enabling means, the imaging device 100 performs a predetermined imaging control (such as AF or AE) on a subject detected by subject detection based on the user custom dictionary data. On the other hand, when the dictionary data is not enabled by the dictionary enabling means, the imaging device 100 is controlled not to perform a predetermined imaging control based on the user custom dictionary data.

[0128] 15A and 15B are diagrams for explaining imaging control before and after the user custom dictionary is enabled, and Fig. 15A is an example of a captured image on the display unit 216 after the user custom dictionary is enabled. A captured image 1501 shows a state in which the still image recording switch of the imaging device 100 is OFF, and a subject detection result 1502 based on the user custom dictionary is displayed as a frame superimposed on the captured image of the imaging device. A captured image 1503 shows a state in which the still image recording switch of the imaging device 100 is ON, and imaging control such as autofocus and exposure control is being performed based on a subject detection result 1504 using the user custom dictionary.

[0129] Fig. 15(B) is an example of a captured image on display unit 216 before the user custom dictionary is enabled. A captured image 1505 is displayed with the still image recording switch of imaging device 100 in an OFF state, and a subject detection result 1506 based on the user custom dictionary is displayed as a frame superimposed on the captured image of the imaging device. Here, while subject detection result 1502 is represented by a solid line in Fig. 15(A), subject detection result 1506 is represented by a dotted line. This is to make it easier for the user to confirm that the user custom dictionary is not yet enabled (invalid). Note that the shape and color of the frame may be changed without being limited to solid and dotted lines.

[0130] Captured image 1507 shows a state in which the still image recording switch of imaging device 100 is turned on, and imaging control such as autofocus and exposure control is being performed based on subject detection result 1508 that is different from the user custom dictionary. In captured image 1507, dictionary data related to "person" faces that is different from the user custom dictionary is used, and a frame is superimposed on the person's face as subject detection result 1508.

[0131] In the above description, the case where there is one type of user custom dictionary has been described, but it is not limited to one type and multiple types may be set. In this case, the enable / disable process is applied to each user custom dictionary by charging. In other words, when there are multiple dictionary data generated by the dictionary generating means, the dictionary enabling means enables each dictionary data by charging a fee.

[0132] In the above explanation, an example was given in which enabling / disabling a user custom dictionary was subject to a fee, but existing dictionary data created by a service provider and registered in advance in each device or server can also be considered a service for adding dictionaries by charging. In other words, it may be possible to enable / disable by the dictionary enabling means even for existing dictionary data stored in advance in the memory of each device or in server 110.

[0133] As described above, according to the imaging system of the second embodiment, it is possible to determine whether to purchase the dictionary data after checking the subject detection performance of the acquired dictionary data with the imaging device 100. In addition, since it is possible to check whether the subject detection performance of the dictionary data is sufficient or not, it is possible to provide training data again and further improve the subject detection performance of the created dictionary.

[0134] <Example 3> An imaging system according to a third embodiment of the present invention will be described in detail below. Descriptions of parts similar to those in the first embodiment will be omitted.

[0135] 16 is a configuration diagram of an imaging system according to Example 3, which is a system including an imaging device 100 and a server 110 as an information processing device, and the imaging device 100 and the server 110 are connected via a wireless communication network. The difference from Example 1 is that there is no mobile terminal 120 as an information processing terminal, and the imaging device 100 plays a role of inputting teacher data and a network structure.

[0136] In the imaging system of the first embodiment, the user can generate any dictionary data. However, the user needs to create teacher data, which is time-consuming. To eliminate this time-consuming process, the imaging system of the third embodiment is configured to assist in the creation of teacher data. That is, in the imaging system of the third embodiment, the imaging device 100 is provided with a teacher data generation unit 103 as a teacher data generation means, and the user inputs teacher data in a teacher data input unit 121 based on the result of the processing.

[0137] The teacher data generation unit 103 uses the inference results from the subject detection unit 101 (neural network processing unit 205). The processing in the subject detection unit 101 (neural network processing unit 205) differs in content between processing for shooting control during shooting and processing for generating teacher data during non-shooting. Details will be described later.

[0138] In the imaging system of the first embodiment, the network structure designation unit 122 is provided in a mobile terminal 120 different from the imaging device, and since the constraints on the network structure differ depending on the model of the imaging device, the imaging system is configured so that the user designates the model name of the imaging device. On the other hand, in the imaging system of the third embodiment, the network structure designation unit 122 is provided in the imaging device 100, and it is assumed that the CPU 201 of the imaging device 100, rather than the user, designates the network structure and notifies the server 110 via the communication unit 218.

[0139] 16 are realized by causing a CPU 201 as a computer included in the imaging device 100 to execute a computer program stored in a non-volatile memory 203 as a storage medium. However, some or all of these may be realized by hardware. As the hardware, a dedicated circuit (ASIC) or a processor (reconfigurable processor, DSP), etc., may be used.

[0140] Fig. 17 is a flowchart for explaining the processing of the imaging device 100 in the embodiment 3. The flow of processing will be explained with reference to Fig. 17, focusing on the difference between neural network processing for shooting control during shooting of the imaging device 100 in the embodiment 3 and for generating teacher data during non-shooting. Fig. 17(A) is a flowchart showing the processing flow during shooting, and Fig. 17(B) is a flowchart showing the processing flow during non-shooting.

[0141] These operations are realized by developing a computer program stored in non-volatile memory 203 into memory 202 and having CPU 201 read and execute the computer program in memory 202 while imaging device 100 is powered on. The same applies to the flowchart in Fig. 18 described later.

[0142] 17A, in step S1701a, an image is acquired from the imaging means. Using the image, in step S1702a, subject detection is performed by the subject detection unit 101 (neural network processing unit 205). Based on the detection result, in step S1703a, imaging control is performed by the imaging control unit 102. Since the subject detection result is used in imaging control such as autofocus, the subject detection by the subject detection unit 101 (neural network processing unit 205) needs to be processed at high speed.

[0143] To achieve high-speed processing, the types of subjects to be detected are limited. For example, as explained with reference to Fig. 8, the subjects to be detected are selected in the menu settings, and dictionary data is used to detect only the selected subjects. By limiting the subjects to be detected, fewer parameters are required to express the characteristics of the subjects, and the number of product-sum calculations required to extract the characteristics is reduced, enabling high-speed processing.

[0144] 17B, ​​an image is acquired from the recording medium 220 as a recording means or a server in step S1701b. Using the image, subject detection is performed by the subject detection unit 101 (neural network processing unit 205) in step S1702b. Based on the detection result, training data is generated in step S1703b.

[0145] In step S1703b, since the purpose is to allow the user to create arbitrary training data, it is necessary to detect a wide variety of subjects in the subject detection by the subject detection unit 101 (neural network processing unit 205). In order to detect a wide variety of subjects, it is necessary to increase the number of parameters expressing the characteristics of the subjects, and the number of product-sum calculations required for feature extraction increases. This results in slow processing.

[0146] Fig. 18 is a flowchart for explaining the flow of processing for inputting teacher data in Fig. 17(B) and Fig. 19 is a diagram showing an example of the teacher data input screen in Fig. 18.

[0147] The teacher data is input by the user through the operation unit 204 based on the information displayed on the screen 1900 of the display unit 216 of the imaging device 100 (FIG. 19).

[0148] In step S1801, the user selects an image that he or she wishes to use as training data from among the captured images recorded on the recording medium 220.

[0149] In step S1802, the user selects whether the selected image is a positive example or a negative example. If the selected image contains a target object, the positive example is selected and the process proceeds to step S1803. On the other hand, if the selected image does not contain a target object, the negative example is selected and the process ends. In this case, the entire image is treated as a negative example area. For example, this is used when selecting an object that you do not want to detect.

[0150] In step S1803, the position of the target subject is specified for the selected image. For example, if the operation unit 204 is a touch panel, the position of the target subject can be specified by touching. The focus area at the time of shooting may be used as the initial value of the position of the target subject. In Fig. 19, 1901 is the selected image, and 1902 shows an example of the specified position.

[0151] In step S1804, the training data candidates are displayed on screen 1900 of display unit 216, and it is confirmed whether the desired subject region is present. Based on the subject detection result of neural network processing unit 205, the subject region closest to the specified position is set as the training data candidate. An example of the training data candidate is shown in (B) of FIG. 19. The example shows three training data candidates with the same subject but different regions. 1902 is the whole body, 1903 is the face, and 1904 is the eye as the training data candidate.

[0152] In step S1804, if the target object region is found among the training data candidates, the process proceeds to step S1805, where one of the training data candidates is set as the positive region of the training data. In step S1804, if the target object region is not found among the training data candidates, the process proceeds to step S1806, where the user inputs the object region to be used as training data.

[0153] As described above, according to the imaging system of the third embodiment, it is possible to generate teacher data using the imaging device 100 itself, and it is also possible to reduce the burden on the user in generating the teacher data.

[0154] In the above embodiment, the case where the user customized dictionary data is one has been described. However, the present invention is not limited to this, and a configuration may be such that a plurality of dictionary data are created and the imaging device 100 is capable of receiving the plurality of dictionary data. In this case, information for distinguishing and classifying each dictionary data is required. Therefore, in addition to the computer program and learned coefficient parameters, information for identifying (representing) the dictionary is added as header information to the dictionary data recorded in the recording unit 506 and transmitted to the imaging device 100. Examples of the header information include the name of the dictionary data, the type (classification) of the subject to be detected, the creation date of the dictionary data, the update date, the name of the creator of the dictionary data, the number of pieces of teacher data used to generate the dictionary data (positive cases and negative cases may or may not be distinguished), and current version information. In addition, the teacher data itself used for learning may be added as information useful for identifying or evaluating the dictionary data. Alternatively, the teacher data may be stored in the server 110, and the address of the corresponding teacher data in the server 110 may be stored in the dictionary data. With this information, it is possible to confirm what kind of teacher data was used for each dictionary data. When teacher data is added to dictionary data, if the number of teacher data is large, the amount of data becomes large, so an upper limit on the number of sheets to be added may be set and a portion of the teacher data may be added. The teacher data to be added may be specified by the user, or the CPU 501 of the server 110 may select the data based on the evaluation value.

[0155] FIG. 20 shows an example of a confirmation screen of dictionary data in the imaging device 100. Menus 2001, 2003, 2007, and 2009 in FIG. 20 show examples of menu screens that the CPU 201 displays on the display unit 216 when confirming the contents of the dictionary data. The menu 2001 is a menu screen in which the user sets the object to be detected via the operation unit 204, and "custom" 2002 is set. If there are multiple dictionary data for customization received from the server 110, the menu transitions to menu 2003 for selecting custom dictionary data. The menu 2003 shows a state in which "fish", "beetle", and "mascot A" are received by the imaging device 100 as custom dictionary data. The names of the dictionary data of "fish", "beetle", and "mascot A" are stored in the header information of the dictionary data. The names are set by the user via the operation unit 605 at the time of setting the teacher data in the mobile terminal 120. In the menu 2003, "fish" 2005 is selected as the dictionary data, and the object detection is performed using the dictionary data of "fish". Here, when "INFO" 2006 is selected via operation unit 204, the screen transitions to menu screen 2007 displaying header information for "fish". Menu 2007 shows an example in which the dictionary data creation date, dictionary data creator, number of learning data sheets, and dictionary version are displayed, which are stored as header information for the "fish" dictionary data. The dictionary data creation date is the date on which the dictionary data was generated by server 100 and is stored in the header information for the dictionary data. The dictionary data creator is stored in the header information for the dictionary data from the owner information in mobile terminal 120. The number of training data sheets is stored in the dictionary data based on the number of images when the training data was set. The header information stored in these header areas may be entered directly by the user as numerical values ​​and names when setting (receiving) the training data.

[0156] The dictionary data may be configured to be updateable even after it has been generated once. For example, the currently learned coefficient parameters may be set as initial values, new teacher data may be added, and re-learning may be performed. The version of the menu 2007 indicates the update information, and is assigned by the server each time re-learning is performed. Although the outline of the dictionary data can be grasped from these header information, it is difficult to grasp the details such as what kind of subject is easy to detect. In order to grasp the characteristics of the subject detection, it is best to check the teacher data itself. Therefore, when "INFO" 2008 is selected via the operation unit 204, the menu 2009 showing the teacher data of the "fish" dictionary data is displayed. The address of the teacher data stored in the server 100 is stored in the dictionary data, and in this embodiment, the CPU 201 displays it on the display unit 216 via the communication unit 218. At this time, whether it is a positive case or a negative case, frame information showing the corresponding subject area, and at least a part of the teacher data as described above may be received and recorded in association with the dictionary data. In this case, the CPU 201 causes the display unit 216 to display the teacher data that is recorded together with the dictionary data in the recording medium 220 or the memory 202 and that corresponds to the dictionary data.

[0157] As a result, even if there are multiple custom dictionary data, differences between the dictionary data can be confirmed. Although the above describes the contents of confirming the information of the dictionary data with the imaging device 100, it may also be possible to configure it so that it can be confirmed with the mobile terminal 120. In this case, the imaging device type indicating the network structure constraints set when the teacher data was input is additionally stored in the dictionary data as header information of the dictionary data, and is displayed on the display unit 604.

[0158] In addition, in this embodiment, the generation and supply of teacher data for generating dictionary data is performed by mobile terminal 120, and the dictionary data is received by mobile terminal 120, and an example is shown in which the device used for subject detection processing is a device separate from imaging device 100, but this is not limited to the above, and both devices may be configured as the same device.

[0159] <Other Examples> The present invention has been described in detail above based on its preferred embodiments, but the present invention is not limited to the above embodiments. Various modifications are possible based on the gist of the present invention, and these modifications are not excluded from the scope of the present invention.

[0160] The present invention is not limited to the imaging device 100, the server 110, the mobile terminal 120, and the like described in the above embodiments. For example, even if the imaging device 100 is a system composed of a plurality of devices, it is possible to realize the same functions as those in the above embodiments. Furthermore, it is possible to realize a part of the processing of the imaging device 100 by performing it using an external device on a network.

[0161] A computer program for implementing all or part of the control in this embodiment may be supplied to an imaging system or the like via a network or various storage media. A computer (or a CPU, MPU, or the like) in the imaging system or the like may read and execute the program. In this case, the program and the storage medium storing the program constitute the present invention. [Explanation of symbols]

[0162] 100 Imaging device 101 Object detection unit 102 Imaging control unit 110 Server 111 Dictionary Data Generation Unit 120 Mobile Devices 121 Teacher Data Input Section 122 Network structure specification section

Claims

1. In an imaging system that performs subject detection based on a neural network, A training data input means for inputting training data for the subject detection; A network structure designation means for designating information regarding a network structure in the subject detection; a dictionary generating means for generating dictionary data for the subject detection based on the teacher data and information regarding the network structure; an imaging device that performs the subject detection based on the dictionary data generated by the dictionary generation means, and performs a predetermined imaging control on the subject detected by the subject detection, the network structure designation means designates information regarding the network structure by designating a model of the imaging device; 2. An imaging system according to claim 1, wherein the dictionary data includes, as header information, information on the number of sheets of training data used to generate the dictionary data.

2. 2. The imaging system according to claim 1, wherein the imaging device includes a communication unit for receiving the dictionary data, and detects the subject based on the dictionary data received by the communication unit.

3. 3. The imaging system according to claim 1, wherein the information regarding the network structure includes at least one of information regarding an image size of input data, a number of channels of the input data, a number of parameters of the network, a memory capacity, a type of layer, a type of activation function, and a product-sum operation specification.

4. 4. The imaging system according to claim 1, wherein the header information includes information regarding at least one of a creation date, a creator, an update date, and a version of the dictionary data.

5. 5. The imaging system according to claim 4, further comprising a display unit that displays at least a part of the header information on a display unit.

6. 5. The imaging system according to claim 1, wherein the teacher data includes image data and information on subject regions as positive or negative examples contained in the image data.

7. 7. The imaging system according to claim 6, further comprising display means for displaying the teaching data on a display unit.

8. 8. The imaging system according to claim 1, wherein the dictionary generating means is provided in an information processing server different from the imaging device.

9. The information processing server includes: A training data acquisition means for acquiring the training data for the subject detection; A network structure acquisition means for acquiring information regarding the network structure; The dictionary generating means; 9. The imaging system according to claim 8, further comprising dictionary data transmission means for transmitting the dictionary data generated by the dictionary generation means to the imaging device.

10. 10. The imaging system according to claim 1, wherein the dictionary generating means selects a dictionary suitable for the subject of the training data from a plurality of dictionary data prepared in advance.

11. 11. The imaging system according to claim 1, wherein the dictionary generating means generates the dictionary data by learning based on the teacher data.

12. 12. The imaging system according to claim 1, wherein the teacher data input means and the network structure designation means are provided in an information processing terminal different from the imaging device.

13. 13. The imaging system according to claim 1, wherein the teaching data includes image data and area information of the image data in which a target subject exists.

14. a dictionary validation means for validating the dictionary data generated by the dictionary generation means, When the dictionary data is validated by the dictionary validation means, the imaging device performs the predetermined imaging control on the subject detected by the subject detection, 14. The imaging system according to claim 1, wherein, when the dictionary data is not validated by the dictionary validation means, the imaging device does not perform the predetermined imaging control.

15. 15. The imaging system according to claim 1, further comprising a display unit that displays the result of the subject detection as a frame superimposed on the image from the imaging device.

16. 15. The imaging system according to claim 14, wherein the dictionary validation unit validates the dictionary data on a fee basis.

17. 15. The imaging system according to claim 14, wherein, when there are a plurality of dictionary data generated by the dictionary generating means, the dictionary validating means validates each of the dictionary data by charging a fee.

18. 18. The imaging system according to claim 1, wherein the imaging device includes a teacher data generating unit that generates the teacher data.

19. An imaging device that performs subject detection based on a neural network, A training data input means for inputting training data for the subject detection; A network structure designation means for designating information regarding a network structure in the subject detection; A communication unit that transmits the teacher data and information regarding the network structure to an information processing server; an imaging control means for acquiring dictionary data for the subject detection generated based on the teacher data and information on the network structure from the information processing server via the communication unit, performing the subject detection based on the dictionary data, and performing predetermined imaging control on the subject detected by the subject detection, the network structure designation means designates information regarding the network structure by designating a model of the imaging device; 2. An imaging device according to claim 1, wherein the dictionary data includes, as header information, information on the number of sheets of training data used to generate the dictionary data.

20. 20. The imaging device according to claim 19, wherein the information regarding the network structure includes at least one of information regarding an image size of the input data, a number of channels of the input data, a number of parameters of the network, a memory capacity, a type of layer, a type of activation function, and a product-sum operation specification.

21. 21. The imaging apparatus according to claim 19, further comprising a display unit for displaying the result of the subject detection as a frame superimposed on the image.

22. 22. The imaging device according to claim 19, wherein the header information includes information regarding at least one of a creation date, a creator, an update date, and a version of the dictionary data.

23. 1. An imaging method for performing subject detection based on a neural network, a teacher data input step in which teacher data input means inputs teacher data for the subject detection; a network structure designation step in which a network structure designation means designates information regarding a network structure in the subject detection; a dictionary generating step in which a dictionary generating means generates dictionary data for the subject detection based on the training data and the constraints of the network structure; an imaging step of performing the subject detection based on the dictionary data generated by the dictionary generation step, and performing a predetermined imaging control on the subject detected by the subject detection step, In the network structure designation step, information regarding the network structure is designated by designating a model of the imaging device, 2. An imaging method according to claim 1, wherein the dictionary data includes, as header information, information on the number of sheets of teacher data used in generating the dictionary data.

24. An imaging method for performing subject detection based on a neural network, comprising: a teacher data input step in which teacher data input means inputs teacher data for the subject detection; a network structure designation step in which a network structure designation means designates information regarding a network structure in the subject detection; a communication step of transmitting the teacher data and information regarding the network structure to an information processing server; an imaging control step of acquiring, from the information processing server, dictionary data for the subject detection generated based on the teacher data and information on the network structure, performing the subject detection based on the dictionary data, and performing a predetermined imaging control on the subject detected by the subject detection, In the network structure designation step, information regarding the network structure is designated by designating a model of the imaging device, 2. An imaging method according to claim 1, wherein the dictionary data includes, as header information, information on the number of sheets of teacher data used in generating the dictionary data.

25. A computer program for controlling each unit of the imaging system according to any one of claims 1 to 18 or the imaging apparatus according to any one of claims 19 to 22 by a computer.

Citation Information

Patent Citations

  • Image processing apparatus, image processing system, and control method of image processing apparatus

    JP2011090410A

  • Image recognition apparatus, processing method thereof, and program

    JP2011090413A

  • Information processing apparatus, information processing method, and information processing program

    JP2021043881A

  • Method and apparatus for learning object recognition model

    JP2021077377A

  • JPP6914562B