Imaging device, information processing device, control method and program thereof, and trained model selection system

The imaging device and information processing system efficiently manage and update learned models using historical data to address storage limitations, enabling effective image processing by adapting to user preferences and changing priorities.

JP7570806B2Active Publication Date: 2024-10-22CANON KK
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
JP2019221408
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2019-12-06
Publication Date
2024-10-22
Estimated Expiration
2039-12-06

AI Technical Summary

Technical Problem

Existing imaging devices face challenges in storing multiple trained models for various subjects and image processing tasks due to storage capacity limitations, necessitating efficient methods for replacing these models.

Method used

An imaging device and information processing system that communicates with a server or mobile terminal to manage and update learned models based on historical data, allowing for the selection and replacement of models corresponding to priority classes.

Benefits of technology

Enables appropriate replacement and management of learned models, ensuring efficient processing of captured images by adapting to user preferences and changing priorities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007570806000001
    Figure 0007570806000001
  • Figure 0007570806000002
    Figure 0007570806000002
  • Figure 0007570806000003
    Figure 0007570806000003
Patent Text Reader

Abstract

To provide an imaging apparatus that can replace as appropriate a learned model for performing processing related to a picked-up image, an information processing apparatus, and a method for controlling these, and a program and a learned model selection system.SOLUTION: An imaging apparatus C communicates with a server SV that holds a learned model corresponding to a plurality of classes, and executes object detection during AF processing by using a learned model corresponding to a subject preferential in a neural network processing unit 205. A CPU 201 of the imaging apparatus C generates history data based on a picked-up image, updates the preferential subject based on the history data, acquires, from the server SV, a learned coefficient parameter of the learned model corresponding to the updated preferential subject, and based on the acquired learned coefficient parameter, changes the setting of the learned model in the neural network processing unit 205.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an imaging device that identifies a subject using a machine learning technique when capturing an image, an information processing device, a control method and program therefor, and a trained model selection system. [Background technology]

[0002] There is known an imaging device that identifies a subject by a machine learning method such as a neural network when capturing an image. Such an imaging device performs processing on a captured image using a trained model corresponding to a specific subject designated in advance by a user. Currently, the types of subjects that a user can designate as the specific subject are several types such as people, cars, and trains, but it is expected that the number of types will increase in the future. Furthermore, the trained model has conventionally been used only for object detection (discrimination of the main subject) when performing AF (autofocus processing). However, it is expected that the use of trained models will also spread to processing of captured images when performing AE (auto exposure), AWB (auto white balance), image processing, noise removal, etc.

[0003] In this case, multiple trained models are required for each type of subject and each process related to captured images, but it is not possible to store all of the trained models in the imaging device if the recording capacity is insufficient. In such a case, it is necessary to appropriately replace the trained models stored in the imaging device.

[0004] For example, Patent Document 1 discloses a server that generates a high-resolution image whose image quality is controlled in response to a request from a client terminal and distributes the image to the client terminal. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2008-67316 A Summary of the Invention [Problem to be solved by the invention]

[0006] However, although Patent Document 1 discloses the exchange of high-resolution images between a server and a client terminal, it does not disclose the exchange of trained models generated by machine learning techniques between the server and the client terminal.

[0007] Therefore, an object of the present invention is to provide an imaging device, an information processing device, a control method and program for these, and a trained model selection system that can appropriately replace trained models that perform processing related to captured images. [Means for solving the problem]

[0008] The imaging device according to claim 1 of the present invention is characterized in that it comprises an imaging means for imaging a subject and generating an imaged image, a communication means for communicating with an information processing device which holds a first trained model corresponding to each of a plurality of classes, a trained model execution means for executing processing relating to the imaged image using the first trained model corresponding to a prioritized class which is one of the plurality of classes, a history data creation means for creating history data based on the imaged image and at least one of the imaging information at the time of imaging the imaged image, an acquisition means for acquiring trained coefficient parameters of the first trained model corresponding to another class of the plurality of classes from the information processing device via the communication means based on the created history data, and a change means for changing settings of the first trained model used in the trained model execution means based on the acquired trained coefficient parameters.

[0009] The information processing device according to claim 15 of the present invention is characterized in that it comprises a trained model holding means for holding a first trained model corresponding to each of a plurality of classes, a communication means for communicating with an imaging device that captures an image of a subject to generate an captured image and performs processing related to the captured image using the first trained model corresponding to a prioritized class that is one of the plurality of classes, a receiving means for receiving the captured image and imaging information at the time of capturing the image from the imaging device via the communication means, a history data creation means for creating history data based on at least one of the received captured image and the imaging information at the time of capturing the image, and a transmission means for transmitting trained coefficient parameters of the first trained model corresponding to another class of the plurality of classes to the imaging device via the communication means based on the history data created by the history data creation means.

[0010] A trained model selection system according to claim 20 of the present invention is a trained model selection system including an imaging device that captures an image of a subject and generates an image, and an information processing device that holds a first trained model corresponding to each of a plurality of classes, wherein the imaging device comprises a trained model execution means that executes processing related to the captured image using the first trained model corresponding to a prioritized class that is one of the plurality of classes, and a first transmission means that transmits the captured image and imaging information at the time of capturing the image to the information processing device, the information processing device comprises a history data creation means that creates history data based on at least one of the captured image and the imaging information at the time of capturing the image transmitted from the imaging device, and a second transmission means that transmits to the imaging device, based on the created history data, trained coefficient parameters of the first trained model corresponding to another class of the plurality of classes, and the imaging device further comprises a change means that changes settings of the first trained model used in the trained model execution means based on the trained coefficient parameters transmitted from the information processing device.

[0011] A trained model selection system according to claim 22 of the present invention is a trained model selection system including an imaging device that captures an image of a subject and generates a captured image, a first information processing device, and a second information processing device that holds a first trained model corresponding to each of a plurality of classes, wherein the imaging device includes a trained model execution means that executes processing related to the captured image using the first trained model corresponding to a prioritized class that is one of the plurality of classes, and a first transmission means that transmits the captured image and imaging information at the time of capturing the captured image to the first information processing device, and the first information processing device receives at least the captured image and the imaging information at the time of capturing the captured image transmitted from the imaging device. the imaging device further comprising: a historical data creation means for creating historical data based on at least one of the plurality of classes; an update means for updating the prioritized class to another class of the plurality of classes based on the created historical data; an acquisition means for acquiring learned coefficient parameters of the first trained model corresponding to the updated prioritized class from the second information processing device; and a second transmission means for transmitting the acquired learned coefficient parameters to the imaging device, wherein the imaging device further comprises a change means for changing settings of the first trained model used in the trained model execution means based on the trained coefficient parameters transmitted from the first information processing device. Effect of the Invention

[0012] According to the present invention, it is possible to appropriately replace a trained model that performs processing related to a captured image. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 is a system configuration diagram of a trained model selection system according to a first embodiment. [Diagram 2] 2 is a block diagram showing a hardware configuration of the imaging device appearing in FIG. 1. [Diagram 3] FIG. 3 is a diagram showing a schematic configuration of a neural network processing unit in FIG. 2. [Figure 4]2 is a block diagram showing a hardware configuration of a server serving as an information processing device in FIG. 1. [Diagram 5] 2 is a block diagram showing a hardware configuration of a mobile terminal serving as the information processing device in FIG. 1. [Figure 6] 1 is a flowchart of a process for changing settings of a trained model executed in an imaging device according to a first embodiment. [Figure 7] 3 is an example of a menu screen and a shooting screen displayed on the display unit in FIG. 2. [Figure 8] 13 is a flowchart of a learned model setting change process executed in an imaging device according to a second embodiment. [Figure 9] 13 is a flowchart of a process for changing settings of a trained model executed on a mobile terminal according to the second embodiment. [Figure 10] 13 is a flowchart of a learned model setting change process executed in an imaging device according to a third embodiment. [Figure 11] 13 is a flowchart of a setting change process for a trained model executed on a mobile terminal according to the third embodiment. [Figure 12] FIG. 13 is a system configuration diagram of a trained model selection system according to a fourth embodiment. [Figure 13] 13 is a flowchart of a setting change process for a trained model executed on a mobile terminal according to the fourth embodiment. [Figure 14] 13 is a flowchart of a process for changing settings of a trained model executed in a server according to the fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, the embodiments of the present invention will be described in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the scope of the present invention, and not all of the combinations of features described in the embodiments are necessarily essential to the solution of the present invention.

