Method, apparatus, computer program and computer program product for generating a labeled image

DE102018128184B4Active Publication Date: 2024-10-31BAYERISCHE MOTOREN WERKE AG
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
DE102018128184
Authority / Receiving Office
DE · DE
Patent Type
Patents
Current Assignee / Owner
Filing Date
2018-11-12
Publication Date
2024-10-31
Estimated Expiration
2038-11-12

Smart Images

  • Figure 00000000_0000_ABST
    Figure 00000000_0000_ABST
Patent Text Reader

Abstract

Method for generating a labeled image, wherein: - a first video data set is provided (S101), the first video data set being representative of an environment containing a static object and captured with a first camera; - a second video data set is provided (S103), the second video data set being representative of an environment containing the static object and captured with a second camera; - camera history data from the second camera are provided (S105), comprising trajectory data and orientation data of the second camera when capturing the second video data set; - a 3D reconstruction of the environment is created (S107) based on the first video data set by means of a projection; - the static object in the 3D reconstruction is labeled (S109) based on user input, wherein the labeling includes assigning additional information to the static object.- Depending on the 3D reconstruction, the labeled static object, the camera history data of the second camera and a frame of the second video data set, a labeled image is determined by means of a back projection (S111), which is representative of the frame of the second video data set with the additional information about the static object, - the labeled image is stored for further processing (S113).
Need to check novelty before this filing date? Find Prior Art

Description

