Method for generating improved learning data video and device therefor

By applying multiple recognition techniques and active learning to generate improved learning data, the method enhances the object recognition rate of autonomous vehicles, addressing inaccuracies in existing object recognition systems.

JP2024118457AActive Publication Date: 2024-08-3042DOT INC
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2024022949
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-21
Filing Date
2024-02-19
Publication Date
2024-08-30
Estimated Expiration
2044-02-19

AI Technical Summary

Technical Problem

Existing autonomous vehicles face limitations in accurately recognizing objects on the road due to variations in object features and the processing capabilities of installed modules, leading to inaccuracies in object recognition and distance estimation using cameras, radar, and lidar, which are influenced by environmental factors and cost constraints.

Method used

A method involving the application of at least two recognition techniques to a first image obtained while driving, integrating detected frames, and generating a second video by sampling these frames to improve object recognition, using algorithms like YoloV4-CSP and YoloV4-P7, and incorporating active learning to enhance the object recognition rate.

Benefits of technology

The method generates learning data that significantly improves the object recognition rate of autonomous vehicles by leveraging multiple recognition techniques and active learning, overcoming limitations of single-model performance and environmental influences.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024118457000001
    Figure 2024118457000001
Patent Text Reader

Abstract

To provide a method and device for generating an improved learning data video.SOLUTION: A method includes a step S1410 for applying at least two or more recognition techniques to a first video acquired during travel to recognize an object included in the first video, a step S1430 for applying at least two or more detection techniques to a result of recognizing the object to detect frames by applied detection techniques, a step S1450 for integrating detected frames to generate a frame set including a plurality of frames, and a step S1470 for sampling the integrated frame set to generate a second video.SELECTED DRAWING: Figure 14
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a method for generating training data images, and more particularly, to an improved method for generating training data for improving the ability of an autonomous vehicle capable of recognizing objects and operating autonomously to recognize objects on a road while driving, and an apparatus for implementing the method. [Background technology]

[0002] The fusion of information and communication technology and the automotive industry is rapidly making vehicles smarter. As vehicles become smarter, they are evolving from simple mechanical devices to smart cars, with self-driving in particular attracting attention as a core technology for smart cars. Autonomous driving is a technology in which an autonomous driving module installed in a vehicle actively controls the vehicle's driving state, allowing the vehicle to reach its destination by itself, without the driver having to operate the steering wheel, accelerator pedal, brakes, etc.

[0003] In order to ensure the safe autonomous driving of autonomous vehicles, various research efforts have been conducted on methods for vehicles to accurately recognize pedestrians and other vehicles during the autonomous driving process and calculate the distance to recognized objects. However, the characteristics of objects that can appear on the road while the vehicle is traveling are virtually infinite, and there are limitations to the processing capabilities of the modules installed in autonomous vehicles, so there is currently no known method for perfectly recognizing objects on the road.

[0004] In the case of object recognition and distance estimation using cameras, objects in the real 3D world are projected onto a 2D image, resulting in a large loss of information about distance. In particular, the features often used to calculate pedestrian positions (pedestrian height and points of contact with the ground) have a large variance, resulting in large errors.

[0005] In the case of object recognition and distance estimation using RADAR, due to the characteristics of the radio waves used by the radar, it is poor at quickly identifying and classifying objects, making it difficult to determine whether an object is a pedestrian or a vehicle. In particular, in the case of pedestrians and two-wheeled vehicles (bicycles and motorcycles) on the road, the recognition results tend to be even worse due to weak signal strength.

[0006] In recent years, object recognition and distance estimation technology using LiDAR has been attracting attention due to its relatively high accuracy. However, because high-power lasers can be dangerous, LiDAR must operate based on lower-power lasers. Unlike the radio waves used by radar, lasers are greatly affected by the surrounding environment. Additionally, the high cost of LiDAR sensors is pointed out as a limitation.

[0007] The above-mentioned background art is technical information possessed by the inventor for the purpose of deriving the present invention or acquired in the process of deriving the present invention, and is not necessarily publicly known art that was disclosed to the general public prior to the filing of the application of the present invention. [Prior art documents] [Patent documents]

[0008] [Patent Document 1] Korean Patent Registration No. 10-2438114 (August 25, 2022) Summary of the Invention [Problem to be solved by the invention]

[0009] The technical problem to be solved by the present invention is to provide a method for generating improved training data images. [Means for solving the problem]

[0010] A method according to one embodiment of the present invention for solving the above technical problems includes a step of applying at least two or more recognition techniques to a first image acquired while driving to recognize objects included in the first image, a step of applying at least two or more detection techniques to the results of the object recognition to detect frames for each of the applied detection techniques, a step of integrating the detected frames to generate a frame set including a plurality of frames, and a step of sampling the integrated frame set to generate a second image.

[0011] In the method, the step of generating the second image includes a step of generating a frame group including at least one frame and non-overlapping frames based on the integrated frame set, and a step of extracting frames for each frame group to generate the second image.

[0012] In the method, generating the second image includes extracting one frame from each of the frame groups to generate the second image.

[0013] In the method, generating the second image includes extracting, for each frame group, a number of frames corresponding to a weight set for each frame group to generate the second image.

[0014] In the method, the weight set for each of the frame groups may be a value determined based on the number of frames included in each frame group.

[0015] In the above method, in the step of generating the second image, frames included in the integrated frame set can be sampled based on a predetermined time interval to extract a plurality of frames, and the second image can be generated using the extracted frames.

[0016] In the method, in the step of generating the integrated frame set, frames detected as overlapping among frames detected for each detection technique may be identified, and in the step of generating the second image, the second image may be generated by essentially including the frames detected as overlapping.

[0017] In the method, in the step of recognizing an object included in the first image, a first recognition technique and a second recognition technique may be applied to recognize the object included in the first image, and the first recognition technique may be an algorithm for recognizing the object in the first image based on YoloV4-CSP, and the second recognition technique may be an algorithm for recognizing the object in the first image based on YoloV4-P7.

[0018] In the method, the at least two or more recognition techniques may include a first recognition technique and a second recognition technique, and the at least two or more detection techniques may include a detection technique that detects a frame based on a result of comparing frames of objects recognized by the first recognition technique and the second recognition technique, respectively.

[0019] In the method, the at least two or more detection techniques may include a detection technique that detects a frame based on the result of detecting that an object recognized from the first image has disappeared for a predetermined period of time and then reappeared.

[0020] An apparatus according to another embodiment of the present invention for solving the above technical problems includes a memory storing at least one program, and a processor that performs calculations by executing the at least one program, wherein the processor applies at least two or more recognition techniques to a first image acquired while driving to recognize objects included in the first image, applies at least two or more detection techniques to a result of the object recognition to detect frames for each of the applied detection techniques, integrates the detected frames to generate a frame set including a plurality of frames, and samples the integrated frame set to generate a second image.

[0021] A method according to one embodiment of the present invention for solving the above technical problem includes the steps of recognizing an object from an image, identifying a first frame in which the object is recognized and a second frame in which the object is not recognized, generating a first outer contour of the object in the first frame and obtaining coordinates of a first cuboid of the object based on first coordinate values ​​constituting the first outer contour, determining whether the object should be recognized in the second frame and generating a second outer contour of the object in the second frame based on the result of the determination, calculating a conversion relationship value between the first coordinate values ​​constituting the first outer contour and second coordinate values ​​constituting the second outer contour, and applying the conversion relationship value to the coordinates of the first cuboid to calculate the coordinates of a second cuboid of the object in the second frame.

[0022] An apparatus according to another embodiment of the present invention for solving the above technical problem includes a memory having at least one program stored therein, and a processor that performs calculations by executing the at least one program, wherein the processor recognizes an object from an image, identifies a first frame in which the object is recognized and a second frame in which the object is not recognized, generates a first outer contour of the object in the first frame, obtains coordinates of a first cuboid of the object based on first coordinate values ​​constituting the first outer contour, determines whether the object should be recognized in the second frame, generates a second outer contour of the object in the second frame based on a result of the determination, calculates a conversion relationship value between the first coordinate values ​​constituting the first outer contour and second coordinate values ​​constituting the second outer contour, and calculates the coordinates of a second cuboid of the object in the second frame by applying the conversion relationship value to the coordinates of the first cuboid.

[0023] A method according to one embodiment of the present invention for solving the above technical problems includes the steps of recognizing an object included in an image using a first recognition algorithm that recognizes an object for each frame of the image, forming a track from a plurality of frames included in the image and recognizing the object using a second recognition algorithm that recognizes the object included in the track, comparing a result of recognizing the object using the first recognition algorithm and a result of recognizing the object using the second recognition algorithm, and correcting the results of recognizing the object of the image using the first recognition algorithm and the second recognition algorithm based on the result of the comparison.

[0024] An apparatus according to another embodiment of the present invention for solving the above technical problems includes a memory having at least one program stored therein, and a processor that performs calculations by executing the at least one program, wherein the processor recognizes an object included in an image using a first recognition algorithm that recognizes an object for each frame of the image, forms a track with a plurality of frames included in the image, recognizes the object using a second recognition algorithm that recognizes an object included in the track, compares a result of recognizing the object using the first recognition algorithm and a result of recognizing the object using the second recognition algorithm, and corrects a result of recognizing the object in the image using the first recognition algorithm and the second recognition algorithm based on a result of the comparison.

[0025] An embodiment of the present invention can provide a computer-readable recording medium storing a program for executing the above method. Effect of the Invention

[0026] According to the present invention, video images are captured while the autonomous vehicle is traveling using a camera attached to the autonomous vehicle, and learning data that can improve the object recognition rate of the autonomous vehicle can be obtained.

[0027] In particular, the learning data generated by the present invention can enable the object recognition rate of an object recognition device for an autonomous vehicle to be trained more efficiently than existing learning data. [Brief description of the drawings]