[0015] <First embodiment> Hereinafter, as a trained model selection system according to a first embodiment of the present invention, a system 10a including an imaging device C and a server SV as an information processing device, and a system 10b including an imaging device C and a mobile terminal SP as an information processing device will be described in detail. However, the trained model selection system of the present invention is not limited to the systems 10a and 10b exemplified below.

[0016] FIG. 1 is a system configuration diagram of systems 10a and 10b.

[0017] As shown in FIG. 1(a), in a system 10a, an imaging device C and a server SV are connected via a wireless or wired communication network.

[0018] Also, as shown in FIG. 1(b), in a system 10b, an imaging device C and a portable terminal SP are connected via a wireless or wired communication network.

[0019] <Configuration of Imaging Device C> FIG. 2 is a block diagram showing the hardware configuration of the imaging device C.

[0020] As shown in FIG. 2, the imaging device C 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 C 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. The imaging device C forms an optical image of a subject on a pixel array of the imaging unit 212 using a photographing lens 211, and the photographing lens 211 may be either non-detachable or detachable from the body (housing, main body) of the imaging device C. The imaging device C writes and reads image data to and from a recording medium 220 via a recording medium control unit 219, and the recording medium 220 may be either detachable or non-detachable from the imaging device C.

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

[0022] 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 C, information such as parameters related to the operation of each part of the imaging device C, information received by the communication control unit 217, and the like. The memory 202 also temporarily records an image acquired by the imaging unit 212, an image and information processed by the image processing unit 213, the encoding processing unit 214, and the like. The memory 202 has a storage capacity sufficient for temporarily recording these. The memory 202 also holds history data created based on the captured image and parameters used at the time of capturing the image. Details of this history data will be described later.

[0023] 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 information such as computer programs for controlling the operation of each part of the imaging device C and parameters related to the operation of each part of the imaging device C. The various operations performed by the imaging device C are realized by such computer programs. Furthermore, the non-volatile memory 203 stores computer programs describing the processing contents of the neural network used in the neural network processing unit 205, and learned coefficient parameters such as weighting coefficients and bias values. Note that the weighting coefficient is a value for indicating the strength of the connection between nodes in the neural network, and the bias is a value for providing an offset to the weighting coefficient and the integrated value of the input data. The non-volatile memory 203 can hold a plurality of learned coefficient parameters and a plurality of computer programs describing the processing of the neural network. The non-volatile memory 203 also holds past history data.

[0024] Note that a plurality of computer programs describing the processing of the neural network and learned coefficient parameters used in the above-mentioned neural network processing unit 205 may be stored in the non-volatile memory 203 instead of the memory 202. The non-volatile memory 203 also stores history data.

[0025] The operation unit 204 provides a user interface for operating the imaging device C. 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 by switches, a touch panel, or the like. The CPU 201 controls the imaging device C according to a user's instruction input via the operation unit 204. Note that, although the case where the CPU 201 controls the imaging device C based on an operation input via the operation unit 204 has been described here as an example, the present invention is not limited to this. For example, the CPU 201 may control the imaging device C based on a request input via the communication unit 218 from a remote controller (not shown), a mobile terminal (not shown), or the like.

[0026] The neural network processing unit 205 will be described later with reference to FIG.

[0027] The photographing lens (lens unit) 211 is composed of a lens group (not shown) 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.

[0028] The imaging unit 212 can function as an acquisition unit that sequentially acquires a plurality of images that constitute a moving image. For example, an area image sensor such as a CCD (charge-coupled device) or a CMOS (complementary metal-oxide semiconductor) element is used as the imaging unit 212. The imaging unit 212 has a pixel array (not shown) in which photoelectric conversion units (not shown) 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.

[0029] The image processing unit 213 performs a 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, and the like. Furthermore, the image processing unit 213 performs a predetermined arithmetic processing for exposure control, distance measurement control, and the like, using the image data acquired by the imaging unit 212. Based on the arithmetic processing results obtained by the arithmetic processing by the image processing unit 213, the exposure control, distance measurement control, and the like are performed by the CPU 201. Specifically, the AE processing, AWB processing, AF processing, and the like are performed by the CPU 201. Furthermore, a part of the AE processing, AWB processing, and AF processing may be performed by using the neural network processing unit 205.

[0030] The encoding processing unit 214 compresses the size of the image data by performing intra-frame predictive coding (intra-screen predictive coding), inter-frame predictive coding (inter-screen predictive coding), or the like on the image data. The encoding processing unit 214 is configured with, for example, a semiconductor element or the like. The encoding processing unit 214 may be provided outside the imaging device C. Furthermore, part of the processing of the encoding processing unit 214 may be performed using the neural network processing unit 205.

[0031] The display control unit 215 controls the display unit 216. The display unit 216 includes 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, that is, an image signal, to the display unit 216. The display control unit 215 can output image data to the display unit 216, as well as to an external device via the communication control unit 217. The display unit 216 displays an image on the display screen based on an image signal sent from the display control unit 215. The display unit 216 includes an OSD (On Screen Display) function that is a function of displaying a setting screen such as a menu on the display screen. The display control unit 215 can output the image signal to the display unit 216 by superimposing an OSD image on the image signal. The display unit 216 is configured with 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 be, for example, a touch panel. When the display unit 216 is a touch panel, the display unit 216 can also function as the operation unit 204 .

[0032] The communication control unit 217 is controlled by the CPU 201. The communication control unit 217 is configured to generate a modulated signal conforming to a wireless communication standard such as IEEE802.11, output the modulated signal to the communication unit 218, and receive the modulated signal from an external device via the communication unit 218. The communication control unit 217 is also capable of transmitting and receiving a control signal for a video signal. For example, the communication control unit 217 may control the communication unit 218 to send a video signal conforming to a communication standard such as HDMI (High Definition Multimedia Interface) or SDI (Serial Digital Interface).

[0033] The communication unit 218 converts the video signal and the control signal into physical electrical signals and transmits and receives them to and from an external device. Note that, although the communication unit 218 performs wireless communication with the video signal here, the communication unit 218 is not limited to these.

[0034] 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 records encoded image data, etc. The image data, etc. are saved as a file in a format compatible with the file system of the recording medium 220.

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

[0036] <Configuration of the Neural Network Processing Unit 205> FIG. 3 is a diagram showing a schematic configuration of the neural network processing unit 205. As shown in FIG.

[0037] The neural network processing unit 205 executes neural network processing using pre-trained coefficient parameters. Note that the neural network processing is, for example, one that is composed of a CNN (Convolutional Neural Network) and a fully connected layer, but is not limited to this. The above-mentioned trained coefficient parameters correspond to weight coefficients and bias values ​​for each edge connecting nodes of each layer in a fully connected layer, and to weight coefficients and bias values ​​of the kernel in a CNN.

[0038] As shown in FIG. 3, the neural network processing unit 205 has a configuration in which a neural core 340 includes a CPU 341 , a product-sum calculation circuit 342 , a DMA 343 , and an internal memory 344 .

