IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD, AND IMAGE PROCESSING PROGRAM

The image processing device addresses accuracy loss by managing first and second dictionary data with staged time adjustments based on evaluation, maintaining consistent analysis accuracy post-update.

JP7552149B2Active Publication Date: 2024-09-18OKI ELECTRIC INDUSTRY CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2020144806
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-08-28
Publication Date
2024-09-18
Estimated Expiration
2040-08-28

AI Technical Summary

Technical Problem

Existing image processing systems face a decrease in analysis accuracy after updating dictionary data due to mismatch between simulated and actual operation results.

Method used

An image processing device that manages first and second dictionary data with adjustable analysis times based on evaluation of analysis accuracy, gradually transitioning between them to minimize accuracy loss.

Benefits of technology

The solution limits the impact of dictionary data updates on analysis accuracy by staged changes in analysis times, preventing a decrease and ensuring consistent performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007552149000005
    Figure 0007552149000005
  • Figure 0007552149000001
    Figure 0007552149000001
  • Figure 0007552149000004
    Figure 0007552149000004
Patent Text Reader

Abstract

To provide an image processing apparatus which prevents analysis accuracy from being reduced after updating dictionary data, an image processing method, and an image processing program.SOLUTION: An image processing apparatus 1 includes: a control apparatus 2; and a storage apparatus 3 which stores first dictionary data 31 and second dictionary data 32 different from the first dictionary data 31. The control apparatus 2 includes: an image acquisition unit 21 which acquires an image; an analysis unit 23 which analyzes the image on the basis of the first dictionary data 31 for a first analysis time to detect an object, and analyzes the image on the basis of the second dictionary data 32 for a second analysis time to detect the object; an evaluation unit 24 which evaluates analysis accuracy based on the second dictionary data 32; and a modification unit 25 which gradually modifies the first analysis time and the second analysis time on the basis of a result of evaluating the analysis accuracy.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an image processing device, an image processing method, and an image processing program for recognizing an object included in an image. [Background technology]

[0002] Conventionally, image processing devices that recognize vehicles, pedestrians, etc. from images in road traffic are known. Such image processing devices recognize vehicles, pedestrians, etc. from images captured by a camera or the like, using dictionary data learned from a plurality of example images in which vehicles, pedestrians, etc. are recorded. The image processing device improves the accuracy of image analysis by updating the dictionary data. For example, Patent Document 1 discloses an image processing system that updates the dictionary data by receiving input of erroneous recognition or missed recognition from a user. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent No. 5333080 Summary of the Invention [Problem to be solved by the invention]

[0004] In the image processing system of Patent Document 1, before updating the dictionary data, the image processing device evaluates whether the updated dictionary data has an analysis accuracy equal to or higher than a predetermined standard by simulation or the like, and performs the update if the analysis accuracy is calculated to be equal to or higher than the standard. In such an image processing device, depending on the actual operation method, the analysis results of vehicles, pedestrians, etc. based on the updated dictionary data may not be the same as the simulation. For this reason, the analysis accuracy may decrease after updating the dictionary data.

[0005] The present invention has been made to solve the above-mentioned problems, and provides an image processing device, an image processing method, and an image processing program that prevent a decrease in analysis accuracy after updating dictionary data. [Means for solving the problem]

[0006] The image processing device according to the present invention includes a control device and a storage device in which first dictionary data and second dictionary data different from the first dictionary data are stored. The control device includes an image acquisition unit that acquires an image, and an analysis unit that analyzes the image based on the first dictionary data over a first analysis time to detect an object, and analyzes the image based on the second dictionary data over a second analysis time to detect the object. For each environmental condition and time period for which a reference value range is set, depending on whether the number of objects detected using the second dictionary data is within the reference value range under the same conditions, an evaluation unit that evaluates the analysis accuracy based on the second dictionary data; The second dictionary data was used to analyze the time period Based on the results of the analysis accuracy evaluation, The second dictionary data was used to analyze the time period A change unit that changes the first analysis time and the second analysis time in a stepwise manner. The reference value range is set in advance for each environmental condition and time period based on the actual measurement value of the number of objects and the number of objects detected using the first dictionary data, and the evaluation unit evaluates the analysis accuracy only under the environmental condition and time period for which the reference value range is set. . Effect of the Invention