[0028] [Figure 1] FIG. 2 is a diagram for explaining an autonomous driving method according to an embodiment. [Diagram 2] FIG. 2 is a diagram for explaining an autonomous driving method according to an embodiment. [Diagram 3] FIG. 2 is a diagram for explaining an autonomous driving method according to an embodiment. [Figure 4A]FIG. 2 is a diagram of a camera capturing images of the exterior of a vehicle according to one embodiment. [Figure 4B] FIG. 2 is a diagram of a camera capturing images of the exterior of a vehicle according to one embodiment. [Diagram 5] FIG. 2 is a schematic diagram illustrating an object recognition method according to an embodiment. [Figure 6] FIG. 2 is a diagram conceptually illustrating a method for improving the object recognition rate of an autonomous vehicle in accordance with an embodiment of the present invention. [Figure 7A] 4 is a diagram illustrating a filtering process performed in an object recognition rate improving device according to an embodiment of the present invention. [Figure 7B] 4 is a diagram illustrating a filtering process performed in an object recognition rate improving device according to an embodiment of the present invention. [Figure 7C] 4 is a diagram illustrating a filtering process performed in an object recognition rate improving device according to an embodiment of the present invention. [Figure 8] FIG. 11 is a diagram illustrating a process in which active learning is applied to improve the object recognition rate of an autonomous vehicle according to another embodiment of the present invention. [Figure 9] 2 is a flowchart illustrating an example of a method for improving an object recognition rate according to the present invention. [Figure 10] 11 is a diagram illustrating a method for improving an object recognition rate according to another embodiment of the present invention. [Figure 11] 11 is a flow chart showing a method for improving an object recognition rate according to the embodiment described in FIG. [Figure 12] FIG. 2 is a conceptual diagram conceptually illustrating an example of a method for generating improved training data images according to the present invention. [Figure 13] FIG. 13 is a diagrammatic illustration of an expanded concept of the embodiment described in FIG. 12. [Figure 14] 4 is a flowchart illustrating an example of a second image generating method according to the present invention. [Figure 15] FIG. 2 is a block diagram of a second image generating device according to an embodiment. [Figure 16] 11 is a flow chart showing a method for improving an object recognition rate according to the embodiment described in FIG. [Figure 17] FIG. 2 is a diagram for explaining cuboids of objects in an image according to the present invention. [Figure 18] FIG. 2 is a schematic diagram for illustrating a method for obtaining a cuboid of an object in an image according to the present invention. [Figure 19] 1 is a diagram for explaining a linear mapping method performed by a cuboid acquisition device according to the present invention; [Figure 20] 11A to 11C are diagrams for explaining another example of a linear mapping method performed by the cuboid acquisition device according to the present invention. [Figure 21] 1 is a flowchart showing an example of a cuboid obtaining method according to the present invention. [Figure 22] FIG. 2 is a block diagram of a cuboid acquisition device according to one embodiment. [Figure 23] 1 is a schematic diagram for explaining a method for improving an object recognition rate according to the present invention; [Figure 24] FIG. 24 is a diagram for explaining the processing process after the track registration explained in step S2380 of FIG. [Diagram 25] FIG. 24 is a diagram for explaining the processing process after the track deletion described in step S2360 of FIG. [Figure 26] 2 is a flowchart illustrating an example of a method for improving an object recognition rate according to the present invention. [Figure 27] 1 is a block diagram of an object recognition rate improving apparatus according to an embodiment; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0029] Since the present invention can be modified in various ways and has various embodiments, specific embodiments are illustrated in the drawings and described in detail in the detailed description. The effects and features of the present invention, as well as methods for achieving them, will become apparent by referring to the embodiments described in detail below together with the drawings. However, the present invention is not limited to the embodiments disclosed below, and can be realized in various forms.

[0030] Hereinafter, an embodiment of the present invention will be described in detail with reference to the accompanying drawings. In the description with reference to the drawings, the same or corresponding components are given the same reference numerals, and duplicate descriptions thereof will be omitted.

[0031] In the following embodiments, the terms "first", "second", etc. are not used in a limiting sense but are used for the purpose of distinguishing one component from another component.

[0032] In the following embodiments, singular expressions include plural expressions unless otherwise clearly indicated in the context.

[0033] In the following embodiments, terms such as "comprise" and "have" mean the presence of features or components described in the specification, and do not preclude the possibility that one or more other features or components may be added.

[0034] Certain steps may be performed in a different order than described, if different implementations are possible in certain embodiments. For example, two steps described as successive may be performed substantially simultaneously or may be performed in the reverse order from that described.

[0035] 1 to 3 are diagrams for explaining an autonomous driving method according to an embodiment.

[0036] Referring to FIG. 1, an autonomous driving device according to an embodiment of the present invention can be mounted on a vehicle to realize an autonomous vehicle 10. The autonomous driving device mounted on the autonomous vehicle 10 may include various sensors for collecting surrounding situation information. As an example, the autonomous driving device may detect the movement of a leading vehicle 20 traveling ahead using an image sensor and / or an event sensor mounted on the front of the autonomous vehicle 10. The autonomous driving device may further include sensors for detecting other vehicles 30 traveling on adjacent roads as well as in front of the autonomous vehicle 10, pedestrians around the autonomous vehicle 10, and the like.

[0037] At least one of the sensors for collecting situational information around the autonomous vehicle can have a predetermined field of view (FoV) as shown in Fig. 1. As an example, when a sensor mounted on the front of the autonomous vehicle 10 has a field of view (FoV) as shown in Fig. 1, information detected at the center of the sensor can have a relatively high importance. This is because most of the information corresponding to the movement of the leading vehicle 20 is included in the information detected at the center of the sensor.

[0038] The autonomous driving device processes information collected by sensors of the autonomous vehicle 10 in real time to control the movement of the autonomous vehicle 10, while at least a portion of the information collected by the sensors can be stored in a memory device.

[0039] 2, the autonomous driving device 40 may include a sensor unit 41, a processor 46, a memory system 47, a vehicle control module 48, etc. The sensor unit 41 includes a plurality of sensors 42-45, which may include an image sensor, an event sensor, an illuminance sensor, a GPS device, an acceleration sensor, etc.

[0040] The data collected by the sensors 42 to 45 may be transmitted to the processor 46. The processor 46 can store the data collected by the sensors 42 to 45 in the memory system 47 and control the body control module 48 to determine the movement of the vehicle based on the data collected by the sensors 42 to 45. The memory system 47 may include two or more memory devices and a system controller for controlling the memory devices. Each of the memory devices may be provided as a single semiconductor chip.

[0041] In addition to the system controller of memory system 47, each of the memory devices included in memory system 47 may include a memory controller, and the memory controller may include an artificial intelligence (AI) calculation circuit such as a neural network. The memory controller can generate calculation data by applying a predetermined weight to data received from sensors 42 to 45 or processor 46, and store the calculation data in a memory chip.

[0042] Fig. 3 is a diagram showing an example of image data acquired by a sensor of an autonomous vehicle equipped with an autonomous driving device. Referring to Fig. 3, image data 50 may be data acquired by a sensor attached to the front of the autonomous vehicle. Thus, image data 50 may include a front portion 51 of the autonomous vehicle, a preceding vehicle 52 on the same road as the autonomous vehicle, vehicles 53 traveling around the autonomous vehicle, and a non-interest area 54.

[0043] 3, the data of the area in which the front part 51 of the autonomous vehicle and the area of ​​non-interest 54 are displayed may be data that is unlikely to affect the operation of the autonomous vehicle. In other words, the front part 51 of the autonomous vehicle and the area of ​​non-interest 54 may be considered to be data with relatively low importance.

[0044] In contrast, the distance to the preceding vehicle 52, lane-changing movements of the moving vehicle 53, and the like can be very important factors in the safe operation of an autonomous vehicle. Therefore, in the video data 50, data of an area including the preceding vehicle 52 and the moving vehicle 53 can have a relatively high degree of importance in the operation of the autonomous vehicle.

[0045] The memory device of the autonomous driving device can store the image data 50 received from the sensor by assigning different weights to each area. For example, a high weight can be assigned to data of an area including a leading vehicle 52 and a moving vehicle 53, and a low weight can be assigned to data of an area including a front part 51 of the autonomous driving vehicle and an area of ​​no interest 54.

[0046] 4A and 4B are diagrams of a camera capturing images of the exterior of a vehicle according to one embodiment.

[0047] The camera is mounted on the vehicle and can capture the outside of the vehicle. The camera can capture the front, side, rear, etc. of the vehicle. The object recognition rate improving device according to the present invention can obtain a plurality of images captured by the camera. The plurality of images captured by the camera may include a plurality of objects.

[0048] Information about an object includes object type information and object attribute information. Here, object type information is index information indicating the type of an object and is composed of a group, which is a broad range, and a class, which is a finer range. Also, object attribute information indicates attribute information related to the current state of an object and includes motion information, rotation information, traffic information, color information, visibility information, etc.

[0049] In one embodiment, the groups and classes included in the object type information are as shown in Table 1 below, but are not limited thereto. [Table 1]

[0050] The motion information indicates motion information of an object, and can be defined as stopped, parked, moving, etc. In the case of a vehicle, stopped, parked, or moving can be determined as object attribute information, in the case of a pedestrian, moving, stopped, or unknown can be determined as object attribute information, and in the case of a stationary object such as a traffic light, the default value of stillness can be determined as object attribute information.

[0051] Rotation information indicates rotation information of an object, and can be defined as front, rear, horizontal, vertical, side, etc. In the case of a vehicle, the front, rear, and side can be determined as object attribute information, and for a horizontal or vertical traffic light, the horizontal or vertical can be determined as object attribute information, respectively.

[0052] Traffic information means traffic information of an object, and can be defined as traffic sign instructions, cautions, regulations, auxiliary signs, etc. Color information means color information of an object, and can indicate the color of an object, the color of a traffic light, and the color of a traffic sign.

[0053] 4A, the object 411 may be a pedestrian. The image 410 may have a predetermined size. The same object 411 may be included in multiple images 410, but the relative position between the vehicle and the object 411 continues to change as the vehicle travels along the road, and the object 411 also moves over time, so that the position of the same object 411 changes in each image.

[0054] Using the entire image to determine what the same object is in each image requires a lot of data transmission and computation, which makes edge computing in vehicle-mounted devices difficult to process and makes real-time analysis difficult.

[0055] 4B shows a bounding box 421 included in an image 420. A bounding box is metadata related to an object, and bounding box information may include object type information (group, class, etc.), position information on the image 420, size information, etc.

[0056] Referring to FIG. 4B, the bounding box information may include information that the object 411 corresponds to a pedestrian class, information that the top left vertex of the object 411 is located at (x, y) on the image, information that the size of the object 411 is w×h, and current state information (i.e., motion information) that the object 411 is moving.

[0057] FIG. 5 is a schematic diagram illustrating an object recognition method according to an embodiment.

[0058] The object recognition rate improving apparatus may obtain a plurality of frames by separating a video captured by a camera into frames. The plurality of frames may include a previous frame 510 and a current frame 520.

[0059] The object recognition rate improver can recognize a first pedestrian object 511 in a previous frame 510 .

[0060] In one embodiment, the object recognition rate improving device divides a frame into grids of equal size, predicts the number of bounding boxes specified in a predefined form centered on the center of each grid for each grid, and calculates the confidence based on the predicted number. The object recognition rate improving device determines whether an object is included in a frame or whether only the background is included, and selects a position having a high object confidence to determine an object category, thereby recognizing an object. However, the method of recognizing an object in the present disclosure is not limited thereto.

[0061] The object recognition rate improving device may obtain first position information of a first pedestrian object 511 recognized in a previous frame 510. As described above with reference to FIGs. 4A and 4B, the first position information may include coordinate information of any one vertex (e.g., the vertex at the top left corner) and length and width information of a bounding box corresponding to the first pedestrian object 511 on the previous frame 510.

[0062] In addition, the object recognition rate improving device may obtain second position information of a second pedestrian object 521 recognized in the current frame 520 .

[0063] The object recognition rate improvement device can calculate a similarity between first position information of a first pedestrian object 511 recognized in a previous frame 510 and second position information of a second pedestrian object 521 recognized in a current frame 520.

[0064] 5, the object recognition rate improving device can use the first location information and the second location information to calculate the intersection and union of the first pedestrian object 511 and the second pedestrian object 521. The object recognition rate improving device can calculate a value of the intersection area for the union area, and determine that the first pedestrian object 511 and the second pedestrian object 521 are the same pedestrian object if the calculated value is equal to or greater than a threshold.

[0065] However, the method for determining the identity between objects is not limited to the above-mentioned method.

[0066] FIG. 6 is a diagram conceptually illustrating a method for improving object recognition rate of an autonomous vehicle, according to one embodiment of the present invention.

[0067] To summarize one embodiment of the present invention with reference to FIG. 6, one embodiment of the present invention can be understood as inputting raw data 610 into a first model 620 and a second model 630, causing a variation data calculation module 640 to receive and process the result data calculated by each model to calculate variation data 645, and causing a weakness point analysis module 650 to receive and analyze the calculated variation data 645 to grasp weakness points.

