Image processing system and image processing method

The image processing system addresses the limitation of existing vehicle photographing systems by capturing frames before and after vehicle identification, using trained models for precise selection and extraction, ensuring comprehensive image capture.

JP7533429B2Active Publication Date: 2024-08-14TOYOTA JIDOSHA KK
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2021190909
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-11-25
Publication Date
2024-08-14
Estimated Expiration
2041-11-25

AI Technical Summary

Technical Problem

Existing vehicle photographing systems are limited in capturing images at moments that meet user needs, as they require vehicle identification before photography, missing opportune moments before or after identification.

Method used

An image processing system that includes a camera, memory, and processor to capture and process video data, selecting and cutting out frames including a target vehicle before and after it enters and exits the camera's range, using trained models for vehicle extraction, number recognition, and identification.

Benefits of technology

Enables capturing images at moments that meet user needs by selecting and processing frames including the target vehicle, ensuring comprehensive coverage from entry to exit of the camera's range.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007533429000010
    Figure 0007533429000010
  • Figure 0007533429000004
    Figure 0007533429000004
  • Figure 0007533429000013
    Figure 0007533429000013
Patent Text Reader

Abstract

To pick up an image at a moment meeting user needs.SOLUTION: A processor 11 selects a previously registered target vehicle from vehicles imaged by a camera 13. The processor 11 segments a plurality of frames including the target vehicle prior to the selection from moving image data stored in a memory 12. A processor 21 uses the segmented plurality of frames to generate an image including the target vehicle.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an image processing system and an image processing method, and more particularly to a technique for photographing a vehicle. [Background technology]

[0002] A user who likes driving may have a desire (need) to take pictures of the exterior of his / her vehicle while driving. The user can post (upload) the captured image to, for example, a social networking service (hereinafter referred to as "SNS") so that many people can see it. However, it is difficult for a user to take a picture of the exterior of a vehicle while driving. Therefore, a service for taking pictures of the exterior of a vehicle while driving has been proposed. For example, JP 2021-48449 A (Patent Document 1) discloses a vehicle photography system. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent Publication No. 2021-48449 [Patent Document 2] JP 2019-121319 A [Patent Document 3] JP 2019-86372 A Summary of the Invention [Problem to be solved by the invention]

[0004] The vehicle photographing system disclosed in Patent Document 1 identifies a vehicle based on information for identifying the vehicle, photographs the identified vehicle, and transmits image data of the photographed vehicle to a communication device. In other words, in the vehicle photographing system disclosed in Patent Document 1, the timing at which the vehicle can be photographed is limited to after the vehicle is identified. Therefore, even if there is a photogenic moment (or period) that meets the user's needs before the vehicle is identified, the vehicle photographing system disclosed in Patent Document 1 cannot capture an image of such a moment.

[0005] The present disclosure has been made to solve the above problems, and an object of the present disclosure is to enable capturing of an image at a moment that meets the user's needs. [Means for solving the problem]

[0006] (1) An image processing system according to an aspect of the present disclosure includes a memory for storing video data captured by a camera, and a processor for performing image processing on the video data stored in the memory. The processor selects a pre-registered target vehicle from among vehicles captured by the camera. The processor extracts a plurality of frames including the target vehicle before it is selected from the video data stored in the memory. The processor generates an image including the target vehicle using the extracted plurality of frames.

[0007] (2) The processor extracts all frames from the time the target vehicle enters the camera's range of capture to the time the target vehicle leaves the range of capture.

[0008] (3) In addition to all frames, the processor extracts a frame before the target vehicle enters the capture range and a frame after the target vehicle leaves the capture range.

[0009] (4) The memory includes a ring buffer having a storage area capable of storing a predetermined amount of newly captured video data, and configured to automatically delete old video data that exceeds the predetermined capacity from the storage area.

[0010] In the above configurations (1) to (4), the processor cuts out frames that include the target vehicle (including frames before the target vehicle is selected). The processor preferably cuts out all frames that include the target vehicle, and more preferably cuts out frames before and after all of the frames. This makes it possible to generate an image that includes the target vehicle (a viewing image, described later) from a series of events from before the target vehicle enters the camera's capture range to after it leaves the capture range. Thus, with the above configurations (1) to (4), it is possible to capture an image of a moment that meets the user's needs.

[0011] (5) The processor selects a target vehicle based on the license plate number of the target vehicle.

[0012] (6) The image processing system further includes a first memory in which a license plate recognition model is stored. The license plate recognition model is a trained model that receives a video including a license plate number as input and outputs the number in the video. The processor recognizes the number from the video data using the license plate recognition model.

[0013] (7) The processor selects a target vehicle based on the identification information of a communication device installed in the target vehicle.

[0014] (8) The image processing system further includes a second memory in which a vehicle extraction model is stored. The vehicle extraction model is a trained model that receives a video including a vehicle as an input and outputs a vehicle in the video. The processor uses the vehicle extraction model to extract a plurality of vehicles including the target vehicle from the video data.

[0015] (9) The image processing system further includes a third memory in which a target vehicle identification model is stored. The target vehicle identification model is a trained model that receives a video in which a vehicle is extracted and outputs a vehicle in the video. The processor identifies a target vehicle from the video data based on the target vehicle identification model.