[0039] The CPU 341 (trained model execution means) retrieves a computer program describing the processing contents of the neural network from the memory 202 or the non-volatile memory 203 via the internal bus 230, or from the internal memory 344, and executes it. The CPU 341 also controls the product-sum calculation circuit 342 and the DMA 343.

[0040] The product-sum calculation circuit 342 is a circuit that performs product-sum calculation in a neural network. The product-sum calculation circuit 342 has a plurality of product-sum calculation units, which can perform calculations in parallel. The product-sum calculation circuit 342 outputs intermediate data calculated during calculations performed in parallel by the plurality of product-sum calculation units to the internal memory 344 via the DMA 343.

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

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

[0043] <Historical data> Here, the above-mentioned history data will be described. In this embodiment, the history data includes information on what kind of shooting scene the image captured by the imaging device C is and what kind of subject is included in the captured image. Here, the shooting scene means the scene at the time of shooting determined by the imaging device C from shooting parameters such as the shooting mode and exposure conditions specified by the user. The history data may also include GPS information and weather information. Furthermore, the history data may also include information on the setting values ​​at the time of shooting, such as AF, AE, AWB, ISO sensitivity, shutter speed, and depth of field. In this embodiment, the history data is output as a result of classification processing by a history processing neural network, which is one of the neural networks possessed by the neural network processing unit 205 (classification means) of the imaging device C. As a result, when the subject moves irregularly (race, animal) or when the shooting scene is a dark area or an artificial light source such as an aquarium, night view, or fireworks, it becomes possible for the imaging device C to adjust the setting values ​​at the time of shooting to the optimum value according to the processing result by the neural network. The history processing neural network is a neural network that classifies the main subjects and their shooting scenes included in the captured images into one of a number of classes. The history data enables the imaging device C to determine the frequency of the subjects and shooting scenes in the captured images captured by the user. Furthermore, the neural network processing unit 205 may further classify the main subjects and their shooting scenes included in the captured images according to GPS and weather conditions.

[0044] <Server SV configuration> FIG. 4 is a block diagram showing the hardware configuration of the server SV.

[0045] As shown in FIG. 4, the server SV has a CPU 401 , a memory 402 , a display unit 403 , an operation unit 405 , a recording unit 406 , a communication unit 407 , and a neural network processing unit 408 .

[0046] The CPU 401 executes a computer program stored in the recording unit 406 to control all the processing blocks that constitute the server SV.

[0047] The memory 402 is a memory that is mainly used as a work area for the CPU 401 and a temporary buffer area for data.

[0048] The display unit 403 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 401.

[0049] The internal bus 404 is a bus for connecting each processing block in the server SV to each other.

[0050] The operation unit 405 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 405 is transmitted to the CPU 401, and the CPU 401 executes control of each processing block based on the operation information.

[0051] The recording unit 406 is a processing block that is configured by a recording medium and stores and reads various data in the recording medium based on instructions from the CPU 401. The recording medium is configured, for example, by an EEPROM, an internal flash memory, an internal hard disk, or a removable memory card. The recording unit 406 stores input data and teacher data, which are learning data for the neural network processing unit 408. When teacher data is newly created, the results of using a high-performance trained model that takes a long time to process but can make highly accurate judgments are generated as teacher data and recorded in the recording unit 406.

[0052] The communication unit 407 includes hardware for performing communication over a wireless LAN and a wired LAN. In the case of a wireless LAN, the communication unit 407 is, for example, a processing block for the IEEE802.11n / a / g / b system. The communication unit 407 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 407 performs communication over a wired LAN via an external router or a switching hub using an Ethernet cable. The communication unit 407 communicates with external devices including the imaging device C, and exchanges information such as images, control data, learning data, and learned models.

[0053] The neural network processing unit 408 performs a learning process of the neural network using the learning data stored in the recording unit 406 and a model of the neural network created in advance. The neural network processing unit 408 performs a learning process for constructing a learned model corresponding to each of different classes of subjects using image data as input data. In addition, the image data as the input data may be received from an instruction from a user via the operation unit 405 or a preprogrammed communication unit 407, or image data recorded in the recording unit 406 may be read. The neural network processing unit 408 is composed of a GPU (Graphic Processing Unit) or a DSP (Digital Signal Processor). Note that the learning process of the neural network may be performed by the CPU 401 without providing the neural network processing unit 408, or may be performed by both. In addition, the learned model, which is a result of the learning process performed by the neural network processing unit 408, is also stored in the recording unit 406 (a learned model storage means).

[0054] <Block diagram of mobile terminal SP> FIG. 5 is a block diagram showing the hardware configuration of the mobile terminal SP.

[0055] As shown in FIG. 5, the mobile terminal SP has a CPU 501, a memory 502, an imaging unit 503, a display unit 504, an operation unit 505, a recording unit 506, a communication unit 507, an internal bus 508, and a neural network processing unit 509.

[0056] The CPU 501 executes a computer program stored in the recording unit 506 to control all the processing blocks constituting the mobile terminal SP.

[0057] 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. Programs such as an OS (Operating System) and applications are loaded onto the memory 502 and executed by the CPU 501.

[0058] The imaging unit 503 is a processing block that includes an optical lens, a CMOS sensor, a digital image processing unit, etc., and converts an analog signal input through the optical lens into digital data to obtain a captured image. The captured image obtained by the imaging unit 503 is temporarily stored in a memory 502 and processed under the control of the CPU 501. For example, the captured image is recorded on a recording medium by a recording unit 506, or transmitted to an external device by a communication unit 507. The imaging unit 503 also includes a lens control unit, and controls zoom, focus, aperture adjustment, etc., based on instructions from the CPU 501.

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

[0060] The operation unit 505 is configured with a keyboard, a mouse, buttons, a cross key, a touch panel, a remote control, or the like, 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.

[0061] The recording unit 506 is a processing block that is configured with a large-capacity 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 internal flash memory, an internal hard disk, or a removable memory card. The recording unit 506 stores input data and teacher data, which are learning data for the neural network processing unit 509.

[0062] The communication unit 507 is a processing block that includes processing hardware for performing communication via an antenna, wireless LAN, wired LAN, etc., and performs wireless LAN communication, for example, in accordance with the IEEE802.11n / a / g / b standard. The communication unit 507 connects to an external access point via wireless LAN, and performs wireless LAN communication with other wireless communication devices via the access point.

[0063] An internal bus 508 is a bus for connecting each processing block in the mobile terminal SP to each other.

[0064] The neural network processing unit 509 performs a learning process of the neural network using the learning data stored in the recording unit 506 and a model of the neural network created in advance. The neural network processing unit 509 performs a learning process corresponding to each of different classes of subjects using image data as input data. In addition, the image data as the input data may be received from an instruction from a user via the operation unit 505 or a preprogrammed communication unit 507, or image data recorded in the recording unit 506 may be read. The neural network processing unit 509 is composed of a GPU (Graphic Processing Unit) or a DSP (Digital Signal Processor). Note that the learning process of the neural network may be performed by the CPU 501 without providing the neural network processing unit 509, or may be performed by both. In addition, the learned model, which is the result of the learning process performed by the neural network processing unit 509, is also stored in the recording unit 506 (trained model storage means).

[0065] <Processing flow of imaging device C> The flow of the learned model setting change process executed in the imaging device C according to the first embodiment will be described with reference to the flowchart in FIG.