[0068] More specifically, in the present invention, raw data 610 refers to video collected by a camera module mounted on an autonomous vehicle. In particular, the raw data 610 is video data that has not been pre-processed after being generated by the camera module, and is composed of a plurality of frames, and the frame rate may be, but is not limited to, 30 or 60 frames per second.

[0069] The first model 620 refers to a model that is installed in an autonomous vehicle, receives the raw data 610 as input data, and outputs the results of recognizing objects contained in the raw data 610 as output data.

[0070] The second model 630 is a model included in a server, and similar to the first model 620, receives the raw data 610 as input data and outputs the results of recognizing objects included in the raw data 610 as output data. Compared to the first model 620, which has low performance due to limited resources, the second model 630 can be a high-performance model that can use sufficient resources based on a large memory.

[0071] The camera module of the autonomous vehicle is controlled such that the collected raw data 610 is transmitted via the communication module to not only the first model 620 but also the second model 630 for processing.

[0072] The output data output from the first model 620 and the second model 630 may include at least one of information regarding the relative positions, sizes, and directions of vehicles, pedestrians, etc. included in each frame of the video.

[0073] In the present invention, the first model 620, being installed in an autonomous vehicle, has relatively limited resources and operates in a limited environment compared to the second model 630. Due to the difference in scale of the models, information regarding the number and type of objects recognized from an image when the raw data 610 is input to the second model 630 may be improved information compared to information regarding the number and type of objects recognized from an image when the raw data 610 is input to the first model 620.

[0074] [Table 2] [Table 3] Tables 2 and 3 are examples of numerically expressing the performance of the first model 620 and the second model 630. More specifically, Table 2 shows the object recognition rate when YoloV4-CSP is adopted as the first model 620, and Table 3 shows the object recognition rate when YoloV4-P7 is adopted as the second model 630. Comparing Tables 2 and 3, it can be seen that the recognition rates of YoloV4-P7 as objects included in the raw data 610, such as cars, pedestrians, trucks, buses, two-wheelers, and miscellaneous objects, are generally superior to YoloV4-CSP.

[0075] Since Tables 2 and 3 are illustrative examples of the performance of the first model 620 and the second model 630 in numerical form, the first model 620 and the second model 630 in the present invention are not limited to YoloV4-CSP and YoloV4-P7 described in Tables 2 and 3, respectively.

[0076] The variability data calculation module 640 may calculate variability data 645 by analyzing the output data of the first model 620 and the second model 630. The variability data 645 means data on the variability between the result of inputting the raw data 610 to the first model 620 and the result of inputting the raw data 610 to the second model 630, and more specifically, may be calculated by comparing the same frames. For example, when the raw data 610 is video data consisting of 10 frames, the variability data 645 may be a result of calculating the variability by comparing the result of inputting the first frame of the raw data 610 to the first model 620 and the result of inputting the first frame of the raw data 610 to the second model 630.

[0077] The variance data calculation module 640 calculates the IoU value (Intersection over Union Value) of bounding boxes between frames constituting the raw data 610, matches the bounding boxes having the maximum IoU, and determines the bounding box detected only in the output data of the second model 630 as a weak point target from the matching result, and transmits it to the weak point analysis module. The method in which the variance data calculation module 640 matches the bounding boxes between frames based on the IoU value to calculate the variance data has already been described in FIG. 5, so a description thereof will be omitted.

[0078] Hereinafter, the data output by inputting the raw data 610 into the first model 620 will be referred to as a first recognition result, and the data output by inputting the raw data 610 into the second model 630 will be referred to as a second recognition result.

[0079] The weak point analysis module 650 receives the variation data from the variation data calculation module 640 and analyzes the weak point. Here, the weak point means data related to information on an object that is not detected by the first model 620, when the object is detected by the second model 630 but not detected by the first model 620 due to the performance limit of the first model 620, which is installed in an autonomous vehicle and has a relatively small amount of calculation compared to the second model 630. For example, when the second model 630 receives the raw data 610 and recognizes one car and one bus as objects in the image, and the first model 620 receives the raw data 610 and recognizes one car as an object in the image, the weak point may be information on one bus that the first model 620 does not recognize (detect).

[0080] The weak points analyzed by the weak point analysis module 650 can be used as learning data to improve the object recognition performance of the first model 620. In addition, the weak points may be pre-processed through a series of pre-processing processes (or filtering processes) to be used as learning data for the first model 620, which will be described later.

[0081] In Fig. 6, the first model 620, the variation data calculation module 640, and the weakness point analysis module 650 may be implemented in a form that is physically or logically included in the device for improving the object recognition rate of an autonomous vehicle according to an embodiment of the present invention. In addition, in Fig. 6, the first model 620, the second model 630, the variation data calculation module 640, and the weakness point analysis module 650 may be called by other names when the present invention is actually implemented, and may be implemented in a form in which any one module is integrated into another.

[0082] 7A to 7C are diagrams illustrating a filtering process performed in an object recognition rate improving apparatus according to an embodiment of the present invention.

[0083] First, Fig. 7A shows the variation data before filtering, and Fig. 7A shows that a first object 710a, a second object 720a, a third object 730a, a fourth object 740a, and a fifth object 750a are recognized as objects. More specifically, it can be understood that the five objects shown in Fig. 7A are not recognized in the first recognition result, but are recognized in the second recognition result, processed as variation data, and transmitted to the weakness point analysis module 650, and the weakness point analysis module 650 can filter according to a preset filter criterion to leave only meaningful object information in the variation data.

[0084] As an example, the preset filter criterion is a size criterion regarding the size of a bounding box included in the variation data, and the weak point analysis module 650 may remove bounding boxes having a size smaller than the size criterion as information based on the variation data. Here, the size criterion may be a criterion for removing bounding boxes having a height of less than 120 pixels or a width of less than 120 pixels, but since the above values ​​are exemplary values, the criterion value of the height or width may be different depending on the embodiment.

[0085] As another example, the preset filter criteria are classification criteria for classifying the object types of the bounding boxes included in the variation data, and the weak point analysis module 650 can remove bounding boxes of specific types of objects according to the classification criteria as information based on the variation data. Here, the specific type refers to a class written at the top of the bounding box, and a total of four types of classes (passenger car, truck, pedestrian, and motorcycle) are shown in the five bounding boxes in FIG. 7A.

[0086] When the filter criteria set in the weak point analysis module 650 simultaneously include a size criterion for removing bounding boxes whose height or width is less than 120 pixels and a classification criterion for removing bounding boxes of pedestrians and motorcycles, in FIG. 7A, the second object 720a, the third object 730a, and the fourth object 740a are removed, and only the first object 710a and the fifth object 750a remain.

[0087] FIG. 7B shows the variation data before filtering similar to FIG. 7A, and FIG. 7B shows diagrammatically that a sixth object 710b has been recognized as an object.

[0088] More specifically, the sixth object 710b shown in FIG. 7B can be understood as being not recognized in the first recognition result but recognized in the second recognition result, processed as variation data, and transmitted to the weakness point analysis module 650. The weakness point analysis module 650 can filter according to preset filter criteria to leave only meaningful object information in the variation data.

[0089] However, in FIG. 7B, the sixth object 710b is not a single object, but is a result of the seventh object 720b and the eighth object 730b accidentally overlapping and being mistakenly recognized as a single object, and due to its morphological characteristics, a very low confidence of 0.3396 was recorded.

[0090] 7B, the preset filter criterion is a confidence criterion regarding the confidence of the bounding box included in the variation data, and the weak point analysis module 650 can remove the bounding box having a confidence lower than the confidence criterion as the information based on the variation data. Here, the confidence criterion may be 0.6, but may vary according to the embodiment.

[0091] In Fig. 7B, the weak point analysis module 650 can remove the bounding box of the sixth object 710b according to the confidence criterion, and since there is no bounding box remaining in the frame of Fig. 7B after the bounding box of the sixth object 710b is removed, the first recognition result and the second recognition result can be regarded as substantially the same. The first recognition result and the second recognition result being substantially the same means that the first model 620 does not need to learn the sixth object 710b.

[0092] FIG. 7C shows the variability data before filtering, similar to FIGS. 7A and 7B, and diagrammatically shows that the ninth object 710c, the tenth object 720c, and the eleventh object 730c have been recognized as objects.

[0093] More specifically, of the objects shown in Figure 7C, the tenth object 720c and the eleventh object 730c are vehicles recognized as objects in both the first recognition result and the second recognition result, and have had their bounding boxes removed, whereas the ninth object 710c is an object that is not likely to affect the driving of an autonomous vehicle traveling on a road, but has been classified into a class called a truck and has a bounding box applied to it, as shown in Figure 7C.

[0094] Generally, the second model 630 having higher recognition performance recognizes more objects, but in certain cases, the first model 620 may misrecognize a non-object as an object, or the second model 630 may malfunction and misrecognize an object that is not recognized by the first model 620 as a normal object, and the weak point analysis module 650 may determine that the ninth object 710c is an object that exists only on the road at a position that is not an actual road according to a preset filter criterion, and remove the corresponding bounding box. In FIG. 7C, when the bounding box of the ninth object 710c is removed, the variation between the first recognition result and the second recognition result is substantially eliminated, and the data for the first model 620 to learn is naturally eliminated.

[0095] FIG. 8 is a diagram illustrating a process in which active learning is applied to improve an object recognition rate of an autonomous vehicle according to another embodiment of the present invention.

[0096] The object recognition rate improving device according to the present invention may include a classification module 820, a labeling data collection module 840, a learning model 850, and a prediction model 860 in a physical or logical form, as shown in Fig. 8. In Fig. 8, the learning model 850 is considered to mean a model that is being learned by input data, and the prediction model 860 is considered to mean a predictive model that can output result data according to input test data after learning is completed, and the learning model 850 is a model whose recognition rate is improved by learning, so ultimately it means the first model 620 installed in the autonomous vehicle.

[0097] Typically, data labeling, which is an essential process in the process of preprocessing raw data for machine learning, is performed by humans because the features of the data cannot be accurately distinguished. However, the object recognition rate improvement device according to the present invention performs active labeling through active learning that partially includes auto-labeling, thereby guiding the learning model 850 to quickly and efficiently learn the features of the raw data 810.

[0098] In FIG. 8, raw data 810 refers to images captured and collected by a camera while an autonomous vehicle is traveling, similar to FIG.

[0099] The raw data 810 may be automatically labeled by the classification module 820. Specifically, when the raw data 810 is an image composed of a plurality of frames, the classification module 820 may automatically recognize objects for each frame and automatically classify the object classes, such as object a being a truck, object b being a pedestrian, object c being a motorcycle, etc., in a particular frame.

[0100] In analyzing the raw data 810, the classification module 820 does not automatically label objects that are determined to be difficult to classify by an internal classification algorithm, and the objects that are determined to be difficult to classify may be the weak points described in Figs. 6 to 7C. That is, the first object 710a and the fifth object 750a in Fig. 7A that are determined to be the difference between the results of the first model 620 and the second model 630 even after filtering according to the filter criteria may be objects that are determined to be difficult to classify by the classification module 820. Information about the objects that are determined to be difficult to classify is automatically collected by the classification module 820 and transmitted to the user 830 who has acquired advanced classification criteria, and the user 830 completes the labeling of the data and then transmits the labeling data 835 to the labeling data collection module 840.