[0016] According to the above configurations (5) and (6), the target vehicle can be selected with high accuracy by license plate recognition. According to the above configuration (7), the target vehicle can be selected based on the identification information of the communication device, not limited to license plate recognition. According to the above configuration (8), multiple vehicles including the target vehicle can be extracted with high accuracy. According to the above configuration (9), the target vehicle can be identified with high accuracy from the video data.

[0017] (10) An image processing method by a computer according to another aspect of the present disclosure includes first to fourth steps. The first step is a step of storing video data of a vehicle captured by a camera in a memory. The second step is a step of selecting a pre-registered target vehicle from among the vehicles captured by the camera. The third step is a step of extracting, from the video data stored in the memory, a plurality of frames including the target vehicle before it is selected. The fourth step is a step of generating an image including the target vehicle using the plurality of extracted frames.

[0018] According to the method of (10) above, like the configuration of (1) above, it is possible to capture an image of a moment that meets the needs of the user. Effect of the Invention

[0019] According to the present disclosure, an image of a moment that meets the user's needs can be captured. [Brief description of the drawings]

[0020] [Figure 1] 1 is a diagram illustrating an overall configuration of an image processing system according to a first embodiment of the present disclosure. [Diagram 2] 1 is a block diagram showing a typical hardware configuration of an imaging system according to a first embodiment. [Diagram 3] FIG. 2 is a diagram showing a state in which a vehicle is photographed by a camera. [Figure 4] FIG. 2 is a block diagram showing a typical hardware configuration of a server. [Diagram 5]10A and 10B are diagrams for explaining a state in which a vehicle is photographed in an image processing system according to a comparative example; [Figure 6] 2 is a functional block diagram showing the functional configuration of the imaging system and a server according to the first embodiment. FIG. [Figure 7] 11 is a diagram for explaining processing by a matching processing unit and a target vehicle selection unit. FIG. [Figure 8] FIG. 1 is a diagram for explaining an example of a trained model (vehicle extraction model) used in the vehicle extraction process. [Figure 9] FIG. 1 is a diagram for explaining an example of a trained model (number recognition model) used in number recognition processing. [Figure 10] FIG. 13 is a diagram for explaining an example of a trained model (target vehicle identification model) used in the target vehicle identification process. [Figure 11] 5 is a flowchart showing a processing procedure for photographing a vehicle in the first embodiment. [Figure 12] FIG. 11 is a block diagram showing a typical hardware configuration of an imaging system according to a second embodiment. [Figure 13] FIG. 11 is a functional block diagram showing a functional configuration of an imaging system according to a second embodiment. [Figure 14] 11 is a flowchart showing a processing procedure for photographing a vehicle in the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0021] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are denoted by the same reference characters, and the description thereof will not be repeated.

[0022] [Embodiment 1] <System configuration> Fig. 1 is a diagram illustrating an overall configuration of an image processing system according to a first embodiment of the present disclosure. The image processing system 100 includes a plurality of image capture systems 1 and a server 2. Each of the plurality of image capture systems 1 and the server 2 are connected to each other via a network NW so as to be able to communicate with each other. Although three image capture systems 1 are shown in Fig. 1, the number of image capture systems 1 is not particularly limited. There may be only one image capture system 1.

[0023] The imaging system 1 is installed, for example, near a road and captures images of a vehicle 9 (see FIG. 3) traveling on the road. In this embodiment, the imaging system 1 performs a predetermined arithmetic processing (described later) on the captured video, and transmits the arithmetic processing result to the server 2 together with the video.

[0024] The server 2 is, for example, a server owned by a company that provides vehicle photography services. The server 2 may also be a cloud server provided by a cloud server management company. The server 2 generates an image for the user to view (hereinafter also referred to as a "viewing image") from the video received from the photography system 1, and provides the generated viewing image to the user. The viewing image is generally a still image, but may also be a video of a specified time (for example, a short time of about a few seconds). In many cases, the user is the driver of the vehicle 9, but is not particularly limited to this.

[0025] 2 is a block diagram showing a typical hardware configuration of the photographing system 1 in the embodiment 1. The photographing system 1 includes a processor 11, a memory 12, a camera 13, and a communication interface (IF) 14. The memory 12 includes a read only memory (ROM) 121, a random access memory (RAM) 122, and a flash memory 123. The components of the photographing system 1 are connected to each other via a bus or the like.

[0026] The processor 11 controls the overall operation of the imaging system 1. The memory 12 stores programs (operating system and application programs) executed by the processor 11 and data (maps, tables, formulas, parameters, etc.) used in the programs. The memory 12 also temporarily stores moving images captured by the imaging system 1.

[0027] The camera 13 captures video of the vehicle 9. The camera 13 is preferably a high-sensitivity type camera equipped with a polarized lens.

[0028] 3 is a diagram showing how a vehicle is photographed by the camera 13. The camera 13 is capable of photographing the license plate provided on the vehicle 9, and is also capable of photographing the body of the vehicle 9, which looks good in photos. The video photographed by the camera 13 is used to recognize the number on the license plate, and is also used to generate an image to be viewed.

[0029] 2, the communication IF 14 is an interface for communicating with the server 2. The communication IF 14 is, for example, a communication module that complies with 4G (Generation) or 5G.

[0030] 4 is a block diagram showing a typical hardware configuration of the server 2. The server 2 includes a processor 21, a memory 22, an input device 23, a display 24, and a communication IF 25. The memory 22 includes a ROM 221, a RAM 222, and a HDD 223. The components of the server 2 are connected to each other via a bus or the like.