[0007] In the present invention, the image processing device changes the first analysis time and the second analysis time stepwise based on the evaluation result of the analysis accuracy. That is, the image processing device does not completely replace the dictionary data used from the first dictionary data to the second dictionary data, but changes the ratio of the first dictionary data and the second dictionary data used. Therefore, the image processing device can limit the effect of updating the dictionary data on the analysis accuracy and prevent the analysis accuracy from decreasing after updating the dictionary data. [Brief description of the drawings]

[0008] [Figure 1] 1 is a functional block diagram showing an image processing device 1 according to a first embodiment. [Diagram 2] FIG. 2 is a diagram showing a dictionary-in-use table 33 according to the first embodiment. [Diagram 3] FIG. 4 is a diagram for explaining a standard for evaluating the analysis accuracy according to the first embodiment. [Figure 4] FIG. 4 is a diagram for explaining changes in a first analysis time and a second analysis time according to the first embodiment. [Diagram 5] 4 is a flowchart showing an image processing method according to the first embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Embodiment 1 An image processing device 1 according to the first embodiment will be described below with reference to the drawings. FIG. 1 is a functional block diagram showing the image processing device 1 according to the first embodiment. The image processing device 1 according to the first embodiment is a device that performs vehicle detection and traffic volume measurement on a road. As shown in FIG. 1, the image processing device 1 has a control device 2 and a storage device 3. The image processing device 1 is also connected to an imaging device 9. The imaging device 9 is a camera installed on the roadside to capture images of the road, and transmits the captured images to the image processing device 1.

[0010] The control device 2 recognizes an object from an image captured by the imaging device 9, using the first dictionary data 31, the second dictionary data 32, and the used dictionary table 33 stored in the storage device 3. In the case of this embodiment, the object is a vehicle. The control device 2 also recognizes the vehicle by model. The control device 2 is connected to a server (not shown) and can update the dictionary data.

[0011] The control device 2 is composed of a CPU (Central Processing Unit) or an ASIC (Application Specific Integrated Circuit), etc. The control device 2 has an image acquisition unit 21, a condition acquisition unit 22, an analysis unit 23, an evaluation unit 24, and a change unit 25. The image acquisition unit 21, the condition acquisition unit 22, the analysis unit 23, the evaluation unit 24, and the change unit 25 are realized by the CPU or the ASIC, etc. executing a program. The detailed configurations of the image acquisition unit 21, the condition acquisition unit 22, the analysis unit 23, the evaluation unit 24, and the change unit 25 will be described later.

[0012] The storage device 3 stores first dictionary data 31, second dictionary data 32, and a dictionary table 33. The dictionary data is a detection model that learns features of an object based on a plurality of example images including the object. The first dictionary data 31 is dictionary data that has been used since before the dictionary data was updated. The second dictionary data 32 is dictionary data that has been stored in the storage device 3 when the dictionary data was updated. That is, the second dictionary data 32 is dictionary data that has been introduced into the image processing device 1 more recently than the first dictionary data 31. The second dictionary data 32 is, for example, acquired from a server (not shown) connected to the image processing device 1 via the Internet, or input by a user via an input device (not shown).

[0013] FIG. 2 is a diagram showing the used dictionary table 33 according to the first embodiment. The used dictionary table 33 is composed of a time period, a start time, an end time, and used dictionary data. The used dictionary table 33 indicates, based on the current time, whether the control device 2 uses the first dictionary data 31 or the second dictionary data 32. The time periods are broadly classified into early morning, morning, afternoon, evening, and night. Each time period is associated with a plurality of combinations of a start time, an end time, and used dictionary data. The start time and the end time are each stored with a time in minutes. Either the first dictionary data 31 or the second dictionary data 32 is stored as the used dictionary data.