[0101] The labeling data collection module 840 receives all the automatically labeled data from the classification module 820 and the manually labeled data from the user 830, and controls the learning model 850 to learn the labeled data. In the learning model 850, data that cannot be learned due to irregularity is again transmitted to the classification module 820, and is labeled by the classification module 820 or the user 830 and re-input into the learning model 850. The model that has finally completed learning regarding object recognition of the raw data 810 becomes a prediction model 860, which can accurately recognize objects included in the newly input raw data 810.

[0102] As described above, by applying active learning in which only a part of selected data is labeled by the user 830 who has acquired advanced classification criteria, and the other data is automatically labeled, the learning model 850 according to the present invention can quickly and accurately learn the learning data (information about objects in the image), and the classification module 820 applies the filter criteria described in Figures 7A to 7C, so that the amount of labeling work that the user 830 must manually perform can be significantly reduced. That is, according to the present invention, the excessive costs (time costs, monetary costs) incurred by the existing labeling work can be minimized.

[0103] FIG. 9 is a flowchart showing an example of a method for improving an object recognition rate according to the present invention.

[0104] The method according to FIG. 9 can be realized by the above-mentioned object recognition rate improving device, and therefore will be described below with reference to FIGS. 6 to 8, and description that overlaps with the contents described with reference to FIGS. 6 to 8 will be omitted.

[0105] The object recognition rate improving device may recognize an object included in a first image acquired while driving using a first recognition technique and calculate a first recognition result (S910).

[0106] The object recognition rate improving device may receive a second recognition result obtained by recognizing an object included in the first image using a second recognition technique (S930).

[0107] The object recognition rate improving device can calculate variation data of the first recognition result and the second recognition result (S950).

[0108] The object recognition rate improving device may control so that a first model for recognizing an object included in an image using a first recognition technique is learned based on information based on the variation data calculated in step S950 (S970).

[0109] FIG. 10 is a diagram illustrating a method for improving an object recognition rate according to still another embodiment of the present invention.

[0110] This alternative embodiment shares some of the same processes as the method for improving an object recognition rate described in Figures 6 to 9. The configuration for analyzing an image captured during driving and recognizing an object is similar, but unlike the method of Figure 6 in which different recognition techniques are applied to the same image to recognize objects and calculate variation data, this embodiment recognizes objects included in the image using one recognition technique. In order to distinguish it from the first model 620 and the second model 630 described above, the model for recognizing an object in an image in this embodiment is called a recognition model.

[0111] Referring to Fig. 10, a total of four frames are shown, and at least one object is located at a specific position in each frame. More specifically, in Fig. 10, it is recognized that objects exist at the top and bottom in the i-th frame, the i+1-th frame, and the i+3-th frame, but it is recognized that the object exists only at the top in the i+2-th frame, as the object at the bottom temporarily disappears. The object recognition rate improving device according to the present embodiment may regard a case where an object is recognized within a short time after an object disappears suddenly in a specific frame during tracking of a specific object as a weak point, as shown in Fig. 10, and convert it into learning data for learning a recognition model.

[0112] In other words, this embodiment can be understood as an embodiment for improving object recognition performance by additional learning of the object recognition module, since a performance limit arises in the case where an object that has been tracked normally disappears and then reappears in a specific frame, in an autonomous vehicle.

[0113] [Table 4] Table 4 is a table showing the differences between the embodiment described with reference to Figures 6 to 9 and the embodiment described with reference to Figure 10. Referring to Table 4, the two embodiments of the present invention both have the same purpose of identifying the point at which a performance limit (weakness point) occurs in an object recognition module installed in an autonomous vehicle, generating learning data for compensating for the identified performance limit, and quickly and efficiently learning the object recognition module (recognition model), but there are some differences in the configurations for achieving this.

[0114] FIG. 11 is a flow chart illustrating a method for improving an object recognition rate according to the embodiment described in FIG.

[0115] First, the object recognition rate improving device may recognize a first object from a first image acquired while driving (S1110). Here, the object recognition rate improving device recognizing the first object from the first image means that the device recognizes the first object from a frame constituting the first image and obtains information regarding the size and class of the first object, as shown in FIG.

[0116] Next, the object recognition rate improving device may detect whether the first object disappears from the first image for a predetermined period of time and then reappears (S1130).

[0117] Here, the predetermined period may be a time range value of at least one frame. If the frame rate of the collected first image is 30 frames / second, the predetermined period may be a time range value corresponding to 0 seconds to 1 / 30 seconds.

[0118] As another example, the predetermined period may be a time range value of 1 to 3 frames, and in Fig. 10, it can be seen that the predetermined period is a time range value of 1 frame. In the case where the predetermined period is a time range value of 3 frames, if a first object tracked in the i-th frame disappears in the i+1-th frame and then reappears in the i+5-th frame, it can be considered to have disappeared for the predetermined period.

[0119] The object recognition rate improving device can calculate learning data related to the first object based on the detection of the reappearance of the first object (S1150). If the first object does not reappear after disappearing, or if it reappears after a predetermined period of time has passed, the object recognition rate improving device considers that the condition is not satisfied and does not calculate learning data related to the first object. In particular, if the first object reappears after a time longer than the predetermined period of time has passed after disappearing, it is highly likely that the first object is not recognized due to the limitations of the recognition model's recognition performance, but is occluded by another object and is not recognized, and therefore the condition for calculating learning data cannot be considered to be satisfied.

[0120] In step S1150, the learning data may include at least one of the size, position, and class of the first object, information regarding the history of the first object disappearing for a predetermined period of time after being initially recognized and then reappearing, and information regarding the confidence of the first object.

[0121] The object recognition rate improvement device can control the learning of a recognition model for an autonomous vehicle that recognizes objects from images captured while driving using information based on the learning data calculated in step S1150 (S1170).

[0122] In step S1170, the information based on the training data means information that has been further processed at least once so that the training data calculated in step S1150 can be input to a recognition model, and as an example, it may be information that has been obtained by filtering the training data according to preset filter criteria.

[0123] As an alternative embodiment, the preset filter criterion may be a filter criterion regarding the length of time of a series of frames when a first object is recognized in a first frame, disappears in a second frame, and reappears in a third frame, and the object recognition rate improving device may calculate information based on learning data based on the filter criterion only when the length of time between the first frame and the third frame is longer than a length of 10 frames. The filter criterion means that only an object that has been tracked for a sufficiently long time in several frames is selectively learned.

[0124] As another alternative embodiment, the preset filter criterion may be a classification criterion for classifying the type of the first object that is recognized in a first frame, disappears for a predetermined period in a second frame, and then reappears in a third frame, and the object recognition rate improving device may calculate information based on learning data only when the type (class) of the first object is a passenger car, a truck, a bus, or an unknown object (misc.) based on the classification criterion. The filter criterion means that passenger cars, trucks, buses, and unknown objects, which are objects having high importance in autonomous driving, are primarily learned.

[0125] As yet another alternative embodiment, the preset filter criterion may be a size criterion for classifying the size of the first object that is recognized in a first frame, disappears for a predetermined period in a second frame, and then reappears in a third frame, and the object recognition rate improving apparatus may calculate information based on learning data when the height or width of the first object exceeds a preset number of pixels based on the size criterion. The filter criterion means that a recognition model is trained only for first objects of a sufficiently large size.

[0126] As explained by comparing in Table 4, when an object disappears and then reappears, the recognition model cannot recognize the object even though the object has not completely disappeared in the section where the object disappeared. This is due to the limited performance of the recognition model, so it can be classified as a weak point of the recognition model explained in FIG. 8, and active learning can be applied in the same manner.

[0127] That is, when the types of objects included in the learning data are accurately labeled by input from a user who is familiar with the classification criteria of objects, the labeled data can be input to the recognition model as information based on the learning data via a labeling data collection module. The recognition model that has completed learning through repeated learning can accurately recognize the second object in the second image without missing any frames when the second image is input as new test data.

[0128] FIG. 12 is a conceptual diagram conceptually showing an example of a method for generating an improved training data image according to the present invention.

[0129] 12 conceptually explains each step of the method for generating improved learning data video according to the present invention by dividing it into steps performed by different actors, and intuitively illustrates a step of acquiring video, a step of recognizing an object from the video and detecting some frames, a step of integrating the detected frames, and a step of sampling the integrated frames. The process performed at each step will now be described in detail.

[0130] First, in step 1210, an image captured by a camera mounted on the autonomous vehicle while the autonomous vehicle is traveling may be collected. The image collected in step 1210 may be a video having a certain frame rate and composed of a number of frames. The image captured and generated by the camera mounted on the autonomous vehicle may be transmitted to a device for generating improved learning data image according to the present invention via a wired or wireless connection. For convenience, the image captured while the autonomous vehicle is traveling may be referred to as a first image.

[0131] In the present invention, a training data video is a video for the purpose of training a recognition model that analyzes the video and recognizes objects in the video, and the higher the quality of the training data video, the more accurately the recognition model can recognize objects contained in the video, and the lower the quality of the training data video, the lower the recognition rate of objects contained in the video. That is, the improved training data video generation method according to the present invention can provide a methodology for generating training data videos of relatively higher quality compared to known training data.

[0132] Next, in step 1220, a Weakness Point Detection Large Model (WPD Large Model) may be applied to the collected first image to recognize objects included in the first image and detect a specific frame in which the object is recognized. Here, the WPD Large Model may be a model included in a device that recognizes objects (such as buses, cars, trucks, pedestrians, and motorcycles) included in an image using a unique recognition technique, and generates learning data for improving the recognition rate of objects in an image by distinguishing and processing cases in which there are objects that should be recognized but are not recognized, or objects that should not be recognized but are recognized as objects. For example, the WPD Large Model in FIG. 12 may be a concept including the first model 620, the second model 630, the variation data calculation module 640, and the weak point analysis module 650 in FIG. 6.

[0133] In step 1230, WPD Tracking may be applied to the collected first image to recognize an object included in the first image and detect a specific frame related to the object. Here, WPD Tracking may be a model that recognizes an object included in an image using a unique recognition technique and detects a specific frame by analyzing the recognition result, similar to the above-mentioned WPD Large Model. For example, WPD Tracking in FIG. 12 may be a model that realizes the tracking algorithm described with reference to FIG. 10 and FIG. 11. That is, in a state where a specific object is recognized in the first image and tracking is started, if the object for which tracking is started disappears temporarily (for several frames) and then reappears, WPD Tracking in FIG. 12 may identify the number of a frame where tracking is not performed, calculate a result value, and add up the frames to generate a training data video for improving the object recognition rate of the recognition model.

[0134] Hereinafter, the recognition technique is regarded as an algorithm for recognizing objects (such as cars, trucks, buses, motorcycles, and pedestrians) on the road that may affect the autonomous driving of the autonomous vehicle from the first image, and the detection technique is regarded as an algorithm for detecting a specific frame from among the multiple frames that make up the image based on the result of analyzing the recognition result when an object in the image is recognized by the recognition technique. For example, the first model 620 and the second model 630 in Fig. 6 may be examples of recognition models that perform the recognition technique, and the WPD Large Model and WPD Tracking in Fig. 12 may be examples of models that perform the detection technique.

[0135] Next, in step 1240, a process of collecting and integrating frames identified as a result of the WPD Large Model or WPD Tracking process can be performed. Although learning data for improving the object recognition rate can be collected by the detection techniques performed in steps 1220 and 1230, the WPD Large Model-based detection technique has a limitation that a portion not recognized as an object by either of the two recognition models used is not continuously recognized, and the WPD Tracking-based detection technique has a limitation that tracking is excluded from the beginning for a portion not initially recognized as an object. Therefore, the present invention proposes a method of overcoming the above technical limitations by integrating result data of different detection techniques.