[0031] The processor 21 executes various types of arithmetic processing in the server 2. The memory 22 stores programs executed by the processor 21 and data used by the programs. The memory 22 also stores data used for image processing by the server 2, and stores data that has been image-processed by the server 2. The input device 23 accepts input from an administrator of the server 2. The input device 23 is typically a keyboard and a mouse. The display 24 displays various information. The communication IF 25 is an interface for communicating with the imaging system 1.

[0032] <Comparative Example> In order to facilitate understanding of the features of the image processing system 100 according to this embodiment, an image processing system 900 according to a comparative example will be described.

[0033] 5 is a diagram for explaining the state of capturing an image of a vehicle in an image processing system 900 according to a comparative example. Here, a situation is assumed in which a vehicle 9 traveling from left to right is captured by a camera 93. The dotted line extending from the camera 93 indicates the range that can be captured by the camera 93.

[0034] At time t1, the front end of vehicle 9 enters the photographable range. However, at this point, the license plate is outside the photographable range. At time t2, the license plate enters the photographable range and is photographed. It takes some processing time to recognize the license plate and identify whether vehicle 9 is a vehicle to be photographed (hereinafter also referred to as a "target vehicle"). During this time, vehicle 9 continues to travel. At time t3, vehicle 9 is identified as a target vehicle. The period from time t3 to time t4, when vehicle 9 leaves the photographable range, is the period during which vehicle 9 can be photographed in the comparative example.

[0035] However, in this case, even if there is a photogenic moment (or period) that meets the user's needs before the time t3 at which the vehicle 9 is identified, it is not possible to capture an image of such a moment. In addition, it is not possible to capture the entire sequence of events from when the vehicle 9 enters the captureable range until it leaves the captureable range.

[0036] Therefore, in this embodiment, a configuration is adopted in which video prior to time t3 at which the vehicle 9 is identified is also stored in the memory 22. In this embodiment, a series of events from when the vehicle 9 enters the captureable range until when it leaves the captureable range is captured, and then a part or all of that series is cut out. This makes it possible to capture an image of a moment that meets the needs of the user.

[0037] The vehicle 9 is not limited to a four-wheeled vehicle as shown in Fig. 5, but may be, for example, a two-wheeled vehicle (motorcycle). Since the license plate of a two-wheeled vehicle is only attached to the rear, it tends to take a long time to photograph the license plate and identify the vehicle. Therefore, for a two-wheeled vehicle, the effect of the image processing system 100 in photographing an image at a moment that meets the needs of the user becomes more pronounced.

[0038] <Functional configuration of image processing system> 6 is a functional block diagram showing the functional configuration of the imaging system 1 and the server 2 in the embodiment 1. The imaging system 1 includes an imaging unit 31, a communication unit 32, and a calculation processing unit 33. The calculation processing unit 33 includes a video buffer 331, a vehicle extraction unit 332, a license plate recognition unit 333, a matching processing unit 334, a target vehicle selection unit 335, a feature extraction unit 336, and a video clipping unit 337.

[0039] The imaging unit 31 captures video of the vehicle 9, and outputs the captured video to a video buffer 331. The imaging unit 31 corresponds to the camera 13 in FIG.

[0040] The communication unit 32 performs two-way communication with a communication unit 42 (described later) of the server 2 via the network NW. The communication unit 32 receives the number of the target vehicle from the server 2 and transmits the number of each vehicle photographed by the photographing unit 31 to the server. The communication unit 32 also transmits a video (more specifically, a video cut out to include the target vehicle) to the server 2. The communication unit 32 corresponds to the communication IF 14 in FIG. 2.

[0041] Video buffer 331 temporarily stores videos captured by imaging unit 31. Video buffer 331 is typically a ring buffer (circulatory buffer) and has a circular storage area in which the beginning and end of a one-dimensional array are logically linked. Newly captured videos are stored in video buffer 331 for a predetermined capacity that can be stored in the storage area (which may be a predetermined number of frames or a predetermined time). Old videos that exceed the predetermined time are automatically deleted from video buffer 331. Video buffer 331 outputs videos to vehicle extraction unit 332 and video clipping unit 337.

[0042] The vehicle extraction unit 332 extracts vehicles (not limited to the target vehicle, but vehicles in general) from the video. This process is also referred to as "vehicle extraction process." For the vehicle extraction process, for example, a trained model generated by machine learning technology such as deep learning can be used. In this example, the vehicle extraction unit 332 is realized by a "vehicle extraction model." The vehicle extraction model will be described in FIG. 8. The vehicle extraction unit 332 outputs parts of the video from which vehicles are extracted (frames including vehicles) to the number recognition unit 333 and also to the matching processing unit 334.

[0043] The number recognition unit 333 recognizes the number of the license plate from the video in which the vehicle is extracted by the vehicle extraction unit 332. This process is also referred to as "number recognition process." A trained model generated by machine learning technology such as deep learning can also be used for the number recognition process. In this example, the number recognition unit 333 is realized by a "number recognition model." The number recognition model will be described in FIG. 9. The number recognition unit 333 outputs the recognized number to the matching processing unit 334. The number recognition unit 333 also outputs the recognized number to the communication unit 32. As a result, the number of each vehicle is transmitted to the server 2.