[0014] That is, each record of the dictionary-in-use table 33 corresponds to the first dictionary data 31 or the second dictionary data 32 to be used, from the start time to the end time. Also, the first dictionary data 31 and the second dictionary data 32 are linked to each time period. For example, image analysis is performed using the second dictionary data 32 from 5:00 to 5:20 in the early morning, and image analysis is performed using the first dictionary data 31 from 5:20 to 6:00 in the early morning. Here, the time when the first dictionary data 31 is used is referred to as the first analysis time. Also, the time when the second dictionary data 32 is used is referred to as the second analysis time. That is, the first analysis time in the early morning time period is 40 minutes, and the second analysis time is 20 minutes.

[0015] As described above, the first dictionary data 31 and the second dictionary data 32 are linked to each time period. That is, the first analysis time and the second analysis time exist for each time period. Therefore, when the first analysis time or the second analysis time is simply described, it means the general term of the first analysis time or the second analysis time of each time period. Also, when the time period is supplemented with the description, such as the first analysis time "early morning" or the second analysis time "early morning", it means that it is limited to the corresponding time period. Furthermore, although there may be multiple first analysis times or multiple second analysis times in a specific time period, it means the general term of the first analysis time and the second analysis time included in the time period unless otherwise specified.

[0016] The image acquisition unit 21 acquires an image captured by the imaging device 9. The condition acquisition unit 22 acquires the current time and environmental information. The environmental information is, for example, the weather at the location where the image processing device 1 is installed. The weather information is received from the server, which is broadly classified as, for example, sunny, cloudy, rainy, etc.

[0017] The analysis unit 23 refers to the dictionary table 33 to determine the dictionary data to be used from the current time. The analysis unit 23 also uses the determined dictionary data to analyze the image and detect the object. This allows the image processing device 1 to measure the traffic volume on the road. For example, a convolutional neural network is used to analyze the image.

[0018] The evaluation unit 24 evaluates the analysis accuracy based on the second dictionary data 32. Specifically, the evaluation unit 24 evaluates the analysis accuracy as follows. Fig. 3 is a diagram for explaining the criteria for evaluating the analysis accuracy according to the first embodiment. As shown in Fig. 3, reference value ranges are set for some time periods and weather conditions with respect to the number of vehicles of some vehicle types detected based on the second dictionary data 32.

[0019] The reference value range is set when the second dictionary data is updated. For example, each reference value range is set in advance to a value that is assumed to be able to detect the object more accurately, which is analyzed based on the first dictionary data for the actual measurement value of the object under the same conditions such as the day of the week, the time period, and the weather. For example, when the actual measurement value of the object, which is a large vehicle, is 30, and the number of large vehicles analyzed based on the first dictionary data is 100, the reference value range is set to 10 to 60. Note that the reference value range may be adjusted each time based on the analysis result from a few minutes ago, for example. Also, the reference value range may be set for a plurality of vehicle types.

[0020] The evaluation unit 24 evaluates the analysis accuracy based on the second dictionary data 32 only during the time period and weather conditions for which the reference value range is set. If the number of detected objects is within the reference value range, the evaluation unit 24 evaluates that the analysis accuracy is improved by using the second dictionary data 32 compared to using the first dictionary data 31. For example, according to FIG. 3, if it is sunny in the early morning hours and 10 to 60 large vehicles can be detected per hour, the evaluation unit 24 evaluates that the analysis accuracy is improved by using the second dictionary data 32. Also, if it is cloudy or rainy in the early morning hours, the evaluation unit 24 does not evaluate the analysis accuracy based on the second dictionary data 32. On the other hand, if the number of objects detected based on the second dictionary data 32 is outside the reference value range, the evaluation unit 24 evaluates that the analysis accuracy is reduced by using the second dictionary data 32. In addition, when the reference value range is set for multiple vehicle types, if the number of vehicles of each detected vehicle type is within the corresponding reference value range, it is evaluated that using the second dictionary data 32 will improve the analysis accuracy more than using the first dictionary data 31.