[0136] For example, if the frame numbers of the first image detected by the WPD Large Model are 1, 5, 14, 16, 32, and 50, and the frame numbers of the first image detected by WPD Tracking are 14 and 52, in step 1240, the integrated frame numbers will be 1, 5, 14, 16, 32, 50, and 52, and in the following, the integrated frames will be collectively referred to as a frame set.

[0137] In step 1250, a sampling process can be performed on the integrated frames. The sampling process in step 1250 is performed in consideration of the fact that since frames are selected by changing only the detection technique in the same image, very similar information is included between consecutive frames, and that if too many frames are detected in steps 1220 and 1230, the acquired "learning data image" contains unnecessarily large information, which may cause overfitting of the object recognition rate.

[0138] In the present invention, the method of sampling the integrated multiple frames includes various methods. For example, a method of randomly sampling frames included in each time interval at a predetermined time interval can be mentioned. In the case where the integrated frame numbers are 1, 5, 14, 16, 32, and 50 with a constant frame rate, if sampling is performed every 10 frames, the sampling result may include sampling of any one of frames 1 and 5, and any one of frames between 14 and 16 together with frames 32 and 50, so that a total of four frames are sampled. The device according to the present invention may generate an improved learning data image by combining the four sampled frames in chronological order, and the learning data image generated by the device according to the present invention through a series of processes on the first image is also called a second image, and hereinafter, the device according to the present invention is called a second image generating device. In addition, the second image generating device may be realized in a form that physically or logically includes the object recognition rate improving device described with reference to Figs. 5 to 11.

[0139] In one embodiment, a frame group may be used to sample frames included in a frame set in step 1250. More specifically, the second image generating device may generate frame groups including at least one frame and including non-overlapping frames based on the frame set generated in step 1240, extract frames for each frame group, and combine the extracted frames to generate the second image.

[0140] [Table 5] Table 5 is a table for explaining an embodiment of generating a frame group from a frame set to generate a second image. In Table 5, the numbers of the frames detected by the first detection technique are 1, 5, 14, 16, 32, and 51, where the first detection technique may be, but is not limited to, a detection technique based on the WPD Large Model of FIG. 12. Also, in Table 5, the numbers of the frames detected by the second detection technique are 14 and 53, where the second detection technique may be, but is not limited to, a detection technique based on the WPD Tracking of FIG. 12. As described above, the first detection technique and the second detection technique may be detection techniques that detect frames using different algorithms. When the detected frames are integrated in step 1240 of FIG. 12, it is found that the numbers of the frames included in the frame set in Table 5 are 1, 5, 14, 16, 32, 51, and 53. In this embodiment, the second image generating device samples the frames included in the frame set into 10 frames to generate a total of four frame groups. In the present embodiment, when the four frame groups are generated as shown in Table 5, the second image generating device can extract frames for each frame group to generate the second image.

[0141] According to an embodiment, the second image generating device may extract one frame for each frame group to generate the second image, or may extract several frames for each frame group based on a weight set for each frame group or a weight set for each frame belonging to a frame group to generate the second image.

[0142] As an example, the weight set for each frame group may be a value determined based on the number of frames included in each frame group. If frame group A includes 10 frames and frame group B includes 5 frames, the second image generating device may perform sampling in a manner of selecting two frames from frame group A and one frame from frame group B based on the weight ratio of frame groups A and B being 2:1.

[0143] As another example, the second image generating apparatus may extract frames in each frame group by considering a weight set for a specific frame belonging to the frame group. In Table 5, the number of the frame detected by both the first and second detection techniques is 14, and the 14th frame of the first image has a higher weight than the other frames. That is, a weight can be set as metadata for each frame, and a frame that is detected by various detection techniques in duplicate can have a higher weight. In particular, FIG. 12 and Table 5 describe a total of two detection techniques, but when the number of detection techniques increases to three or more as in FIG. 13 described later, the frames included in the frame set can be set to various weights. The second image generating apparatus selects frames having high weights by sampling frames in several frame groups, and as a result, the second image includes frames having high weights.

[0144] In yet another embodiment, the weight set for a specific frame belonging to a frame group may be a value that depends on the weight set for each detection technique. For example, assuming that there are a first detection technique, a second detection technique, and a third detection technique, and the weight of the first detection technique is 1, the weight of the second detection technique is 2, and the weight of the third detection technique is 3, the weight of a frame detected by the first detection technique and the second detection technique is lower than the weight of a frame detected by the first detection technique and the third detection technique, and the weight of a frame detected by the first detection technique and the third detection technique is lower than the weight of a frame detected by the second detection technique and the third detection technique. In other words, in the present invention, the frames included in the frame set have information as metadata that is a weight that is finally determined by not only the frame group to which each frame belongs but also the value set for each detection technique by which each frame was detected, and such weight can be an effective factor in the sampling process performed by the second image generating device.

[0145] FIG. 13 is a schematic diagram showing an expanded concept of the embodiment described in FIG.

[0146] Comparing Figure 13 with Figure 12, it can be seen that they have in common the fact that a first image captured while driving is input and becomes input data for a second image generating device (step 1310), and that frames detected using multiple detection techniques are integrated into a frame set (step 1340) and then sampled after integration (step 1350). The only difference is the process (1320A-1330B) of applying an object recognition algorithm to the input first image to detect frames in which an object is recognized.

[0147] In particular, in Figure 12, there are two entities (WPD Large Model and WPD Tracking) that perform detection techniques to detect frames that form the basis of the second image, but in Figure 13 it is diagrammatically shown that there may be four or more entities.

[0148] 13, Large Model 1 and Large Model 2 refer to recognition models related to the WPD Large Model that process a recognition technique for recognizing an object included in a first image using a unique recognition technique, as described above, and have a feature that a combination of recognition techniques used varies depending on the identification number. For example, Large Model 1 may be a detection technique that detects a frame using an algorithm for recognizing an object in a first image based on YoloV4-CSP described in Table 2 and an algorithm for recognizing an object in a first image based on YoloV4-P7 described in Table 3, and Large Model 2 may be a detection technique that detects a frame using an algorithm for recognizing an object in a first image based on YoloV4-P5 and an algorithm for recognizing an object in a first image based on YoloV4-P6 described in Table 3.

[0149] Also, in Fig. 13, Tracking 1 and Tracking 2 refer to different versions of the WPD tracking algorithm described in Fig. 10 and Fig. 11. In particular, in the case of WPD Tracking, various versions may be available depending on the time standard for when an object once recognized disappears for a certain period of time and then reappears, for example, in Fig. 13, Tracking 1 may be a detection technique for detecting a frame by regarding an object once recognized as a weak point when it disappears for three frames and then reappears, and Tracking 2 may be a detection technique for detecting a frame when an object once recognized disappears for two frames and then reappears.

[0150] Although FIG. 13 describes only the WPD Large Model and a tracking algorithm, various object recognition algorithms such as SORT (Simple Online and Realtime Tracking), Bytetrack, and StrongSORT can be further added depending on the embodiment.

[0151] That is, in Fig. 13, the number of techniques for recognizing an object in the first image and detecting frames in various manners for the recognized object is not limited depending on the basic detection algorithm, learning data, etc. used by each detection technique, so although a total of four detection techniques are shown in Fig. 13, fewer or more detection techniques than four may be used depending on the embodiment. Also, similar to the embodiment described in Fig. 12, even if the number of detection techniques is four or more, all of the various embodiments described in Fig. 12 can be applied.

[0152] FIG. 14 is a flowchart showing an example of a second image generating method according to the present invention.

[0153] The method according to Figure 14 can be realized by the second image generating device described in Figures 12 and 13, so the method will be described below with reference to Figures 12 and 13, and any explanation that overlaps with the content already described will be omitted.

[0154] The second image generating device may apply at least two or more recognition techniques to a first image acquired while driving to recognize an object included in the first image (S1410).

[0155] The second image generating device may apply at least two detection techniques to the object recognition result in step S1410 and detect frames for each detection technique (S1430).

[0156] The second image generating device may generate a frame set including a plurality of frames by integrating the frames detected in step S1430 (S1450).

[0157] The second image generating device may generate a second image by sampling the integrated frame set (S1470).

[0158] The second image generated in step S1470 can be better quality learning data that is more useful for improving object recognition rate compared to learning data generated by existing methods by diversifying detection techniques and sampling according to inherent features.

[0159] FIG. 15 is a block diagram of a second image generating device according to an embodiment.

[0160] 15, a second image generating device 1500 may include a communication unit 1510, a processor 1520, and a DB 1530. Only components related to the embodiment are shown in the second image generating device 1500 in FIG. 15. Therefore, a person having ordinary skill in the art would understand that the second image generating device 1500 may further include other general-purpose components in addition to the components shown in FIG.

[0161] The communication unit 1510 may include one or more components that enable wired / wireless communication with an external server or device. For example, the communication unit 1510 may include at least one of a short-range communication unit (not shown), a mobile communication unit (not shown), and a broadcast receiving unit (not shown).

[0162] The DB 1530 is hardware that stores various data processed in the second image generating device 1500, and can store programs for processing and controlling the processor 1520.

[0163] DB1530 may include dynamic random access memory (DRAM), random access memory (RAM), such as static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), CD-ROM, Blu-ray or other optical disk storage, hard disk drive (HDD), solid state drive (SSD), or flash memory.

[0164] The processor 1520 controls the overall operation of the second image generating device 1500. For example, the processor 1520 may generally control an input unit (not shown), a display (not shown), a communication unit 1510, a DB 1530, etc. by executing a program stored in a DB 1530. The processor 1520 may generally control the operation of the second image generating device 1500 by executing a program stored in a DB 1530.

[0165] The processor 1520 can control at least a part of the operation of the second image generating device 1500 described above with reference to FIGS.

[0166] As an example, as described in Figures 6 to 9, the processor 1520 may recognize an object included in a first image acquired while the vehicle is traveling using a first recognition technique to calculate a first recognition result, receive a second recognition result in which an object included in the first image is recognized using a second recognition technique, calculate variation data of the first recognition result and the second recognition result, and control the first model operating using the first recognition technique to be learned using information based on the calculated variation data.

[0167] As another example, as described in Figures 10 and 11, the processor 1520 may recognize a first object from a first image captured while driving, detect that the first object disappears for a predetermined period of time and then reappears in the first image, and upon detecting the reappearance of the first object, calculate learning data regarding the first object, and control the learning of a recognition model that recognizes the object included in the image using information based on the calculated learning data.

[0168] As yet another example, the processor 1520 may apply at least two or more recognition techniques to a first image acquired while driving to recognize objects contained in the first image, apply at least two or more detection techniques to the results of the object recognition to detect frames for each detection technique, integrate the detected frames to generate a frame set including a plurality of frames, and sample the integrated frame set to generate a second image.

[0169] The processor 1520 may be implemented using at least one of ASICs (application specific integrated circuits), DSPs (digital signal processors), DSPDs (digital signal processing devices), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, and other electrical units for performing functions.

[0170] FIG. 16 is a flow chart illustrating a method for improving an object recognition rate according to the embodiment described in FIG.