[0044] FIG. 7 is a diagram for explaining the processing by the matching processing unit 334 and the target vehicle selection unit 335. An example will be described in which two vehicles are extracted and two numbers are recognized. The matching processing unit 334 associates the vehicle extracted by the vehicle extraction unit 332 with the number recognized by the number recognition unit 333 (matching processing). More specifically, the matching processing unit 334 calculates the distance between the number and the vehicle (the distance between the coordinates of the number on the frame and the coordinates of the vehicle) for each number. Then, the matching processing unit 334 associates the number with a vehicle that is close to the number. The matching processing unit 334 outputs the result of the above matching processing (vehicles with associated numbers) to the target vehicle selection unit 335.

[0045] The target vehicle selection unit 335 selects, as a target vehicle, a vehicle whose number matches the number of the target vehicle (received from the server 2) from among the vehicles whose numbers have been associated by the matching process. The target vehicle selection unit 335 outputs the vehicle selected as the target vehicle to the feature extraction unit 336 and to the video clipping unit 337.

[0046] Referring again to FIG. 6, the feature extraction unit 336 extracts the feature of the target vehicle by analyzing a video including the target vehicle. The feature may include the running state and the appearance of the target vehicle. More specifically, the feature extraction unit 336 calculates the running speed of the target vehicle based on the temporal change of the target vehicle in the frame including the target vehicle (for example, the movement amount of the target vehicle between frames, the change amount of the size of the target vehicle between frames). In addition to the running speed of the target vehicle, the feature extraction unit 336 may calculate, for example, the acceleration (deceleration) of the target vehicle. Furthermore, the feature extraction unit 336 extracts information on the appearance (body shape, body color, etc.) of the target vehicle using a known image defect recognition technique. The feature extraction unit 336 outputs the feature of the target vehicle (running speed, acceleration, body shape, body color, etc.) to the video cutout unit. Furthermore, the feature extraction unit 336 outputs the feature of the target vehicle to the communication unit 32. As a result, the feature of the target vehicle is transmitted to the server 2.

[0047] The video clipping unit 337 clips out a portion including the target vehicle from the video stored in the video buffer 331. Preferably, the video clipping unit 337 clips out all frames including the target vehicle selected by the target vehicle selection unit 335. More preferably, the video clipping unit 337 clips out a predetermined number of frames before the frame including the target vehicle (frames before the target vehicle enters the captureable range of the image capture unit 31) and a predetermined number of frames after the frame including the target vehicle (frames after the target vehicle leaves the captureable range of the image capture unit 31). That is, the video clipping unit 337 preferably clips out a series of videos from before the target vehicle enters the captureable range of the image capture unit 31 to after it leaves the captureable range. The video clipping unit 337 outputs the clipped video to the communication unit 32. As a result, a video of the target vehicle traveling captured over the entire range of the captureable range of the image capture unit 31 is transmitted to the server 2.

[0048] The video cutout unit 337 may cut out the video using the feature extracted by the feature extraction unit 336. For example, the video cutout unit 337 may change the length of time for cutting out the video depending on the traveling speed of the target vehicle. In other words, the video cutout unit 337 may variably set the number of frames before and after all frames including the target vehicle (the above-mentioned "predetermined number"). The slower the traveling speed of the target vehicle, the longer the time for cutting out the video can be set by the video cutout unit 337. This makes it possible to more reliably cut out the state of the target vehicle traveling across the entire range of the captureable range.

[0049] The server 2 includes a storage unit 41, a communication unit 42, and a calculation processing unit 43. The storage unit 41 includes an image storage unit 411 and a registration information storage unit 412. The calculation processing unit 43 includes a vehicle extraction unit 431, a target vehicle identification unit 432, an image processing unit 433, an album creation unit 434, a web service management unit 435, and an image capture system management unit 436.

[0050] The image storage unit 411 stores the viewing image obtained as a result of the arithmetic processing by the server 2. More specifically, the image storage unit 411 stores images before and after processing by the image processing unit 433, and also stores albums created by the album creation unit 434.

[0051] The registration information storage unit 412 stores registration information related to the vehicle photography service. The registration information includes personal information of a user who has applied for the vehicle photography service and vehicle information of the user. The personal information of the user includes information related to the user's identification number (ID), name, date of birth, address, telephone number, email address, etc. The vehicle information of the user includes information related to the license plate number of the vehicle. The vehicle information may include information related to the vehicle model, year, body shape (sedan, wagon, minivan, etc.), body color, etc.

[0052] The communication unit 42 performs bidirectional communication with the communication unit 32 of the photography system 1 via the network NW. The communication unit 42 transmits the license plate number of the target vehicle to the photography system 1 and receives the license plate number of each vehicle photographed by the photography system 1. The communication unit 42 also receives a video including the target vehicle and feature amounts (driving state and appearance) of the target vehicle from the photography system 1. The communication unit 42 corresponds to the communication IF 25 in FIG. 4.

[0053] The vehicle extraction unit 431 extracts vehicles (not limited to the target vehicle, but vehicles in general) from the video. For this process, a vehicle extraction model can be used, similar to the vehicle extraction process by the vehicle extraction unit 332 of the imaging system 1. The vehicle extraction unit 431 outputs to the target vehicle identification unit 432 a video from which a vehicle has been extracted (a frame including a vehicle).