[0021] The change unit 25 changes the first analysis time and the second analysis time stepwise based on the evaluation result of the analysis accuracy. Specifically, when it is evaluated that the analysis accuracy has improved by using the second dictionary data 32, the change unit 25 shortens the first analysis time by one step and lengthens the second analysis time by one step in the time period in which the analysis was performed. Here, one step is N minutes, which corresponds to 1 / n of the second analysis time. On the other hand, when it is evaluated that the analysis accuracy has decreased by using the second dictionary data 32, the change unit 25 lengthens the first analysis time by one step and shortens the second analysis time by one step in the time period in which the analysis was performed. The analysis of the day and the change based on the evaluation are reflected in the storage device 3 so as to be used for the analysis on the next day and thereafter. Note that the first analysis time and the second analysis time are not changed in the time period in which the reference value range is not set and in the case of the weather.

[0022] For example, when it is evaluated that the analysis accuracy is improved by using the second dictionary data 32 in the early morning hours of the day, the change unit 25 delays the end time of the analysis based on the second dictionary data 32 by 5 minutes. At the same time, the change unit 25 delays the start time of the analysis based on the first dictionary data 31 by 5 minutes. That is, the change unit 25 changes the analysis based on the second dictionary data 32 that was performed from 5:00 to 5:20 on the day to be performed from 5:00 to 5:25. Also, the change unit 25 changes the analysis based on the first dictionary data 31 that was performed from 5:20 to 6:00 to be performed from 5:25 to 6:00. As a result, the first analysis time in the early morning of the next day is shortened by 5 minutes, and the second analysis time in the early morning is lengthened by 5 minutes.

[0023] On the other hand, when it is evaluated that the analysis accuracy will decrease by using the second dictionary data 32 in the early morning hours of the day, the change unit 25 advances the end time of the analysis based on the second dictionary data 32 by 5 minutes. At the same time, the change unit 25 advances the start time of the analysis based on the first dictionary data 31 by 5 minutes. That is, the change unit 25 changes the analysis based on the second dictionary data 32, which was performed from 5:00 to 5:20 on the day, to be performed from 5:00 to 5:15. Also, the change unit 25 changes the analysis based on the first dictionary data 31, which was performed from 5:20 to 6:00, to be performed from 5:15 to 6:00. As a result, the first analysis time in the early morning of the next day is extended by 5 minutes, and the second analysis time in the early morning is shortened by 5 minutes.

[0024] If there are multiple first analysis times or multiple second analysis times in a particular time period, the evaluation unit 24 performs evaluation for each second analysis time. Then, the change unit 25 changes the second analysis time for which evaluation has been performed and the first analysis time subsequent to this second analysis time. For example, as shown in FIG. 3, the second analysis time from 9:00 to 10:00 and the first analysis time from 10:00 to 12:00 are changed depending on the result of the analysis accuracy in the second analysis time from 9:00 to 10:00 in the daytime.

[0025] 4 is a diagram for explaining changes in the first analysis time and the second analysis time according to the first embodiment. As shown in FIG. 4, when the analysis accuracy is improved by using the second dictionary data 32, the proportion of the first analysis time T1 decreases and the proportion of the second analysis time T2 increases as days pass. Eventually, all the dictionary data used by the analysis unit 23 is switched to the second dictionary data 32.

[0026] FIG. 5 is a flowchart showing an image processing method according to the first embodiment. The operation of the image processing device 1 will be described with reference to FIG. 5. The image processing method is executed by the control device 2 according to an image processing program. First, the image acquisition unit 21 executes an image acquisition step of acquiring an image from the imaging device 9 (S1). The condition acquisition unit 22 executes a condition acquisition step of acquiring the current time and environmental information (S2). Next, the analysis unit 23 refers to the dictionary table 33 to determine whether the current time corresponds to the time to perform analysis using the second dictionary data 32 (S3). If the current time corresponds to the time to perform analysis using the first dictionary data 31 (S3: NO), the analysis unit 23 executes a first analysis step of performing analysis using the first dictionary data 31 stored in the storage device 3 (S4).