[0171] First, the object recognition rate improving device may recognize a first object from a first image acquired while driving (S1610). Here, the object recognition rate improving device recognizing the first object from the first image means that the device recognizes the first object from a frame constituting the first image and obtains information regarding the size and class of the first object, as shown in FIG.

[0172] Next, the object recognition rate improving device may detect whether the first object disappears for a predetermined period of time and then reappears in the first image (first frame) (S1630).

[0173] Here, the predetermined period may be a time range value of at least one frame. If the frame rate of the collected first image is 30 frames / second, the predetermined period may be a time range value corresponding to 0 seconds to 1 / 30 seconds.

[0174] As another example, the predetermined period may be a time range value of 1 to 3 frames, and in Fig. 16, it can be seen that the predetermined period is a time range value of 1 frame. If the predetermined period is a time range value of 3 frames, when a first object tracked in the i-th frame disappears in the i+1-th frame and then reappears in the i+5-th frame, it can be considered to have disappeared for the predetermined period.

[0175] The object recognition rate improving device can calculate learning data related to the first object based on the detection of the reappearance of the first object (S1650). Also, based on the detection of the reappearance of the first object, the object recognition rate improving device can consider the first object to have been recognized in the previous frame in which it was determined that the first object had disappeared for a predetermined period and was not recognized.

[0176] For example, in FIG. 6, if a first object is recognized in the i-th frame and the i+1-th frame, the first object disappears in the i+2-th frame, and then the first object is recognized again in the i+3-th frame, the object recognition device (object recognition module) included in the object recognition rate improvement device still cannot recognize the first object in the i+2-th frame, but it is deemed that the first object recognized in the i-th frame, the i+1-th frame, and the i+3-th frame is also present in the i+2-th frame.

[0177] If the first object does not reappear after disappearing, or if it reappears after a predetermined period of time has passed, the object recognition rate improvement device considers that the condition is not satisfied and does not calculate learning data for the first object. In particular, if the first object reappears after a time longer than the predetermined period of time has passed after disappearing, it is highly likely that the first object is not recognized due to the recognition model being limited in its recognition performance, but is occluded by another object and therefore cannot be recognized, and therefore the condition for calculating learning data cannot be considered to be satisfied.

[0178] In step S1650, the learning data may include at least one of the size, position, and class of the first object, information regarding the history of the first object disappearing for a predetermined period of time after being initially recognized and then reappearing, and information regarding the confidence of the first object.

[0179] The object recognition rate improvement device can control the learning of a recognition model for an autonomous vehicle that recognizes objects from images captured while driving using information based on the learning data calculated in step S1650 (S1670).

[0180] In step S1670, the information based on the training data means information that has been further processed at least once so that the training data calculated in step S1650 can be input to a recognition model, and as an example, it may be information that has been obtained by filtering the training data according to preset filter criteria.

[0181] The tracking algorithm described in Fig. 16 may be realized by a Kalman filter-based SORT (Simple Online and Realtime Tracking) algorithm, but is not limited thereto. In particular, a tracking algorithm based on a Kalman filter has a characteristic that it operates normally on a 2D bounding box, and the result information of the tracking algorithm is also provided in the form of a 2D bounding box, and the tracking algorithm described in the present invention can have the same characteristic.

[0182] As an alternative embodiment, the preset filter criterion may be a filter criterion regarding the length of time of a series of frames when a first object is recognized in a first frame, disappears in a second frame, and reappears in a third frame, and the object recognition rate improving device may calculate information based on learning data based on the filter criterion only when the length of time between the first frame and the third frame is longer than a length of 10 frames. The filter criterion means that only an object that has been tracked for a sufficiently long time in several frames is selectively learned.

[0183] As another alternative embodiment, the preset filter criterion may be a size criterion for classifying the size of the first object that is recognized in a first frame, disappears for a predetermined period in a second frame, and then reappears in a third frame, and the object recognition apparatus may calculate information based on learning data when the height or width of the first object exceeds a preset number of pixels based on the size criterion. The filter criterion means that a recognition model is trained only for first objects of a sufficiently large size.

[0184] FIG. 17 is a diagram for explaining the cuboids of objects in an image according to the present invention.

[0185] 17, it can be seen that the object recognition rate improving apparatus recognizes two objects from an image, and then generates outlines 1710a and 1730a for each object as a result of the recognition, and the object recognition rate improving apparatus can generate a cuboid for each object based on the generated outlines 1710a and 1730a. That is, the outline 1710a of a two wheeler can be basic information for generating a cuboid 1710b for the motorcycle, and the outline 1730a of a car can be basic information for generating a cuboid 1730b for the car.

[0186] In the present invention, a cuboid may be generated in a form in which two polygons are combined based on a common side, and one of the two polygons may represent the front or rear of an object, and the other may represent a side of the object. In some embodiments, as shown in Fig. 17, the front and rear of an object may be displayed as rectangles, and the left and right sides may be displayed as trapezoids with parallel sides of different lengths.

[0187] [Table 6] Table 6 shows an example of a method for analyzing the movement of an object when the cuboid is formed by two polygons connected horizontally based on one common side. As described in Table 6, the cuboid of an object can be understood as metadata of the object that can intuitively and efficiently indicate the overall size of the object, the direction of movement, and the relative position with respect to the position of the camera that captures the image. As an example, the coordinate value of the cuboid may be composed of seven coordinate values. In FIG. 17, the cuboid 1710b of the motorcycle has a shape in which a rectangle representing the front of the motorcycle and a trapezoid representing the side of the motorcycle are connected based on one common side. Here, the vertex coordinates for forming the bike cuboid 1710b are the coordinates of the top left edge (x1, y1), the coordinates of the top center (x2, y1), the coordinates of the top right edge (x3, y3), the coordinates of the bottom left edge (x1, y2), the coordinates of the bottom center (x2, y2), and the coordinates of the bottom right edge (x3, y4), and the minimum information required to form the bike cuboid 1710b is a total of seven coordinate values ​​(x1, x2, x3, y1, y2, y3, y4).

[0188] As another example, a cuboid may be composed of eight coordinate values. Although not shown in Fig. 17, when an object is surrounded by a second outline of a rectangular parallelepiped shape to enhance the perspective of the object, a total of eight coordinates are required to form the cuboid of the object, and the total of eight required coordinate values ​​are (x1, x2, x3, x4, y1, y2, y3, y4).

[0189] As shown in Fig. 17, a 2D bounding box outline may be generated for an object immediately recognized from an image (or frame), and a cuboid may be generated based on the coordinates of the outline, but if an object is not recognized in a frame by the tracking algorithm described in Fig. 10 and Fig. 16, but it is deemed that an object is recognized in the frame as a result of applying the tracking algorithm, the outline of the object is still not generated in the frame. In other words, it is necessary to obtain a cuboid even for an object in a frame where an object is not recognized due to the limit of the object recognition performance of the object recognition rate improvement device (object recognition device), but where the object should have been recognized otherwise, and a specific method for this will be described later with reference to Figs. 18 and 19.

[0190] FIG. 18 is a schematic diagram for explaining a method for obtaining a cuboid of an object in an image according to the present invention.

[0191] Hereinafter, the device for implementing the method for acquiring cuboids of an object in an image according to the present invention is referred to as a "cuboid acquisition device."

[0192] First, the cuboid acquisition device receives an input of an image (S1810). The image input (received) to the cuboid acquisition device in step S1810 includes at least two or more frames, and may be an image captured by a camera mounted on a vehicle while the vehicle is traveling.

[0193] The cuboid acquisition device can recognize objects by applying an object recognition process to the video received in step S1810 (S1820). Here, as already described, the object recognition process may be performed by an object detector.

[0194] The cuboid acquisition device may apply a tracking algorithm to the image received in step S1810 to determine whether an object should be recognized in a frame in which no object is recognized (S1830). Here, the tracking algorithm may be the Kalman filter-based SORT algorithm described above, or an algorithm other than SORT may be used depending on the embodiment.

[0195] The cuboid acquisition device can associate the results of steps S1820 and S1830 (S1840). The reason for associating the results of the object recognition process and the tracking algorithm in step S1840 is to determine the case where an object is not detected (recognized) in the object recognition process but is detected by the tracking algorithm. In the association process in step S1840, frames that are not necessary for determining the presence or absence of an object in step S1850 described later can be excluded.

[0196] The cuboid acquisition device can determine the presence or absence of objects that should have been recognized immediately by the object recognition process but have not been recognized and are only recognized by the tracking algorithm (S1850) while integrating the results of steps S1820 and S1830. The objects determined in step S1850 may be classified as missed objects and assigned different metadata, and a cuboid conversion process is performed in step S1860 described later. As an example, the Hungarian algorithm can be applied in step S1850.

[0197] If it is determined in step S1850 that there is a missing object, the cuboid acquisition device can generate the cuboid coordinates of the object (S1860). If it is determined in step S1850 that there is no missing object, no other cuboid conversion is performed and the function of the cuboid acquisition device can end (S1870).

[0198] [Table 7] Table 7 is a table showing a concept for more specifically explaining the contents described with reference to FIG. 18. For convenience, the first frame and the second frame are hereinafter considered to be one of a plurality of frames included in one video, and the second frame is considered to be the frame located immediately after the first frame. First, Table 7 shows the result where an object is immediately recognized by an object detector in the first frame, and an object is not recognized by the object detector in the second frame.

[0199] Next, Table 7 shows the result where the object is recognized immediately in the first frame, and the tracking algorithm is used to determine that the object is recognized in the second frame. Comparing the two results above, it can be seen that the object should have been recognized in the second frame of Table 7, but was not, and was only recognized by the tracking algorithm. Although not shown in Table 7, there is a third frame that is located after the second frame, and since the object is recognized in the third frame, the tracking algorithm is applied, and the object is considered to be recognized in the second frame.

[0200] In Table 7, in the first frame where an object is immediately recognized, a contour and a cuboid surrounding the object may be generated by the cuboid acquisition device according to the present invention. When a contour (2D bounding box) surrounding an object is generated, the cuboid acquisition device can generate a cuboid for each object as described in Table 6 using the coordinate values ​​of the 2D bounding box.

[0201] On the other hand, in Table 7, in the second frame where the object is not immediately recognized and is deemed to have been recognized, the outline is not immediately generated, and the cuboid acquisition device indirectly acquires the coordinates of the outline of the object deemed to have been recognized in the second frame by using the coordinate values ​​of the outline generated in the previous and next frames (the first and third frames, etc.) based on the second frame.

[0202] Finally, as shown in Table 7, the cuboid of an object deemed to be recognized in the second frame cannot be obtained because no outline is generated in the second frame. In the present invention, a method is proposed for obtaining the coordinates of the cuboid of an object deemed to be recognized in the second frame by comprehensively taking into consideration the outline of an object deemed to be recognized in the first frame, the outline of an object deemed to be recognized in the second frame, and the coordinates of the cuboid of an object deemed to be recognized in the first frame, which will be described later with reference to Figures 19 and 20.

[0203] FIG. 19 is a diagram for explaining a linear mapping method performed by the cuboid acquisition device according to the present invention.

[0204] For convenience of explanation, the following description will be given with reference to Table 7. The outline and cuboid in the first frame will be referred to as the first outline and first cuboid, and the outline and cuboid in the second frame will be referred to as the second outline and second cuboid.

[0205] The cuboid acquisition device according to the present invention can calculate a transform value using the coordinate values ​​of the first and second contour lines that have already been determined. As an example, the transform value may be an affine transform matrix. Referring to FIG. 19, it can be seen that when an affine transform is applied to the coordinates of the three points on the left side of FIG. 19, they are transformed into the coordinates of the three points on the right side of FIG. 19. The affine transform matrix can be expressed as a matrix related to translation, scaling, shear, and rotation.