[0066] This operation is realized by developing a computer program stored in the non-volatile memory 203 in the memory 202 while the power supply of the imaging device C is on, and by the CPU 201 reading and executing the computer program in the memory 202. This process is started when the user selects a setting for shooting from a menu screen displayed on the display unit 216 via the operation unit 204, and then issues an instruction to start shooting by fully pressing a release button (not shown). This process may be automatically and repeatedly executed while the imaging unit 212 is operating in the imaging mode with the power supply on. Alternatively, it may be started in response to a half-press of the release button. In this case, it is executed in parallel with processes such as AF, AE, and AWB.

[0067] Furthermore, a plurality of trained models and a history processing neural network corresponding to the prioritized subjects are stored in advance in the non-volatile memory 203. Each of the plurality of trained models corresponding to the prioritized subjects performs any one of neural network processes related to the captured image obtained in step S602 described later, such as object detection (discrimination of the main subject), boundary classification, image processing, and noise removal.

[0068] In step S601, CPU 201 selects one of the trained models in non-volatile memory 203 according to the shooting setting selected by the user before the start of this process. For example, if the shooting setting selected by the user before the start of this process is AF, a trained model that performs object detection (discrimination of the main subject) is selected. CPU 201 acquires image data by imaging unit 212, and causes neural network processing unit 205 to discriminate the main subject using this as input data. Thereafter, CPU 201 performs AF processing on the discriminated main subject, and then proceeds to step S602.

[0069] In step S602, the CPU 201 controls the imaging unit 212, the image processing unit 213, and the encoding processing unit 214 to perform imaging processing, and the process proceeds to step S603. The CPU 201 also holds in the memory 202 the captured image before being encoded by the encoding processing unit 214.

[0070] In step S603, the CPU 201 (history data creation means) creates history data. Specifically, the CPU 201 inputs the captured image before encoding stored in the memory 202 in step S602 to the neural network processing unit 205, and outputs the above-mentioned history data by the history processing neural network. Note that, in addition to the captured image, shooting information may also be input to the neural network processing unit 205 to output the history data. In this process, a computer program describing the processing contents of the neural network and learned coefficient parameters for processing by the neural network processing unit 205 are sequentially read from the memory 202 or the non-volatile memory 203 and processed. Note that the history processing neural network refers to neural network processing for outputting history data. For example, a general classifying neural network is applied to the history processing neural network, and the main subject can be classified into a plurality of subject classes such as people, animals, and objects.

[0071] In step S604, CPU 201 replaces old history data recorded in non-volatile memory 203 with new history data from step S603 to update it. For example, if the main subject of the captured image in step S602 is classified as a person class in the history data from step S603, the shooting frequency of the person class is increased as history data, and the process proceeds to step S605. CPU 201 saves the old history data in memory 202 to use in step S605. If no old history data exists, CPU 201 records the history data created in step S603 in non-volatile memory 203 and then ends this process.

[0072] In step S605, CPU 201 first compares the new history data recorded in non-volatile memory 203 with the old history data recorded in memory 202. Then, based on the result of this comparison, it determines whether or not the priority order of subjects photographed as main subjects by the user (hereinafter simply referred to as subject priority order) has changed due to the update of the history data. Specifically, when the order of shooting frequency of each class has changed in the history data, CPU 201 determines that the priority order of subjects has changed. If CPU 201 determines that the priority order of subjects has changed (YES in step S605), it proceeds to step S606. On the other hand, if CPU 201 determines that the priority order of subjects has not changed (NO in step S605), it proceeds to step S608.

[0073] In step S606, the CPU 201 changes the subject of the class with a higher shooting frequency to the priority subject, and determines whether or not to change to a learned model corresponding to the changed priority subject (whether automatic update is enabled or disabled). In this embodiment, if the user does not want the priority subject to be automatically updated, the user sets the automatic update to be disabled in advance on a menu screen in FIG. 7 described later, and in the opposite case, the user sets the automatic update to be enabled in advance on the menu screen in FIG. 7. In addition, the non-volatile memory 203 holds the state of the user setting for the menu screen in FIG. 7 (hereinafter, referred to as the menu setting state). Therefore, the CPU 201 determines whether the automatic update is enabled or disabled based on the menu setting state held in the non-volatile memory 203. That is, when the menu setting state is a setting state in which automatic update is disabled, the CPU 201 determines that even if the priority subject is changed in step S606, the learned model corresponding to the changed priority subject is not changed, that is, the automatic update is disabled. On the other hand, if the menu setting state is a setting state in which automatic update is enabled, when the prioritized subject is changed in step S606, the CPU 201 changes to a corresponding trained model, that is, determines that automatic update is enabled. However, when changing the trained model, since the capacity of the non-volatile memory 203 is limited, the trained coefficient parameters of the trained model in the non-volatile memory 203 are replaced in step S607 described later. If automatic update is enabled (YES in step S606), the CPU 201 proceeds to step S607. If automatic update is not enabled (NO in step S606), the CPU 201 proceeds to step S608.

[0074] In step S607, the CPU 201 first controls the communication control unit 217 to acquire the learned coefficient parameters of the learned model corresponding to the changed prioritized subject from either the server SV or the mobile terminal SP via the communication unit 218. Thereafter, the setting of the learned model in the non-volatile memory 203 is changed based on the acquired learned coefficient parameters, and this process ends. Specifically, in step S607, the CPU 201 replaces the learned coefficient parameters of the learned model corresponding to the pre-changed prioritized subject in the non-volatile memory 203 with the acquired learned coefficient parameters.

[0075] In step S608, the CPU 201 controls the communication control unit 217 to inquire via the communication unit 218 whether the trained model corresponding to the current prioritized subject has been updated. The CPU 201 first acquires the trained coefficient parameters of the trained model that has been updated as a result of the inquiry from either the server SV or the mobile terminal SP. Then, based on the acquired trained coefficient parameters, the CPU 201 updates the settings of the trained model in the non-volatile memory 203, and ends this process. Specifically, in step S608, the CPU 201 updates the trained coefficient parameters of the trained model corresponding to the current prioritized subject in the non-volatile memory 203 with the acquired trained coefficient parameters.

[0076] <An example of the screen of the imaging device C> An example of a menu screen and a screen during shooting displayed on the display unit 216 of the imaging device C according to the first embodiment will be described with reference to FIG.

[0077] FIG. 7(a) is a diagram showing an example of a menu screen displayed when setting an automatic update of a trained model in the imaging device C.

[0078] A menu screen 701 is a display indicating that the screen in FIG. 7(a) is a screen for performing menu settings.

[0079] An AI_AF subject auto update setting 702 is a display indicating that this is a screen for setting whether or not to automatically update the subject of AF using machine learning.

[0080] A cancel button 703 is a button for ending the process without applying the changes to the menu settings.

[0081] An execute button 704 is a button for reflecting and executing the changes in the menu settings.

[0082] The check button 705 is a button that can be switched between a checked state (ON state) and an unchecked state (OFF state) by a user operation. In the ON state, automatic updating of a trained model corresponding to a subject using machine learning is enabled, and in the OFF state, such automatic updating is disabled.

[0083] Fig. 7(b) is a diagram showing an example of a menu screen displayed when setting an automatic update for a trained model for each subject in the imaging device C. Note that the same components as those in Fig. 7(a) are given the same reference numerals, and duplicated explanations will be omitted.

[0084] AI_AF Subject Selection 711 is a display indicating that the screen in Fig. 7(b) is a screen for individually setting whether or not to automatically update each of multiple subjects that are targets of AF using machine learning. Note that the names of multiple subjects are displayed from the top of the menu screen in Fig. 7(b) in order of frequency of shooting.

[0085] The check buttons 712a-d are each associated with a different subject, and can be individually switched between a checked state (ON state) and an unchecked state (OFF state) by a user operation. For example, when the check button 712a is in the ON state, automatic updating of the trained model corresponding to the subject "person" associated with this button is enabled, and when the check button is in the OFF state, such automatic updating is disabled.