The invention relates to a method for generating a labeled image. The invention further relates to a device for generating a labeled image. The invention further relates to a computer program and computer program product for generating a labeled image. Labeled images are images in which objects to be recognized are marked and labeled. Machine learning algorithms require labeled images with which to train the algorithm. For the algorithm to reliably recognize objects, a very large number of labeled images must be available for training. The paper by Lai, K. [et al.] titled “A Large-Scale Hierarchical Multi-View RGB-D Object Dataset” In: IEEE Int. Conf. on Robotics and Automation, 2011, pp. 1817-1824 , describes a data collection process and techniques for RGB-D based object recognition and detection and shows that the combination of color and depth information improves the quality of the results. DE 10 2012 020 778 A1 describes two methods for labeling a sequence of images recorded in chronological order, wherein at least one object within a keyframe is manually provided with a label and the at least one labeled object is tracked or attempted to be tracked in at least one image recorded chronologically after or before the manually labeled keyframe by means of image analysis software. DE 10 2005 025 470 A1 describes a method for determining the position and orientation of a camera relative to a real object. A camera captures a two-dimensional image containing at least one object in a real environment. US 2001 / 0 048 753 A1 describes a semantic video object extraction system using mathematical morphology and perspective motion modeling. The object underlying the invention is to contribute to generating a very large number of labeled images quickly and efficiently. The problem is solved by the features of the independent patent claims. Advantageous embodiments are characterized in the subclaims. According to a first aspect, the invention is characterized by a method according to claim 1 for generating a labeled image. The invention is further characterized by a device for generating a labeled image, wherein the device is configured to carry out the method. In the method, a first video data set is provided, wherein the first video data set is representative of an environment that contains a static object and that was captured with a first camera. Furthermore, a second video data set is provided, wherein the second video data set is representative of an environment that contains the static object and that was captured with a second camera. Furthermore, camera history data of the second camera is provided, comprising data of a trajectory and data of an orientation of the second camera when capturing the second video data set. Depending on the first video data set, a 3D reconstruction for the environment is created by means of a projection. The static object is labeled in the 3D reconstruction depending on a user input, wherein the labeling comprises assigning additional information to the static object.Based on the 3D reconstruction, the labeled static object, the camera tracking data from the second camera, and a frame of the second video dataset, a labeled image is determined using backprojection. This image is representative of the frame of the second video dataset with the additional information about the static object. The labeled image is saved for further processing. This makes it possible to quickly and efficiently obtain a very large number of labeled images from two video data sets and one user input. For example, the user can create the first video dataset by recording the surroundings of the static object with an RGB-D camera (RedGreenBlue-Depth, RGB-D, refers to the combination of gray / color and distance information) and / or a stereo camera and / or a cell phone camera. Furthermore, the user can create the second video dataset by recording the static object (e.g. driving past the static object) with an RGB-D camera and / or a stereo camera and / or a cell phone camera. The camera paths or camera history data when capturing the second video dataset are saved. The 3D reconstruction of the scene in which the static object is marked depending on the user input is created from the first video dataset by projection. For example, the static object can be marked with rectangles (so-called bounding boxes) and / or polygons (segmentation).Using the stored camera paths or camera history data from the second camera, the static object can be backprojected onto the image plane in each frame of the second video dataset. This results in a very large number of labeled images from the first and second video datasets, the user input, and the backprojection onto the image plane. For example, for each frame of the second video dataset and / or for any subset of frames of the second video dataset. Thus, the above method enables the rapid and efficient generation of a large number of labeled images. Using the first and second cameras is advantageous because the first video dataset can be recorded, for example, with a high-resolution camera to obtain a better 3D reconstruction. For example, the first video dataset can be recorded with an RGB-D camera and / or a stereo camera. The second video dataset and its camera history data can be recorded, for example, with a cheaper, low-resolution cell phone camera. In order to carry out the method in the environment several times, it is possible to create the first video dataset once with a high-resolution camera and then vary only the second video dataset for repeating the method. However, it is also possible to carry out the method with only one camera, as described in the second aspect. A stereo camera, for example, is a camera with at least two lenses for capturing partial images for spatial imaging processes. The static object, for example, is an object that essentially does not move (is static) during the capture of the first and second video data sets. A 3D reconstruction is a reconstruction of three-dimensional objects depending on images and / or a position and / or an orientation of a recording system used. The additional information of the labeled image includes, for example, information about the static object's association with pixels of the labeled image. The additional information includes, for example, distance information from the second camera to the object and / or a size of the object and / or a name of the object. In addition, it is also possible, for example, to label several static objects in the 3D reconstruction. Further processing of the stored labeled image includes, for example, transformation into a specific data format and / or use as training data for machine learning algorithms. According to an optional embodiment, the static object in the first video data set is essentially recorded from only one side. This makes it possible to easily create a 3D reconstruction without having to capture the static object from all sides with the first camera. For example, it is sufficient for the first camera to move essentially parallel to an extension plane of the static object while capturing the first video data set. According to a further optional embodiment, the static object in the second video data set is essentially recorded from only one side. For example, it is sufficient if the second camera moves essentially parallel to an extension plane of the static object while capturing the second video data set. According to a further optional embodiment, when determining the labeled image, it is determined whether an object obscures the static object based on the camera tracking data of the second camera and the frame of the second video data set. If the static object is obscured, the obscuring object is marked in the labeled image. This makes it possible to create realistic labeled images by also labeling objects that obscure the static object in a certain perspective of the frame. According to a further optional embodiment, when creating the 3D reconstruction, it is determined whether the camera path data of the second camera is faulty. If the camera path data of the second camera is faulty, the camera path data of the second camera is corrected. The camera history data from the second camera is considered to be corrupted, for example, if the camera history data exhibits rapid and / or significant changes. This is determined, for example, by comparing it with a threshold. This is the case, for example, if the second camera is shaken and / or shifted during the creation of the second video data set and the camera history data. This makes it possible to detect any shaking or shifting of the camera path of the second camera when capturing the second video data set and, for example, to set a new starting point for labeling. According to a further optional embodiment, the assignment of additional information to the static object comprises assigning an orientation of the static object. This makes it possible to mark the orientation of the static object during labeling, for example if it is of interest whether the static object is present in a certain orientation on the labeled image. According to a further optional embodiment, the static object in the 3D reconstruction is labeled depending on a user input, wherein the labeling comprises a placement of a 3D CAD model. Computer-aided design (CAD) is a hardware and software system used by design experts to develop and document real-world objects. A particular advantage of 3D CAD is the ability to create images of real-world objects from any perspective. This allows, for example, a static object to be represented by a 3D CAD model and used for labeling. This makes it possible to quickly and efficiently label known static objects using existing 3D CAD models. For example, the 3D CAD model is placed in essentially the same position as the static object in the 3D reconstruction based on user input. According to a further optional embodiment, when determining the labeled image, it is determined whether the placement of the 3D CAD model is correct, depending on the orientation of the labeled static object in the 3D reconstruction. If the placement of the 3D CAD model is incorrect, the placement of the 3D CAD model is corrected based on user input. For example, the placement of the 3D CAD model is correct if the 3D CAD model is placed in essentially the same position as the static object in the 3D reconstruction and the deviation in its extension planes does not exceed a certain value. For example, the placement of the 3D CAD model is incorrect if the 3D CAD model is not essentially positioned at the same position as the static object in the 3D reconstruction and the deviation in its extension planes exceeds a certain value. This makes it possible to detect and correct any errors in the alignment of the 3D CAD models. For example, if the 3D CAD model is not essentially positioned at the same position as the static object in the 3D reconstruction. This is beneficial for the accuracy of the created labeled image, where accuracy includes, for example, a ratio of the number of pixels belonging to the static object to the number of labeled pixels captured with the 3D CAD model. The better the 3D CAD model is placed in essentially the same position as the static object in the 3D reconstruction, the better the accuracy. For example, the labeled images can then be better used as training data for machine learning algorithms. According to a further optional embodiment, when placing the 3D CAD model, a position of the static object is determined based on the first video data set, the second video data set, and the camera tracking data of the second camera. Furthermore, a suggestion for the placement of the 3D CAD model is made based on the position of the static object in the environment. This makes it possible to precisely position the 3D CAD model. For example, it can take into account that a static object is standing on the floor, thus filtering out suggestions where an axis of the 3D CAD model is not orthogonal to the floor. This is advantageous because the 3D CAD model suggests a placement of the 3D CAD model without any user input, reducing the effort required for user input. Thus, the labeled image is generated faster and more efficiently. According to a second aspect, the invention is characterized by a method according to claim 10 for generating a labeled image. The invention is further characterized by a device for generating a labeled image, wherein the device is configured to carry out the method. In the method, a video data set is provided, wherein the video data set is representative of an environment containing a static object and which was captured with a camera. Furthermore, camera history data of the camera is provided, comprising data of a trajectory and data of an orientation of the camera when capturing the video data set. The static object is labeled depending on the video data set and a user input, wherein the labeling comprises assigning additional information to the static object. Depending on the video data set, the labeled static object, the camera history data of the camera, and a frame of the video data set, a labeled image is determined which is representative of the frame of the video data set with the additional information about the static object. The labeled image is saved for further processing. This makes it possible to quickly and efficiently obtain a very large number of labeled images from just one video dataset and one user input. For example, the user can create the video dataset by recording the surroundings of the static object with an RGB-D camera and / or a stereo camera and / or a cell phone camera. The camera paths or camera history data during the acquisition of the video dataset are saved. Depending on the video dataset, the static object is labeled based on user input. For example, the static object can be marked with rectangles (so-called bounding boxes) and / or polygons (segmentation). Using the saved camera paths or camera history data from the camera, a labeled image can be determined for the static object for each frame of the video dataset. Thus, a very large number of labeled images can be obtained from the video dataset and the user input, for example, for each frame of the video dataset and / or for any subset of frames of the video dataset.Thus, the above method enables a fast and efficient generation of a large number of labeled images. In contrast to the first aspect, the second aspect only requires one camera, so the process can be carried out quickly and easily. The advantages and optional features of the first aspect apply accordingly to the second aspect. According to an optional embodiment, depending on the user input related to at least one detection frame of the video data set, a position and an orientation of the static object in the environment are determined in order to label the static object. This makes it possible to forgo 3D reconstruction. For example, the position and orientation of the static object simplify labeling. The detection frame can be any frame of the video dataset and / or any subset of frames of the video dataset. The detection frame can be specified by the user, for example. This is advantageous because it eliminates the need for complex 3D reconstruction. According to the method according to claim 10, labeling is carried out in such a way that an orientation of the camera in a detection frame of the video data set relative to the static object is determined, depending on the detection frame of the video data set and the camera history data of the camera. A virtual camera is placed in a virtual 3D environment with the same orientation. A 3D CAD model is placed in the virtual 3D environment such that it has the same orientation as the static object in the detection frame. The position of the virtual camera is adjusted along the orientation such that a size of the 3D CAD model in a virtual frame, from the perspective of the virtual camera, corresponds to a size of the static object in the detection frame of the video data set. In the virtual 3D environment, a distance from the position of the virtual camera to the 3D CAD model is determined. This makes it possible to forgo 3D reconstruction. For example, the detection frame of the video data set is displayed with a frontal view of the static object in the virtual 3D environment. Furthermore, it is possible to quickly and efficiently label known static objects using existing 3D CAD models. For example, the virtual camera is placed in the virtual 3D environment with the same orientation as the camera, e.g., in a frontal view. The 3D CAD model is placed in the virtual 3D environment such that it has the same orientation as the static object in the detection frame, e.g., in the frontal view. The position of the virtual camera is adjusted along the orientation so that the size of the 3D CAD model in the virtual environment matches the size of the static object in the frame of the video data set.For example, the virtual camera is placed closer or farther away from the 3D CAD model, while the orientation remains the same, e.g., corresponding to the frontal view. This determines the distance of the virtual camera to the 3D CAD model and the distance of the camera to the static object for the frame of the video dataset. This is advantageous because it eliminates the need for complex 3D reconstruction. For example, the 3D CAD model can be positioned for just one acquisition frame of the video dataset. Furthermore, the placement of the 3D CAD model is improved if this is repeated for additional acquisition frames of the video dataset. For example, it is advantageous to perform these steps for three different orientations, such as a frontal view, a side view, and a top view. Another advantage is that for video datasets created with a camera without depth information, such as a cell phone camera, better results are achieved than with 3D reconstruction. According to an optional embodiment, the static object in the video data set is essentially recorded from only one side. According to a further optional embodiment, when determining the labeled image, it is determined whether an object obscures the static object based on the camera's history data and the frame of the video data set. If the static object is obscured, the obscuring object is marked in the labeled image. According to a further optional embodiment, when creating the 3D reconstruction, it is determined whether the camera's camera history data is faulty. If the camera's camera history data is faulty, the camera's camera history data is corrected. According to a further optional embodiment, the assignment of additional information to the static object comprises assigning an orientation of the static object. According to a further optional embodiment, the static object in the 3D reconstruction is labeled depending on a user input, wherein the labeling comprises a placement of a 3D CAD model. According to a further optional embodiment, when determining the labeled image, it is determined whether the placement of the 3D CAD model is correct, depending on the orientation of the labeled static object in the 3D reconstruction. If the placement of the 3D CAD model is incorrect, the placement of the 3D CAD model is corrected based on user input. According to a further optional feature, when placing the 3D CAD model, a position of the static object is determined based on the video data set and the camera's tracking data. Furthermore, a suggestion for the placement of the 3D CAD model is provided based on the position of the static object in the environment. According to a further aspect, the invention is characterized by a computer program, wherein the computer program is designed to carry out the method of the first aspect or the method of the second aspect or an optional embodiment of the respective method. According to a further aspect, the invention is characterized by a computer program product comprising an executable program code, wherein the program code, when executed by a data processing device, executes the method of the first aspect or the method of the second or an optional embodiment of the respective method. The computer program product comprises in particular a medium readable by the data processing device on which the program code is stored. Embodiments of the invention are explained in more detail below with reference to the schematic drawing. Figure 1 shows a flowchart for generating a labeled image using a first camera and a second camera. Figure 2 shows a flowchart for generating a labeled image using only one camera. Fig. 1 shows a flowchart of a program for generating a labeled image with a first camera and a second camera. The program can be executed by a device. The device is implemented, for example, in a computer. The device may also be referred to as a device for generating a labeled image. For this purpose, the device comprises, in particular, a computing unit, a program and data memory, and, for example, one or more communication interfaces. The program and data memory and / or the computing unit and / or the communication interfaces can be implemented in a single unit and / or distributed across multiple units. For this purpose, a program for generating a labeled image is stored in the program and data memory of the device. The program is started in a step S100, in which variables are initialized if necessary. In a step S101, a first video data set is provided, wherein the first video data set is representative of an environment that contains a static object and that was captured with a first camera. Step S101 is carried out, for example, by reading the first video data set from a memory. The static object can be, for example, a box and / or a crate and / or a tool and / or a shelf. The first camera can be, for example, an RGB camera and / or a stereo camera and / or a cell phone camera. Optionally, the static object in the first video dataset is essentially recorded from only one side. In a step S103, a second video data set is provided, wherein the second video data set is representative of an environment that contains the static object and that was captured with a second camera. Step S103 is carried out, for example, by reading the second video data set from a memory. The second camera is, for example, an RGB camera and / or a stereo camera and / or a cell phone camera. In particular, the first camera is a camera with a higher resolution than the second camera. Optionally, the static object in the second video dataset is essentially recorded from only one side. In a step S105, camera history data of the second camera are provided, comprising data of a trajectory and data of an orientation of the second camera when capturing the second video data set. For example, the camera history data is saved when recording the second video data set so that the static object can later be back-projected into each frame of the second video data set. Alternatively, the camera history data can be determined retrospectively. The camera trajectory data is provided, for example, in a coordinate system in which coordinates of the static object are also present and / or can be converted by a coordinate transformation into a coordinate system in which coordinates of the static object are also present. Alternatively, the coordinates of the static object can also be calculated from the first and / or second video data set. The trajectory data and orientation data of the second camera enable, for example, the calculation of a distance between the second camera and the static object in a coordinate system. The distance can, for example, be a three-dimensional vector. In a step S107, a 3D reconstruction for the environment is created by means of a projection depending on the first video data set. For example, 3D reconstruction involves creating a 3D surface and camera positions with six degrees of freedom for each frame of the second video dataset and / or for any subset of frames within the second video dataset. 3D reconstruction can be performed in various ways. For example, volumetric fusion is used to perform dense reconstruction. Optionally, when creating the 3D reconstruction, it is determined whether the camera history data of the second camera is incorrect. If the camera history data of the second camera is incorrect, the camera history data of the second camera is corrected. In a step S109, the static object in the 3D reconstruction is labeled depending on a user input, wherein the labeling comprises an assignment of additional information to the static object. For example, the additional information may include a position of the static object, a boundary of the static object and / or a distance of the second camera to the static object. Optionally, the assignment of additional information to the static object may include assigning an orientation of the static object and / or assigning a label of the static object. Optionally, labeling may include placement of a 3D CAD model. Optionally, when placing the 3D CAD model, the position of the static object can be determined based on the first video data set, the second video data set, and the camera tracking data from the second camera. Furthermore, a suggestion for the placement of the 3D CAD model can be made based on the position of the static object in the environment. In a step S111, depending on the 3D reconstruction, the labeled static object, the camera history data of the second camera and a frame of the second video data set, a labeled image is determined by means of a back projection, which is representative of the frame of the second video data set with the additional information about the static object. Optionally, when determining the labeled image, depending on the camera tracking data of the second camera and the frame of the second video dataset, it can be determined whether an object is obscuring the static object. If the static object is obscured, the obscuring object can be marked in the labeled image. Optionally, when determining the labeled image, the orientation of the labeled static object in the 3D reconstruction can be used to determine whether the placement of the 3D CAD model is correct. If the placement of the 3D CAD model is incorrect, the placement of the 3D CAD model can be corrected based on user input. In a step S113, the labeled image is saved for further processing. If the user wants to create further labeled images from the first and second video data sets after generating the labeled image, the program can repeat steps S111 and S113 for another frame of the second video data set. The program is then terminated in step S115 and can be started again in step S100 if necessary. Fig. 2 shows a flowchart of a program for generating a labeled image with a camera. The program can be executed by a device. The device is implemented, for example, in a computer. The device may also be referred to as a device for generating a labeled image. For this purpose, the device comprises, in particular, a computing unit, a program and data memory, and, for example, one or more communication interfaces. The program and data memory and / or the computing unit and / or the communication interfaces can be implemented in a single unit and / or distributed across multiple units. For this purpose, a program for generating a labeled image is stored in the program and data memory of the device. The program is started in a step S200, in which variables are initialized if necessary. In a step S201, a video data set is provided, wherein the video data set is representative of an environment that contains the static object and that was captured with a camera. Step S201 is carried out, for example, by reading the video data set from a memory. For example, the camera corresponds to the second camera. Optionally, the static object in the video dataset is essentially recorded from only one side. In a step S205, camera history data of the camera are provided, comprising data of a trajectory and data of an orientation of the camera when capturing the video data set. The camera history data are provided and determined, for example, corresponding to step S105. In a step S209, the static object is labeled depending on the video data set and a user input, wherein the labeling comprises an assignment of additional information to the static object. The additional information corresponds, for example, to the additional information assigned in step S109. Optionally, labeling is performed in such a way that, depending on the video data set, a 3D reconstruction of the environment is created using a projection. Furthermore, the static object in the 3D reconstruction is labeled depending on user input, whereby the labeling includes assigning additional information to the static object. Furthermore, depending on the 3D reconstruction, the labeled static object, the camera tracking data of the second camera, and a frame of the second video data set, a labeled image is determined using backprojection. This labeled image is representative of the frame of the second video data set with the additional information about the static object. Optionally, depending on the user input, a position and an orientation of the static object in the environment are determined based on at least one detection frame of the video data set in order to label the static object. Optionally, labeling is performed in such a way that the orientation of the camera in a detection frame of the video dataset relative to the static object is determined, depending on the detection frame of the video dataset and the camera's history data. A virtual camera is placed in a virtual 3D environment with the same orientation. A 3D CAD model is placed in the virtual 3D environment such that it has the same orientation as the static object in the detection frame. The position of the virtual camera is adjusted along the orientation so that the size of the 3D CAD model in a virtual frame, as seen from the virtual camera, corresponds to the size of the static object in the detection frame of the video dataset. In the virtual 3D environment, a distance from the position of the virtual camera to the 3D CAD model is determined. This step can be performed for multiple orientations such as front view, side view and top view to improve placement accuracy. In a step S211, depending on the video data set, the labeled static object, the camera history data of the camera and a frame of the video data set, a labeled image is determined by means of a back projection, which is representative of the frame of the video data set with the additional information about the static object. In a step S213, the labeled image is saved for further processing. If the user wants to create further labeled images from the video data set after generating the labeled image, the program can repeat steps S211 and S213 for another frame of the video data set. The program is then terminated in step S215 and can be started again in step S200 if necessary. The optional steps of the method of Fig. 1 apply accordingly to the method of Fig. 2 .