[0054] The target vehicle identification unit 432 identifies a target vehicle from among the vehicles extracted by the vehicle extraction unit 431 based on the feature quantities of the target vehicle (driving conditions such as driving speed and acceleration, and appearances such as body shape and body color). This process is also referred to as a "target vehicle identification process." A trained model generated by machine learning techniques such as deep learning can also be used for the target vehicle identification process. In this example, the target vehicle identification unit 432 is realized by a "target vehicle identification model." Target vehicle identification will be described in FIG. 10. An image to be viewed is generated by identifying the target vehicle by the target vehicle identification unit 432. The image to be viewed usually includes multiple images (multiple frames that are consecutive in time). The target vehicle identification unit 432 outputs the image to be viewed to the image processing unit 433.

[0055] The image processing unit 433 processes the image to be viewed. For example, the image processing unit 433 selects the most photogenic image (so-called best shot) from among a plurality of images. Then, the image processing unit 433 performs various image corrections (trimming, color correction, distortion correction, etc.) on the extracted image to be viewed. The image processing unit 433 outputs the processed image to be viewed to the album creation unit 434.

[0056] The album creation unit 434 creates an album using the processed viewing images. A known image analysis technology (for example, a technology for automatically creating a photo book, a slide show, or the like from images taken with a smartphone) can be used to create the album. The album creation unit 434 outputs the album to the web service management unit 435.

[0057] Web service management section 435 provides a web service (for example, an application program that can be linked to an SNS) using the album created by album creation section 434. Note that web service management section 435 may be implemented in a server different from server 2.

[0058] The photography system management unit 436 manages (monitors and diagnoses) the photography system 1. When any abnormality (camera failure, communication failure, etc.) occurs in the photography system 1 under its management, the photography system management unit 436 notifies the administrator of the server 2 of the occurrence of the abnormality. This enables the administrator to take measures such as inspecting and repairing the photography system 1. Like the web service management unit 435, the photography system management unit 436 can also be implemented as a separate server.

[0059] <Pre-trained model> 8 is a diagram for explaining an example of a trained model (vehicle extraction model) used in vehicle extraction processing. Estimation model 51, which is a pre-trained model, includes, for example, neural network 511 and parameters 512. Neural network 511 is a known neural network used in image recognition processing by deep learning. Examples of such neural networks include a convolution neural network (CNN) and a recurrent neural network (RNN). Parameters 512 include weighting coefficients used in calculations by neural network 511.

[0060] A large amount of training data is prepared in advance by the developer. The training data includes example data and correct answer data. The example data is image data including the vehicle to be extracted. The correct answer data includes an extraction result corresponding to the example data. Specifically, the correct answer data is image data from which the vehicle included in the example data has been extracted.

[0061] The learning system 61 uses example data and correct answer data to train the estimation model 51. The learning system 61 includes an input unit 611, an extraction unit 612, and a learning unit 613.

[0062] The input unit 611 receives a large number of example data (image data) prepared by a developer and outputs the data to the extraction unit 612 .

[0063] The extraction unit 612 extracts vehicles included in the example data for each example data by inputting the example data from the input unit 611 to the estimation model 51. The extraction unit 612 outputs the extraction result (output from the estimation model 51) to the learning unit 613.

[0064] The learning unit 613 trains the estimation model 51 based on the vehicle extraction result from the example data received from the extraction unit 612 and the correct answer data corresponding to the example data. Specifically, the learning unit 613 adjusts the parameters 512 (e.g., weighting coefficients) so that the vehicle extraction result obtained by the extraction unit 612 approaches the correct answer data.

[0065] As described above, the estimation model 51 is trained, and the trained estimation model 51 is stored in the vehicle extraction unit 332 (and the vehicle extraction unit 431) as the vehicle extraction model 71. The vehicle extraction model 71 receives a video and outputs a video from which a vehicle has been extracted. For each frame of the video, the vehicle extraction model 71 associates the extracted vehicle with an identifier of the frame and outputs the associated vehicle to the matching processing unit 334. The identifier of the frame is, for example, a timestamp (time information of the frame).

[0066] Fig. 9 is a diagram for explaining an example of a trained model (number recognition model) used in number recognition processing. The example data is image data including the number to be recognized. The correct answer data is data indicating the position and number of the license plate included in the example data. Although the example data and correct answer data are different, the learning method of the estimation model 52 by the learning system 62 is similar to the learning method by the learning system 61 (see Fig. 8), and therefore detailed description will not be repeated.

[0067] The estimation model 52 for which learning has been completed is stored in the license plate recognition unit 333 as the license plate recognition model 72. The license plate recognition model 72 receives as input a video in which a vehicle is extracted by the vehicle extraction unit 332, and outputs the coordinates and number of the license plate. For each frame of the video, the license plate recognition model 72 outputs the coordinates and number of the recognized license plate to the matching processing unit 334 in association with the identifier of the frame.

[0068] FIG. 10 is a diagram for explaining an example of a trained model (target vehicle identification model) used in the target vehicle identification process. The example data is image data including a target vehicle that is an identified target. The example data further includes information regarding the features of the target vehicle (specifically, the driving state and appearance). The correct answer data is image data in which the target vehicle included in the example data is identified. The learning method of the estimation model 53 by the learning system 63 is similar to the learning method by the learning systems 61, 62 (see FIG. 8 and FIG. 9), and therefore detailed description will not be repeated.