[0086] The frame display 713 is a display for indicating which of a plurality of subjects is selected.

[0087] In addition, in the menu screen of FIG. 7(b), check buttons 712a-d are provided for each class of subject, but a menu screen (not shown) in which different check buttons are provided for each class of shooting scene may also be displayed on the display unit 216 in response to a user instruction.

[0088] FIG. 7C is a diagram showing an example of a shooting screen displayed on the imaging device C.

[0089] The AF frame 721 is an indication that shows which part of the subject is in focus.

[0090] The subject selection display 722 displays a subject that is a target of AF using machine learning selected in Fig. 7(b) or a shooting scene that is a target of AE using machine learning selected in an AE selection menu (not shown). Note that the content displayed in the subject selection display 722 may be a subject or a shooting scene that is a target of a function using machine learning (e.g., AWB), and is not limited to the example shown in Fig. 7(c).

[0091] As described above, by performing the processing of the first embodiment, the imaging device C becomes able to change the trained model based on the history data.

[0092] In the first embodiment, an example in which a priority subject is updated has been described in detail, but similar processing can also be performed in the case of updating a priority photographic scene.

[0093] <Second embodiment> A trained model selection system according to a second embodiment of the present invention will be described in detail below with reference to the accompanying drawings, taking as an example a system 10a including an imaging device C and a portable terminal SP as an information processing device. However, the present invention is not limited to the second embodiment exemplified below. Also, a server SV may be used as the information processing device instead of the portable terminal SP.

[0094] In the first embodiment, the imaging device C creates history data, sets a prioritized subject based on the history data, and determines that a learned model corresponding to the prioritized subject is a learned model that needs to be updated. On the other hand, in the second embodiment, after creating history data, the imaging device C transmits the history data to the mobile terminal SP, and the mobile terminal sets a prioritized subject based on the transmitted history data, and determines that a learned model corresponding to the prioritized subject is a learned model that needs to be updated.

[0095] The block configurations of the imaging device C, the mobile terminal SP, and the server SV according to the second embodiment are the same as those of the first embodiment. Therefore, the same reference numerals are used for the same configurations as those of the first embodiment, and the repeated explanations are omitted.

[0096] The flow of processing in the imaging device C in the second embodiment will be described with reference to FIG.

[0097] This operation is realized by developing a computer program stored in the non-volatile memory 203 into the memory 202 while the imaging device C is powered on, and by the CPU 201 reading and executing the computer program from the memory 202.

[0098] In step S801, the CPU 201 performs the same process as in step S601, and the process proceeds to step S802.

[0099] In step S802, the CPU 201 performs the same process as in step S602, and then the process proceeds to step S803.

[0100] In step S803, the CPU 201 performs the same process as in step S603, and then the process proceeds to step S804.

[0101] In step S804, CPU 201 controls communication control unit 217 to transmit the history data created in step S803 from communication unit 218 to mobile terminal SP, and the process proceeds to step S805.

[0102] In step S805, the CPU 201 controls the communication control unit 217 to receive the learned coefficient parameters of the learned model from the mobile terminal SP via the communication unit 218, and ends this process. Note that the CPU 201 may receive not only the learned coefficient parameters of the learned model from the mobile terminal SP, but also information on the prioritized subject, and perform the same processes as those in steps S606 to S608.

[0103] Using the flowchart in Figure 9, we will explain the flow of the learned model setting change process executed on the mobile terminal SP in the second embodiment.

[0104] This operation is realized by developing a computer program stored in recording unit 506 into memory 502 while mobile terminal SP is powered on, and CPU 501 reading and executing the computer program from memory 502.

[0105] In step S901, the CPU 501 controls the communication unit 507 to receive history data from the imaging device C. The CPU 501 stores the received history data in the memory 502, and proceeds to step S902. Note that if the history data before the update does not exist in the recording unit 506, the history data stored in the memory 502 is recorded in the recording unit 506, and then this process ends.

[0106] In step S902, CPU 501 performs the same process as in step 605. Specifically, CPU 501 compares the history data stored in memory 502 with the history data before the update recorded in recording unit 506, and determines whether the priority order of the subject has been changed by updating the history data. If CPU 501 determines that the priority order of the subject has been changed (YES in step S902), CPU 501 proceeds to step S903. On the other hand, if CPU 501 determines that the priority order of the subject has not been changed (NO in step S902), CPU 501 ends this process.

[0107] In step S903, the CPU 501 first changes the subject of the class with a higher shooting frequency to the priority subject, then controls the communication unit 507 to transmit the learned coefficient parameters of the learned model corresponding to the changed priority subject to the imaging device C, and ends this process.

[0108] As described above, by performing the processing of the second embodiment, the mobile terminal SP is able to change the trained model based on the received historical data and transmit the trained coefficient parameters of the updated trained model to the imaging device C.

[0109] <Third embodiment> A trained model selection system according to a third embodiment of the present invention will be described in detail below with reference to the accompanying drawings, taking as an example a system 10a including an imaging device C and a portable terminal SP as an information processing device. However, the present invention is not limited to the third embodiment exemplified below. Also, a server SV may be used as the information processing device instead of the portable terminal SP.

[0110] In the first and second embodiments, the history data is created by the imaging device C. On the other hand, in the third embodiment, the imaging device C transmits captured images before encoding, and the history data is created by the mobile terminal SP.

[0111] The block configurations of the imaging device C, the mobile terminal SP, and the server SV in the third embodiment are the same as those in the first embodiment. Therefore, the same reference numerals are used for the same configurations as those in the first embodiment, and duplicated explanations are omitted. However, in the third embodiment, a history processing neural network exists in the neural network processing unit 509 of the mobile terminal SP as an information processing device.

[0112] FIG. 10 is a flowchart showing the processing of the imaging device C according to the third embodiment.

[0113] This operation is realized by developing a computer program stored in the non-volatile memory 203 into the memory 202 while the imaging device C is powered on, and by the CPU 201 reading and executing the computer program from the memory 202.

[0114] In step S1001, the CPU 201 performs the same process as in step S601 and proceeds to step S1002.

[0115] In step S1002, the CPU 201 performs the same process as in step S602 and proceeds to step S1003.

[0116] In step S1003, the CPU 201 transmits the captured image and imaging information before encoding, which have been stored in the memory 202 in step S1002, to the mobile terminal SP via the communication unit 218, and the process proceeds to step S1004.

[0117] In step S1004, the CPU 201 checks whether or not there is an update to the trained model with the mobile terminal SP via the communication unit 218. If the CPU 201 determines that there is an update to the trained model as a result of this check (YES in step S1004), the process proceeds to step S1005, whereas if the CPU 201 determines that there is no update to the trained model (NO in step S1004), the process ends.

[0118] In step S1005, when the CPU 201 receives an inquiry from the mobile terminal SP via the communication unit 218 as to whether the updated trained model is an updatable trained model in the imaging device C, the CPU 201 responds to the inquiry to the mobile terminal SP. Specifically, the CPU 201 first determines whether the trained model corresponding to the prioritized subject information included in the inquiry from the mobile terminal SP is an updatable trained model based on the menu setting state stored in the non-volatile memory 203. If the CPU 201 determines that the trained model is an updatable trained model (YES in step S1005), the CPU 201 responds to that effect to the mobile terminal SP and proceeds to step S1006. On the other hand, if the CPU 201 determines that the trained model is not an updatable trained model (NO in step S1005), the CPU 201 responds to that effect to the mobile terminal SP and ends this process.