[0206]

number

[0207]

number

[0208]

number

[0209]

number

[0210]

number

[0211] The cuboid acquisition device according to the present invention can acquire the second cuboid in the second frame by using formulas 1 to 5.

[0212] FIG. 20 is a diagram for explaining another example of a linear mapping method performed by the cuboid acquisition apparatus according to the present invention.

[0213] With reference to Fig. 20, it can be seen that when a perspective transform is applied to the coordinates of the four points on the left side of Fig. 20, they are transformed into the coordinates of the four points on the right side of Fig. 20. With reference to Figs. 19 and 20, it can be seen that when at least three or more coordinate values ​​of the first and second outlines are given and the coordinate value of the first cuboid is given, the cuboid acquisition device according to the present invention can also acquire the coordinate value of the second cuboid.

[0214] FIG. 21 is a flow chart showing an example of a cuboid obtaining method according to the present invention.

[0215] The method according to Figure 21 can be realized by the cuboid obtaining device described with reference to Figures 17 to 20, and therefore will be described below with reference to Figures 17 to 20, and explanations that overlap with those already described will be omitted.

[0216] The cuboid acquisition device can recognize an object from the video and identify a first frame in which the object is recognized and a second frame in which the object is not recognized (S2110).

[0217] The cuboid acquisition device can generate a first outline of the object in the first frame, and acquire coordinates of a first cuboid of the object based on first coordinate values ​​constituting the first outline (S2130).

[0218] The cuboid acquisition device may determine whether an object should be recognized in the second frame, and may generate a second outline of the object in the second frame based on the result of the determination (S2150). As described above with reference to Table 3, in step S2150, the cuboid acquisition device may recognize an object (or the outline of the object) recognized in a frame surrounding the second frame. Here, the surrounding frames may be frames disposed before and after the second frame, such as the first and third frames. In addition, the number of surrounding frames and frame numbers may vary depending on how long a predetermined period is set by the tracking algorithm applied in the present invention when an object once recognized disappears for a predetermined period and then reappears.

[0219] The cuboid obtaining device may calculate a conversion relationship value between the first coordinate values ​​constituting the first outline and the second coordinate values ​​constituting the second outline (S2170).

[0220] The cuboid acquisition unit can apply the transformation relationship values ​​to the coordinates of the first cuboid to calculate the coordinates of a second cuboid of the object in the second frame (S2190).

[0221] FIG. 22 is a block diagram of a cuboid acquisition device according to one embodiment.

[0222] 22, a cuboid acquisition device 2200 may include a communication unit 2210, a processor 2220, and a DB 2230. In the cuboid acquisition device 2200 of FIG. 22, only components related to the embodiment are shown. Therefore, a person having ordinary skill in the art would understand that the device may further include other general-purpose components in addition to the components shown in FIG.

[0223] The communication unit 2210 may include one or more components that enable wired / wireless communication with an external server or device. For example, the communication unit 2210 may include at least one of a short-range communication unit (not shown), a mobile communication unit (not shown), and a broadcast receiving unit (not shown).

[0224] The DB 2230 is hardware that stores various data processed within the cuboid acquisition device 2200, and can store programs for processing and controlling the processor 2220.

[0225] DB2230 may include dynamic random access memory (DRAM), random access memory (RAM), such as static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), CD-ROM, Blu-ray or other optical disk storage, hard disk drive (HDD), solid state drive (SSD), or flash memory.

[0226] The processor 2220 controls the overall operation of the cuboid acquisition device 2200. For example, the processor 2220 can generally control an input unit (not shown), a display (not shown), a communication unit 2210, a DB2230, etc. by executing a program stored in a DB2230. The processor 2220 can control the operation of the cuboid acquisition device 2200 by executing a program stored in a DB2230.

[0227] The processor 2220 may control at least a portion of the operation of the cuboid acquisition device 2200 described above.

[0228] As an example, as described in Figures 17 to 21, the processor 2220 may recognize an object from an image, identify a first frame in which the object is recognized and a second frame in which the object is not recognized, generate a first outer contour of the object in the first frame, obtain coordinates of a first cuboid of the object based on a first coordinate value constituting the first outer contour, determine whether the object should be recognized in the second frame, generate a second outer contour of the object in the second frame based on the result of the determination, calculate a conversion relationship value between the first coordinate value constituting the first outer contour and the second coordinate value constituting the second outer contour, and then apply the conversion relationship value to the coordinates of the first cuboid to calculate the coordinates of the second cuboid of the object in the second frame.

[0229] The processor 2220 may be implemented using at least one of ASICs (application specific integrated circuits), DSPs (digital signal processors), DSPDs (digital signal processing devices), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, and other electrical units for performing functions.

[0230] FIG. 23 is a schematic diagram for explaining a method for improving an object recognition rate according to the present invention.

[0231] Hereinafter, the device implementing the method according to the present invention will be referred to as the "device for improving object recognition rate."

[0232] First, the device for improving an object recognition rate receives an input of a video (S2310). The video input (received) to the device in step S2310 may be a video including at least two frames and captured by a camera mounted on a vehicle while the vehicle is traveling.

[0233] The object recognition rate improving device may recognize an object by applying an object recognition process to the video received in step S2310 (S2320). Here, the object recognition process may be performed by an object detector included in the object recognition rate improving device. The object recognition device may selectively recognize only main objects (such as passenger cars, trucks, buses, motorcycles, humans, and unknown objects) necessary for realizing an autonomous driving function of a vehicle as objects among various objects included in a frame of a video by an object recognition algorithm set therein. As described in FIG. 4 and FIG. 5, the object recognition algorithm of the object recognition device is intuitive and convenient in that it can immediately recognize some required objects among various objects in a video, but due to performance limitations of the object recognition algorithm, there are cases where an object should be recognized as an object but cannot be recognized as an object. When an object should be recognized as an object but cannot be recognized as an object due to performance limitations of the object recognition algorithm, it can be supplemented to a certain extent by the tracking algorithm described in FIG. 10 and FIG. 16.

[0234] The object recognition rate improving device may apply the tracking algorithm described in Figures 10 and 16 to the image received in step S2310 to determine whether an object should be recognized in a frame in which an object is not recognized (S2330). Here, the tracking algorithm may be the Kalman filter-based SORT algorithm described above, or an algorithm other than SORT may be used depending on the embodiment.

[0235] The object recognition rate improving apparatus may process the tracking result into history information while performing the tracking algorithm in step S2330 and store the history information in a history database (S2340). In addition to the tracking result, the history database may store the results processed in steps S2350, S2370, and S2380, which will be described later.

[0236] The object recognition rate improving apparatus may associate the results of steps S2320 and S2330 (S2350). The reason for associating the results of the object recognition process and the tracking algorithm in step S2350 is to determine a case where an object is not detected (recognized) in the object recognition process but is detected only by the tracking algorithm. In step S2350, the object recognition result in step S2320 and the tracking result in step S2330 may be matched by a Hungarian algorithm. Specifically, in step S2350, it is determined whether the outline (2D bounding box) of the object generated for each frame as the object recognition result in step S2320 matches the outline (2D bounding box) of the object generated for each frame as the tracking result in step S2330, and the outline matched for each frame may be designated as true in a match flag and stored in a history database as history information as shown in FIG. 23. In the integration process in step S2350, frames that are not necessary for determining the presence or absence of an object (frames in which the outline of a recognized object is not detected) can be excluded.

[0237] If the object recognition rate improving device cannot detect an object in chronologically consecutive frames, it deletes the track of the object (stops tracking) and can refer to the history information stored in the history database (S2360). In step S2360, the object recognition rate improving device can check the history information stored in the history database in reverse order, check the match flag of the outline of the object, and delete (exclude) consecutive frames whose match flag is false from all tracks. Step S2360 will be described with reference to FIG. 25.

[0238] Next, the object recognition rate improving device can check whether there is an unmatched outline based on the result of the matching operation in step S2350 (S2370). Checking whether there is an unmatched outline in step S2370 means, in other words, determining whether there is an outline of an object that has been detected only by the tracking algorithm in step S2330. If there is such an outline, the object recognition rate improving device can set the match flag to false, as in step S2360, and store the history information in the history database.

[0239] The object recognition rate improving device can perform processing after the track is registered based on the results of the determination made in steps S2350 to S2370 (S2380). The object recognition rate improving device can perform data processing by referring to the information stored in the history database in step S2380, and specifically, can utilize information on whether the match flag of the outline of each object stored in the history database is true or false. In addition, the object recognition rate improving device can perform processing after the track is registered by referring to information on the first and second reference values, which are the setting values ​​of the first and second parameters. Step S2380 will be described later with reference to FIG. 24.

[0240] FIG. 24 is a diagram for explaining the processing process after the track registration explained in step S2380 of FIG.