[0069] The estimation model 53 for which learning has been completed is stored in the target vehicle identification unit 432 as the target vehicle identification model 73. The target vehicle identification model 73 receives as input the video in which a vehicle is extracted by the vehicle extraction unit 431 and the feature amounts (driving state and appearance) of the target vehicle, and outputs the video in which the target vehicle is identified. For each frame of the video, the target vehicle identification model 73 outputs the identified video to the image processing unit 433 in association with the identifier of the frame.

[0070] The vehicle extraction process is not limited to the process using machine learning. Any known image recognition technology (image recognition model, algorithm) that does not use machine learning can be applied to the vehicle extraction process. The same applies to the license plate recognition process and the target vehicle identification process.

[0071] <Processing flow> Fig. 11 is a flowchart showing the processing procedure for photographing a vehicle in the first embodiment. This flowchart is executed, for example, when a predetermined condition is met or at a predetermined cycle. In the figure, the left side shows the processing by the photographing system 1, and the right side shows the processing by the server 2. Each step is realized by software processing by the processor 11 of the photographing system 1 or the processor 21 of the server 2, but may also be realized by hardware (electrical circuitry). Hereinafter, step is abbreviated as S.

[0072] In S11, the photography system 1 extracts a vehicle by executing a vehicle extraction process (see FIG. 8) on the video. Furthermore, the photography system 1 recognizes the license plate number by executing a license plate number recognition process (see FIG. 9) on the video from which the vehicle has been extracted (S12). The photography system 1 transmits the recognized license plate number to the server 2.

[0073] When the server 2 receives the number from the photography system 1, it refers to the registration information to determine whether the received number is a registered number (i.e., whether the vehicle photographed by the photography system 1 is the vehicle (target vehicle) of the user who applied for the vehicle photography service). If the received number is a registered number (number of a corresponding vehicle), the server 2 transmits the number of the target vehicle and requests the photography system 1 to transmit a video including the target vehicle (S21).

[0074] In S13, the photography system 1 executes a matching process between each vehicle in the recognition video and each license plate number. Then, the photography system 1 selects a vehicle having the same license plate number as the target vehicle as a corresponding vehicle from among the vehicles having license plate numbers (S14). Furthermore, the photography system 1 extracts the features (driving state and appearance) of the target vehicle and transmits the extracted features to the server 2 (S15).

[0075] In S16, the image capture system 1 cuts out a portion including the target vehicle from the video temporarily stored in the memory 22 (video buffer 331) from a point before the license plate number is recognized (before the target vehicle is selected). The cut-out method has been described in detail with reference to FIG. 6, so the description will not be repeated here. The image capture system 1 transmits the cut-out video to the server 2.

[0076] In S22, the server 2 executes a vehicle extraction process (see FIG. 8) on the video received from the imaging system 1 to extract vehicles.

[0077] In S23, the server 2 identifies a target vehicle from among the vehicles extracted in S22 based on the feature quantities (driving state and appearance) of the target vehicle (target vehicle identification process in FIG. 10). It is possible to use only one of the driving state and appearance of the target vehicle as the feature quantities of the target vehicle. However, there is a possibility that a video may include a plurality of vehicles with the same body shape and body color, or a plurality of vehicles with approximately the same driving speed and acceleration. In contrast, in this embodiment, even if a video includes a plurality of vehicles with the same body shape and body color, the target vehicle can be distinguished from other vehicles if the driving speed and / or acceleration are different between the vehicles. Alternatively, even if a video includes a plurality of vehicles with approximately the same driving speed and acceleration, the target vehicle can be distinguished from other vehicles if the body shape and / or body color are different between the vehicles. In this way, by using both the driving state and appearance of the target vehicle as the feature quantities of the target vehicle, the identification accuracy of the target vehicle can be improved.

[0078] However, it is not essential to use both the driving condition and the appearance of the target vehicle, and only one of them may be used. Information on the driving condition and / or the appearance of the target vehicle corresponds to the "target vehicle information" according to the present disclosure. In addition, the information on the appearance of the target vehicle is not limited to vehicle information obtained by analysis by the imaging system 1 (feature amount extraction unit 336), and may be vehicle information previously stored in the registration information storage unit 412.

[0079] In S24, the server 2 selects an optimal viewing image (best shot) from among the video (multiple viewing images) including the target vehicle. Furthermore, the server 2 performs image correction on the optimal viewing image. Then, the server 2 creates an album using the corrected viewing image (S25). The user can view the created album and post desired images in the album to SNS.

[0080] As described above, in the first embodiment, the photography system 1 selects a target vehicle by recognizing the number on the license plate. Then, the photography system 1 extracts all frames including the target vehicle (including frames before the target vehicle is selected) and transmits them to the server 2. More preferably, the photography system 1 extracts all frames including the target vehicle as well as frames before and after the target vehicle and transmits them to the server 2. This allows the server 2 to collect a series of events from before the target vehicle enters the captureable range of the camera 13 until after it leaves the captureable range. This allows the server 2 to select the most suitable frame from the series of events described above and generate an image for viewing. Therefore, according to the first embodiment, an image of a moment that meets the needs of the user can be captured.

[0081] [Embodiment 2] In the first embodiment, the target vehicle is identified by using the license plate number. However, the method of identifying the target vehicle is not limited to this. In the second embodiment, the target vehicle is identified by using the identification number of the wireless communication.