[0119] In step S1006, the CPU 201 receives the updated trained coefficient parameters of the trained model from the mobile terminal SP via the communication unit 218, and ends this process.

[0120] FIG. 11 shows a flowchart of a process for changing settings of a trained model executed on a mobile terminal SP according to the third embodiment.

[0121] This operation is realized by developing a computer program stored in recording unit 506 into memory 502 while mobile terminal SP is powered on, and CPU 501 reading and executing the computer program from memory 502.

[0122] In step S1101, the CPU 501 receives the captured image and imaging information before encoding from the imaging device C via the communication unit 507, stores them in the memory 502, and the process proceeds to step S1102.

[0123] In step S1102, the CPU 501 performs additional unsupervised learning using the neural network processing unit 509. At this time, the captured image before encoding stored in the memory 502 is used as input data, and a trained model corresponding to a subject appearing in the input data is used from among the existing trained models recorded in the recording unit 506. For example, an image of fireworks is used as input data, and a trained model for fireworks is re-trained.

[0124] When additional supervised learning is performed, the CPU 501 transmits a captured image to the server SV via the communication unit 507. The CPU 501 receives, as teacher data, the processing result executed by the neural network processing unit 408 using the high-performance trained model by the server SV via the communication unit 507. After that, the trained model newly created by this additional learning is recorded in the recording unit 506. Specifically, additional learning is performed with the initial values ​​of weight coefficients, bias values, etc. adopted as the values ​​of the trained coefficient parameters of the existing trained model. Then, the process proceeds to step S1103.

[0125] In step S1103, the CPU 501 creates history data. Specifically, the CPU 501 first inputs the captured image before encoding stored in the memory 502 in step S1101 to the neural network processing unit 509. This causes the history processing neural network to output the class classification of the main subject as history data, and the process proceeds to step S1104. Note that, in addition to the captured image, shooting information may also be input to the neural network processing unit 509, and the class classification of the captured scene at the time of shooting may also be output as history data.

[0126] In step S1104, CPU 501 replaces old history data recorded in recording unit 506 with new history data stored in memory 502, and proceeds to step S1105. CPU 501 saves the old history data in memory 502 for use in step S1105. If no old history data exists, CPU 501 records the history data created in step S1103 in recording unit 506, and then ends this process.

[0127] In step S1105, the CPU 501 performs the same process as in step S605. Specifically, the CPU 501 compares the new history data recorded in the recording unit 506 with the history data before the update recorded in the memory 502, and determines whether the order of the shooting frequency has been changed by updating the history data. When the CPU 501 determines that the priority of the subject has been changed (YES in step S1105), it responds to the confirmation from the imaging device C in step S1004 of FIG. 10 that the trained model has been updated, and proceeds to step S1106. On the other hand, when the CPU 501 determines that the priority of the subject has not been changed (NO in step S1105), it ends this process. Note that even if the priority of the subject has not been changed, if the trained coefficient parameters of the trained model corresponding to the currently prioritized subject have been updated in the additional learning in step S1102, it may proceed to step S1106. Also in this case, it responds to the confirmation from the imaging device C in step S1004 of FIG. 10 that the trained model has been updated.

[0128] In step S1106, CPU 501 changes the subject with a higher priority to a prioritized subject, and determines whether or not the trained model corresponding to this changed prioritized subject is a trained model that can be updated in imaging device C. Specifically, this determination is made based on the CPU 501 inquiring of imaging device C via communication unit 507 as to whether or not the trained model is an updatable model, and the reply to this inquiry in step S1005 of Fig. 10. If the result of this determination is that the trained model is an updatable model in imaging device C (YES in step S1106), CPU 501 proceeds to step S1107. On the other hand, if the trained model is not an updatable model in imaging device C (NO in step S1106), CPU 501 ends this process.

[0129] In step S1107, the CPU 501 transmits the learned coefficient parameters of the learned model corresponding to the changed prioritized subject to the imaging device C via the communication unit 507, and ends this process.

[0130] As described above, by performing the process of the third embodiment, the mobile terminal SP can perform additional learning of an existing trained model based on the received captured image before encoding. Also, the mobile terminal SP can create history data, change the trained model based on the history data, and transmit the trained coefficient parameters of the changed trained model to the imaging device C.

[0131] <Fourth embodiment> A trained model selection system according to a fourth embodiment of the present invention will be described in detail below with reference to the accompanying drawings, taking as an example a system 120 including an imaging device C, a server SV as an information processing device, and a mobile terminal SP. However, the present invention is not limited to the fourth embodiment exemplified below.

[0132] In the third embodiment, the historical data and the trained model are created by the mobile terminal SP, whereas in the fourth embodiment, the historical data and the trained model are created by the server SV.

[0133] The block configurations of the imaging device C, server SV, and mobile terminal SP in the fourth embodiment are the same as those in the first embodiment. Therefore, the same reference numerals are used for the same configurations as those in the first embodiment, and duplicated explanations are omitted. However, in the fourth embodiment, a history processing neural network exists in the neural network processing unit 408 of the server SV as an information processing device.

[0134] FIG. 12 is a system configuration diagram of the system 120.

[0135] As shown in FIG. 12, an imaging device C, a server SV, and a portable terminal SP are connected to one another via a wireless or wired communication network.

[0136] The flowchart showing the processing of the imaging device C according to the fourth embodiment is similar to that shown in FIG. 10 in the third embodiment.

[0137] FIG. 13 is a flowchart showing a process for changing settings of a trained model executed in a mobile terminal SP according to the fourth embodiment.

[0138] This operation is realized by developing a computer program stored in recording unit 506 into memory 502 while mobile terminal SP is powered on, and CPU 501 reading and executing the computer program from memory 502.

[0139] In step S1301, the CPU 501 performs the same process as in step S1101 and proceeds to step S1302.

[0140] In step S1302, the CPU 501 transmits the unencoded captured image and imaging information received in step S1101 to the server SV via the communication unit 507, and the process proceeds to step S1303.

[0141] 10, the CPU 501 inquires of the server SV whether or not the trained model has been updated via the communication unit 507. If the CPU 501 determines, as a result of this inquiry, that the trained model has been updated (YES in step S1303), the CPU 501 proceeds to step S1304, whereas if the CPU 501 determines that the trained model has not been updated (NO in step S1303), the CPU 501 ends this process.

[0142] In step S1304, the CPU 501 waits for an inquiry from the server SV via the communication unit 507 as to whether the updated trained model is a trained model that can be updated in the imaging device C. When the CPU 501 receives such an inquiry from the server SV, the CPU 501 transfers the received inquiry to the imaging device C via the communication unit 507. After that, when the CPU 501 receives, as a reply to step S1005 in FIG. 10, via the communication unit 507, a message indicating that the trained model is a trained model that can be updated by the imaging device C, the CPU 501 transfers the message to the server SV (YES in step S1304) and proceeds to step S1305. On the other hand, when the CPU 501 receives, as a reply to step S1005 in FIG. 10, via the communication unit 507, a message indicating that the trained model is not a trained model that can be received from the imaging device C, the CPU 501 transfers the message to the server SV (NO in step S1304) and ends this process.

[0143] In step S1305, the CPU 501 receives the learned coefficient parameters of the learned model from the server SV via the communication unit 507, stores them in the memory 502, and proceeds to step S1306.

[0144] In step S1306, the CPU 501 transmits the learned coefficient parameters of the learned model stored in the memory 502 to the imaging device C via the communication unit 507, and ends this process.

[0145] FIG. 14 is a flowchart showing the process of changing the settings of a trained model executed in the server SV according to the fourth embodiment.

[0146] This operation is realized by developing a computer program stored in the recording unit 406 in the memory 402 while the server SV is powered on, and by the CPU 401 reading and executing the computer program in the memory 402.

