Image processing device, image processing system, and method for controlling image processing device
The image processing system distinguishes between live view and non-live view shots using a trained model, addressing organizational and power consumption issues in existing systems, facilitating efficient file management and editing.
Patent Information
- Application Number
- JP2020087710
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-05-19
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-05-19
AI Technical Summary
Existing image capturing systems struggle to easily distinguish between videos shot while viewing live view and those shot without, leading to difficulties in organizing and editing files, and requiring additional hardware that increases power consumption and load.
An image processing system that utilizes a trained model to analyze supplementary information from captured videos to determine if they were shot with or without live view, without needing dedicated hardware on the imaging device.
Enables easy differentiation between videos shot with and without live view, optimizing power usage and reducing hardware load, allowing for efficient file organization and targeted editing.
Smart Images

Figure 0007551333000009 
Figure 0007551333000008 
Figure 0007551333000006
Abstract
Description
[Technical field]
[0001] The present invention relates to an image processing apparatus, an image processing system, and a control method and program for an image processing apparatus. [Background technology]
[0002] In recent years, with the popularity of video sharing sites, there are more and more opportunities to use action cameras, which are easy to use and tough, and can capture powerful images in outdoor activities, sports, etc., depending on how they are used. Some action cameras are equipped with a monitor for shooting while watching the live view. There are two ways to use the action camera: one is to shoot while paying attention to the angle of view while watching the live view, and the other is to attach the action camera to the user's body and shoot from the user's point of view without watching the live view. There is also a method for distinguishing whether a video image was shot using the former method or the latter method after shooting. Patent Document 1 describes a camera that has a second imaging unit for capturing an image of the photographer, separate from a first imaging unit for capturing a video image for recording, and determines whether the photographer is looking at the monitor displaying the video image for recording based on the image from the second imaging unit. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2012-34128 A Summary of the Invention [Problem to be solved by the invention]
[0004] Videos taken by a user while viewing a live view are often used without correction or processing (so-called "shot and ready"). On the other hand, videos taken by a user without viewing a live view are often used after editing such as trimming and horizontal correction. Therefore, when organizing files in order to edit videos taken without viewing a live view, there is a demand for an easy way to distinguish between videos taken while viewing a live view and videos taken without viewing a live view. However, on the file list screen, video files are displayed as thumbnail images, making it difficult to distinguish between them, and the user must take the step of playing the video once to check.
[0005] In the method described in the above-mentioned Patent Document 1, a dedicated device such as an in-camera for capturing an image of the photographer must be installed in the camera that captures the video. This increases power consumption and places a load on the camera during video capture. This leads to problems such as not being able to capture high-resolution or high-frame-rate video for long periods of time and generating heat.
[0006] To easily distinguish whether a moving image captured by an imaging device has been captured while viewing a live view or without viewing the live view, without the need for mounting a dedicated device on the imaging device. [Means for solving the problem]
[0007] The image processing device of the present invention includes an acquisition unit that acquires at least one of a moving image captured by an imaging device and supplementary information of the moving image, and a learning unit that learns at least one of the moving image and supplementary information of the moving image acquired by the acquisition unit. Done The present invention has an estimation means for estimating whether the video was shot while viewing a live view or without viewing a live view based on score information obtained by inputting the score information into a model, and an output means for outputting a result obtained by the estimation means in association with the video. The trained model is a model trained using a moving image and auxiliary information of the moving image as input data and information on whether the moving image was shot while viewing a live view as training data. It is characterized by: Effect of the Invention
[0008] To easily distinguish whether a moving image captured by an imaging device is captured while viewing a live view or without viewing a live view, without the need for mounting a dedicated device on the imaging device. [Brief description of the drawings]
[0009] [Figure 1] 1 is a diagram illustrating an example of the overall configuration of an image processing system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a diagram illustrating an example of a hardware configuration of an image processing system. [Diagram 3] FIG. 2 is a diagram illustrating an example of a functional configuration of an image processing system. [Figure 4] FIG. 1 is a diagram illustrating a learning model. [Diagram 5] FIG. 2 is a diagram illustrating input data and teacher data. [Figure 6] FIG. 11 is a diagram illustrating an operation in an estimation phase. [Figure 7] 13 is a flowchart showing a process in a learning phase. [Figure 8] 13 is a flowchart showing a process in an estimation phase. [Figure 9] FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings.
[0011] First, an example of the overall configuration of an image processing system will be described with reference to Fig. 1. This image processing system is composed of a camera 100, a network 104, an image management server 105, an image processing server 106, and a client terminal 107. The camera 100, the image management server 105, the image processing server 106, and the client terminal 107 are capable of communicating with each other via the network 104.
[0012] Camera 100 transmits a moving image file captured by camera 100 and additional information about the moving image file to image management server 105. Image management server 105 transmits the additional information about the moving image file to image processing server 106. Image processing server 106 estimates whether the moving image file was captured while viewing live view or without viewing live view, using the additional information about the moving image file received from image management server 105. Image processing server 106 transmits the estimation result of whether the moving image file was captured while viewing live view or without viewing live view to image management server 105. Image management server 105 transmits the estimation result to client terminal 107 together with the moving image file.
[0013] In this embodiment, the image processing server 106 uses a machine-learned trained model to perform a process of estimating whether a video file captured by the camera 100 was captured while viewing the live view or without viewing the live view.
[0014] In this embodiment, the image management server 105, the image processing server 106, and the client terminal 107 are configured as separate devices. Alternatively, all or some of the image management server 105, the image processing server 106, and the client terminal 107 may be configured as a single device.
[0015] The network 104 is realized by the Internet, a wired LAN (Local Area Network), a wireless LAN, a WAN (Wide Area Network), or the like. The client terminal 107 is composed of a PC (personal computer), a tablet, a smartphone, etc. In this embodiment, the client terminal 107 controls the display of a list of video files in response to a request from a user, using an estimation result as to whether the file was shot while viewing a live view or a file was shot without viewing a live view.
[0016] Next, an example of the hardware configuration of the camera 100 will be described with reference to Fig. 2. The camera 100 is an example of an imaging device. In Fig. 2, the photographing lens 103 is a lens group including a zoom lens and a focus lens. The shutter 101 is a shutter with an aperture function. The imaging unit 22 is an imaging element composed of a CCD, CMOS element, etc. that converts an optical image into an electric signal. The A / D converter 23 converts an analog signal into a digital signal. The A / D converter 23 is used to convert the analog signal output from the imaging unit 22 into a digital signal. The barrier 102 is a cover that covers the imaging system of the camera 100 including the photographing lens 103, and prevents the imaging system from becoming dirty or damaged.
[0017] The image processing unit 24 performs predetermined pixel interpolation, resizing such as reduction, and color conversion processing on the image data from the A / D converter 23 or the image data from the memory control unit 15. The image processing unit 24 also performs predetermined arithmetic processing using the captured image data, and the system control unit 50 performs exposure control and distance measurement control based on the obtained arithmetic results. This allows TTL (through-the-lens) type AF (autofocus) processing, AE (autoexposure) processing, and EF (flash pre-flash) processing to be performed. The image processing unit 24 also performs predetermined arithmetic processing using the captured image data, and TTL type AWB (auto white balance) processing based on the obtained arithmetic results.
[0018] The output data from the A / D converter 23 is written directly to the memory 32 via the image processing unit 24 and the memory control unit 15, or via the memory control unit 15. The memory 32 stores image data obtained by the imaging unit 22 and converted into digital data by the A / D converter 23, and image data to be displayed on the display unit 28. The memory 32 has a storage capacity sufficient to store a predetermined number of still images and a predetermined period of moving images and audio.
[0019] The memory 32 also serves as a memory for image display (video memory). The D / A converter 13 converts the image display data stored in the memory 32 into an analog signal and supplies it to the display unit 28. In this way, the display image data written in the memory 32 is displayed by the display unit 28 via the D / A converter 13. Display unit 28 is provided on the rear of camera 100, and displays on a display device such as an LCD in response to the analog signal from D / A converter 13. The digital signal that has been A / D converted once by A / D converter 23 and stored in memory 32 is converted to analog in D / A converter 13 and sequentially transferred to and displayed on display unit 28, thereby functioning as an electronic viewfinder and providing a through image display (live view display). The user can take pictures while viewing the live view display on display unit 28.
[0020] The system control unit 50 is a control unit having at least one processor, and controls the entire camera 100. The system control unit 50 executes a program recorded in a non-volatile memory 56, which will be described later. The system control unit 50 also performs display control by controlling the memory 32, the D / A converter 13, the display unit 28, and the like. The system memory 52 is composed of a RAM or the like, and is used to expand constants and variables for the operation of the system control unit 50, programs read from the non-volatile memory 56, and the like. The system timer 53 is a clock unit that measures the time used for various controls and the time of a built-in clock. The non-volatile memory 56 is a memory serving as an electrically erasable and recordable recording medium, and is composed of an EEPROM or the like. Constants and programs for the operation of the system control unit 50 are stored in the non-volatile memory 56.
[0021] The mode changeover switch 60, the shutter button 64, and the operation unit 70 are operation means for inputting various operation instructions to the system control unit 50. The mode changeover switch 60 switches the operation mode of the system control unit 50 to one of a still image recording mode, a video shooting mode, a playback mode, etc. Modes included in the still image recording mode include an auto shooting mode, an auto scene discrimination mode, a manual mode, an aperture priority mode (Av mode), and a shutter speed priority mode (Tv mode). In addition, there are various scene modes, which are shooting settings according to shooting scenes, a program AE mode, a custom mode, etc. The mode changeover switch 60 can directly switch to one of these modes. After switching to a list screen of shooting modes with the mode changeover switch 60, one of the displayed modes may be selected and switched using other operation members. Similarly, the video shooting mode may also include multiple modes.
[0022] The first shutter switch 61 is turned on and generates a first shutter switch signal SW1 when the shutter button 64 provided on the camera 100 is pressed halfway (instruction to prepare for shooting) during operation. The system control unit 50 starts operations such as AF (autofocus) processing, AE (auto exposure) processing, AWB (auto white balance) processing, and EF (pre-flash) processing in response to the first shutter switch signal SW1. The second shutter switch 62 is turned on when the shutter button 64 is fully pressed (photographing instruction) and generates a second shutter switch signal SW2. The system control unit 50 starts a series of photographing processing operations from reading a signal from the imaging unit 22 to writing image data to the recording medium 150 in response to the second shutter switch signal SW2.
[0023] The operation unit 70 is composed of a plurality of operation members. To each operation member of the operation unit 70, a function is assigned appropriately for each scene by selecting and operating various function icons displayed on the display unit 28, and the operation members act as various function buttons. The function buttons include an end button, a back button, an image forward button, a jump button, a narrow down button, an attribute change button, and the like. For example, when the menu button is pressed, a menu screen in which various settings can be made is displayed on the display unit 28. The user can intuitively make various settings using the menu screen displayed on the display unit 28, the four directional buttons (up, down, left, right) and a SET button (not shown).
[0024] The power supply control unit 80 is composed of a battery detection circuit, a DC-DC converter, a switch circuit for switching between blocks to which electricity is applied, etc., and detects whether a battery is attached, the type of battery, and the remaining battery power. The power supply control unit 80 also controls the DC-DC converter based on the detection results and instructions from the system control unit 50, and supplies the necessary voltage for the necessary period to each unit including the recording medium 150. The power supply unit 30 is composed of primary batteries such as alkaline batteries and lithium batteries, secondary batteries such as NiCd batteries, NiMH batteries, and Li batteries, an AC adapter, etc. The recording medium I / F 18 is an interface with a recording medium 150 such as a memory card or a hard disk. The recording medium 150 is a recording medium such as a memory card for recording captured images, and is composed of a semiconductor memory, an optical disk, a magnetic disk, or the like.
[0025] The communication unit 54 is connected to the network 104 wirelessly or via a wired cable, and transmits and receives video signals, audio signals, and the like under the control of the system control unit 50. The communication unit 54 can transmit images (including through images) captured by the imaging unit 22 and images (including moving images) recorded on the recording medium 150 to an external device such as the image management server 105, and can also receive various types of data such as image data from external devices.
[0026] The attitude detection unit 55 detects the attitude of the camera 100 with respect to the direction of gravity. Based on the attitude detected by the attitude detection unit 55, it is possible to determine whether the image captured by the imaging unit 22 is an image captured with the camera 100 held horizontally or vertically. The system control unit 50 can add orientation information corresponding to the attitude detected by the attitude detection unit 55 to the image file of the image captured by the imaging unit 22. The system control unit 50 can also add the amount of camera shake corresponding to the change in attitude detected by the attitude detection unit 55 to the image file of the captured image. As the attitude detection unit 55, an acceleration sensor, a gyro sensor, or the like can be used.
[0027] Next, an example of the hardware configuration of the image management server 105, image processing server 106, and client terminal 107 will be described with reference to Fig. 2. Note that the image management server 105, image processing server 106, and client terminal 107 may be realized by a single device, or may be realized by distributing each function among multiple devices as shown in Fig. 1. Note that when configured with multiple devices, they may be connected via network 104 as shown in Fig. 1, or may be connected by a LAN or the like so that they can communicate with each other.
[0028] The image management server 105, the image processing server 106, and the client terminal 107 can be realized by the same hardware configuration. Below, the hardware configuration of the image processing server 106 will be described, and the description of the hardware configurations of the image management server 105 and the client terminal 107 will be omitted.
[0029] 2, the image processing server 106 includes a CPU 202, a ROM 203, a RAM 204, an external storage device 205, a NIC 206, an input unit 207, a display unit 208, a GPU 209, and a system bus 201 that connects these components. The CPU (Central Processing Unit) 202 is a control unit that controls the entire image processing server 106. The CPU 202 executes processing based on a program stored in the ROM 203 or the like, thereby realizing various functions shown in Fig. 3 and processing of the flowcharts shown in Figs. 7 and 8. A ROM (Read Only Memory) 203 stores programs and stores data and the like used when the CPU 202 executes processing based on the programs. A RAM (Random Access Memory) 204 temporarily stores programs loaded from the ROM 203 and various data supplied via the network 104 . The external storage device 205 includes an internal hard disk or memory card, or a removable optical disk, magnetic or optical card, IC card, etc. The external storage device 205 is used to store large amounts of data.
[0030] A NIC (Network Interface Card) 206 is a network interface used for connecting to a line such as the network 104 . The input unit 207 is configured with a user interface such as a pointing device and a keyboard, and can receive operations from the user and input various data. The display unit 208 is configured with a display device such as a display, and displays various data supplied via the network 104 . The GPU (Graphics Processing Unit) 209 is a control unit that can perform efficient calculations by processing more data in parallel. When performing learning multiple times using a learning model such as deep learning, it is effective to perform processing using the GPU 209. Note that the image processing server 106 and the client terminal 107 do not require the GPU 209.
[0031] Next, an example of the functional configuration of the camera 100, image management server 105, image processing server 106, and client terminal 107 will be described with reference to Fig. 3. Each function shown in Fig. 3 is realized by using the hardware resources and programs shown in the hardware configuration diagram in Fig. 2.
[0032] First, the functional configuration of the camera 100 will be described. The system control unit 50 of the camera 100 controls various devices of the camera 100 by executing programs recorded in the non-volatile memory 56, and functions mainly as a data transmission / reception unit 301, a UI display unit 302, an imaging processing unit 303, and an image processing unit 304.
[0033] The data transmission / reception unit 301 transmits the moving image file and the additional information of the moving image file recorded on the recording medium 150 to the image management server 105 using the communication unit 54 . A UI (user interface) display unit 302 performs processing for displaying on the display unit 28 menu screens and the like for changing various settings.
[0034] The imaging processing unit 303 performs the above-mentioned imaging processing operation, and records image data captured in the moving image shooting mode on the recording medium 150 as a moving image file. In addition, if a setting change of shooting parameters, etc. is made using the operation unit 70 while recording a moving image, the imaging processing unit 303 records on the recording medium 150 as additional information of the moving image file that the setting change occurred during recording of the moving image. Furthermore, when the above-mentioned setting change is made while waiting to shoot, the imaging processing unit 303 uses the system timer 53 to measure the time from when the setting was changed to when video shooting starts, and compares it with a predefined threshold time. If the result of the comparison shows that the measured time is within the threshold time, the imaging processing unit 303 records on the recording medium 150 as additional information of the video file that the shooting was within the threshold time after the setting change. Furthermore, the imaging processing unit 303 determines whether or not there is camera shake during video recording based on the amount of camera shake detected by the orientation detection unit 55, and records the camera shake information as a result of the determination as additional information for the video file on the recording medium 150. Note that the camera shake information may be the amount of camera shake itself. In this embodiment, the camera 100 is configured to acquire information such as whether settings were changed during video recording, whether shooting occurred within a threshold time after the settings were changed, and camera shake information as additional information of the video file, but this is not limited to the above. The server (image management server 105 or image processing server 106) may analyze the video file to acquire all or part of information such as whether settings were changed during video recording, whether shooting occurred within a threshold time after the settings were changed, and camera shake information.
[0035] The image processing unit 304 controls the image processing unit 24 in FIG. 2 to perform various processes on the captured image data, sorting the image data, and the like.
[0036] Next, the functional configuration of the image management server 105 will be described. The image management server 105 accumulates moving image files and accompanying information of the moving image files received from the camera 100, and manages the estimation results received from the image processing server 106 in association with the moving image files. The image management server 105 is an example of an image management device. The CPU 202 of the image management server 105 executes a program recorded in the ROM 203 of the image management server 105 to control various devices of the image management server 105 and function as a data storage unit 351, an image data management unit 352, and a data transmission / reception unit 353.
[0037] The data storage unit 351 temporarily stores the moving image file and the additional information of the moving image file received from the camera 100 in the RAM 204 of the image management server 105. The data storage unit 351 also stores the estimation result received from the image processing server 106, indicating whether the image was captured while viewing the live view or without viewing the live view, in association with the moving image file in the external storage device 205 of the image management server 105. The data storage unit 351 is an example of a storage means.
[0038] The image data management unit 352 manages video files stored in the external storage device 205 of the image management server 105. The video files are given file names that allow each file to be identified. In addition, the video files to be learned are labeled with teacher data, which will be described later. In this embodiment, the image data management unit 352 analyzes a video file, counts the number of times a characteristic subject (e.g., a person, a person's face) included in the video file is lost (out of frame), and records the counted number as additional information of the video file. The function of counting the number of times a characteristic subject is lost may be possessed by the camera 100 or the image processing server 106. Also, instead of the number of times a characteristic subject included in the video file is lost, the time when the characteristic subject is lost may be recorded as additional information of the video file.
[0039] The data transmission / reception unit 353 receives a moving image file and additional information of the moving image file from the camera 100 via the NIC 206 of the image management server 105. The data transmission / reception unit 353 also transmits additional information of the moving image file to the image management server 105 via the NIC 206 of the image management server 105. The data transmission / reception unit 353 also receives an estimation result of whether an image was captured while viewing a live view or without viewing a live view from the image management server 105. The data transmission / reception unit 353 also accepts a transmission request from the web browser 311 of the client terminal 107 and transmits a result of the transmission request to the client terminal 107. The data transmission / reception unit 353 is an example of a first transmission means, a first receiving means, and a third transmission means.
[0040] Next, the functional configuration of the image processing server 106 will be described. The CPU 202 of the image processing server 106 executes a program recorded in the ROM 203 of the image processing server 106, thereby controlling various devices of the image processing server 106 and functioning as a data storage unit 361, a learning unit 362, an estimation unit 363, and a data transmission / reception unit 364. The image processing server 106 is an example of an image processing device.
[0041] The data storage unit 361 stores the trained model generated by the training unit 362 in the ROM 203 or the external storage device 205 of the image processing server 106. The learning unit 362 generates a trained model by performing training on a learning model according to a machine learning algorithm such as a support vector machine (SVM) algorithm using multiple pairs of input data and training data. As input data, the additional information of the video file stored in the image management server 105 is used. As training data, score information on whether or not the file was actually shot while viewing a live view is used. By performing training using these data, a trained model is generated that estimates whether or not the file was shot while viewing a live view from the additional information of the video file. Note that the learning unit 362 may generate the trained model before operating the image processing system, or may regenerate the trained model at a predetermined timing during operation of the image processing system. The learning unit 362 performs training using tens of thousands of video files, and then performs evaluation using, for example, several thousand test videos. The learning unit 362 repeats the training and evaluation until the accuracy rate becomes equal to or higher than a predetermined value. The learning unit 362 is an example of a learning means.
[0042] Specific examples of the above machine learning algorithms include the SVM algorithm, nearest neighbor method, naive Bayes method, decision tree, etc. Also included is deep learning, which uses a neural network to generate features and connection weighting coefficients for learning. Any of the above algorithms that are available can be used as appropriate and applied to this embodiment.
[0043] The estimation unit 363 estimates whether the video file was shot while viewing the live view or without viewing the live view. Specifically, the additional information of the video file provided by the image management server 105 is input to the trained model, and the output score information is used to estimate whether the file was shot while viewing the live view or without viewing the live view. For example, if the output score information is equal to or greater than a predetermined threshold, it is estimated that the input video file was shot while viewing the live view, and if the output score information is less than the predetermined threshold, it is estimated that the input video file was shot without viewing the live view. The estimation unit 363 is an example of an estimation means.
[0044] The data transmission / reception unit 364 receives supplementary information of the video file to be learned or estimated from the image management server 105 via the NIC 206 of the image processing server 106. The data transmission / reception unit 364 is an example of an acquisition means or a second receiving means. Furthermore, the data transmission / reception unit 353 transmits the estimation result associated with the video file to be estimated to the image management server 105. The data transmission / reception unit 364 is an example of an output means or a second transmitting means.
[0045] For the processing by the learning unit 362, the GPU 209 is used in addition to the CPU 202. Specifically, when executing a learning program for generating a trained model, the CPU 202 and the GPU 209 cooperate to perform calculations to perform learning. Note that the processing by the learning unit 362 may be performed only by the CPU 202 or the GPU 209. Similarly to the learning unit 362, the estimation unit 363 may also use the GPU 209.
[0046] Next, the client terminal 107 will be described. The CPU 202 of the client terminal 107 controls the display of the display unit 208 of the client terminal 107 using a web browser 311. In response to a user's operation, the web browser 311 requests the image management server 105 to send a video file and an estimation result as to whether or not the file was captured while viewing a live view. When the web browser 311 receives a result of the request from the image management server 105, it displays a UI shown in Fig. 9 on the display unit 208 of the client terminal 107. The CPU 202 of the client terminal 107 is an example of a display control means.
[0047] Next, the learning model used by the learning unit 362 of the image processing server 106 will be described with reference to FIG. Image information 401 is input data to be input to learning model 403. Image information 401 is additional information of a moving image file. Note that in this embodiment, the additional information of a moving image file is used as input data, but in order to facilitate collection of input data, learning may be performed using the moving image file itself as input data. Also, both the moving image file and the additional information of the moving image file may be used as input data. That is, at least one of the moving image file and the additional information of the moving image file may be used as input data.
[0048] A determination score 402 as to whether the file was shot while viewing the live view is output data that is output from the learning model 403. This determination score 402 is score information expressed as a probability value between 0 and 1, and if it is estimated that the image was shot while viewing the live view, a value close to 1 is output.
[0049] As a method of training the learning model 403, for example, a video file with little camera shake is tagged with a high score (assessed to be highly likely to have been shot while viewing the live view) as training data, and a video file with a lot of camera shake is tagged with a low score (assessed to be low likely to have been shot while viewing the live view) as training data.
[0050] Next, the input data and the training data will be described in detail with reference to FIG. First, the input data will be described. The input data 501 includes camera shake information, the number of times a distinctive subject was lost, whether or not shooting occurred within a threshold time after changing settings, and whether or not settings were changed during video recording.
[0051] The camera shake information is camera shake information of the camera 100 when the video was captured, and is expressed as "Yes" or "No." When viewing live view, the user takes pictures carefully to prevent camera 100 from shaking. Therefore, when the camera shake information is "Yes," it is highly likely that the picture was taken without viewing the live view, and when the camera shake information is "No," it is highly likely that the picture was taken while viewing the live view. In addition, the fewer the number of times that a distinctive subject was lost, the higher the possibility that shooting was performed while viewing the live view, and the more the number of times that a distinctive subject was lost, the higher the possibility that shooting was performed without viewing the live view. This is because when viewing the live view, the user takes pictures while paying attention to the angle of view of camera 100 so that the intended subject is included in the angle of view. Also, if the image was captured within the threshold time after the setting change, it is highly likely that the image was captured while viewing the live view. Also, if the setting change occurs during video recording, it is highly likely that the image was captured while viewing the live view. This is because users often change the settings of imaging parameters (e.g., white balance) in response to the live view display. In this embodiment, learning is performed using the camera shake information, the number of times a distinctive subject was lost, whether shooting took place within a threshold time after changing settings, and whether settings were changed during video recording as input data, making it possible to estimate with high accuracy whether a file was shot while viewing the live view.
[0052] The learning unit 362 and the estimation unit 363 do not need to use all of the items of camera shake information, the number of times a characteristic subject was lost, whether shooting was performed within a threshold time after changing settings, and whether settings were changed during video recording as input data, and may use any one of these items. For example, to facilitate collection of input data, only camera shake information may be used as input data. However, from the viewpoint of improving accuracy, it is preferable to use at least two or more items of camera shake information, the number of times a characteristic subject was lost, whether shooting was performed within a threshold time after changing settings, and whether settings were changed during video recording.
[0053] Next, the teacher data will be described. The training data 502 is information on whether a file was actually shot while looking at the live view or whether it was actually shot without looking at the live view. The video file to be learned is labeled with "shooting while looking" or "shooting without looking." In addition, score information is set so that "shooting while looking" will result in a high score and "shooting without looking" will result in a low score. These training data 502 are used when the learning unit 362 learns the learning model 403.
[0054] FIG. 6 is a diagram illustrating the operation of the image processing system in the estimation phase. First, in S601, the data transmission / reception unit 301 of the camera 100 transmits the moving image file to be estimated and the additional information of the moving image file to the image management server 105. The data storage unit 351 of the image management server 105 temporarily stores the moving image file and the additional information of the moving image file received from the camera 100 in the RAM 204. Next, in S602, the data transmission / reception unit 353 of the image management server 105 transmits the additional information of the moving image file received from the camera 100 to the image processing server .
[0055] Next, in S603, the estimation unit 363 of the image processing server 106 inputs the additional information of the video file into the learned model to calculate score information, and estimates whether the file was shot while viewing the live view based on the calculated score information. Next, in S604, the data transmission / reception unit 364 of the image processing server 106 returns the estimation result to the image management server 105. The data storage unit 351 of the image management server 105 stores the estimation result in association with the moving image file. Next, in S605, the data transmission / reception unit 353 of the image management server 105 receives a transmission request from the client terminal 107 for a video file (or a thumbnail or reduced image) and an estimation result as to whether or not the file was shot while viewing a live view. Then, in S606, the data transmission / reception unit 353 of the image management server 105 transmits the result of the transmission request to the client terminal 107.
[0056] By performing the above operations, client terminal 107 can easily distinguish between moving image files shot while viewing live view and moving image files shot without viewing live view. Therefore, when displaying a list of files, client terminal 107 can display thumbnail images of moving image files shot while viewing live view and thumbnail images of moving image files shot without viewing live view in a distinguishable manner.
[0057] Next, the details of the processing in the learning phase will be described with reference to the flowchart in Fig. 7. The processing shown in the flowchart in Fig. 7 is started when the image management server 105 and the image processing server 106 are powered on. The processing shown in the flowchart in Fig. 7 is mainly executed by the learning unit 362 of the image processing server 106.
[0058] In S701, the CPU 202 of the image processing server 106 first resets the learning flag to OFF. If learning is possible, the learning flag is set to ON. In S702, the CPU 202 of the image processing server 106 acquires, from the image management server 105, supplementary information of the video file and information (teaching data) as to whether the file was actually shot while viewing a live view. For example, the information is acquired using the file name and the file path.
[0059] In S703, the CPU 202 of the image processing server 106 inputs the additional information of the video file acquired in S702 into the trained model and calculates output data. In S704, the CPU 202 of the image processing server 106 compares the output data calculated in S703 with the training data acquired in S702, and determines whether the error between the two obtained as a result of the comparison is greater than a predetermined threshold. If the CPU 202 of the image processing server 106 determines that the error is greater than the predetermined threshold, the process proceeds to S705. If the CPU 202 of the image processing server 106 determines that the error is equal to or smaller than the predetermined threshold, the process proceeds to S707.
[0060] In S705, the CPU 202 of the image processing server 106 performs learning using the supplementary information of the moving image file acquired in S702 as input data and the teacher data acquired in S702. In S706, the CPU 202 of the image processing server 106 sets the learning flag to ON. In S707, the CPU 202 of the image processing server 106 determines whether the data acquired in S702 is the final data. If the CPU 202 of the image processing server 106 determines that the data is the final data, the process proceeds to S708. If the CPU 202 of the image processing server 106 determines that the data is not the final data, the process returns to S702.
[0061] In S708, the CPU 202 of the image processing server 106 determines the state of the learning flag. If the CPU 202 of the image processing server 106 determines that the learning flag is ON, the process returns to S701. If the CPU 202 of the image processing server 106 determines that the learning flag is OFF, the process of this flowchart ends.
[0062] Through the above-described processing of the flowchart in FIG. 7, the image processing server 106 repeatedly performs learning using the data accumulated in the image management server 105 so as to reduce the error between the output data of the learning model and the teacher data. Although FIG. 7 shows an example in which data accumulated in the image management server 105 is sequentially acquired and learning is performed, the processes of S704 and S705 may be repeated until the error in the acquired data becomes small.
[0063] Next, details of the processing in the estimation phase will be described with reference to the flowchart in Fig. 8. The processing shown in the flowchart in Fig. 8 is started when the power of the image management server 105 and the image processing server 106 is turned ON. The processing shown in the flowchart in Fig. 8 is mainly executed by the estimation unit 363 of the image processing server 106.
[0064] In S801, the CPU 202 of the image processing server 106 acquires, from the image management server 105, additional information about the moving image file. In S802, the CPU 202 of the image processing server 106 inputs the additional information of the video file acquired in S801 into the trained model to calculate output data. Based on the calculated output data, it is estimated whether the file was shot while viewing a live view. The CPU 202 of the image processing server 106 transmits the estimation result to the image management server 105. Thereafter, the processing of this flowchart ends.
[0065] Next, the UI displayed on the client terminal 107 will be described with reference to FIG. Fig. 9(a) is a UI for requesting permission to edit a video file. The CPU 202 of the client terminal 107 displays a list of only thumbnail images of video files shot without viewing a live view, according to the estimation result received from the image management server 105. When a video file is selected in the UI shown in Fig. 9(a) and "YES" is pressed, the UI transitions to the UI shown in Fig. 9(b). When camera shake correction or horizontal correction is selected in the UI shown in Fig. 9(b), the CPU 202 of the client terminal 107 executes the selected editing process.
[0066] According to the image processing system of the present embodiment as described above, it is possible to easily distinguish whether a video file was shot while viewing a live view or not after shooting. Video files shot while viewing a live view can be used as they are without correction or processing. Video files shot without viewing a live view often require editing or processing, but as shown in FIG. 9(a), it is possible to display only video files shot without viewing a live view on the file list screen. This allows editing or processing to be performed only on video files shot without viewing a live view, as shown in FIG. 9(b). That is, the user can quickly organize files and perform editing work.
[0067] Although the present invention has been described above with reference to the embodiments, the above embodiments are merely illustrative of the specific examples of the present invention, and the technical scope of the present invention should not be interpreted as being limited by these embodiments. In other words, the present invention can be embodied in various forms without departing from its technical concept or main features.
[0068] As a first modification of the above embodiment, the image processing server 106 may not be provided, and learning and estimation may be performed within the camera 100.
[0069] As a second modified example of the above embodiment, the CPU 202 of the image processing server 106 may perform rule-based processing such as a look-up table (LUT) instead of performing processing using a machine-learned model. In this case, the CPU 202 of the image processing server 106 generates an LUT in advance that indicates the correspondence between the supplementary information of the video file and whether the file was shot while viewing the live view, and stores the LUT in the ROM 203 of the image processing server 106. The CPU 202 of the image processing server 106 refers to the stored LUT and estimates whether the video file was shot while viewing the live view or not, based on the supplementary information of the input video file. That is, the CPU 202 of the image processing server 106 functions in the same manner as the estimation unit 363 described above.
[0070] (Other embodiments) The present invention can also be realized by providing a program that realizes one or more functions of the above-described embodiments to a system or device via a network or a storage medium, and having a computer in the system or device read and execute the program. The computer has one or more processors or circuits, and may include multiple separate computers or a network of multiple separate processors or circuits to read and execute computer-executable instructions. [Explanation of symbols]
[0071] 100: camera, 104: network, 105: image management server, 106: image processing server, 107: client terminal
Claims
1. An acquisition means for acquiring at least one of a moving image captured by an imaging device and supplementary information of the moving image; an estimation means for estimating whether the video was shot while viewing a live view or without viewing a live view, based on score information obtained by inputting at least one of the video and auxiliary information of the video acquired by the acquisition means into a trained model; an output means for outputting the result obtained by the estimation means in association with the moving image; having The image processing device is characterized in that the trained model is a model that has been trained using a moving image and ancillary information about the moving image as input data and information about whether the moving image was shot while viewing a live view as teacher data.
2. 2. The image processing apparatus according to claim 1, wherein the additional information is camera shake information of the image capturing apparatus when the moving image is captured.
3. 2. The image processing device according to claim 1, wherein the additional information is the number of times a characteristic subject included in the moving image goes out of frame.
4. 2. The image processing apparatus according to claim 1, wherein the additional information is information indicating whether or not an image was captured within a threshold time after a setting change was made in the image capturing apparatus.
5. 2. The image processing device according to claim 1, wherein the additional information is information indicating whether or not a setting has been changed during recording of a moving image.
6. The image processing device according to claim 1, characterized in that the estimation means inputs into the trained model at least two or more items of information regarding the moving image as additional information of the moving image, including camera shake information of the imaging device when the moving image was captured, the number of times a characteristic subject included in the moving image was framed out, information indicating whether the image was captured within a threshold time after a setting change was made on the imaging device, and information indicating whether a setting change was made during recording of the moving image.
7. The present invention further includes a learning means for generating a trained model by learning the trained model using at least one of a moving image and auxiliary information of the moving image as input data and information on whether the moving image was actually shot while viewing a live view as teacher data, The image processing device according to any one of claims 1 to 6, characterized in that the estimation means performs estimation based on score information obtained by inputting at least one of the video and auxiliary information of the video into the trained model.
8. An acquisition means for acquiring supplementary information of a moving image captured by an imaging device; an estimation means for referring to a lookup table expressing a correspondence relationship between the auxiliary information of the moving image and information as to whether the moving image was shot while viewing a live view, using the auxiliary information of the moving image acquired by the acquisition means, and estimating whether the moving image was shot while viewing a live view or without viewing a live view; an output means for outputting the result obtained by the estimation means in association with the moving image; 13. An image processing device comprising:
9. An image processing system in which an image management device and an image processing device can communicate with each other, The image management device includes: a first transmitting means for transmitting at least one of a moving image captured by an imaging device and auxiliary information of the moving image to the image processing device; a first receiving means for receiving from the image processing device an estimation result as to whether the moving image was shot while viewing a live view or without viewing a live view; a storage means for storing the moving image and the estimation result of the moving image; having The image processing device includes: a second receiving means for receiving at least one of the moving image and the auxiliary information of the moving image from the image management device; an estimation means for estimating whether the video was shot while viewing a live view or without viewing a live view, based on score information obtained by inputting at least one of the video and auxiliary information of the video received by the second receiving means into a trained model; a second transmission means for transmitting the result obtained by the estimation means to the image management device in association with the moving image; having The image processing system is characterized in that the trained model is a model that has been trained using a moving image and ancillary information about the moving image as input data, and information about whether the moving image was shot while viewing a live view as training data.
10. The image management device is further capable of communicating with a client terminal; the image management device has a third transmission means for transmitting the video stored in the storage means and the estimation result of the video in response to a request from the client terminal; The image processing system according to claim 9, characterized in that the client terminal has a display control means for controlling the display of thumbnail images of the moving images so as to distinguish between the moving images presumed to have been shot while viewing a live view and the moving images presumed to have been shot without viewing a live view.
11. An acquisition step of acquiring at least one of a moving image captured by an imaging device and supplementary information of the moving image; an estimation step of estimating whether the video was shot while viewing a live view or without viewing a live view, based on score information obtained by inputting at least one of the video and auxiliary information of the video acquired in the acquisition step into a trained model; an output step of outputting the result obtained by the estimation step in association with the moving image; Including, A control method for an image processing device, characterized in that the trained model is a model that has been trained using a moving image and ancillary information about the moving image as input data, and information about whether the moving image was shot while viewing a live view as teacher data.
12. 9. A program for causing a computer to function as each of the means of the image processing apparatus according to claim 1.
Citation Information
Patent Citations
Image evaluation apparatus and camera having this image evaluation apparatus
JP2009122792A
Image processing apparatus and imaging apparatus using the same
JP2012028836A
Image processing apparatus and imaging apparatus using the same
JP2012034128A
Image transfer program and image transfer device
JP2013211721A
Information terminal equipment and program and recognition system
JP2014119965A