[0082] 12 is a block diagram showing a typical hardware configuration of an imaging system 1A in embodiment 2. The imaging system 1A differs from the imaging system 1 in embodiment 1 (see FIG. 2) in that the imaging system 1A includes a communication IF 15 instead of the communication IF 14. The communication IF 15 includes a long-distance wireless module 151 and a short-distance wireless module 152.

[0083] The long-distance wireless module 151 is a communication module conforming to, for example, 4G or 5G, similar to the communication IF 14. The long-distance wireless module 151 is used for long-distance communication between the photography system 1A and the server 2.

[0084] The short-range wireless module 152 is a communication module that complies with a short-range communication standard such as Wi-Fi (registered trademark) or Bluetooth (registered trademark). The short-range wireless module 152 is configured to communicate with a short-range wireless module 95 provided in the vehicle 9 and to communicate with a user terminal 96 (such as a smartphone or a tablet terminal) held by a user in the vehicle 9.

[0085] Each of the short-range wireless module 95 of the vehicle 9 and the user terminal 96 has an identification number (also called a device address) that is unique to each wireless device that complies with a short-range communication standard. The short-range wireless module 152 of the image capture system 1A can obtain the identification number of the short-range wireless module 95 and / or the user terminal 96.

[0086] Hereinafter, the short-range wireless module 95 and the user terminal 96 will be collectively referred to as "wireless devices." The identification number of the wireless device will be referred to as "wireless device ID." The wireless device ID of the target vehicle is obtained in advance from the user (for example, when applying for the vehicle photography service) and stored in the registration information storage unit 412 (see FIG. 6).

[0087] 13 is a functional block diagram showing a functional configuration of an image capture system 1A in embodiment 2. The image capture system 1 includes a short-distance communication unit 81, an image capture unit 82, a long-distance communication unit 83, and a calculation processing unit 84. The calculation processing unit 84 includes a wireless device ID acquisition unit 841, a video buffer 842, a vehicle extraction unit 843, a matching processing unit 844, a target vehicle selection unit 845, a feature extraction unit 846, and a video clipping unit 847.

[0088] The short-distance communication unit 81 performs short-distance communication with wireless devices mounted on the vehicle 9. The short-distance communication unit 81 corresponds to the short-distance wireless module 152 in FIG.

[0089] The wireless device ID acquisition unit 841 acquires the identification number (wireless device ID) of the short-range wireless module 95 and / or the user terminal 96. The wireless device ID acquisition unit 841 outputs the acquired wireless device ID to the matching processing unit 844.

[0090] The imaging unit 82, the video buffer 842, and the vehicle extraction unit 843 are equivalent to the imaging unit 31, the video buffer 331, and the vehicle extraction unit 332 (see FIG. 6) in the first embodiment, respectively.

[0091] The matching processing unit 844 associates the vehicle extracted by the vehicle extraction unit 843 with the radio ID acquired by the radio ID acquisition unit 841 (matching process). More specifically, the matching processing unit 334 associates the vehicle extracted by the vehicle extraction unit 843 with the radio ID acquired from the radio device when the vehicle equipped with the radio device approaches. As the vehicle 9 approaches the photographing system 1A, the strength of the short-range radio increases. Therefore, the matching processing unit 844 may associate the vehicle with the radio ID based on the strength of the short-range radio in addition to the radio ID. The matching processing unit 844 outputs the result of the above matching process (the vehicle associated with the radio ID) to the target vehicle selection unit 845.

[0092] The target vehicle selection unit 845 selects, as a target vehicle, a vehicle whose radio ID matches the radio ID of the target vehicle (received from the server 2) from among the vehicles whose radio IDs have been associated by the matching process. The target vehicle selection unit 845 outputs the vehicle selected as the target vehicle to the feature extraction unit 846 and to the video clipping unit 847.

[0093] Feature extraction unit 846, video clipping unit 847, and long-distance communication unit 83 are equivalent to feature extraction unit 336, video clipping unit 337, and communication unit 32 (see FIG. 6), respectively, in embodiment 1. Furthermore, since server 2 is basically equivalent to server 2 in embodiment 1, a functional block diagram of server 2 (see FIG. 6) is not shown due to space limitations.

[0094] Fig. 14 is a flowchart showing the procedure of a vehicle photographing process in embodiment 2. This flowchart is the same as the flowchart (Fig. 11) in embodiment 1 except that a radio device ID is used instead of a license plate number, and therefore description thereof will not be repeated.

[0095] As described above, in the second embodiment, the photographing system 1A selects a target vehicle using the identification number (wireless device ID) of the short-range wireless module 95 mounted on the vehicle 9 and / or the user terminal 96. Then, the photographing system 1A extracts all frames including the target vehicle (including frames before the target vehicle is selected) and transmits them to the server 2. More preferably, the photographing system 1A extracts frames before and after the target vehicle in addition to all frames including the target vehicle and transmits them to the server 2. This allows the server 2 to collect a series of events from before the target vehicle enters the captureable range of the camera 13 to after it leaves the captureable range. Therefore, the server 2 can select the optimal frame from the above series of events and generate an image for viewing. Therefore, according to the second embodiment, an image of a moment that meets the needs of the user can be captured.