[0147] In step S1401, the CPU 401 receives, via the communication unit 407, the image data and imaging information before encoding transmitted from the mobile terminal SP in step S1302 in FIG. 13, and stores them in the memory 402, and the process proceeds to step S1402.

[0148] In step S1402, the CPU 401 performs additional learning using the neural network processing unit 408. At this time, the captured image before encoding stored in the memory 402 is used as input data, and an existing trained model corresponding to the input data recorded in the recording unit 406 is used. After that, a trained model newly created by this additional learning is recorded in the recording unit 406. Specifically, additional learning is performed in a state where the values ​​of the trained coefficient parameters of the existing trained model are adopted as the initial values ​​of the weight coefficients, bias values, etc. This process is the same as the process of step S1102 in FIG. 11. Then, the process proceeds to step S1403.

[0149] In step S1403, the CPU 401 creates history data. Specifically, the CPU 401 first inputs the captured image before encoding stored in the memory 402 in step S1401 to the neural network processing unit 408. Thereafter, the class classification of the main subject is output as history data by the history processing neural network, and the process proceeds to step S1404. Note that, in addition to the captured image, shooting information may also be input to the neural network processing unit 205, and the class classification of the captured scene at the time of shooting may also be output as history data.

[0150] In step S1404, CPU 401 replaces old history data recorded in recording unit 406 with new history data stored in memory 402, and proceeds to step S1405. CPU 401 saves the old history data in memory 402 for use in step S1405. If no old history data exists, CPU 401 records the history data created in step S1403 in recording unit 406, and then ends this process.

[0151] In step S1405, the CPU 401 performs the same process as in step S605. Specifically, the CPU 401 compares the new history data recorded in the recording unit 406 with the history data before the update recorded in the memory 402, and determines whether the order of the shooting frequency has been changed by updating the history data. When the CPU 401 determines that the priority of the subject has been changed (YES in step S1405), it responds to the inquiry from the mobile terminal SP in step S1303 of FIG. 13 that the trained model has been updated, and proceeds to step S1406. On the other hand, when the CPU 401 determines that the priority of the subject has not been changed (NO in step S1405), it ends this process. Note that even if the priority of the subject has not been changed, if the trained coefficient parameters of the trained model corresponding to the currently prioritized subject have been updated in the additional learning in step S1402, it may proceed to step S1406. Also in this case, it responds to the inquiry from the mobile terminal SP in step S1303 of FIG. 13 that the trained model has been updated.

[0152] In step S1406, the CPU 401 changes the subject with a higher priority to a prioritized subject, and determines whether or not the trained model corresponding to the prioritized subject after the change is a trained model that can be updated in the imaging device C. Specifically, this determination is performed as follows. First, the CPU 401 inquires of the portable terminal SP via the communication unit 407 whether or not the trained model is an updatable model in the imaging device C. Thereafter, in response to this inquiry, in step S1304 of FIG. 13, the portable terminal SP transfers the reply content from the imaging device C. The determination of whether or not the trained model is an updatable model in the imaging device C is performed based on the reply content. If the result of this determination is that the trained model is an updatable model in the imaging device C (YES in step S1406), the CPU 501 proceeds to step S1407. On the other hand, if the trained model is not an updatable model in the imaging device C (NO in step S1406), the CPU 501 ends this process.

[0153] In step S1407, the CPU 401 transmits the learned coefficient parameters of the learned model corresponding to the changed prioritized subject to the mobile terminal SP via the communication unit 407, and ends this process.

[0154] As described above, by performing the process of the fourth embodiment, the server SV can perform additional learning of an existing trained model based on the received captured image before encoding. The server SV can also create history data, change the trained model based on the history data, and transmit the trained coefficient parameters of the changed trained model to the imaging device C.

[0155] In the fourth embodiment, the server SV creates the history data and performs additional learning of the existing trained model, but the present invention is not limited to this form. For example, one of the mobile terminal SP and the server SV may create the history data, and the other may perform additional learning of the existing trained model.

[0156] [Modified embodiment] Although the present invention has been described in detail above based on preferred embodiments, the present invention is not limited to these embodiments, and various forms that do not deviate from the gist of the present invention are also included in the present invention.

[0157] The present invention is not limited to the imaging device C, server SV, mobile terminal SP, etc. described in the above embodiment. For example, even if the imaging device C is a system composed of multiple devices, it is possible to realize the same functions as those of the above embodiment. Furthermore, it is possible to realize a part of the processing of the imaging device C by an external device on the network.

[0158] The neural network processing units 205, 408, and 509 may be any processing unit that operates according to a machine learning algorithm, and the algorithm is not limited to a neural network. For example, an algorithm such as an SVM (support vector machine) or a decision tree may be used.

[0159] The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) for implementing one or more of the functions. [Explanation of symbols]

[0160] C. Imaging device 201 CPU 202 Memory 203 Non-volatile memory 204 Operation section 205 Neural network processing unit SV Server 401 CPU 402 Memory 403 Display section 405 Operation section 406 Recording Department 407 Communications Department 408 Neural network processing unit SP Mobile terminal 501 CPU 502 Memory 504 Display section 505 Operation section 506 Recording Department 507 Communications Department 509 Neural network processing unit

Claims

1. An imaging means for capturing an image of a subject and generating a captured image; A communication means for communicating with an information processing device that holds a first trained model corresponding to each of a plurality of classes; A trained model execution means for executing a process related to the captured image using the first trained model corresponding to a prioritized class that is one of the plurality of classes; a history data creating means for creating history data based on at least one of the captured image and imaging information at the time of capturing the image; an acquisition means for acquiring, from the information processing device via the communication means, trained coefficient parameters of the first trained model corresponding to another class among the plurality of classes, based on the created history data; and a change means for changing the settings of the first trained model used in the trained model execution means based on the acquired trained coefficient parameters.

2. a classification unit that executes a classification process for classifying at least one of information on a main subject of the captured image and a photographing scene thereof into one of the plurality of classes, 2. The imaging apparatus according to claim 1, wherein the history data includes information indicating which of the plurality of classes the at least one piece of information has been classified into by the classification means.

3. 3. The imaging apparatus according to claim 2, wherein the classifying means executes the classification process by using a second trained model used for classification.

4. The history data further includes information on a ranking of the frequency of photography for each of the plurality of classes, 4. The imaging device according to claim 2 or 3, wherein the learned coefficient parameters acquired by the acquisition means are learned coefficient parameters of the first learned model corresponding to the class in which the shooting frequency is ranked higher in the history data.

5. and updating means for updating the prioritized class to a class that has become higher in the order of the photographing frequency in the history data, 5. The imaging apparatus according to claim 4, wherein the learned coefficient parameters acquired by the acquisition means are learned coefficient parameters of the first learned model corresponding to the updated prioritized class.

6. 5. The imaging apparatus according to claim 1, wherein the history data created by the history data creating means is transmitted to the information processing apparatus by the communication means.

7. The history data creation means The imaging device according to claim 1, characterized in that the communication means transmits the captured image and imaging information at the time of capturing the image to the information processing device, and the information processing device creates the history data based on at least one of the transmitted captured image and the imaging information at the time of capturing the image.

8. 8. The imaging apparatus according to claim 1, wherein the history data creating means creates new history data every time an image is captured by the imaging means.

9. 6. The imaging apparatus according to claim 5, further comprising a selection unit that selects whether or not the update of the prioritized class by the update unit is to be enabled in response to a user operation.

10. A display means for displaying the plurality of classes is further provided, 6. The imaging apparatus according to claim 5, further comprising a selection unit for selecting, in response to a user operation, whether or not to enable updating of the prioritized class by the update unit for each of the displayed classes.

