Imaging apparatus, device, control method, and program
The imaging device adapts its operations based on removable device capabilities by acquiring and applying setting information for preprocessing and analysis, addressing inefficiencies in controlling imaging device operations due to removable device variations.
Patent Information
- Application Number
- JP2020033755
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-02-28
- Publication Date
- 2024-10-04
- Estimated Expiration
- 2040-02-28
AI Technical Summary
Existing technologies do not adequately address the variation in functions performed by removable devices, leading to inefficiencies in controlling the operation of imaging devices when such devices are attached or detached.
An imaging device with a mounting mechanism for removable devices that captures images, acquires setting information, performs preprocessing by converting between floating-point and fixed-point formats, and executes analysis processing based on these settings, allowing for appropriate control of operations based on the removable device's capabilities.
Enables efficient and appropriate operation of imaging devices by adapting to the processing capabilities of attached removable devices, ensuring seamless integration and functionality without altering the device's functional configuration.
Smart Images

Figure 0007561501000001 
Figure 0007561501000002 
Figure 0007561501000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a technology for improving convenience in a system in which a removable device capable of executing a predetermined function is used. [Background technology]
[0002] In recent years, in various scenes, image processing such as image analysis for detecting and tracking objects and estimating attributes, and estimating the number of objects based on the results of such image analysis, has been performed using images captured by a surveillance camera. Conventionally, such image processing has been performed by transferring images from the surveillance camera to a high-performance computing device such as a PC or server that performs the actual image processing. In contrast, with the recent improvement in the processing power of mobile computing devices, it has become possible to perform image processing on the surveillance camera side. The processing on the camera side can be performed, for example, by a computing device arranged in the camera body. In addition, by arranging the computing device in a removable device such as a USB, the removable device can also perform at least a part of the processing.
[0003] In an apparatus to which a removable device can be attached, it is essential to perform control to improve the convenience when a user uses the apparatus depending on whether the removable device is attached or not. Patent Document 1 describes a technology to improve usability in an electronic device to which an imaging device can be detached by changing the manner of accepting user operations depending on whether the imaging device is separated from the electronic device. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2018-157601 A Summary of the Invention [Problem to be solved by the invention]
[0005] Patent Document 1 only changes the control on the imaging device side based on whether or not a removable device is attached, and does not consider the convenience when there are variations in the functions performed by the removable device.
[0006] The present invention provides a technique for appropriately controlling the operation of an apparatus to which a removable device is attached, depending on the processes that can be executed by the removable device. [Means for solving the problem]
[0007] An imaging device according to one aspect of the present invention is an imaging device having a mounting mechanism to which a device that performs analysis processing on a captured image can be attached and detached, and when the device attached to the mounting mechanism has a function of performing analysis processing on an image captured by the imaging device, the imaging device has an acquisition means for acquiring setting information related to processing to be executed by the imaging device in order to have the device execute the analysis processing on the image from the device, an execution means for executing pre-processing of the analysis processing as processing to be executed by the imaging device using setting values based on the acquired setting information, and an output means for outputting a result of the pre-processing to the device, and the pre-processing of the analysis processing is Decimal number The present invention is characterized in that it is a process of converting between a floating-point format and a fixed-point format. Effect of the Invention
[0008] According to the present invention, the operation of an apparatus to which a removable device is attached can be appropriately controlled in accordance with the process that can be executed by the removable device. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 illustrates an example of a system configuration. [Diagram 2] FIG. 2 is a diagram illustrating an example of a hardware configuration of an imaging apparatus. [Diagram 3] FIG. 2 is a diagram illustrating an example of a functional configuration of an imaging apparatus. [Figure 4] FIG. 2 illustrates an example of the hardware configuration of a removable device. [Diagram 5] FIG. 1 illustrates an example of a functional configuration of a removable device. [Figure 6] FIG. 2 illustrates an example of a hardware configuration of an input / output device. [Figure 7] FIG. 2 is a diagram illustrating an example of a functional configuration of an input / output device. [Figure 8] FIG. 2 is a diagram illustrating an example of a flow of processing executed in the system. [Figure 9] FIG. 13 is a diagram illustrating an example of a process flow for grasping an analysis process. [Figure 10] FIG. 11 is a diagram illustrating an example of a process flow for determining the content of an analysis process. [Figure 11] FIG. 13 is a diagram illustrating an example of a control flow for executing an analysis process. [Figure 12] FIG. 13 is a diagram illustrating an example of a control flow for executing post-processing. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, the embodiments will be described in detail with reference to the attached drawings. Note that the following embodiments do not limit the invention according to the claims. Although the embodiments describe a number of features, not all of these features are essential to the invention, and the features may be combined in any manner. Furthermore, in the attached drawings, the same reference numbers are used for the same or similar configurations, and duplicated descriptions are omitted.
[0011] <System configuration> FIG. 1 shows an example of the configuration of an image analysis system according to the present embodiment. In the following, as an example, a case where this system is a specific person tracking system will be described. However, the present system is not limited to this, and the following discussion can be applied to any system that analyzes an image and outputs predetermined information. This system includes imaging devices 110a to 110d, a network 120, and an input / output device 130. Each of the imaging devices 110a to 110d has a slot into which a device capable of recording an image captured can be attached, and the imaging devices 110a to 110d are connected to the removable devices 100a to 100d by inserting the removable devices 100a to 100d into the slot. In the following, the removable devices 100a to 100d are referred to as "removable devices 100", and the imaging devices 110a to 110d are referred to as "imaging devices 110".
[0012] The removable device 100 is a computing device that is removable from the imaging device 110. As an example, the removable device 100 is a device in which a predetermined processing circuit is mounted on an SD card. The removable device 100 is configured to be able to be inserted into the imaging device 110 in its entirety, for example, depending on the form of an SD card, and can be configured to be able to be connected to the imaging device 110 in a state where there is no part protruding from the imaging device 110. Also, the removable device 100 may be configured to be able to be inserted into the imaging device 110 in its entirety, for example, so that it can be connected to the imaging device 110 in a state where there is only a small part protruding from the imaging device 110. This can prevent the removable device 100 from interfering with obstacles such as wiring, and can increase the convenience when using the device. In addition, since many existing imaging devices 110 such as network cameras are provided with an SD card slot, the removable device 100 can provide an extended function to the existing imaging device 110. Note that the removable device 100 may be configured to be attached to the imaging device 110 by any interface other than the SD card that is used when a storage device capable of storing at least images captured by the imaging device 110 is attached. For example, the removable device 100 may have a USB (Universal Serial Bus) interface and be configured to be attached to a USB socket of the imaging device 110. In addition, the predetermined processing circuit is implemented by, for example, an FPGA (Field Programmable Gate Array) programmed to execute a predetermined process, but may be implemented in other formats.
[0013] The imaging device 110 is an imaging device such as a network camera. In this embodiment, the imaging device 110 is assumed to have a built-in arithmetic device capable of processing video, but is not limited thereto. For example, an external computer such as a PC (personal computer) connected to the imaging device 110 may exist, and the combination of these may be treated as the imaging device 110. In this embodiment, it is assumed that the removable device 100 is attached to all the imaging devices 110. Note that, although FIG. 1 shows four imaging devices 110 and removable devices attached to each of them, the number of combinations of these devices may be three or less, or five or more. By attaching the removable device 100 having an image analysis processing function to the imaging device 110, it becomes possible to execute video processing on the imaging device 110 side even if the imaging device 110 does not have an image analysis processing function. Furthermore, in a configuration in which a calculation unit for image processing is arranged in the imaging device 110 as in this embodiment, by attaching the removable device 100 in which the calculation unit is arranged to the imaging device 110, it is possible to diversify and advance the image processing that can be performed on the imaging device 110 side.
[0014] The input / output device 130 is a device that receives input from a user and outputs information to the user (for example, displays information). In this embodiment, the input / output device 130 is, for example, a computer such as a PC, and inputs and outputs information by executing a browser or native application installed on the computer by a built-in processor.
[0015] The imaging device 110 and the input / output device 130 are connected to each other via a network 120 so as to be able to communicate with each other. The network 120 includes a plurality of routers, switches, cables, etc. that satisfy a communication standard such as Ethernet (registered trademark). In this embodiment, the network 120 may be any network that enables communication between the imaging device 110 and the input / output device 130, and may be constructed with any scale, configuration, and conforming communication standard. For example, the network 120 may be the Internet, a wired LAN (Local Area Network), a wireless LAN, a WAN (Wide Area Network), etc. In addition, the network 120 may be configured so as to enable communication with a communication protocol that complies with the ONVIF (Open Network Video Interface Forum) standard. However, the present invention is not limited to this, and the network 120 may be configured so as to enable communication with another communication protocol such as a unique communication protocol.
[0016] In this embodiment, a technique for improving convenience will be described, focusing on the fact that the process executed by the imaging device 110 may change depending on the process executed by the removable device 100. More specifically, it may be assumed that the size of image data required for the process executed by the removable device 100 may differ for each process. In this case, when the imaging device 110 generates image data of a certain size and outputs it to the removable device 100, the removable device 100 cannot directly execute image analysis processing on the image data. At this time, if the imaging device 110 does not have the ability to change the size of the image data, the processing will not be possible. In addition, for example, when an object is detected by the image analysis processing by the removable device 100, there may be a process that requires highlighting the object and a process that requires abstracting the object. In this case, if the imaging device 110 executes a process that uniformly highlights the detected object, the expected output cannot be obtained. For this reason, in this embodiment, in order to have the removable device 100 execute image analysis processing on image data, the imaging device 110 acquires information on settings for processing to be executed by the imaging device 110 from the removable device 100. The configuration and operation flow of the device that executes such processing will be described below.
[0017] <Device configuration> (Configuration of imaging device) Next, a description will be given of the configuration of the imaging device 110. Fig. 2 is a diagram showing an example of the hardware configuration of the imaging device 110. The imaging device 110 includes, as its hardware configuration, for example, an imaging unit 201, an image processing unit 202, an arithmetic processing unit 203, a distribution unit 204, and an SD I / F unit 205. Note that I / F is an abbreviation for interface.
[0018] The imaging unit 201 includes a lens unit for forming an image of light, and an imaging element for converting the formed light into an analog signal. The lens unit has a zoom function for adjusting the angle of view, an aperture function for adjusting the amount of light, and the like. The imaging element has a gain function for adjusting the sensitivity when converting light into an analog signal. These functions are adjusted based on setting values notified by the image processing unit 202. The analog signal acquired by the imaging unit 201 is converted into a digital signal by an analog-digital conversion circuit, and transferred to the image processing unit 202 as an image signal.
[0019] The image processing unit 202 includes an image processing engine and its peripheral devices. The peripheral devices include, for example, a RAM (Random Access Memory) and drivers for each I / F. The image processing unit 202 performs image processing, such as development processing, filter processing, sensor correction, and noise removal, on the image signal acquired from the imaging unit 201 to generate image data. The image processing unit 202 can also transmit setting values to the lens unit and the imaging element, and perform exposure adjustment so that an appropriately exposed image can be acquired. The image data generated in the image processing unit 202 is transferred to the arithmetic processing unit 203.
[0020] The arithmetic processing unit 203 is composed of one or more processors such as a CPU or MPU, memories such as a RAM or ROM, drivers for each I / F, etc. Note that CPU is an acronym for Central Processing Unit, MPU is an acronym for Micro Processing Unit, RAM is an acronym for Random Access Memory, and ROM is an acronym for Read Only Memory. In one example, the arithmetic processing unit 203 determines whether each part of the processing to be executed in the above-mentioned system is executed by the imaging device 110 or the removable device 100, and can execute the processing corresponding to the determined allocation. The details of this processing content and the allocation of processing will be described later. The image received from the image processing unit 202 is transferred to the distribution unit 204 or the SD I / F unit 205. In addition, data of the processing result is also transferred to the distribution unit 204.
[0021] The distribution unit 204 includes a network distribution engine and peripheral devices such as a RAM and an ETH PHY module. The ETH PHY module is a module that executes processing of the physical (PHY) layer of Ethernet. The distribution unit 204 converts the image data and the data of the processing result acquired from the arithmetic processing unit 203 into a format that can be distributed to the network 120, and outputs the converted data to the network 120. The SD I / F unit 205 is an interface unit for connecting to the removable device 100, and includes, for example, a power source and an attachment mechanism such as a removable socket for attaching and detaching the removable device 100. Here, it is assumed that the SD I / F unit 205 is configured in accordance with the SD standard established by the SD Association. Communication between the removable device 100 and the imaging device 110, such as transfer of an image acquired from the arithmetic processing unit 203 to the removable device 100 and acquisition of data from the removable device 100, is performed through the SD I / F unit 205.
[0022] 3 shows an example of the functional configuration of the imaging device 110. The imaging device 110 includes, as its functions, an imaging control unit 301, a signal processing unit 302, a storage unit 303, a control unit 304, an analysis unit 305, a device communication unit 306, and a network communication unit 307, for example.
[0023] The imaging control unit 301 executes control to capture the surrounding environment via the imaging unit 201. The signal processing unit 302 performs a predetermined process on the image captured by the imaging control unit 301 to generate data of the captured image. Hereinafter, this data of the captured image is simply referred to as a "captured image". For example, the signal processing unit 302 encodes the image captured by the imaging control unit 301. For still images, the signal processing unit 302 encodes the image using an encoding method such as JPEG (Joint Photographic Experts Group). For moving images, the signal processing unit 302 encodes the image using an encoding method such as H.264 / MPEG-4 AVC (hereinafter referred to as "H.264") or HEVC (High Efficiency Video Coding). The signal processing unit 302 may also encode the image using an encoding method selected by a user from a plurality of encoding methods set in advance, for example, via an operation unit (not shown) of the imaging device 110.
[0024] The storage unit 303 stores a list of analysis processes executable by the analysis unit 305 (hereinafter referred to as a "first processing list") and a list of post-processing for the results of the analysis processes. The storage unit 303 also stores the results of the analysis processes described below. Note that in this embodiment, the process executed is an analysis process, but any process may be executed, and the storage unit 303 may store a first processing list and a post-processing list for processes related to the process executed. The control unit 304 controls the signal processing unit 302, the storage unit 303, the analysis unit 305, the device communication unit 306, and the network communication unit 307 so that each executes a predetermined process.
[0025] The analysis unit 305 selectively performs at least one of pre-analysis processing, analysis processing, and post-analysis processing, which will be described later, on the captured image. The pre-analysis processing is processing performed on the captured image before performing the analysis processing, which will be described later. In the pre-analysis processing of this embodiment, as an example, a process of dividing the captured image to create divided images (hereinafter referred to as "image division processing") is performed. The analysis processing is processing of outputting information obtained by analyzing an input image. In the analysis processing of this embodiment, as an example, a process of performing at least one of human body detection processing, face detection processing, and vehicle detection processing using the divided images obtained by the pre-analysis processing as input, and outputting the analysis processing result is performed. The analysis processing may be processing configured to output the position of an object in a divided image using a machine learning model that has been trained to be able to detect an object included in an image, for example, by the technology of Non-Patent Document 1. The post-analysis processing is processing performed after the analysis processing is performed. In the post-analysis processing of this embodiment, as an example, a process of outputting the total number of objects detected in each divided image based on the analysis processing result for each divided image is performed. The analysis process may be a process of detecting an object in an image by performing pattern matching and outputting its position.
[0026] The device communication unit 306 communicates with the removable device 100. The device communication unit 306 converts input data into a format that can be processed by the removable device 100, and transmits the data obtained by the conversion to the removable device 100. The device communication unit 306 also receives data from the removable device 100, and converts the received data into a format that can be processed by the imaging device 110. In this embodiment, the device communication unit 306 executes a process of converting a decimal between a floating-point format and a fixed-point format as a conversion process, but is not limited to this, and other processes may be executed by the device communication unit 306. In this embodiment, the device communication unit 306 communicates with the removable device 100 by transmitting a command sequence that is predetermined within the range of the SD standard to the removable device 100 and receiving a response from the removable device 100. The network communication unit 307 communicates with the input / output device 130 via the network 120.
[0027] (Removable Device Configuration) 4 shows an example of the hardware configuration of the removable device 100. The removable device 100 includes, for example, an I / F unit 401, an FPGA 402, an SD controller 403, and a storage unit 404. The removable device 100 is formed in a shape that can be inserted into and removed from a removable socket of an SD I / F unit 205 of the imaging device 110, that is, in a shape that complies with the SD standard.
[0028] The I / F unit 401 is an interface section for connecting devices such as the imaging device 110 to the removable device 100. The I / F unit 401 includes, for example, electrical contact terminals and the like that receive power from the imaging device 110 and generate and distribute power to be used in the removable device 100. As with the SD I / F unit 205 of the imaging device 110, the I / F unit 401 complies with items defined (compliant) within the SD standard. Receiving images and setting data from the imaging device 110 and transmitting data from the FPGA 402 to the imaging device 110 are performed via the I / F unit 401.
[0029] The FPGA 402 includes an input / output control unit 410, a processing switching unit 411, and an arithmetic processing unit 412. The FPGA 402 is a type of semiconductor device that can repeatedly reconfigure the internal logic circuit structure. The processing realized by the FPGA 402 can add (provide) a processing function to the device to which the removable device 100 is attached. In addition, the reconfiguration function of the FPGA 402 can change the logic circuit structure later, so that, for example, by attaching the removable device 100 to a device in a field where technology is rapidly advancing, the device can execute appropriate processing at the appropriate time. In this embodiment, an example in which an FPGA is used will be described, but as long as the processing described later can be realized, for example, a general-purpose ASIC or a dedicated LSI may be used. The FPGA 402 is started by writing setting data including information on the logic circuit structure to be generated from a dedicated I / F, or by reading the setting data from the dedicated I / F. In this embodiment, it is assumed that the setting data is stored in the storage unit 404. When the power is turned on, the FPGA 402 reads the setting data from the storage unit 404, generates a logic circuit, and starts it up. However, this is not limited to the above, and for example, the imaging device 110 may write the setting data to the FPGA 402 via the I / F unit 401 by implementing a dedicated circuit in a removable device.
[0030] The input / output control unit 410 includes a circuit for transmitting and receiving images to and from the imaging device 110, a circuit for analyzing commands received from the imaging device 110, and a circuit for performing control based on the analysis results. The commands here are defined in the SD standard, and the input / output control unit 410 can detect some of them. Details of the functions will be described later. The input / output control unit 410 controls to transmit an image to the SD controller 403 in the case of storage processing, and transmits an image to the arithmetic processing unit 412 in the case of image analysis processing. In addition, when the input / output control unit 410 receives setting data for switching processing, it transmits the setting data to the processing switching unit 411. The processing switching unit 411 includes a circuit for acquiring information on the image analysis processing function from the storage unit 404 based on the setting data received from the imaging device 110, and writing the information to the arithmetic processing unit 412. The information on the image analysis processing function is, for example, a setting parameter indicating the order and type of calculations to be processed in the arithmetic processing unit 412, coefficients of the calculations, and the like. The arithmetic processing unit 412 includes a plurality of arithmetic circuits required for executing the image analysis processing function. The arithmetic processing unit 412 executes each arithmetic processing based on the information of the image analysis processing function received from the processing switching unit 411, and transmits the processing result to the imaging device 110 and / or records the processing result in the storage unit 404. In this way, the FPGA 402 extracts setting data of the processing function to be executed, which is included in the setting data corresponding to the multiple processing functions stored in advance, and rewrites the processing content to be executed by the arithmetic processing unit 412 based on the extracted setting data. This allows the removable device 100 to selectively execute at least one of the multiple processing functions. In addition, by adding setting data for a newly added process as needed, the imaging device 110 can execute the latest process. In the following, having multiple setting data corresponding to each of the multiple processing functions is expressed as having multiple processing functions. In other words, even if the FPGA 402 of the removable device 100 is configured to execute one processing function, if the processing content of the arithmetic processing unit 412 can be changed by setting data for another processing function, it is expressed as having multiple processing functions.
[0031] The SD controller 403 is a known control IC (integrated circuit) as defined in the SD standard, and executes control of slave operation of the SD protocol and control of reading and writing data from and to the storage unit 404. The storage unit 404 is configured, for example, with a NAND type flash memory, and stores various information such as memory data written from the imaging device 110, information on the image analysis processing function written to the arithmetic processing unit 412, setting data for the FPGA 402, etc.
[0032] FIG. 5 shows an example of the functional configuration of the removable device 100. The removable device 100 includes, for example, an analysis unit 501, a communication unit 502, and a storage unit 503 as its functional configuration. The analysis unit 501 executes an analysis process for an image. For example, when an analysis process setting request is input, the analysis unit 501 executes a setting for making the input analysis process executable. Furthermore, when an image is input, the analysis unit 501 executes the analysis process set to be executable for the input image. In this embodiment, the executable analysis processes are assumed to be a human body detection process and a face detection process, but are not limited thereto. For example, it may be a process for determining whether or not a person stored in advance is included in an image (a face recognition process to be described later). For example, the degree of match between the image feature amount of a person stored in advance and the image feature amount of a person detected from an input image is calculated, and if the degree of match is equal to or greater than a threshold, it is determined that the person is the person stored in advance. Furthermore, for the purpose of privacy protection. It may be a process for superimposing a predetermined mask image or performing a mosaic process on a person detected from an input image. Moreover, the processing may be a process of detecting whether a person in an image is performing a specific behavior by using a learning model that has learned a specific behavior of the person by machine learning. Furthermore, the processing may be a process of determining what kind of area in an image is. For example, the processing may be a process of determining what kind of area in an image is by using a learning model that has learned buildings, roads, people, the sky, etc. by machine learning. As described above, the executable analysis processing can be applied to image analysis processing using machine learning and image analysis processing without machine learning. Moreover, each of the above analysis processing may be executed in cooperation with the imaging device 110, rather than being executed by the removable device 100 alone. The communication unit 502 communicates with the imaging device 110 via the I / F unit 401.
[0033] The storage unit 503 stores information such as the setting contents of the pre-analysis process and the post-analysis process. The setting contents of the pre-analysis process and the post-analysis process may be, for example, the type and parameters of the pre-analysis process and the post-analysis process. The type of the pre-analysis process may be, for example, at least one of an image division process, a color space conversion process, and an image size conversion process. Note that a process other than these processes may be used as the pre-analysis process. The parameters of the image division process include, for example, the size of the divided images after division. The parameters of the color space conversion process include, for example, the color space of the conversion destination. The parameters of the image size conversion process include, for example, at least one of the image size after conversion and the type of conversion algorithm. In addition, the types of the post-analysis process may include a process of summing up the numerical values output as a result of the analysis process, a superimposition process of alpha-blending the image output as a result of the analysis process on the image before analysis, and a drawing process of drawing the figure output as a result of the analysis process on the image before analysis. The parameters of the superimposition process include, for example, an alpha value, a color to be blended, and a combination of these. The parameters of the drawing process may include, for example, the shape of the graphic to be drawn, the thickness of the frame of the graphic to be drawn, the color of the frame of the graphic to be drawn, or a combination of these.
[0034] Fig. 6 shows an example of a hardware configuration of the input / output device 130. The input / output device 130 is configured as a general computer such as a PC, and includes, for example, a processor 601 such as a CPU, memories such as a RAM 602 and a ROM 603, a storage device such as an HDD 604, and a communication I / F 605, as shown in Fig. 6. The input / output device 130 can execute various functions by the processor 601 executing programs stored in the memory or storage device.
[0035] FIG. 7 shows an example of the functional configuration of the input / output device 130 according to this embodiment. The input / output device 130 includes, as its functional configuration, for example, a network communication unit 701, a control unit 702, a display unit 703, and an operation unit 704. The network communication unit 701 is connected to, for example, the network 120, and executes communication with an external device such as the imaging device 110 via the network 120. Note that this is merely an example, and for example, the network communication unit 701 may be configured to establish a direct connection with the imaging device 110 and communicate with the imaging device 110 without going through the network 120 or other devices. The control unit 702 controls the network communication unit 701, the display unit 703, and the operation unit 704 to execute their respective processes. The display unit 703 presents information to the user via, for example, a display. In this embodiment, the information is presented to the user by displaying the result of rendering by the browser on the display. Note that information may be presented by a method other than a screen display, such as sound or vibration. The operation unit 704 accepts operations from the user. In this embodiment, the operation unit 704 is a mouse and a keyboard, which the user operates to input user operations to the browser. However, the operation unit 704 is not limited to this, and may be any device capable of detecting the intention of other users, such as a touch panel or a microphone.
[0036] <Processing flow> Next, an example of the flow of processing executed in the system will be described. Among the following processes, the processing executed by the imaging device 110 is realized, for example, by a processor in the arithmetic processing unit 203 executing a program stored in a memory or the like. However, this is only one example, and some or all of the processing described below may be realized by dedicated hardware. In addition, the processing executed by the removable device 100 and the input / output device 130 may also be realized by a processor in each device executing a program stored in a memory or the like, or some or all of the processing may be realized by dedicated hardware.
[0037] (Overall flow) FIG. 8 shows an outline of a sequence of image analysis processing executed by the system. In this processing, first, the user attaches the removable device 100 to the imaging device 110 (S801). The imaging device 110 executes an initialization sequence of the removable device 100 (S802). In this initialization sequence, a predetermined command is transmitted and received between the imaging device 110 and the removable device 100, so that the imaging device 110 makes the removable device 100 available for use. After that, the imaging device 110 grasps the processing that can be executed by the removable device 100, and grasps the processing that can be executed locally (the processing that can be executed by the imaging device 110 alone or by a combination of the imaging device 110 and the removable device 100) (S803). Note that the removable device 100 can be configured to be able to execute any processing, but processing that is unrelated to the processing to be executed on the imaging device 110 side may not be taken into consideration. In one example, the imaging device 110 may hold a list of executable processes acquired in advance from, for example, the input / output device 130. In this case, when the imaging device 110 acquires information indicating executable processes from the removable device 100, the imaging device 110 can ascertain only executable processes depending on whether the process is included in the list. Next, the imaging device 110 determines the process to be executed and executes settings of the removable device 100 as necessary (S804). That is, when at least a part of the process determined to be executed is executed by the removable device 100, settings of the removable device 100 for the process are executed. In this setting, for example, the FPGA 402 may be reconfigured using setting data corresponding to the process to be executed. Then, the imaging device 110 or the removable device 100 executes analysis processing (S805). After that, the imaging device 110 executes post-processing (S806). Note that the processes of S805 and S806 are executed repeatedly. The processing of FIG. 8 is executed, for example, when the removable device 100 is attached, but at least a part of the processing of FIG. 8 may be executed repeatedly, for example, when the removable device 100 is removed, such that the processing of S803 is executed again.
[0038] (Process to determine what can be done) Fig. 9 shows an example of the flow of processing for identifying processes executable by the imaging device 110. This processing corresponds to the processing of S803 in Fig. 8, and can be executed when a device such as the removable device 100 is attached to or removed from the imaging device 110, or when the imaging device 110 is powered on. In this processing, the imaging device 110 reads out processes executable by the removable device 100, integrates them with analysis processing executable by the imaging device 110 itself, and identifies analysis processing executable on the imaging device 110 side.
[0039] First, the control unit 304 of the imaging device 110 reads out a first process list, which is a list of processes that can be executed by the analysis unit 305 of the imaging device 110 itself, stored in the storage unit 303 (S901). Next, the control unit 304 judges whether the attached device is, for example, a device having only a conventional storage function, or a predetermined device having a specific processing function such as the removable device 100 (S902). For example, the control unit 304 controls the device communication unit 306 to issue a read request (read command) to the attached device to a specific address, and reads out flag data stored at the specific address. Then, the control unit 304 can judge whether the removable device 100 is a predetermined device having a specific processing function based on the read flag data. However, this is merely an example, and whether the attached device is a predetermined device may be judged by other methods.
[0040] If the attached device is a predetermined device (YES in S902), the control unit 304 executes a process for grasping processes executable in the device (removable device 100). The control unit 304 controls the device communication unit 306 to communicate with the removable device 100 and acquires a list of processes executable in the removable device 100 (hereinafter referred to as a "second process list") (S903). The control unit 304 may acquire the second process list by reading data stored in a specific address, for example, in the same manner as when determining whether the removable device 100 is a predetermined device. Note that, for example, the second process list may be stored in the same address as flag data for determining whether the removable device is a predetermined device. In this case, the imaging device 110 may access the address to simultaneously acquire the flag data and the second process list, and simultaneously execute the process of S902 and the process of S903. However, this is not limited thereto, and these data may be stored in different addresses. Thereafter, the control unit 304 creates an integrated process list by integrating the first process list of processes that can be executed by the imaging device 110 itself, which is read from the memory unit 303, and the second process list obtained from the removable device (S904), and terminates the process.
[0041] This integrated process list is a list indicating processes that can be executed locally on the imaging device 110 side, without processing by a device such as a server on the network. In this embodiment, the integrated process list is a list obtained by a union of the processes included in the first process list and the processes included in the second process list, and is a list of the processes included in at least one of the first process list and the second process list. However, this is not limited to this, and for example, when a process included in the first process list and a process included in the second process list become executable by combining them, the executable process may be added to the integrated process list.
[0042] If the attached device is not the specified device (NO in S902), the control unit 304 determines that there is no process that can be executed by the attached device. Therefore, the control unit 304 sets the first process list of processes that can be executed by the own device read from the storage unit 303 as an integrated process list indicating processes that can be locally executed on the imaging device 110 side (S905), and ends the process. Note that when the process of Fig. 9 is executed when the device is removed, the first process list is treated as the integrated process list because the specified device is not naturally attached.
[0043] This makes it possible to list processes that can be executed locally on the imaging device 110 side, based on whether or not a removable device 100 capable of executing a specific process is attached to the imaging device 110. Furthermore, by presenting this integrated process list to the user as described below, the user can select a process that can be executed locally on the imaging device 110 side by attaching the removable device 100.
[0044] (Processing to determine the analysis process contents) 10 shows an example of a process flow in which the imaging device 110 determines the content of an analysis process. In this process, analysis processes that can be locally executed on the imaging device 110 side are presented to the user via the input / output device 130, and the input / output device 130 accepts the user's selection. Then, the imaging device 110 determines the analysis process to be executed according to information indicating the user selection accepted via the input / output device 130.
[0045] In this process, first, the input / output device 130 communicates with the imaging device 110 and requests acquisition of a captured image, an integrated processing list, and a post-processing list (S1001). The input / output device 130 requests the imaging device 110 to transmit information by transmitting a request message defined by the ONVIF standard to the imaging device 110. However, the present invention is not limited to this, and the request to transmit information may be made by other messages or the like. Based on this request, the imaging device 110 causes the imaging control unit 301 to capture the surrounding environment, and the control unit 304 controls the signal processing unit 302 to process the image captured by the imaging control unit 301 and acquire the captured image (S1002). Note that the imaging device 110 may continue to capture the surrounding environment and acquire the captured image regardless of the presence or absence of a request. The imaging device 110 may locally store the captured image, or may transfer the captured image to another device such as a network server and store it. The control unit 304 reads out the post-processing list stored in the storage unit 303. In this embodiment, the post-processing list includes display processing and storage processing, but is not limited thereto. The control unit 304 controls the network communication unit 307 to transmit the post-processing list, the integrated processing list acquired by the processing of FIG. 7, and the captured image acquired in S1002 to the input / output device 130 (S1003). As an example, the imaging device 110 transmits information to the input / output device 130 by transmitting a response message to the request message defined in the above-mentioned ONVIF standard to the input / output device 130. However, this is not limited thereto, and information may be transmitted by other messages or the like. Note that only the processing to be executed may be considered here, and the request for the captured image by the input / output device 130 in S1001, the acquisition of the captured image in S1002, and the transmission of the captured image to the input / output device 130 in S1003 may not be performed.
[0046] The input / output device 130 receives the captured image, the integrated processing list, and the post-processing list from the imaging device 110. Then, the input / output device 130 presents the integrated processing list and the post-processing list to the user by displaying the screen or the like (S1004). At this time, the input / output device 130 may also present the captured image to the user by displaying the screen or the like. After that, the user checks the displayed integrated processing list and the post-processing list, and selects an analysis process to be executed (hereinafter, referred to as a "process to be executed") from the integrated processing list (S1005). In addition, the user selects a post-process to be executed (hereinafter, a post-process to be executed) (S1006). The input / output device 130 transmits information indicating the selection result of the process to be executed and the post-process to be executed to the imaging device 110 (S1007).
[0047] When the control unit 304 of the imaging device 110 receives information indicating the process to be executed selected by the user from the input / output device 130 by controlling the network communication unit 307, the control unit 304 determines whether or not the process to be executed is included in the second process list (S1008). If the process to be executed is not included in the second process list (NO in S1008), the control unit 304 executes the process within the imaging device 110, and ends the process of FIG. 10 without notifying the removable device 100, etc. On the other hand, if the process to be executed is included in the second process list (YES in S1008), the control unit 304 controls the device communication unit 306 to transmit a setting request for the process to be executed to the removable device 100 (S1009).
[0048] The communication unit 502 of the removable device 100 receives a setting request for the process to be executed from the imaging device 110. The communication unit 502 outputs the setting request for the process to be executed received from the imaging device 110 to the analysis unit 501. The analysis unit 501 acquires the setting of the process to be executed from the storage unit 503 based on the setting request for the process to be executed input from the communication unit 502, and executes the setting for making the removable device 100 capable of executing the process to be executed (S1010). For example, after the setting process is completed, the communication unit 502 transmits a setting completion notification to the imaging device 110 (S1011). Note that it is sufficient for the communication unit 502 to notify information for preventing the imaging device 110 from writing data at a timing when the setting of the removable device 100 is not completed, and the imaging device 110 may be notified of information on the setting completion timing before the setting is actually completed. The control unit 304 of the imaging apparatus 110 controls the device communication unit 306 to receive a setting completion notification from the removable device 100 .
[0049] The removable device 100 may notify the imaging device 110 of the completion of the setting, for example, by using one of the following three methods. In the first notification method, the communication unit 502 outputs a BUSY signal when the setting of the process to be executed is not completed during the write process of the first block of data from the imaging device 110. The BUSY signal is output, for example, by driving a signal line of DATA defined in the SD standard to a low state. In this case, the imaging device 110 can determine whether the setting of the process to be executed is completed by checking the BUSY signal. In the second notification method, the time until the setting of the process to be executed is completed is stored in advance in the above-mentioned specific address, and the imaging device 110 reads out information on the time until the setting is completed. The imaging device 110 outputs the write data (issues a write command) after the time until the setting of the process to be executed has elapsed. This enables the imaging device 110 to transmit the captured image data after the setting of the process to be executed is completed. In the third notification method, when the setting of the process to be executed is completed, the analysis unit 501 writes a setting completion flag to a second specific address of the removable device 100. The imaging device 110 can determine whether the setting of the process to be executed is completed by reading the data of this second specific address. Note that the address information to which the setting completion flag is written may be stored in the above-mentioned specific address, or may be stored in another address.
[0050] (Analysis process execution control) FIG. 11 shows an example of a flow of control when the imaging device 110 executes the analysis process. In this process, first, the imaging control unit 301 captures the surrounding environment (S1101). The control unit 304 controls the signal processing unit 302 to process the image captured by the imaging control unit 301 and acquire the captured image. Then, the control unit 304 controls the device communication unit 306 to acquire the setting contents of the pre-analysis process and the post-analysis process from the removable device 100 (S1102). Then, under the control of the control unit 304, the analysis unit 305 executes the pre-analysis process on the captured image input from the control unit 304 based on the setting contents of the pre-analysis process acquired from the removable device 100, and acquires an image of the pre-analysis process result (S1103). Then, the control unit 304 determines whether the process to be executed is included in the second process list (S1104).
[0051] If the control unit 304 determines that the process to be executed is not included in the second process list (NO in S1104), it controls the analysis unit 305 to execute the process to be executed on the image resulting from the pre-analysis process in the imaging device 110 (S1105). Then, the control unit 304 controls the analysis unit 305 to execute post-analysis process on the analysis process result based on the setting contents of the post-analysis process acquired from the removable device 100 (S1109), and ends the process.
[0052] When the process to be executed is included in the second process list (YES in S1104), the control unit 304 controls the device communication unit 306 to transmit the image of the analysis pre-processing result to the removable device 100 (S1106). For example, the control unit 304 transmits the image of the analysis pre-processing result to the removable device 100 by issuing a write request (write command) for the analysis pre-processing result. The communication unit 502 of the removable device 100 receives the image of the analysis pre-processing result from the imaging device 110, and outputs the image received from the imaging device 110 to the analysis unit 501. The analysis unit 501 executes the process to be executed set in S1010 of FIG. 10 on the image input from the communication unit 502 (S1107). Then, the communication unit 502 transmits the analysis process result obtained by the processing by the analysis unit 501 to the imaging device 110 (S1108). The control unit 304 of the imaging apparatus 110 controls the device communication unit 306 to receive the analysis processing result from the removable device 100. Thereafter, the control unit 304 controls the analysis unit 305 to execute post-analysis processing on the analysis processing result based on the setting contents of the pre-analysis processing acquired from the removable device 100 (S1109).
[0053] (Post-processing execution control) 12 shows an example of a flow of control when the imaging device 110 executes post-processing. In this process, the control unit 304 of the imaging device 110 determines whether or not the post-processing to be executed includes "display" (S1201). When the control unit 304 determines that the post-processing to be executed includes display (YES in S1201), it controls the network communication unit 307 to transmit the result of the analysis process to the input / output device 130 (S1202). When the input / output device 130 receives the result of the analysis process from the imaging device 110, it presents the result of the analysis process to the user by displaying it on a screen or the like (S1203). On the other hand, when the control unit 304 determines that the post-processing to be executed does not include display (NO in S1201), the processes of S1202 and S1203 are not executed.
[0054] Furthermore, the control unit 304 of the imaging device 110 determines whether or not the post-processing to be executed includes "save" (S1204). Note that the determination of S1204 may be executed before S1201 or in parallel with S1201. If the control unit 304 determines that the post-processing to be executed includes save (YES in S1204), it controls the storage unit 303 to store the results of the analysis process and terminates the process. On the other hand, if the control unit 304 determines that the post-processing to be executed does not include save (NO in S1204), it terminates the process without executing the process of S1205.
[0055] In this embodiment, as described above, when the imaging device 110 causes the removable device 100 to execute a part or all of the analysis process, the imaging device 110 acquires the setting contents of the pre-analysis process and the post-analysis process corresponding to the process from the removable device 100. Then, the imaging device 110 executes the pre-analysis process based on the acquired setting contents of the pre-analysis process, causes the removable device 100 to execute the analysis process, and executes the post-analysis process on the result based on the acquired setting contents of the post-analysis process. In this way, even if the analysis process executable by the removable device 100 changes, the imaging device 110 can execute appropriate pre-analysis process and post-analysis process without changing the functional configuration of the imaging device 110. That is, for example, in the first analysis process and the second analysis process, which are different from each other, whether or not color conversion is required in advance, the image size to be input, etc. may differ. In this case, if a uniform pre-analysis process is executed, inappropriate input may be performed in at least one of the first analysis process and the second analysis process, which may cause a deterioration in efficiency of the process, a process failure, etc. In contrast, in the present embodiment, it is possible to execute pre-analysis processing corresponding to the processing executed in the removable device 100. Similarly, for the first analysis processing and the second analysis processing, when performing display processing, different post-analysis processing may be executed, such as executing alpha blending on the area where the object is detected, or highlighting with a rectangle, etc. In this case, in the present embodiment, it is possible to execute post-analysis processing corresponding to the processing executed in the removable device 100. Thereby, when the processing to be executed is changed due to, for example, replacement of the removable device 100 or rewriting of the circuit information of the FPGA in the removable device 100, the imaging device 110 can change the settings of the pre-analysis processing and the post-analysis processing according to the change in processing. Note that the setting information of only one of the pre-processing and the post-processing may be notified from the removable device 100 to the imaging device 110.
[0056] In the present embodiment, the setting contents notified from the removable device 100 to the imaging device 110 are the setting contents of the pre-analysis process and the post-analysis process. However, for example, the setting contents of each analysis process included in the second process list may be used. For example, the setting contents of the image analysis process executed by the removable device 100 and the imaging device 110 in cooperation with each other may be notified from the removable device 100 to the imaging device 110. The setting contents of the analysis process may be the type and parameters of the analysis process. Here, the analysis process may include an inference process using a learning model that has completed learning by machine learning. At this time, as the type of analysis process for performing the same type of analysis, an inference process using the learning model may be specified, or an inference process not using a learning model may be specified. The parameters of the analysis process may be learned parameters of a learning model that has been learned by machine learning. 11, in parallel with the removable device 100 executing the target process, the imaging device 110 can execute the analysis process of the type acquired from the removable device 100 based on the parameters acquired from the removable device 100. This allows the imaging device 110 to execute the analysis process in cooperation with the removable device 100 without changing its functional configuration.
[0057] The setting contents of the analysis process may include a description of the analysis process. In this case, when acquiring the second process list in S903 of FIG. 9, the imaging device 110 acquires an explanation of each analysis process included in the second process list from the removable device 100. Then, in S904, the imaging device 110 may create an integrated process list including the explanation of the analysis process. In addition, in S1004 of FIG. 10, the input / output device 130 may present the integrated process list to the user together with the explanation of each analysis process. This makes it possible to present to the user the analysis processes that the removable device 100 can execute together with their explanations, without changing the functional configuration of the imaging device 110.
[0058] In the present embodiment, the imaging device 110 directly acquires the setting contents of the pre-analysis process and the post-analysis process from the removable device 100, but the present invention is not limited to this. For example, the imaging device 110 may acquire the identification information of the setting from the removable device 100, but may not acquire the setting contents themselves. In this case, the imaging device 110 may access an external device (e.g., a server) that stores the setting contents via the network 120, notify the external server of the identification information, and acquire the setting contents corresponding to the identification information. This can reduce the amount of information notified from the removable device 100 to the imaging device 110. In addition, when detailed setting contents with a large amount of data are used, it becomes unnecessary for the removable device 100 to hold the setting contents, and it is possible to prevent the storage capacity of the removable device 100 from being overloaded.
[0059] In the above embodiment, the image analysis process is taken as an example of the analysis process, but the present invention is also applicable to the sound analysis process. For example, the above discussion can be applied to the case where various sound processing techniques such as a process for detecting sound patterns such as screams, gunshots, and glass breaking sounds, and a sound source position estimation process are executed in the removable device 100. In the sound pattern detection process, for example, various sound features are extracted in advance by various sound data analysis methods such as spectrum analysis, and the features are compared with sound data based on recorded sound. Then, the degree of match is calculated to determine whether or not a specific sound pattern has been detected. In this sound pattern detection process, for example, a post-processing may be performed in which a sound corresponding to a predetermined pattern is detected and the user is notified of the detection of the predetermined pattern by a screen display or voice guidance. In addition, in the sound source position estimation process, for example, an array consisting of multiple microphones is used to estimate the position of the sound source based on the strength and phase shift of the sound detected by each microphone. In this sound source position estimation process, a post-processing may be performed in which a screen display or voice guidance is executed to guide the user to the position where the sound source is present. In this way, in audio processing as well, the settings for post-processing can be changed by the processing executed by removable device 100 .
[0060] When performing the voice analysis process, the voice data is divided into voice data of a predetermined time, and the voice analysis process may be performed with the voice data of the predetermined time as a unit. At this time, an appropriate value of the predetermined time as a division unit may differ depending on the process to be performed. For this reason, it is useful to use the process according to the present embodiment to notify the removable device 100 of the setting contents to the imaging device 110 so that appropriate pre-processing is performed for each process. Also, in the detection process of the voice pattern, the predetermined time may differ for each voice pattern to be detected. For this reason, the removable device 100 may notify the imaging device 110 of the setting contents for the pre-processing so that the removable device 100 inputs voice data for each time corresponding to the voice pattern to be detected. In this way, when the removable device 100 has a function of analyzing the input voice data or a function of holding the input voice data, the removable device 100 can apply the above-mentioned process to cause the imaging device 110 to perform appropriate pre-processing and post-processing.
[0061] Also, in the above-mentioned embodiment, the removable device 100 capable of non-temporarily storing data input from the imaging device 110 has been described as an example. However, in some embodiments, a removable device 100 that cannot non-temporarily store data input from the imaging device 110 may be used. That is, the removable device 100 may only perform an analysis process on the data input from the imaging device 110, and may not non-temporarily store the data. In other words, the above discussion may be applied to a system in which the removable device 100 is used only for analysis process, not for storing data like a normal SD card.
[0062] <<Other embodiments>> 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) that implements one or more of the functions.
[0063] The invention is not limited to the above-described embodiments, and various modifications and variations are possible without departing from the spirit and scope of the invention. Accordingly, the following claims are appended to apprise the public of the scope of the invention. [Explanation of symbols]
[0064] 100a to 100d: removable devices, 110a to 110d: imaging devices, 120: network, 130: input / output device, 201: imaging unit, 202: image processing unit, 203: arithmetic processing unit, 204: distribution unit, 205: SD I / F unit, 301: imaging control unit, 302: signal processing unit, 303: storage unit, 304: control unit, 305: analysis unit, 306: device communication unit, 307: network communication unit, 401: I / F unit, 402: FPGA, 403: SD controller, 404: storage unit, 501: analysis unit, 502: communication unit, 503: storage unit, 601: processor, 602: RAM, 603: ROM, 604: HDD, 605: communication I / F, 701: network communication unit, 702: control unit, 703: display unit, 704: operation unit
Claims
1. An imaging device having a mounting mechanism to which a device for performing analysis processing on a captured image can be attached, an acquisition means for acquiring, when a device attached to the attachment mechanism has a function of executing an analysis process on an image captured by the imaging device, setting information related to a process to be executed by the imaging device in order to cause the device to execute the analysis process on the image, from the device; an execution unit that executes a pre-processing of the analysis process as a process to be executed by the imaging device using a setting value based on the acquired setting information; an output means for outputting a result of the preprocessing to the device; having The pre-processing of the analysis process is a process of converting decimal numbers between a floating-point format and a fixed-point format.
1. An imaging device comprising:
2. The imaging device according to claim 1 , wherein the processing to be executed by the imaging device includes post-processing of the analysis processing.
3. 3 . The imaging apparatus according to claim 1 , wherein the processing to be executed by the imaging apparatus includes processing executed by the imaging apparatus in an analysis processing executed in cooperation between the device and the imaging apparatus. 4 .
4. 4. The imaging apparatus according to claim 1, wherein the setting information includes the setting value.
5. the setting information is identification information for identifying the setting value, 4. The imaging apparatus according to claim 1, further comprising: a unit for acquiring setting values for a process to be executed by the imaging apparatus from an apparatus other than the device based on the identification information.
6. 6. The imaging device according to claim 1, wherein the setting value includes information indicating a type of processing to be executed by the imaging device.
7. 7. The image capture device according to claim 1, wherein the setting values include parameters for processing to be executed by the image capture device.
8. 8. The imaging device according to claim 1, wherein the setting value includes a description of a process to be executed by the imaging device.
9. The mounting mechanism includes an SD card slot, 9. The imaging apparatus according to claim 1, wherein the device is an SD card type device.
10. 10. The imaging device according to claim 1, wherein the analysis process includes an analysis process for a sound recorded by the imaging device, in addition to the image.
11. the output means outputs, to the device, first information that is a result of the image processing performed by the imaging device on the image; The imaging apparatus according to claim 1 , wherein the acquisition unit acquires second information, which is a result of executing the analysis process on the first information, from the device.
12. A device that performs analysis processing on a captured image is attached to an imaging apparatus having a detachable attachment mechanism, a processing means for performing an analysis process on an image captured by an imaging device having the mounting mechanism when the processing means is mounted on the imaging device; a notification means for notifying the imaging device of setting information regarding a process to be executed by the imaging device in order to execute the analysis process on the image; an acquisition means for acquiring a result of pre-processing of the analysis process executed by the imaging device from the imaging device; having A device characterized in that the pre-processing of the analysis process is a process of converting decimal numbers between floating-point format and fixed-point format.
13. The device according to claim 12 , wherein the setting information includes setting values of a process to be executed by the imaging device.
14. 13. The device according to claim 12, wherein the setting information is identification information used by the imaging apparatus to acquire setting values for a process to be executed by the imaging apparatus from an apparatus different from the device.
15. 15. The device according to claim 13, wherein the setting value includes information indicating a type of processing to be executed by the imaging apparatus.
16. 16. The device according to claim 13, wherein the setting values include parameters of a process to be executed by the imaging device.
17. 17. The device according to claim 13, wherein the setting values include a description of a process that the imaging device should perform.
18. The mounting mechanism includes an SD card slot, 18. A device according to any one of claims 12 to 17, characterized in that the device is in the form of an SD card.
19. 19. The device according to claim 12, wherein the processing means performs the analysis process on a processed image based on information of the setting.
20. A control method executed by an imaging device having a mounting mechanism to which a device that performs analysis processing on a captured image can be detachably attached, comprising: When the device attached to the attachment mechanism has a function of performing an analysis process on an image captured by the imaging device, acquiring setting information from the device regarding a process to be performed by the imaging device in order to cause the device to perform the analysis process on the image; executing a pre-processing of the analysis process as a process to be executed by the imaging device using a setting value based on the acquired setting information; outputting a result of the pre-processing to the device; and Including, A control method according to claim 1, wherein the pre-processing of the analysis process is a process of converting decimal numbers between a floating-point format and a fixed-point format.
21. A control method is provided in which a device that performs an analysis process on a captured image is attached to an imaging device having a detachable attachment mechanism, and the device is capable of performing an analysis process on an image captured by the imaging device when the device is attached to the imaging device having the attachment mechanism, the control method comprising: notifying the imaging device of setting information related to a process to be executed by the imaging device in order to execute the analysis process on the image; and acquiring from the imaging device a result of pre-processing of the analysis process executed by the imaging device, wherein the pre-processing of the analysis process is a process of converting decimals between floating-point format and fixed-point format.
22. A program for causing a computer to function as the imaging device according to any one of claims 1 to 11.
23. A program for causing a computer to function as the device according to any one of claims 12 to 19.
Citation Information
Patent Citations
Processing device and imaging device
JP2006019932A
Digital camera
JP2007306224A
Image processing apparatus and enlargement / consecutive photographing function control method
JP2009267959A
Electronic device, program, and electronic device system
JP2018157601A