[0027] If the current time corresponds to the time when the analysis is performed using the second dictionary data 32 (S3: YES), the analysis unit 23 executes a second analysis step of performing an analysis using the second dictionary data 32 stored in the storage device 3 (S5). Next, the evaluation unit 24 executes a compilation step of compiling the analysis results during the time (S6). Then, an evaluation step of evaluating the analysis accuracy based on the second dictionary data 32 is executed (S7). If it is determined that the analysis accuracy is reduced (S7: NO), the change unit 25 executes a modification step of lengthening the first analysis time by one step and shortening the second analysis time by one step (S8). On the other hand, if it is determined that the analysis accuracy is improved (S7: YES), the change unit 25 executes a modification step of shortening the first analysis time by one step and lengthening the second analysis time by one step (S9).

[0028] In the first embodiment, the image processing device 1 changes the first analysis time and the second analysis time in a stepwise manner based on the evaluation result of the analysis accuracy. That is, the image processing device 1 does not completely replace the dictionary data used from the first dictionary data 31 to the second dictionary data 32, but changes the ratio at which the dictionary data is used between the first dictionary data 31 and the second dictionary data 32. Therefore, the image processing device 1 can limit the effect of updating the dictionary data on the analysis accuracy and prevent the analysis accuracy from decreasing after updating the dictionary data.

[0029] Moreover, the image processing device 1 switches between the first dictionary data 31 and the second dictionary data 32 at different times. Therefore, the image processing device 1 does not need to parallelize a plurality of dictionary data using a server or the like, and can update the dictionary data in a single device.

[0030] The image processing device 1 in the embodiment has been described above, but the image processing device 1 of the present invention can be modified in various ways in addition to the configuration disclosed in the embodiment.

[0031] For example, the image processing device 1 may be used for purposes other than traffic volume measurement by replacing the dictionary data with data learned from objects other than vehicles. Objects other than vehicles include, for example, pedestrians on the road.

[0032] The changes to the first analysis time and the second analysis time may be reflected in the storage device 3 immediately after the analysis accuracy is evaluated. Furthermore, based on the evaluation of the analysis accuracy in a specific time period, the second analysis time may be changed in other time periods or in all time periods. For example, if it is evaluated that the analysis accuracy is improved by using the second dictionary data 32 in the early morning time period, the second analysis time in the daytime may also be lengthened.

[0033] Furthermore, when there are a plurality of first analysis times or a plurality of second analysis times in a particular time period, the change unit 25 may change a first analysis time other than the second analysis time at which the evaluation was performed and a first analysis time subsequent to the second analysis time. That is, the change unit 25 may change other first analysis times and second analysis times that are not subsequent to the second analysis time in the same time period as the second analysis time at which the evaluation was performed, or all first analysis times and second analysis times in the same time period as the second analysis time at which the evaluation was performed.

[0034] However, if it is evaluated that the analysis accuracy is reduced by using the second dictionary data 32, the change unit 25 may maintain the second analysis time instead of shortening it.

[0035] The image processing device 1 may also include a detection unit that detects the weather. Furthermore, the image processing device 1 may be configured integrally with the imaging device 9.

[0036] Furthermore, the first dictionary data 31, the second dictionary data 32, and the used dictionary table 33 may be stored not in the storage device 3 but in a cloud server or the like external to the image processing device 1. [Explanation of symbols]

[0037] REFERENCE SIGNS LIST 1 image processing device, 2 control device, 3 storage device, 9 imaging device, 21 image acquisition section, 22 condition acquisition section, 23 analysis section, 24 evaluation section, 25 change section, 31 first dictionary data, 32 second dictionary data, 33 used dictionary table.

Claims