11. 11. The imaging apparatus according to claim 10, wherein said display means displays said plurality of classes in descending order of frequency of photography for each of said classes.

12. 12. The imaging device according to claim 1, wherein the processing relating to the captured image includes at least one of object detection, boundary classification, image processing, and noise removal.

13. 3. The imaging apparatus according to claim 2, wherein the at least one piece of information is created from at least one of the captured image and imaging information at the time of capturing the image.

14. The imaging device according to claim 13 , wherein the at least one piece of information further includes at least one of GPS information and weather information.

15. A trained model storage means for storing a first trained model corresponding to each of a plurality of classes; A communication means for communicating with an imaging device that captures an image of a subject to generate a captured image and executes processing related to the captured image using the first trained model corresponding to a prioritized class that is one of the plurality of classes; a first receiving means for receiving the captured image and imaging information at the time of capturing the captured image from the imaging device via the communication means; a history data creating means for creating history data based on at least one of the received captured image and imaging information at the time of capturing the image; and a transmission means for transmitting learned coefficient parameters of the first learned model corresponding to another class among the plurality of classes to the imaging device via the communication means based on the history data created by the history data creation means.

16. a classification unit that executes a classification process for classifying at least one of information on a main subject and a photographing scene of the received captured image into one of the plurality of classes, 16. The information processing apparatus according to claim 15, wherein said history data includes information indicating which of said plurality of classes said at least one piece of information has been classified by said classifying means.

17. 17. The information processing apparatus according to claim 16, wherein the classification means executes the classification process by using a second trained model used for classification.

18. The history data further includes information on a ranking of the frequency of photography for each of the plurality of classes, 18. An information processing device according to claim 16, wherein the learned coefficient parameters transmitted by the transmission means are learned coefficient parameters of the first learned model corresponding to a class in which the shooting frequency is ranked higher in the history data.

19. the communication means further communicates with another information processing device that communicates with the imaging device; a second receiving means for receiving the captured image and imaging information at the time of capturing the captured image via the other information processing device by the communication means; A learning means for performing a learning process to construct each of the trained models corresponding to the plurality of classes, 19. The information processing apparatus according to claim 15, wherein the learning means performs the learning process by using the captured image received by at least one of the first and second receiving means.

20. A trained model selection system including an imaging device that captures an image of a subject and generates a captured image, and an information processing device that holds first trained models corresponding to each of a plurality of classes, The imaging device includes: A trained model execution means for executing a process related to the captured image using the first trained model corresponding to a prioritized class that is one of the plurality of classes; a first transmission means for transmitting the captured image and imaging information at the time of capturing the captured image to the information processing device; The information processing device includes: a history data creating means for creating history data based on at least one of the captured image and imaging information at the time of capturing the captured image transmitted from the imaging device; and a second transmission means for transmitting to the imaging device a trained coefficient parameter of the first trained model corresponding to another class of the plurality of classes based on the created history data; The imaging device includes: A trained model selection system further comprising a change means for changing settings of the first trained model used in the trained model execution means based on trained coefficient parameters transmitted from the information processing device.

21. The information processing device further includes a learning means for performing a learning process to construct each of the trained models corresponding to the plurality of classes, The trained model selection system according to claim 20, characterized in that the learning means performs the learning process using at least one of the captured images transmitted from another information processing device communicating with the imaging device and the captured images transmitted from the imaging device.

22. A trained model selection system including an imaging device that captures an image of a subject and generates a captured image, a first information processing device, and a second information processing device that holds first trained models corresponding to each of a plurality of classes, The imaging device includes: A trained model execution means for executing a process related to the captured image using the first trained model corresponding to a prioritized class that is one of the plurality of classes; a first transmission means for transmitting the captured image and imaging information at the time of capturing the captured image to the first information processing device; The first information processing device, a history data creating means for creating history data based on at least one of the captured image and imaging information at the time of capturing the captured image transmitted from the imaging device; an updating means for updating the prioritized class to another class among the plurality of classes based on the created history data; an acquisition means for acquiring learned coefficient parameters of the first learned model corresponding to the updated prioritized class from the second information processing device; a second transmission means for transmitting the acquired learned coefficient parameters to the imaging device; The imaging device includes: A trained model selection system further comprising a change means for changing settings of the first trained model used in the trained model execution means based on trained coefficient parameters transmitted from the first information processing device.

23. The second information processing device further includes a learning means for performing a learning process to construct each of the trained models corresponding to the plurality of classes, 23. The trained model selection system according to claim 22, wherein the learning means performs the learning process by using the captured image received from the first information processing device.

24. The trained model selection system according to any one of claims 20 to 23, characterized in that the first transmission means transmits a new captured image each time the captured image is generated by capturing an image using the imaging device.

25. A method for controlling an imaging device that communicates with an information processing device that holds a first trained model corresponding to each of a plurality of classes, comprising: An imaging step of capturing an image of a subject to generate a captured image; a trained model execution step of executing a process related to the captured image using the first trained model corresponding to a prioritized class that is one of the plurality of classes; a history data creating step of creating history data based on at least one of the captured image and imaging information at the time of capturing the captured image; an acquisition step of acquiring, from the information processing device, learned coefficient parameters of the first learned model corresponding to another class among the plurality of classes based on the created history data; A control method comprising: a change step of changing settings of the first trained model used in the trained model execution step based on the acquired trained coefficient parameters.

26. A control method for an information processing device that communicates with an imaging device that captures an image of a subject to generate a captured image and executes processing related to the captured image using a first trained model corresponding to a prioritized class that is one of a plurality of classes, comprising: A trained model holding step of holding the first trained model corresponding to each of the plurality of classes; a receiving step of receiving the captured image and imaging information at the time of capturing the captured image from the imaging device; and a history data creating step of creating history data based on at least one of the received captured image and the imaging information at the time of capturing the captured image. and a transmission step of transmitting to the imaging device learned coefficient parameters of the first learned model corresponding to another class among the plurality of classes based on the historical data created in the historical data creation step.

27. ​​An imaging device including an imaging means for imaging a subject and generating an imaged image, a communication means for communicating with an information processing device that holds a first trained model corresponding to each of a plurality of classes, and a control means, A trained model execution means for executing a process related to the captured image using the first trained model corresponding to a prioritized class that is one of the plurality of classes; a history data creating means for creating history data based on at least one of the captured image and imaging information at the time of capturing the image; an acquisition means for acquiring, from the information processing device via the communication means, trained coefficient parameters of the first trained model corresponding to another class among the plurality of classes, based on the created history data; A program for functioning as a change means for changing the settings of the first trained model used in the trained model execution means based on the acquired trained coefficient parameters.

28. An information processing device including a trained model holding means for holding a first trained model corresponding to each of a plurality of classes, a communication means for communicating with an imaging device that captures an image of a subject to generate a captured image and executes processing on the captured image using the first trained model corresponding to a prioritized class that is one of the plurality of classes, and a control means, a first receiving means for receiving the captured image and imaging information at the time of capturing the captured image from the imaging device via the communication means; a history data creating means for creating history data based on at least one of the received captured image and imaging information at the time of capturing the image; A program for functioning as a transmission means for transmitting learned coefficient parameters of the first trained model corresponding to another class among the plurality of classes to the imaging device via the communication means based on the historical data created by the historical data creation means.

Citation Information

Patent Citations

  • Focus detector

    JP1990096707A

  • Controller for photographing device, photographing device, and program

    JP2004054201A

  • Image distribution system, server, and client terminal

    JP2008067316A

  • Camera, art of shooting great photographs, and programs

    JP2010252374A

  • Imaging apparatus and control method of the same

    JP2019106694A