[0096] In the first and second embodiments, an example has been described in which the image processing is shared between the photographing systems 1, 1A and the server 2. Therefore, both the processor 11 of the photographing systems 1, 1A and the processor 21 of the server 2 correspond to the "processor" according to the present disclosure. However, the photographing systems 1, 1A may perform all image processing and transmit the processed data (viewed image) to the server 2. Therefore, the server 2 is not an essential component for the image processing according to the present disclosure. In this case, the processor 11 of the photographing systems 1, 1A corresponds to the "processor" according to the present disclosure.

[0097] The embodiments disclosed herein should be considered to be illustrative and not restrictive in all respects. The scope of the present disclosure is defined by the claims, not by the description of the embodiments described above, and is intended to include all modifications within the meaning and scope of the claims. [Explanation of symbols]

[0098] 100 image processing system, 1,1A photography system, 11 processor, 12 memory, 121 ROM, 122 RAM, 123 flash memory, 13 camera, 14 communication IF, 15 communication IF, 151 long-distance wireless module, 152 short-distance wireless module, 2 server, 21 processor, 22 memory, 221 ROM, 222 RAM, 23 input device, 24 display, 25 communication IF, 31 photography unit, 32 communication unit, 33 calculation processing unit, 331 video buffer, 332 vehicle extraction unit, 333 number recognition unit, 334 matching processing unit, 335 target vehicle selection unit, 336 feature extraction unit, 337 video cutout unit, 41 memory unit, 411 image memory unit, 412 registration information memory unit, 42 communication unit, 43 calculation processing unit, 431 vehicle extraction unit, 432 Target vehicle identification unit, 433 Image processing unit, 434 Album creation unit, 435 Web service management unit, 436 Photography system management unit, 51, 52, 53 Estimation model, 511 Neural network, 512 Parameters, 61, 62, 63 Learning system, 611, 621, 631 Input unit, 612 Extraction unit, 622 Recognition unit, 632 Identification unit, 613, 623, 633 Learning unit, 71 Vehicle extraction model, 72 Number recognition model, 73 Target vehicle identification model, 81 Short-range communication unit, 82 Photography unit, 83 Long-range communication unit, 84 Calculation processing unit, 841 Radio ID acquisition unit, 842 Video buffer, 843 Vehicle extraction unit, 844 Matching processing unit, 845 Target vehicle selection unit, 846 Feature extraction unit, 847 Video cutout unit, 9 Vehicle, 93 Camera, 95 short-range wireless module, 96 user terminal, 900 image processing system, NW network.

Claims

1. A memory for storing video data captured by a camera; a processor that performs image processing on the video data stored in the memory, The processor, Select a pre-registered target vehicle from among the vehicles photographed by the camera; Calculating a traveling speed of the target vehicle based on a time change of the target vehicle; Extracting a plurality of frames from the video data stored in the memory, the frames including all frames from when the target vehicle enters a captureable range of the camera until when the target vehicle leaves the captureable range, a predetermined number of frames before the target vehicle enters the captureable range, and the predetermined number of frames after the target vehicle leaves the captureable range; The slower the traveling speed of the target vehicle, the larger the predetermined number is set, An image processing system in which the processor uses the multiple extracted frames to generate an image including the target vehicle.

2. the memory includes a ring buffer; 2. The image processing system according to claim 1, wherein the ring buffer has a memory area capable of storing a predetermined amount of newly captured video data, and any old video data that exceeds the predetermined capacity is automatically deleted from the memory area.

3. The image processing system according to claim 1 , wherein the processor selects the target vehicle based on a license plate number of the target vehicle.

4. A first memory in which a number recognition model is stored, The license plate recognition model is a trained model that receives a video including a license plate number as input and outputs the number in the video, The image processing system according to claim 3 , wherein the processor recognizes the number from the video data using the number recognition model.

5. The image processing system according to claim 1 , wherein the processor selects the target vehicle based on identification information of a communication device mounted in the target vehicle.

6. Further comprising a second memory in which a vehicle extraction model is stored; The vehicle extraction model is a trained model that receives a video including a vehicle as input and outputs the vehicle in the video, The image processing system according to claim 1 , wherein the processor extracts a plurality of vehicles including the target vehicle from the video data by using the vehicle extraction model.

7. Further comprising a third memory in which a target vehicle specific model is stored; The target vehicle identification model is a trained model that receives an input of a video in which a vehicle is extracted and outputs the vehicle in the video, 5. The image processing system according to claim 1, wherein the processor identifies the target vehicle from the video data based on the target vehicle identification model.

8. A computer-implemented image processing method, comprising the steps of: storing video data of the vehicle captured by a camera in a memory; selecting a pre-registered target vehicle from among the vehicles photographed by the camera; calculating a travel speed of the target vehicle based on a time change of the target vehicle; extracting a plurality of frames from the video data stored in the memory, the frames including all frames from when the target vehicle enters a captureable range of the camera until when the target vehicle leaves the captureable range, a predetermined number of frames before the target vehicle enters the captureable range, and the predetermined number of frames after the target vehicle leaves the captureable range, The slower the traveling speed of the target vehicle, the larger the predetermined number is set, The image processing method further includes a step of generating an image including the target vehicle using the plurality of extracted frames.

Citation Information

Patent Citations

  • System and method for automatically imaging subject to be moved with portable terminal

    JP2013168886A

  • Video analysis device and video analysis method

    JP2014229103A

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

    JP2018060296A

  • Information processor, method for processing information, and program

    JP2019086372A

  • Vehicle photographing support device and program

    JP2019121319A