Image processing system and image processing method
The image processing system uses multiple cameras and machine learning to identify vehicles by non-plate features, addressing the limitations of existing systems in capturing moving vehicles from diverse angles, ensuring accurate recognition and image generation.
Patent Information
- Application Number
- JP2021187916
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-11-18
- Publication Date
- 2024-08-14
- Estimated Expiration
- 2041-11-18
AI Technical Summary
Existing vehicle photographing systems struggle to capture images that include the license plate number, especially from angles that do not show the plate or when the vehicle is moving, failing to meet diverse user requests.
An image processing system utilizing multiple cameras and machine learning models to identify vehicles based on features other than the license plate number, including running state and appearance, ensuring accurate identification even when the plate is not visible.
Enables precise identification and capture of target vehicles from various angles, improving the accuracy of vehicle recognition and image generation without relying on the license plate number.
Smart Images

Figure 0007533426000011 
Figure 0007533426000005 
Figure 0007533426000004
Abstract
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 to take pictures of the exterior of his / her vehicle while driving. The user can upload the images he / she has taken to, for example, a social networking service (hereinafter, referred to as "SNS") so that many people can see them. However, it is difficult for a user to take pictures 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.
[0003] For example, Japanese Patent Application Laid-Open Publication No. 2019-121319 (Patent Document 1) discloses a vehicle photography support device that, when a license plate number of a vehicle is captured in an image captured by a photography device, determines that the image contains the vehicle, and posts the image to a social networking site. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2019-121319 A [Patent Document 2] JP 2009-245385 A [Patent Document 3] JP 2019-211921 A Summary of the Invention [Problem to be solved by the invention]
[0005] It is not always possible to photograph the license plate of a moving vehicle. There may be demands for various images, such as images taken from angles that do not capture the license plate (for example, images taken from the side of the vehicle) or images in which the license plate is only small (for example, images taken from a distance from the vehicle). The device disclosed in Patent Document 1 leaves room for improvement in that it does not take such demands into consideration.
[0006] The present disclosure has been made to solve the above-mentioned problems, and an object of the present disclosure is to identify a vehicle even if the license plate number is not visible. [Means for solving the problem]
[0007] (1) An image processing system according to an aspect of the present disclosure includes a first camera, a second camera, and a processor. The first camera captures a plurality of vehicles including a target vehicle from a first angle at which the license plate can be captured. The second camera captures video of the plurality of vehicles traveling from a second angle different from the first angle. The processor acquires first video data captured by the first camera and second video data captured by the second camera. The processor selects, as a target vehicle, a vehicle having a number that matches the number of the target vehicle among the plurality of vehicles included in the first video data. The processor identifies a target vehicle from among the plurality of vehicles included in the second video data based on target vehicle information other than the number of the target vehicle obtained from the target vehicle selected in the first video data, and generates an image including the identified target vehicle.
[0008] (2) The target vehicle information includes information regarding a driving state of the target vehicle. The processor identifies, as the target vehicle, a vehicle that is traveling in the driving state of the target vehicle from among the multiple vehicles included in the second video data.
[0009] (3) The target vehicle information includes information regarding an appearance of the target vehicle. The processor identifies, as the target vehicle, a vehicle having the same appearance as the target vehicle from among the plurality of vehicles included in the second video data.
[0010] According to the above configurations (1) to (3), target vehicle information (information other than the target vehicle's license plate number, and information related to the target vehicle's running condition and appearance) is extracted using a first video captured from a first angle at which the license plate number can be captured. Then, based on the extracted target vehicle information, a vehicle in a second video captured from a second angle is identified. In this way, by linking the first video and the second video with the target vehicle information, the vehicle can be identified even if the vehicle's license plate number is not captured in the second video.
[0011] (4) The processor extracts a plurality of vehicles from the first video data, recognizes the license plate number of each of the extracted vehicles, associates each of the extracted vehicles with the number closest to the vehicle, and selects a vehicle having a number matching the number of the target vehicle as the target vehicle.
[0012] According to the above configuration (4), each of the multiple vehicles is associated with the license plate number of the vehicle closest to the vehicle. Then, a vehicle having a license plate number matching the license plate number of the target vehicle is selected as the target vehicle. This makes it possible to select the target vehicle in the first video data with high accuracy.
[0013] (5) The image processing system further includes a first 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 second video data based on the target vehicle identification model and the target vehicle information.
[0014] (6) 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 from the first video data.
[0015] (7) The image processing system further includes a third 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 as input and outputs a license plate number in the video. The processor recognizes the license plate number from the first video data by using the license plate recognition model.
[0016] According to the configurations (5) to (7) above, by using a trained model prepared by machine learning, the accuracy of each process of target vehicle identification, vehicle extraction, and license plate number recognition can be improved.
[0017] (8) An image processing method by a computer according to another aspect of the present disclosure includes first to fourth methods. The first method is a step of acquiring first video data in which a plurality of vehicles including a target vehicle are photographed from a first angle at which the license plate can be photographed. The second step is a step of acquiring second video data in which a plurality of vehicles traveling are photographed from a second angle different from the first angle. The third step is a step of selecting, as a target vehicle, a vehicle having a number that matches the number of the target vehicle among the plurality of vehicles included in the first video data. The fourth step is a step of identifying a target vehicle from among the plurality of vehicles included in the second video data based on target vehicle information other than the number of the target vehicle obtained from the target vehicle selected in the first video data, and generating an image including the identified target vehicle.
[0018] According to the method (8) above, similarly to the configuration (1) above, the vehicle can be identified even if the vehicle's license plate number is not shown in the second video. Effect of the Invention
[0019] According to the present disclosure, a vehicle can be identified even if the license plate number is not visible. [Brief description of the drawings]
[0020] [Figure 1] 1 is a diagram illustrating an overall configuration of an image processing system according to an embodiment of the present invention. [Diagram 2] FIG. 1 is a block diagram showing a typical hardware configuration of an imaging system. [Diagram 3] FIG. 1 is a first diagram (perspective view) showing a state in which a vehicle is photographed by an imaging system. [Figure 4] FIG. 2 is a second diagram (top view) showing the state of a vehicle being photographed by the photographing system. [Diagram 5] FIG. 13 is a diagram showing an example of one frame of an identification video. [Figure 6] FIG. 1 is a diagram showing an example of one frame of a viewing video. [Figure 7] FIG. 2 is a block diagram showing a typical hardware configuration of the server 2. [Figure 8] FIG. 2 is a functional block diagram showing the functional configuration of the imaging system and a server. [Figure 9] FIG. 1 is a diagram for explaining an example of a trained model (vehicle extraction model) used in the vehicle extraction process. [Figure 10] FIG. 1 is a diagram for explaining an example of a trained model (number recognition model) used in number recognition processing. [Figure 11] 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 12] 5 is a flowchart showing a processing procedure of a vehicle photographing process in the present 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 Mode] <System configuration> Fig. 1 is a diagram showing an outline of the overall configuration of an image processing system according to the present embodiment. The image processing system 100 includes a plurality of photographing systems 1 and a server 2. Each of the plurality of photographing 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 photographing systems 1 are shown in Fig. 1, the number of photographing systems 1 is not particularly limited. There may be only one photographing 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 images for the user to view from the video received from the photography system 1 (hereinafter also referred to as "viewing images"), and provides the generated viewing images to the user. The viewing images are generally still images, but may be short videos. The user is often 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 photography system 1. The photography system 1 includes a processor 11, a memory 12, a recognition camera 13, a viewing camera 14, and a communication interface (IF) 15. The memory 12 includes a ROM (Read Only Memory) 121, a RAM (Random Access Memory) 122, and a flash memory 123. The components of the photography 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] Recognition camera 13 captures a video (hereinafter also referred to as an "identification video") for processor 11 to recognize the number on the license plate attached to vehicle 9. Viewing camera 14 captures a video (hereinafter also referred to as an "viewing video") used to generate a viewing image. Each of recognition camera 13 and viewing camera 14 is preferably a high-sensitivity camera with a polarized lens.
[0028] Note that the recognition camera 13 corresponds to the "first camera" according to the present disclosure. The identification video corresponds to the "first video data". The viewing camera 14 corresponds to the "second camera" according to the present disclosure. The viewing video corresponds to the "second video data".
[0029] The communication IF 15 is an interface for communicating with the server 2. The communication IF 15 is, for example, a communication module that complies with 4G (Generation) or 5G.
[0030] FIG. 3 is a first diagram (perspective view) showing how a vehicle is photographed by the photographing system 1. FIG. 4 is a second diagram (top view) showing how a vehicle is photographed by the photographing system 1. With reference to FIGS. 3 and 4, the recognition camera 13 photographs the identification video from an angle (first angle) at which the license plate can be photographed. In this example, the identification video is photographed from almost the front of the vehicle 9. Meanwhile, the viewing camera 14 photographs the viewing video from an angle (second angle) that looks good in photos (so-called SNS-friendly). In this example, the viewing video is photographed from the side of the vehicle 9.
[0031] Fig. 5 is a diagram showing an example of one frame of an identification video. As shown in Fig. 5, multiple vehicles 9 (91, 92) may appear in the identification video. Hereinafter, the vehicle that is the subject of the shooting (the vehicle about to shoot the viewing image) among the multiple vehicles will be referred to as the "target vehicle" and will be distinguished from the other vehicles.
[0032] 6 is a diagram showing an example of one frame of a viewing video. The viewing video is not required to show the license plate of the target vehicle. However, the license plate of the target vehicle may be shown in the viewing video.
[0033] Note that the vehicle 9 (including the target vehicle) is not limited to a four-wheeled vehicle as shown in Figures 3 to 5, but may be, for example, a two-wheeled vehicle (motorcycle). Since the license plate of a motorcycle is only attached to the rear, it is easy for a situation to arise in which the license plate cannot be photographed.
[0034] 7 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.
[0035] 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.
[0036] <Functional configuration of image processing system> 8 is a functional block diagram showing the functional configuration of the photography system 1 and the server 2. The photography system 1 includes an identification video photography unit 31, an appreciation video photography unit 32, a communication unit 33, and a calculation processing unit 34. The calculation processing unit 34 includes a vehicle extraction unit 341, a license plate recognition unit 342, a matching processing unit 343, a target vehicle selection unit 344, a feature extraction unit 345, a video buffer 346, and a video clipping unit 347.
[0037] The identification video shooting unit 31 shoots an identification video for the number recognition unit 342 to recognize the number on the license plate. The identification video shooting unit 31 outputs the identification video to the vehicle extraction unit 341. The identification video shooting unit 31 corresponds to the recognition camera 13 in FIG.
[0038] Appreciation video shooting unit 32 shoots an appreciation video for viewing by the user of vehicle 9. Appreciation video shooting unit 32 outputs the appreciation video to video buffer 346. Appreciation video shooting unit 32 corresponds to appreciation camera 14 in FIG.
[0039] The communication unit 33 performs two-way communication with a communication unit 42 (described later) of the server 2 via the network NW. The communication unit 33 receives the license plate number of the target vehicle from the server 2. The communication unit 33 also transmits the viewing video (more specifically, a video cut out from the viewing video so as to include the target vehicle) to the server 2. The communication unit 33 corresponds to the communication IF 15 in FIG. 2.
[0040] The vehicle extraction unit 341 extracts vehicles (not limited to the target vehicle, but vehicles in general) from the identification 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 341 is realized by a "vehicle extraction model." The vehicle extraction model will be described in FIG. 9. The vehicle extraction unit 341 outputs videos from which vehicles have been extracted (frames including vehicles) from the identification video to the number recognition unit 342 and also to the matching processing unit 343.
[0041] The number recognition unit 342 recognizes the number of the license plate from the video in which the vehicle is extracted by the vehicle extraction unit 341. 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 342 is realized by a "number recognition model." The number recognition model will be described in FIG. 10. The number recognition unit 342 outputs the recognized number to the matching processing unit 343. The number recognition unit 342 also outputs the recognized number to the communication unit 33. As a result, the number of each vehicle is transmitted to the server 2.
[0042] The matching processing unit 343 associates the vehicle extracted by the vehicle extraction unit 341 with the number recognized by the number recognition unit 342. This processing is also referred to as a "matching processing". Specifically, referring again to FIG. 5, a situation in which two vehicles 91, 92 are extracted and two numbers 81, 82 are recognized will be described as an example. The matching processing unit 343 calculates the distance between the number and the vehicle for each number (the distance between the coordinates of the number on the frame and the coordinates of the vehicle). Then, the matching processing unit 343 matches the number with a vehicle with a short distance between the number. In this example, the distance between the number 81 and the vehicle 91 is shorter than the distance between the number 81 and the vehicle 92, so the matching processing unit 343 associates the number 81 with the vehicle 91. Similarly, the matching processing unit 343 associates the number 82 with the vehicle 92. The matching processing unit 343 outputs the result of the matching processing (the vehicle with the associated number) to the target vehicle selection unit 344.
[0043] The target vehicle selection unit 344 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 344 outputs the vehicle selected as the target vehicle to the feature extraction unit 345.
[0044] The feature extraction unit 345 extracts the feature of the target vehicle by analyzing a video including the target vehicle. More specifically, the feature extraction unit 345 calculates the running speed of the target vehicle based on the temporal change of the target vehicle in the frames 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 345 may calculate, for example, the acceleration (deceleration) of the target vehicle. Furthermore, the feature extraction unit 345 extracts information on the appearance (body shape, body color, etc.) of the target vehicle using a known image defect recognition technology. The feature extraction unit 345 outputs the feature (running state and appearance) of the target vehicle to the video cutout unit. Furthermore, the feature extraction unit 345 outputs the feature of the target vehicle to the communication unit 33. As a result, the feature of the target vehicle is transmitted to the server 2.
[0045] Video buffer 346 temporarily stores viewing videos. Video buffer 346 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 viewing videos are stored in video buffer 346 for a predetermined time that can be stored in the storage area. Viewing videos (old videos) that exceed the predetermined time are automatically deleted from video buffer 346.
[0046] The video clipping unit 347 clips out a portion of the viewing video stored in the video buffer 346 that is likely to include the target vehicle, based on the feature values (traveling speed, acceleration, body shape, body color, etc., of the target vehicle) extracted by the feature value extraction unit 345. To explain in more detail, the distance between the point photographed by the identification video shooting unit 31 (recognition camera 13) and the point photographed by the viewing video shooting unit 32 (viewing camera 14) is known. Therefore, if the traveling speed (and acceleration) of the target vehicle is known, the video clipping unit 347 can calculate the time difference between the timing at which the target vehicle is photographed by the identification video shooting unit 31 and the timing at which the target vehicle is photographed by the viewing video shooting unit 32. The video clipping unit 347 calculates the timing at which the target vehicle is photographed by the viewing video shooting unit 32, based on the timing at which the target vehicle is photographed by the identification video shooting unit 31 and the above-mentioned time difference. Then, the video clipping unit 347 clips out a video of a predetermined time width (for example, several seconds to several tens of seconds) including the timing when the target vehicle is photographed from the viewing video stored in the video buffer 346. The video clipping unit 347 outputs the clipped viewing video to the communication unit 33. As a result, the viewing video including the target vehicle is transmitted to the server 2.
[0047] The video clipping unit 347 may clip the viewing video at a predetermined timing, regardless of the feature extracted by the feature extraction unit 345. In other words, the video clipping unit 347 may clip the viewing video captured by the viewing video capturing unit 32 after a predetermined time difference from the timing when the target vehicle is captured by the identification video capturing unit 31.
[0048] 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.
[0049] 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.
[0050] 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), body color, etc.
[0051] The communication unit 42 performs bidirectional communication with the communication unit 33 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. The communication unit 42 also receives a viewing 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. 7.
[0052] The vehicle extraction unit 431 extracts vehicles (not limited to the target vehicle, but vehicles in general) from the viewed video. For this process, a vehicle extraction model can be used, similar to the vehicle extraction process by the vehicle extraction unit 341 of the imaging system 1. The vehicle extraction unit 431 outputs a video from which a vehicle has been extracted (a frame including a vehicle) to the target vehicle identification unit 432.
[0053] 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 (i.e., driving conditions such as driving speed and acceleration, and external 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. 11. 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.
[0054] 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.
[0055] 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.
[0056] 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.
[0057] 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.
[0058] <Pre-trained model> 9 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.
[0059] 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.
[0060] 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.
[0061] 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 .
[0062] 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.
[0063] 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.
[0064] As described above, the estimation model 51 is trained, and the trained estimation model 51 is stored in the vehicle extraction unit 341 (and the vehicle extraction unit 431) as the vehicle extraction model 71. The vehicle extraction model 71 receives an identification video as input, and outputs an identification video from which a vehicle is extracted. For each frame of the identification video, the vehicle extraction model 71 associates the extracted vehicle with the identifier of the frame and outputs the associated vehicle to the matching processing unit 343. The frame identifier is, for example, a timestamp (time information of the frame).
[0065] Fig. 10 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. 9), and therefore detailed description will not be repeated.
[0066] The estimation model 52 for which learning has been completed is stored in the license plate recognition unit 342 as the license plate recognition model 72. The license plate recognition model 72 receives as input the identification video in which a vehicle is extracted by the vehicle extraction unit 341, and outputs the coordinates and number of the license plate. For each frame of the identification video, the license plate recognition model 72 associates the recognized coordinates and number of the license plate with the identifier of the frame and outputs them to the matching processing unit 343.
[0067] FIG. 11 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. 9 and FIG. 10), and therefore detailed description will not be repeated.
[0068] 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 viewed video in which a vehicle is extracted by the vehicle extraction unit 431 and the feature quantities (driving state and appearance) of the target vehicle, and outputs the viewed video in which the target vehicle is identified. For each frame of the viewed video, the target vehicle identification model 73 outputs the identified viewed video to the image processing unit 433 in association with the identifier of the frame.
[0069] 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.
[0070] <Processing flow> Fig. 12 is a flowchart showing the procedure of the vehicle photography processing in this 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 photography system 1, and the right side shows the processing by the server 2. Each step is realized by software processing by the processor 11 or the processor 21, but may also be realized by hardware (electrical circuitry). Hereinafter, step is abbreviated as S.
[0071] In S11, the photography system 1 extracts a vehicle by executing a vehicle extraction process (see FIG. 9) on the identification video. Furthermore, the photography system 1 recognizes the license plate by executing a license plate recognition process (see FIG. 10) on the identification video from which the vehicle has been extracted (S12). The photography system 1 transmits the recognized license plate to the server 2.
[0072] 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 the corresponding vehicle), the server 2 transmits the number of the target vehicle and requests the photography system 1 to transmit a viewing video including the target vehicle (S21).
[0073] 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 feature amount (driving state and appearance) of the target vehicle and transmits the extracted feature amount to the server 2.
[0074] In S16, the photography system 1 cuts out a portion including the target vehicle from the viewing video temporarily stored in the memory 22 (video buffer 346). In this cutting out, the driving state (driving speed, acceleration, etc.) and the appearance (body shape, body color, etc.) of the target vehicle can be used as described above. The photography system 1 transmits the cut-out viewing video to the server 2.
[0075] In S22, the server 2 executes a vehicle extraction process (see FIG. 9) on the viewing video received from the imaging system 1 to extract vehicles.
[0076] In S23, the server 2 identifies a target vehicle from among the vehicles extracted in S22 based on the feature amount (driving state and appearance) of the target vehicle (target vehicle identification process in FIG. 11). It is also possible to use only one of the driving state and appearance of the target vehicle as the feature amount of the target vehicle. However, there is a possibility that a plurality of vehicles having the same body shape and body color are included in the viewing video, or a plurality of vehicles having approximately the same driving speed and acceleration are included. In contrast, in this embodiment, even if a plurality of vehicles having the same body shape and body color are included in the viewing video, 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 plurality of vehicles having approximately the same driving speed and acceleration are included in the viewing video, 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 amount of the target vehicle, the identification accuracy of the target vehicle can be improved.
[0077] 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 345), and may be vehicle information previously stored in the registration information storage unit 412.
[0078] In S24, the server 2 selects an optimal viewing image (best shot) from the viewing 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.
[0079] As described above, in this embodiment, the features (driving information and appearance) of the target vehicle are extracted using an identification video shot from an angle where the number on the license plate can be captured. Then, based on the extracted features, the target vehicle in the viewing video shot from a different angle is identified. In this way, by linking the identification video and the viewing video by the features of the target vehicle, the target vehicle can be identified even if the license plate number of the target vehicle is not captured in the viewing video.
[0080] In the present embodiment, an example has been described in which the image processing is shared between the photographing system 1 and the server 2. Therefore, both the processor 11 of the photographing system 1 and the processor 21 of the server 2 correspond to the "processor" according to the present disclosure. However, the photographing system 1 may perform all image processing and transmit the image-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 system 1 corresponds to the "processor" according to the present disclosure. Alternatively, conversely, the photographing system 1 may transmit all captured videos to the server 2, and the server 2 may perform all image processing. In this case, the processor 21 of the server 2 corresponds to the "processor" according to the present disclosure.
[0081] 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]
[0082] 100 image processing system, 1 shooting system, 11 processor, 12 memory, 121 ROM, 122 RAM, 123 flash memory, 13 recognition camera, 14 viewing camera, 15 communication IF, 2 server, 21 processor, 22 memory, 221 ROM, 222 RAM, 23 input device, 24 display, 25 communication IF, 31 identification video shooting unit, 32 viewing video shooting unit, 33 communication unit, 34 calculation processing unit, 341 vehicle extraction unit, 342 number recognition unit, 343 matching processing unit, 344 target vehicle selection unit, 345 vehicle information analysis unit, 346 video buffer, 347 video cut-out 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 section, 434 Album creation section, 435 Web service management section, 436 Photography system management section, 51, 52, 53 Estimation model, 511, 521, 531 Neural network, 512, 522, 532 Parameters, 61, 62, 63 Learning system, 611, 621, 631 Input section, 612 Extraction section, 622 Recognition section, 632 Identification section, 613, 623, 633 Learning section, 71 Vehicle extraction model, 72 Number recognition model, 73 Target vehicle identification model, 712, 722, 732 Parameters, 81, 82 Number, 9, 91, 92 Vehicle, NW network.
Claims
1. A first camera that is fixed so as not to move relative to the ground and captures images of a plurality of vehicles including a target vehicle from a first angle capable of capturing an image of the license plate; a second camera that is fixed immovably relative to the ground and captures images of the plurality of vehicles while they are moving from a second angle different from the first angle; a processor that acquires first video data captured by the first camera and second video data captured by the second camera; The processor, selecting, as the target vehicle, a vehicle having a license plate number matching the license plate number of the target vehicle from among the plurality of vehicles included in the first video data; Acquire target vehicle information other than the license plate number of the target vehicle from the target vehicle selected in the first video data; The target vehicle information includes information regarding a driving state of the target vehicle and information regarding an external appearance of the target vehicle, The processor further comprises: Based on the target vehicle information, from among the plurality of vehicles included in the second video data, a vehicle that is traveling in a traveling state of the target vehicle and has the same appearance as the target vehicle is identified as the target vehicle; An image processing system that generates an image including the identified target vehicle.
2. The processor, Extracting the plurality of vehicles from the first video data; Recognizing the license plate number of each of the extracted vehicles; 2. The image processing system according to claim 1, wherein each of the extracted vehicles is associated with a license plate number that is closest to the vehicle, and a vehicle having a license plate number that matches the license plate number of the target vehicle is selected as the target vehicle.
3. The method further includes a first memory having a target vehicle specific model stored therein; 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, The image processing system according to claim 1 , wherein the processor identifies the target vehicle from the second video data based on the target vehicle identification model and the target vehicle information.
4. 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 2 , wherein the processor extracts the plurality of vehicles from the first video data using the vehicle extraction model.
5. a third memory in which a number recognition model is stored; The number recognition model is a trained model that inputs a video including a number and outputs the number in the video, The image processing system according to claim 1 , wherein the processor recognizes the number of the license plate from the first video data by using the number recognition model.
6. A computer-implemented image processing method, comprising the steps of: A step of acquiring first video data in which a plurality of vehicles including the target vehicle are photographed from a first angle capable of photographing the license plate by using a first camera fixed so as not to move with respect to the ground; acquiring second video data in which the plurality of vehicles are photographed while traveling from a second angle different from the first angle, using a second camera that is fixed so as not to move relative to the ground; selecting, as the target vehicle, a vehicle having a license plate number matching a license plate number of the target vehicle from among the plurality of vehicles included in the first video data; and acquiring target vehicle information other than the license plate number of the target vehicle from the target vehicle selected in the first video data; The target vehicle information includes information regarding a driving state of the target vehicle and information regarding an external appearance of the target vehicle, The image processing method includes: identifying, as the target vehicle, a vehicle that is traveling in a traveling state of the target vehicle and has the same appearance as the target vehicle, from among the plurality of vehicles included in the second video data, based on the target vehicle information; and generating an image including the identified target vehicle.
Citation Information
Patent Citations
Vehicle verification device, vehicle verification method, and program
JP2009245385A
Vehicle monitoring device
JP2011154630A
Image detection display system and image detection display method
JP2015159520A
Image processing apparatus, image processing system, and image processing method
JP2018060296A
Vehicle photographing support device and program
JP2019121319A