1. A control device; a storage device in which first dictionary data and second dictionary data different from the first dictionary data are stored; The control device includes: an image acquisition unit that acquires an image; an analysis unit that analyzes the image based on the first dictionary data over a first analysis time to detect an object, and analyzes the image based on the second dictionary data over a second analysis time to detect the object; an evaluation unit that evaluates the analysis accuracy based on the second dictionary data according to whether or not the number of the objects detected using the second dictionary data is within the reference value range under the same conditions for each environmental condition and time period for which a reference value range is set; and a change unit that gradually changes the first analysis time and the second analysis time for each time period in which analysis is performed using the second dictionary data, based on an evaluation result of the analysis accuracy for each time period in which analysis is performed using the second dictionary data, the reference value range is set in advance for each of the environmental conditions and the time period based on an actual measurement value of the number of objects and the number of objects detected by using the first dictionary data, The evaluation unit evaluates the analysis accuracy only under the environmental conditions and the time period for which the reference value range is set. Image processing device.

2. The change unit is When the number of the objects detected based on the second dictionary data during the time period in which the analysis was performed using the second dictionary data is evaluated to be within the reference value range, the first analysis time is shortened by one step and the second analysis time is lengthened by one step during the time period evaluated to be within the reference value range. The image processing device according to claim 1 .

3. The change unit is When the number of the objects detected based on the second dictionary data during the time period in which the analysis was performed using the second dictionary data is evaluated to be outside the reference value range, the first analysis time is lengthened by one step and the second analysis time is shortened by one step during the time period in which the number of the objects detected based on the second dictionary data is evaluated to be within the reference value range.

3. The image processing device according to claim 1 or 2.

4. The storage device includes: a dictionary table that includes a time period, a start time, an end time, and dictionary data, and indicates whether the analysis unit will perform analysis based on the first dictionary data or the second dictionary data, based on a current time, is stored; During each of the aforementioned time periods, The first analysis time and the second analysis time are included. The image processing device according to any one of claims 1 to 3.

5. The evaluation unit is The accuracy of the analysis is evaluated for each time period. The image processing device according to claim 4.

6. an image acquisition step of acquiring an image; a first analysis step of analyzing the image based on first dictionary data for a first analysis time to detect an object; a second analysis step of analyzing the image based on second dictionary data different from the first dictionary data for a second analysis time to detect the object; an evaluation step of evaluating the accuracy of analysis based on the second dictionary data according to whether or not the number of the objects detected using the second dictionary data is within the reference value range under the same conditions for each environmental condition and time period for which a reference value range is set; and a change process of gradually changing the first analysis time and the second analysis time for each of the time periods in which the analysis is performed using the second dictionary data, based on an evaluation result of the evaluation process for each of the time periods in which the analysis is performed using the second dictionary data, the reference value range is set in advance for each of the environmental conditions and the time period based on an actual measurement value of the number of objects and the number of objects detected by using the first dictionary data, In the evaluation step, the analysis accuracy is evaluated only under the environmental conditions and the time period in which the reference value range is set. Image processing methods.

7. an image acquisition step of acquiring an image; a first analysis step of analyzing the image based on first dictionary data for a first analysis time to detect an object; a second analysis step of analyzing the image based on second dictionary data different from the first dictionary data for a second analysis time to detect the object; an evaluation step of evaluating the accuracy of analysis based on the second dictionary data according to whether or not the number of the objects detected using the second dictionary data is within the reference value range under the same conditions for each environmental condition and time period for which a reference value range is set; a change step of gradually changing the first analysis time and the second analysis time for each time period in which analysis is performed using the second dictionary data, based on an evaluation result of the evaluation step for each time period in which analysis is performed using the second dictionary data; the reference value range is set in advance for each of the environmental conditions and the time period based on an actual measurement value of the number of objects and the number of objects detected by using the first dictionary data, In the evaluation step, the analysis accuracy is evaluated only under the environmental conditions and the time period in which the reference value range is set. Image processing program.

Citation Information

Patent Citations

  • Light emitting semiconductor device and its production

    JP1978033080A

  • Image processing device, image processing method, program and storage medium

    JP2020008899A