[0241] First, referring to the upper part of FIG. 24, it can be seen that the object recognition rate improving device applies an object recognition algorithm to eight frames arranged in time series to recognize objects, and thus objects are recognized in a total of five frames. The frames in which objects are recognized are t 3 , t 4 , t 6 , t 7 , t 8 frame, and the other three frames (t 1 , t 2 , t 5 However, it is considered that the object is not recognized by the object recognition algorithm of the object recognition rate improving device due to problems with lighting, angle, distance, color, etc., or the object is not recognized due to a malfunction of the object recognition algorithm. That is, the upper part of Figure 24 shows the result of step S2320 in Figure 23, and a 2D bounding box-shaped outline is generated for the object in the frame where the object is recognized.

[0242] Next, referring to the lower part of FIG. 24, the object recognition rate improving device performs a tracking algorithm, and as a result, t 8 It can be seen that the object is recognized in frame t. The first reference value set in the object recognition rate improvement device is 3, and 6 , t 7 , t 8 If an object is detected in succession in frames t and the first criterion is satisfied, 8 The track of the object is registered in the frame t 8 Since the object track is registered in frame t, which is not shown in Figure 24, 9Even if the object disappears in a frame, tracking of the object can be maintained for a number of frames according to the second reference value.

[0243] On the other hand, in the object recognition rate improving device of FIG. 24, the first reference value is set to 3, so in FIG. 8 The track of the object is registered in frame t, and the track starts at t 6 However, since the object recognition rate improving device according to the present invention includes a process for minimizing problems that occur when the first parameter and the second parameter are changed to different values, it is possible to check whether there is an unrecognized object even in a frame before the track is registered by utilizing the match flag (true or false) stored in the history database.

[0244] Referring to FIG. 24, the object recognition rate improving apparatus according to the present invention refers to information stored in a history database and determines when tracking starts. 6 Check the object recognition and tracking results of the frames before frame t 4 Frame and t 6 The object is recognized in frame t 5 It can be seen that the object is temporarily not recognized in this frame.

[0245] Since the first reference value of the object recognition rate improvement device is 3, t 3 , t 4 In principle, if an object is recognized twice in succession in a frame, the track is not registered. However, the object recognition rate improving device according to the present invention can operate in a direction to include an object in the recognition result when an object that should have been recognized but has not been recognized because the first reference value is increased to 3 by checking history information in the previous frame after the track is registered. That is, in FIG. 24, the object recognition rate improving device can operate in a direction to include the object in the recognition result when an object that should have been recognized but has not been recognized because the first reference value is increased to 3. 3 , t 4, t 6 , t 7 All objects in the frame are included in the tracking result, and the tracking algorithm can determine that the object has been recognized. 5 The history information corresponding to the outline matching result (false match flag) in the frame may be stored in the history database. The above process may be processed in step S2380 described above.

[0246] FIG. 25 is a diagram for explaining the processing steps after the track deletion explained in step S2360 of FIG.

[0247] First, referring to the upper part of FIG. 25, it can be seen that the object recognition rate improving device applies an object recognition algorithm to four frames arranged in time series to recognize an object, and thus the object is recognized in a total of one frame. The frame in which the object is recognized is t 1 frame, and the other three frames (t 2 , t 3 , t 4 In the first frame, no object is recognized. In the top part of Figure 25, a first outline 2510A in the form of a 2D bounding box is generated for an object that has been recognized by the object recognition algorithm.

[0248] Next, referring to the lower part of FIG. 25, the object recognition rate improving device performs a tracking algorithm, and as a result, t 1 , t 2 , t 3 We can see that the object is detected in succession in frames t. The object track has already been registered, and 1 In the case of t, the object recognition result and the tracking result show the same outline, and the match flag is true. 2Even if the object disappears in the next frame, tracking of the object is maintained for the number of frames determined by the second reference value, and outlines 2530 and 2550 corresponding to the object can be detected as shown in the lower part of FIG.

[0249] In the object recognition rate improving device of FIG. 25, the second reference value is set to 2, so in FIG. 2 Frame and t 3 Although the object outline is still detected in frame t, the object recognition rate improving apparatus according to the present invention includes a process for minimizing problems that occur when the first parameter and the second parameter are changed to different values, and therefore, by utilizing the match flag (false) stored in the history database, the object recognition rate improving apparatus according to the present invention detects the object outline in frame t. 2 Frame and t 3 The result of the object recognition rate improving apparatus according to the present invention can also be stored as history information in the history database.

[0250] FIG. 26 is a flowchart showing an example of a method for improving an object recognition rate according to the present invention.

[0251] The method shown in Figure 26 can be realized by the object recognition rate improving device described in Figures 10, 16, 23, 24, and 25, so it will be described below with reference to Figures 10, 16, 23, 24, and 25, and any explanation that overlaps with what has already been explained will be omitted.

[0252] The object recognition rate improving device may recognize objects included in an image using a first recognition algorithm that recognizes objects for each frame of the image (S2610). In step S2610, the first recognition algorithm refers to an object recognition algorithm by an object detector, and may correspond to step S2320 in FIG. 23.

[0253] The object recognition rate improving device may form a track from a plurality of frames included in the video and recognize the object using a second recognition algorithm that recognizes the object included in the track (S2630). In step S2630, the second recognition algorithm refers to a tracking algorithm by the object recognition rate improving device, and may correspond to step S2330 in FIG. 23.

[0254] As an alternative embodiment, the second recognition algorithm may be an algorithm that selectively recognizes an object that has been recognized in a first number of consecutive frames or more, then disappeared for a second number of frames or less, and then reappeared, as described above with reference to the first and second parameters.

[0255] The apparatus for improving an object recognition rate may compare a result of recognizing an object using the first recognition algorithm with a result of recognizing an object using the second recognition algorithm (S2650). Step S2650 comprehensively illustrates a comparison process (matching) performed by the apparatus for improving an object recognition rate, and may correspond to steps S2340 and S2350 in FIG. 23.

[0256] As an embodiment, the object recognition rate improving device receives an input regarding a first reference value and a second reference value, and when at least one of the first reference value and the second reference value previously set is changed by the received first reference value or the second reference value, the object recognition rate improving device can update the comparison result by referring to history information regarding frames before and after the already registered track. For example, when the first reference value is changed, the object recognition rate improving device can update the comparison result by referring to history information regarding a frame immediately before the track is generated, as already described with reference to FIG. 24. Also, when the second reference value is changed, the object recognition rate improving device can update the comparison result by referring to history information regarding frames after the track is generated and deleted, as already described with reference to FIG. 25.

[0257] The apparatus for improving object recognition rate may correct the results of recognizing the object in the image by the first recognition algorithm and the second recognition algorithm based on the comparison result (S2670). Step S2670 comprehensively shows subsequent processing steps by the apparatus for improving object recognition rate, and may correspond to steps S2360, S2370, and S2380 in FIG. 23.

[0258] FIG. 27 is a block diagram of an object recognition rate improving device according to an embodiment.

[0259] 27, an object recognition rate improving device 2700 may include a communication unit 2710, a processor 2720, and a DB 2730. Only components related to the embodiment are shown in the object recognition rate improving device 2700 in Fig. 27. Therefore, a person having ordinary skill in the art would understand that the object recognition rate improving device 2700 may further include other general-purpose components in addition to the components shown in Fig. 27.

[0260] The communication unit 2710 may include one or more components that enable wired / wireless communication with an external server or device. For example, the communication unit 2710 may include at least one of a short-range communication unit (not shown), a mobile communication unit (not shown), and a broadcast receiving unit (not shown).

[0261] The DB 2730 is hardware that stores various data processed within the object recognition rate improving device 2700, and can store programs for processing and controlling the processor 2720.

[0262] DB2730 may include dynamic random access memory (DRAM), random access memory (RAM), such as static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), CD-ROM, Blu-ray or other optical disk storage, hard disk drive (HDD), solid state drive (SSD), or flash memory.

[0263] The processor 2720 controls the overall operation of the object recognition rate improving device 2700. For example, the processor 2720 may generally control an input unit (not shown), a display (not shown), a communication unit 2710, a DB 2730, etc. by executing a program stored in a DB 2730. The processor 2720 may generally control the operation of the object recognition rate improving device 2700 by executing a program stored in a DB 2730.

[0264] The processor 2720 may control at least a portion of the operations of the object recognition improvement device 2700 described above.

[0265] As an example, as described with reference to Figures 23 to 26, the processor 2720 may recognize an object included in an image using a first recognition algorithm that recognizes an object for each frame of the image, form a track using a plurality of frames included in the image, recognize the object using a second recognition algorithm that recognizes the object included in the track, compare a result of recognizing the object using the first recognition algorithm with a result of recognizing the object using the second recognition algorithm, and correct the results of recognizing the object in the image using the first recognition algorithm and the second recognition algorithm based on the comparison result.

[0266] The processor 2720 may be implemented using at least one of ASICs (application specific integrated circuits), DSPs (digital signal processors), DSPDs (digital signal processing devices), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, and other electrical units for performing functions.

[0267] The above-described embodiments of the present invention may be realized in the form of a computer program executable by various components on a computer, and such a computer program may be recorded on a computer-readable medium, including magnetic media such as hard disks, floppy disks, and magnetic tapes, optical media such as CD-ROMs and DVDs, magneto-optical media such as floptical disks, and hardware devices specially configured to store and execute program instructions, such as ROMs, RAMs, and flash memories.

[0268] On the other hand, the computer program may be one specially designed and constructed for the present invention, or it may be one that is well known and available to those skilled in the art of computer software. Examples of computer programs include not only machine code, such as that produced by a compiler, but also high-level language code that is executed by a computer using an interpreter or the like.

[0269] The specific implementation described in the present invention is an embodiment and does not limit the scope of the present invention in any way. For the sake of brevity of the specification, descriptions of conventional electronic configurations, control systems, software, and other functional aspects of the system may be omitted. In addition, the line connections or connecting members between components shown in the drawings are illustrative of functional connections and / or physical or circuit connections, and may be replaced in an actual device and may be realized as various further functional connections, physical connections, or circuit connections. Furthermore, unless specifically mentioned as "essential" or "important", a component may not necessarily be necessary for application of the present invention.

[0270] In the present specification (particularly, in the claims), the use of the term "said" and similar indicators may apply to both the singular and the plural. In addition, when a range is described in the present invention, it includes the invention to which each individual value belonging to the range is applied (unless otherwise stated), and is the same as describing each individual value constituting the range in the detailed description of the invention. Finally, with respect to the steps constituting the method according to the present invention, unless there is an explicit order description or a contrary description, the steps can be performed in an appropriate order. The present invention is not necessarily limited to the order of the steps described above. The use of all examples or exemplary terms (for example, etc.) in the present invention is merely for the purpose of describing the present invention in detail, and the scope of the present invention is not limited by the examples or exemplary terms unless limited by the claims. In addition, those skilled in the art will understand that various modifications, combinations, and changes can be made within the scope of the claims or their equivalents according to design conditions and factors.

Claims

1. applying at least two or more recognition techniques to a first image captured during driving to recognize an object included in the first image; applying at least two or more detection techniques to the object recognition result and detecting a frame for each of the applied detection techniques; aggregating the detected frames to generate a frame set including a plurality of frames; and sampling the combined set of frames to generate a second image.

2. The step of generating the second image includes: generating a frame group based on the merged frame set, the frame group including at least one frame, the frame group including non-overlapping frames; The method of claim 1 , further comprising: extracting frames for each of the frame groups to generate the second image.

3. The step of generating the second image includes: The method of claim 2 , further comprising extracting one frame from each of the frame groups to generate the second image.

4. The step of generating the second image includes: The method of claim 2 , further comprising: extracting a number of frames for each frame group corresponding to a weight set for each frame group to generate the second image.

5. The weight set for each frame group is The method for generating improved training data images according to claim 4 , wherein the value is determined based on the number of frames included in each frame group.

6. In the step of generating the second image, The method for generating an improved training data image of claim 1 , further comprising sampling frames included in the integrated frame set based on a predetermined time interval to extract a plurality of frames, and generating the second image using the extracted frames.

7. In the step of generating the integrated frameset, Identifying frames detected as duplicates among the frames detected by the detection technique; In the step of generating the second image, The method of claim 1 , further comprising generating the second image by essentially including the overlapping detected frames.

8. In the step of recognizing an object included in the first image, applying a first recognition technique and a second recognition technique to recognize an object included in the first image; The first recognition technique comprises: an algorithm for recognizing an object in the first image based on YoloV4-CSP; The second recognition technique is 2. The method for generating improved training data images according to claim 1, wherein the algorithm for recognizing objects in the first image is based on YoloV4-P7.

9. The at least two or more recognition techniques include: a first recognition technique and a second recognition technique; The at least two detection techniques include: The method of claim 1 , further comprising a detection technique for detecting frames based on a result of comparing frames of objects recognized by the first recognition technique and the second recognition technique, respectively.

10. The at least two detection techniques include:

2. The method of claim 1, further comprising: detecting a frame based on the result of detecting that an object recognized from the first image has disappeared for a predetermined period of time and then reappeared.

11. A computer-readable recording medium storing a program for executing the method according to claim 1.

12. a memory having at least one program stored therein; a processor for performing operations by executing the at least one program; The processor, applying at least two or more recognition techniques to a first image acquired during driving to recognize an object included in the first image; applying at least two or more detection techniques to the object recognition result, and detecting frames for each of the applied detection techniques; aggregating the detected frames to generate a frame set including a plurality of frames; An apparatus for generating an improved training data image samples the combined set of frames to generate a second image.

Citation Information

Patent Citations

  • Training of an object recognition neural network

    CN113935395A

  • Image selection device and image selection method

    JP2020067818A

  • Vehicular illumination control system

    JP2020181310A

  • Training of object recognition neural network

    JP2022008187A

  • Object recognition system, recognition device, object recognition method, and object recognition program

    WO2020095545A1