Claims

A method for generating a labeled image, comprising: - providing a first video data set (S101), wherein the first video data set is representative of an environment containing a static object and which was captured with a first camera; - providing a second video data set (S103), wherein the second video data set is representative of an environment containing the static object and which was captured with a second camera; - providing camera path data of the second camera (S105), comprising trajectory data and orientation data of the second camera when capturing the second video data set; - creating a 3D reconstruction for the environment (S107) by means of a projection based on the first video data set; - labeling the static object in the 3D reconstruction based on a user input (S109), wherein the labeling comprises assigning additional information to the static object;- depending on the 3D reconstruction, the labeled static object, the camera tracking data of the second camera and a frame of the second video data set, a labeled image is determined (S111) by means of a backprojection, which is representative of the frame of the second video data set with the additional information on the static object, - the labeled image is stored for further processing (S113). Method according to claim 1, wherein the static object in the first video data set is recorded substantially only from one side. Method according to claim 1 or 2, wherein the static object in the second video data set is recorded substantially only from one side. Method according to one of the preceding claims, wherein in determining the labeled image:- it is determined depending on the camera history data of the second camera and the frame of the second video data set whether an object obscures the static object, and- if the static object is obscured, the obscuring object is marked in the labeled image. Method according to one of the preceding claims, wherein when creating the 3D reconstruction: - it is determined whether the camera history data of the second camera are faulty, and - if the camera history data of the second camera are faulty, the camera history data of the second camera are corrected. Method according to one of the preceding claims, wherein the assignment of the additional information to the static object comprises assigning an orientation of the static object. Method according to one of the preceding claims, wherein the static object in the 3D reconstruction is labeled depending on the user input, wherein the labeling comprises a placement of a 3D CAD model. Method according to claim 7, wherein when determining the labeled image, it is determined whether the placement of the 3D CAD model is correct depending on the orientation of the labeled static object in the 3D reconstruction, and if the placement of the 3D CAD model is incorrect, the placement of the 3D CAD model is corrected depending on a user input. Method according to claim 7 or 8, wherein during the placement of the 3D CAD model: - a position of the static object is determined depending on the first video data set, the second video data set and the camera history data of the second camera, and - a suggestion for the placement of the 3D CAD model is given depending on the position of the static object in the environment. A method for generating a labeled image, comprising: - providing a video data set (S201), wherein the video data set is representative of an environment containing a static object and which was captured with a camera; - providing camera history data of the camera (S205), comprising data of a trajectory and data of an orientation of the camera when capturing the video data set; - labeling the static object (S209) based on the video data set and a user input, wherein the labeling comprises assigning additional information to the static object; - determining a labeled image (S211) based on the video data set, the labeled static object, the camera history data of the camera, and a frame of the video data set, which is representative of the frame of the video data set with the additional information about the static object; - storing the labeled image for further processing (S213);where labeling is carried out in such a way that: - an orientation of the camera in a detection frame of the video data set relative to the static object is determined, depending on the detection frame of the video data set and the camera's camera history data, - a virtual camera is placed in a virtual 3D environment with the same orientation, - a 3D CAD model is placed in the virtual 3D environment such that it has the same orientation as the static object in the detection frame, - the position of the virtual camera is adjusted along the orientation such that a size of the 3D CAD model in a virtual frame, from the perspective of the virtual camera, corresponds to a size of the static object in the detection frame of the video data set, and - a distance from the position of the virtual camera to the 3D CAD model is determined in the virtual 3D environment. Method according to claim 10, wherein depending on the user input related to at least one detection frame of the video data set, a position and an orientation of the static object in the environment are determined in order to label the static object. Apparatus for generating a labeled image, wherein the apparatus is designed to carry out the method according to one of claims 1 to 9 or according to one of claims 10 to 11. Computer program for generating a labeled image, wherein the computer program is designed to carry out the method according to one of claims 1 to 9 or according to one of claims 10 to 11 when executed on a data processing device. A computer program product comprising executable program code, wherein the program code, when executed by a data processing device, carries out the method according to one of claims 1 to 9 or according to one of claims 10 to 11.

Citation Information

Patent Citations

  • Camera position and orientation determining method for use in e.g. production area, involves projecting data model of virtual information with preset camera parameters and finding current parameters using external values of cost-function

    DE102005025470A1

  • Method for labeling sequence of captured images, used in driver assistance system, involves performing previously captured image tracking operations in each keyframe and comparing output of previously captured image from each keyframe

    DE102012020778A1

  • Semantic video object segmentation and tracking

    US20010048753A1