Positioning method and device for displaying virtual objects in augmented reality
By generating and updating images containing directional characteristics, combined with neural networks and transformers, it solves the problems of positioning accuracy and commercialization in existing AR technology, and achieves high-precision positioning and display of virtual objects in dynamic environments.
Patent Information
- Application Number
- CN201910241914.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-09-11
- Filing Date
- 2019-03-27
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2039-03-27
AI Technical Summary
Existing augmented reality (AR) technology requires miniaturized sensors that are expensive and difficult to commercialize when providing high-accuracy positioning, and vision-based methods are difficult to achieve high-precision positioning in dynamic environments.
By obtaining the positioning information of the device, an image containing directional characteristics is generated and projected onto the map data. Visual alignment is used to update the positioning information. The neural network and transformer are combined to improve visual alignment and achieve accurate mapping of virtual objects. Positioning and display.
It simplifies the positioning method, reduces the dependence on high-precision sensors, improves positioning accuracy and commercialization potential in dynamic environments, and enhances the visual alignment of AR services.
Smart Images

Figure CN110889872B_ABST
Abstract
Description
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application claims the benefit of Korean Patent Application No. 10-2018-0108252 filed on September 11, 2018, in the Korean Intellectual Property Office, the disclosure of which is incorporated herein in its entirety by reference for all purposes. Technical Field
[0003] The following description relates to a positioning method and apparatus for displaying a virtual object in augmented reality (AR). Background Art
[0004] Various types of augmented reality (AR) services are provided in various fields, for example, driving assistance, games, and entertainment for vehicles and other transportation equipment. AR can be realistically provided using various positioning methods. For example, sensor-based positioning methods can use various sensors (e.g., global positioning system (GPS) sensors and inertial measurement unit (IMU) sensors) to verify the position and direction of an object. When high accuracy is required, sensor-based positioning methods require very expensive sensors with high accuracy, making it difficult to commercialize and miniaturize. In addition, vision-based positioning methods that use camera information to obtain high-precision coordinate information may be difficult to use in an environment including many dynamic objects with continuous motion. Summary of the invention
[0005] This Summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.
[0006] In a general aspect, a positioning method is provided, comprising: acquiring positioning information of a device; generating a first image, the first image comprising directional characteristics corresponding to an object included in an input image; generating a second image, in which the object is projected onto map data corresponding to the position of the object based on the positioning information; and updating the positioning information based on visual alignment between the first image and the second image.
[0007] Positioning information may include the location of the device and the posture of the device.
[0008] Generating the second image may include placing a virtual camera at the position on the map data, adjusting a posture of the virtual camera based on the posture of the device, and generating an image of a perspective of viewing the object from the virtual camera.
[0009] The directional characteristic may correspond to a probability distribution indicating proximity to the object.
[0010] The input image may be based on the output of the first sensor, and the positioning information may be based on the output of the second sensor.
[0011] The positioning method may include determining a virtual object for an augmented reality (AR) service on map data, and displaying the virtual object and the input image based on updated positioning information.
[0012] Virtual objects can represent driving route information.
[0013] Generating the first image may include generating a probability map representing directional characteristics using a trained neural network.
[0014] Each pixel in the probability map may be configured to store the distance from each pixel to the closest seed pixel.
[0015] The seed pixel may include a pixel corresponding to the object among pixels included in the input image.
[0016] Generating the second image may include generating the second image using a transformer, wherein the transformer is configured to transform a coordinate system of the map data into a coordinate system of the second image.
[0017] The positioning information may include 6 degrees of freedom (6DoF).
[0018] Updating the positioning information may include calculating a visual alignment by matching the first image and the second image, and modifying the positioning information based on the directional characteristic to increase the visual alignment.
[0019] The calculating may include adding values of pixels corresponding to the object in the second image among the pixels in the first image.
[0020] Modifying the positioning information based on the directional characteristic may include modifying the positioning information based on the directional characteristic to transform the object in the second image.
[0021] Modifying the positioning information based on the directional characteristic may include moving or rotating the object in the second image based on the directional characteristic.
[0022] The first image may be configured to classify objects based on object type and store the direction characteristic for each object type, and the second image may be configured to classify objects based on object type and store the projection object for each object type.
[0023] The modifying may include calculating a visual alignment for each object type by matching the first image with the second image, and modifying the positioning information based on the directional characteristic to increase the visual alignment.
[0024] The input image may include a driving image of a vehicle.
[0025] Objects may include any one or any combination of lines, pavement markings, traffic lights, signs, curbs, and structures.
[0026] In another general aspect, a learning method is provided, comprising: receiving a learning image; generating a reference image based on map data for the learning image, the reference image comprising directional characteristics corresponding to an object in the learning image; generating an inferred image using a neural network, the inferred image inferring directional characteristics corresponding to the object in the learning image; and training the neural network based on a difference between the reference image and the inferred image.
[0027] Training may include training a neural network to minimize a difference between a reference image and an inferred image.
[0028] The directional characteristic may correspond to a probability distribution indicating proximity to the object.
[0029] Each pixel in the reference image and the inferred image may be configured to store the distance from each pixel to the closest seed pixel.
[0030] Each of the reference image and the inferred image may be configured to classify the object based on the type of the object and store the directional characteristics for each object type.
[0031] The training may include: training a neural network based on type differences between the reference image and the inferred image.
[0032] The learning images may include driving images of the vehicle.
[0033] Objects may include any one or any combination of lines, pavement markings, traffic lights, signs, curbs, and structures.
[0034] In another general aspect, a positioning apparatus is provided, comprising: a sensor configured to acquire positioning information of a device and an input image; and a processor configured to: generate a first image including directional characteristics corresponding to an object included in the input image; generate a second image in which the object is projected onto map data corresponding to the position of the object based on the positioning information; and adjust the positioning information based on visual alignment between the first image and the second image.
[0035] In another general aspect, a positioning method is provided, comprising: acquiring an input image corresponding to a location of a device; receiving map data corresponding to a location of an object; generating a second image in which the object is projected onto the map data based on a plurality of corresponding candidate positioning information; calculating a visual alignment for each second image by matching the input image with each second image; selecting a second image having a highest visual alignment from the second images; and updating positioning information based on the candidate positioning information corresponding to the selected second image.
[0036] The localization method may include generating a first image including a probability map indicating directional characteristics corresponding to the object, and wherein calculating the visual alignment may include matching the first image to each of the second images.
[0037] In another general aspect, a positioning apparatus is provided, comprising: a first sensor configured to capture an image; a second sensor configured to obtain positioning information of a device; a head-up display (HUD); a processor configured to: generate a first image, the first image comprising directional characteristics corresponding to an object included in the image; generate a second image, in which the object is projected onto map data corresponding to the position of the object based on the positioning information; update the positioning information based on visual alignment between the first image and the second image; and in the HUD for an augmented reality (AR) service, display the object and an input image onto the map data based on the adjusted positioning information.
[0038] Other features and aspects will be apparent from the following detailed description, drawings, and claims. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1A , Figure 1B and Figure 1C An example of visual alignment results corresponding to positioning errors is shown.
[0040] Figure 2 is a diagram showing an example of a positioning method.
[0041] Figure 3 An example of a positioning method is shown.
[0042] Figure 4 An example of a positioning process is shown.
[0043] Figure 5 An example of a process of generating a first image is shown.
[0044] Figure 6 An example of a method of modifying positioning information is shown.
[0045] Fig. 7A and Figure 7B An example of a method of modifying positioning information is shown.
[0046] Figure 8 is a diagram showing an example of a learning method.
[0047] Fig. 9 An example of the learning process is shown.
[0048] Fig.10 Examples of images are shown for learning.
[0049] Fig.11 An example of a learning method is shown.
[0050] Fig.12 Shows Fig.11 An example of the positioning update process.
[0051] Fig.13 is a diagram showing an example of a positioning method.
[0052] Fig.14 is a diagram showing an example of a positioning device.
[0053] Throughout the drawings and detailed description, unless otherwise described or provided, the same reference numerals will be understood to refer to the same elements, features, and structures. The drawings may not be drawn to scale, and the relative sizes, proportions, and depictions of elements in the drawings may be exaggerated for clarity, illustration, and convenience. DETAILED DESCRIPTION
[0054] The following specific embodiments are provided to help the reader gain a comprehensive understanding of the methods, devices and / or systems described herein. However, after understanding the disclosure of the present application, various changes, modifications and equivalents of the methods, devices and / or systems described herein will be apparent. For example, the order of operations described herein is merely an example and is not limited to those order of operations set forth herein, but can be obviously changed after understanding the disclosure of the present application, except for operations that must occur in a certain order. In addition, for greater clarity and brevity, the description of features known in the art may be omitted.
[0055] The features described herein may be embodied in different forms and should not be construed as being limited to the examples described herein. Rather, the examples described herein are provided merely to illustrate some of the many possible ways to implement the methods, devices, and / or systems described herein, which will be apparent after understanding the disclosure of the present application.
[0056] Although terms such as "first," "second," "third," "A," "B," (a), and (b) may be used herein to describe various members, components, regions, layers, or portions, these members, components, regions, layers, or portions are not limited by these terms. Instead, these terms are only used to distinguish one member, component, region, layer, or portion from another member, component, region, layer, or portion. Therefore, without departing from the teachings of the examples described herein, the first member, component, region, layer, or portion mentioned in the examples may also be referred to as the second member, component, region, layer, or portion.
[0057] If the specification states that one component is “connected,” “coupled,” or “engaged” to a second component, the first component may be directly “connected,” “coupled,” or “engaged” to the second component, or a third component may be “connected,” “coupled,” or “engaged” between the first and second components. However, if the specification states that the first component is “directly connected” or “directly engaged” to the second component, a third component may not be “connected” or “engaged” between the first and second components. Similar expressions, such as “between” and “immediately between,” and “adjacent to” and “immediately adjacent to,” should also be interpreted in this manner.
[0058] The terms used herein are for the purpose of describing specific examples only and are not intended to limit the present disclosure or claims. Unless the context clearly indicates otherwise, the singular forms "a", "an", and "the" also include the plural forms. The terms "include", "comprise", "include", and "comprising" indicate the presence of the stated features, numbers, operations, elements, components, or combinations thereof, but do not exclude the presence or addition of one or more other features, numbers, operations, elements, components, or combinations thereof.
[0059] In this document, use of the term "may" with respect to an example or embodiment (e.g., with respect to what an example or embodiment may include or achieve) means that there is at least one example or embodiment that includes or achieves such features, and all examples and embodiments are not limited thereto.
[0060] Hereinafter, example embodiments are described with reference to the accompanying drawings.Throughout the drawings, like reference numerals used herein may refer to like elements.
[0061] Figure 1A , Figure 1B and Figure 1C An example of visual alignment results corresponding to positioning errors is shown.
[0062] Augmented reality (AR) refers to adding or increasing reality-based information to an image and providing the added or increased information. For example, AR can provide an image in which a virtual object corresponding to a virtual image is added to an image or background image of the real world. Since the real world and the virtual world are coordinated in AR, the user can experience an immersive feeling of being able to interact in real time between the user and the virtual world without realizing that the virtual environment is different from the real environment. In order to match the virtual object with the real image, the position and posture (i.e., the positioning information of the user device or user to which AR will be provided) should be verified.
[0063] Positioning information is used to position a virtual object at a desired location in an image. In AR, visual alignment is more important when projecting a virtual object onto a two-dimensional (2D) image than errors that occur in an actual three-dimensional (3D) space or in feature matching. For example, visual alignment corresponds to an overlap ratio or a matching ratio between a virtual object and a real image. Figure 1A and Figure 1B As shown, the visual alignment varies based on the positioning error. Hereinafter, as an example, an example of displaying a driving guide lane corresponding to a virtual object on a road surface is described.
[0064] In the following description, the examples described herein can be used to generate information that supports a driver or controls an autonomous vehicle. The examples described herein can also be used to interpret visual information in a device (e.g., an intelligent system installed in a vehicle for fully autonomous driving or driving assistance) and to assist safe and comfortable driving. The examples described herein can be applied to vehicles and vehicle management systems, such as autonomous vehicles, automatic or autonomous driving systems, intelligent vehicles, advanced driver assistance systems (ADAS), navigation systems that assist vehicles by safely keeping the lane in which the vehicle is traveling, smart phones or mobile devices. Examples related to displaying driving guide lanes corresponding to virtual objects are provided only as examples, and other examples such as training, games, applications in health care, public safety, tourism and marketing are considered to be fully within the scope of this disclosure.
[0065] refer to Figure 1A , the AR image 120 is based on the visual alignment result when the positioning error is small. Figure 1B , the AR image 140 is based on the visual alignment result when the positioning error is large.
[0066] For example, a reference path of a vehicle is displayed on a road image based on the positioning information of the object 110. In the example, the object 110 corresponds to a user terminal and / or a vehicle that performs positioning. When the positioning error of the object 110 is small, the driving guide lane 115 (i.e., the virtual object to be displayed) can be visually aligned well with the actual road image, as shown in the AR image 120. When the positioning error of the object 130 is large, the driving guide lane 135 as a virtual object to be displayed may not be visually aligned with the actual road image, as shown in the AR image 140.
[0067] In an example, accurate AR services may be provided by optimizing positioning information to increase visual alignment when projecting virtual objects onto a two-dimensional (2D) image.
[0068] refer to Figure 1C , positioning information includes the position and posture of the device. The position corresponds to the 3D coordinates (x, y, z). Here, the x coordinate represents the lateral position t x , the y coordinate represents the vertical position t y , the z coordinate represents the longitudinal position t z In addition, the posture corresponds to the pitch r x , Yaw y and roll z For example, a location is acquired using a geographic positioning system (GPS) sensor and a lidar, and an inertial measurement unit (IMU) sensor and a gyroscope sensor are used to acquire a posture. The positioning information can be understood as including 6 degrees of freedom (6DoF), which includes a location and a posture.
[0069] In examples, vehicles described herein refer to any mode of transportation, delivery, or transmission, such as a car, truck, tractor, scooter, motorcycle, bicycle, amphibious vehicle, snowmobile, boat, public transportation vehicle, bus, monorail, train, tram, autonomous or self-driving vehicle, smart vehicle, self-driving vehicle, unmanned aerial vehicle, electric vehicle (EV), hybrid vehicle, smart mobile device, ADAS, or drone. In examples, smart mobile devices include mobile devices such as electric steering wheels, electric paddles, and electric bicycles. In examples, vehicles include motorized and non-motorized vehicles, such as vehicles with a power engine (e.g., a cultivator or motorcycle), bicycles, or carts.
[0070] The term "road" is an avenue, route or connection between two places that has been improved to allow travel by foot or some form of transport (e.g., vehicle). Roads may include various types of roads, such as expressways, national roads, field roads, provincial roads, or high-speed national roads. A road may include a single lane or multiple lanes. A lane corresponds to a road space that is distinguished from each other by road lines marked on the road surface. In the example, a "lane" is a space in the plane on which a vehicle is traveling in a plurality of lanes, that is, a space occupied and used by a vehicle. A lane is distinguished from other lanes by right and left markings of the lane.
[0071] In addition, the term "line" may be understood as various types of lines, such as solid lines, dotted lines, curved lines, and zigzag lines, which are marked on the road surface with colors such as white, blue, or yellow. The line may correspond to a line on one side distinguishing a single lane, or may be a pair of lines (i.e., a left lane and a right lane corresponding to a lane boundary line distinguishing a single lane), a center line of a road, and a stop line. In addition, the line may indicate an area where parking and stopping are prohibited, a pedestrian crossing, a stop and tow zone, and a speed limit indication.
[0072] For example, the following example can be applied to an AR navigation device in a smart vehicle. In the example, the AR navigation device is used to mark lines, generate visual information to assist in steering an autonomous vehicle, or provide various control information for vehicle driving. The AR navigation device can provide visual information to a display. In the example, the display is a head-up display (HUD) using augmented reality, a vehicle infotainment system, a dashboard in a vehicle, or a screen in a vehicle. The display is installed for driving assistance or fully autonomous driving of the vehicle, as well as to assist safe and pleasant driving. In the example, the display can also be implemented as an eyewear display (EGD) including monocular glasses or binocular glasses.
[0073] Figure 2 is a diagram showing an example of a positioning method. Figure 2 The operations in the description may be performed in the order and manner shown, however, the order of some operations may be changed or some operations may be omitted without departing from the spirit and scope of the illustrative examples described. Figure 2 Many of the operations shown in can be performed in parallel or simultaneously. Figure 2 One or more blocks and combinations of blocks in the can be implemented by a computer based on dedicated hardware for performing specific functions, or by a combination of dedicated hardware and computer instructions. Figure 2 In addition to the description of FIG. 1, the description of FIG. 1 also applies to Figure 2 , and is incorporated herein by reference. Therefore, the above description may not be repeated here.
[0074] refer to Figure 2In operation 210, the positioning device acquires positioning information of the corresponding device. Here, the device refers to a device that performs the positioning method, such as a vehicle, a navigation device, and a user device such as a smart phone. The positioning information may have 6DoF including the position and posture of the device. The positioning information is acquired based on the output of a sensor (e.g., an IMU sensor, a GPS sensor, a lidar sensor, and a radar). For example, the positioning information may be initial positioning information of the positioning device.
[0075] In operation 220, the positioning device generates a first image, which includes a directional characteristic corresponding to an object included in the input image. The input image may correspond to a background image or another image displayed together with a virtual object for an AR service. For example, the input image includes a driving image of a vehicle. The driving image may be captured from, for example, a shooting device mounted to the vehicle. In an example, the driving image includes a plurality of frames. The positioning device acquires the input image based on the output of the shooting device. The shooting device is fixed at a location such as a windshield, a dashboard, a front fender, and a rearview mirror to capture an image in front of the vehicle. For example, the shooting device may include a visual sensor, an image sensor, or a device performing a similar function. The shooting device may capture a single image, or, if desired, may capture an image per frame. In another example, in addition to capturing the driving image from the positioning device, the driving image may also be captured from another device. The driving image may be Figure 4 An input image 410 of FIG. 410. In one example, objects include lines, pavement markings, traffic lights, signs, curbs, pedestrians, other vehicles, and structures.
[0076] In operation 220, the positioning device generates a probability map, such as a distance field map indicating a directional characteristic, using a pre-trained neural network. In an example, the "directional characteristic corresponding to the object" may correspond to a probability distribution indicating proximity to the object. Here, each of the pixels included in the probability map stores a distance from the corresponding pixel to the closest seed pixel. The seed pixel may be a pixel corresponding to the object among the pixels included in the image. For example, the first image may be Figure 5 The distance field map 550 will be referred to Figure 5 A method of generating a probability map using a positioning device is further described.
[0077] In operation 230, the positioning device generates a second image based on map data including the location of the object, in which the object is projected according to the positioning information. In the example, the map data is high-density (HD) map data. HD map refers to a three-dimensional (3D) map with high density (e.g., centimeter-based density) for autonomous driving. Line-based information such as the center line and boundary line of the road and information such as traffic lights, signs, curbs, road surface markings, and various structures can be included in the HD map in a 3D digital format. For example, an HD map can be established using a mobile mapping system (MMS). MMS refers to a 3D spatial information survey system including various sensors, and can include a mobile object with sensors, such as a camera, a lidar, and a GPS for measuring location and geographic features. The sensors of the MMS flexibly interact with each other and obtain various precise location information.
[0078] In operation 230, generating a second image in which the object is projected according to the positioning information based on the map data means, for example, that the positioning device places a virtual camera at a position included in the positioning information on the map data, adjusts the posture of the virtual camera based on the posture included in the positioning information, and generates an image of the perspective of the object viewed from the virtual camera.
[0079] In operation 230, the positioning device generates a second image using, for example, a transformer that transforms the coordinate system of the map data into the coordinate system of the second image. Here, for example, the transformer may be a homography function that represents the transformation relationship between corresponding points when one plane is projected onto another plane or an artificial neural network that performs the transformation. The positioning device extracts local data from the map data based on the positioning information, and generates the second image based on the extracted local data using the transformer. For example, the second image may be Figure 4 The second image 430 .
[0080] In operation 240, the positioning device modifies or adjusts the positioning information based on the visual alignment between the first image and the second image. The positioning device calculates the visual alignment by matching the first image with the second image. For example, the positioning device adds the values of the pixels corresponding to the object included in the second image among the plurality of pixels included in the first image, and determines the result of the addition as the visual alignment. For example, the visual alignment can be represented in the form of gradient descent. In the example, the positioning device modifies the positioning information based on the directional characteristics corresponding to the object to increase the visual alignment. The positioning device modifies the positioning information based on the directional characteristics to transform (e.g., move or rotate) the object included in the second image. The reference Figure 6 The method for the positioning device to modify the positioning information is further described.
[0081] The positioning device determines a virtual object for an AR service on the map data. For example, the virtual object may represent driving route information using an arrow indicator or a road sign indicating a direction of travel. The positioning device may display the virtual object and the input image on, for example, a head-up display (HUD), a navigation system, or a display of a user device based on the positioning information modified in operation 240.
[0082] Figure 3 An example of a positioning method is shown, Figure 4 An example describing the positioning process is shown. Figure 3 to Figure 4 The operations in the description may be performed in the order and manner shown, however the order of some operations may be changed or some operations may be omitted without departing from the spirit and scope of the described illustrative examples. Figure 3 to Figure 4 Many of the operations shown in can be performed in parallel or simultaneously. Figure 3 to Figure 4 One or more blocks and combinations of blocks may be implemented by a computer based on dedicated hardware that performs specific functions or by a combination of dedicated hardware and computer instructions. Figure 3 to Figure 4 In addition to the description of Figures 1 to Figure 2 The description also applies to Figure 3 to Figure 4 , and are incorporated herein by reference. Therefore, the above description may not be repeated here.
[0083] refer to Figure 3 and Figure 4 In operation 310, the positioning device acquires an input image 410. For example, the positioning device receives the input image 410 generated by capturing an object using an image sensor. Here, the input image 410 may be an image corresponding to the current position of the device.
[0084] In operation 320 , the positioning device receives or acquires map data including the location of the object.
[0085] In operation 330, the positioning device estimates the object from the input image 410 acquired in operation 310. The positioning device may generate a first image 420 including directional characteristics corresponding to the object based on the input image 410. In an example, the positioning device generates the first image 420 using a pre-trained neural network. The positioning device may use the pre-trained neural network to stably estimate the object regardless of various obstacles (e.g., vehicles, pedestrians, and street trees) in the input image 410. For example, when the input image 410 is applied, the pre-trained neural network generates the first image 420 by activating a portion corresponding to a line in the applied input image 410. For example, the first image 420 may include a 2D distance field map.
[0086] In operation 340 , the positioning device performs initial positioning. In operation 350 , the positioning device generates a second image 430 in which the object is projected based on the initial positioning by applying positioning information corresponding to the initial positioning on the map data acquired in operation 320 .
[0087] The positioning device performs visual alignment on the first image 420 and the second image 430. The positioning device visually aligns the first image 420 and the second image 430, as shown in image 440.
[0088] In operation 360, the positioning device optimizes the visual alignment. The positioning device calculates the positioning modification value so that the first image 420 and the second image 430 can be maximally overlapped by visual alignment. The positioning device can optimize the visual alignment by changing the positioning information based on the initial positioning performed in operation 340 to maximize the overlap between the first image 420 and the second image 430. In one example, gradient-based optimization can be easily performed using the first image 420 (i.e., a distance field map) in which information is spread over the entire image.
[0089] In operation 370 , the positioning device applies the positioning modification value to the positioning information and updates the positioning information to optimize the visual alignment between the first image 420 and the second image 430 , as shown in image 450 .
[0090] Figure 5 An example of a process for generating a first image is shown. Figure 5 A process is described in which an input image 510 is applied to a neural network 530 and a distance field map 550 corresponding to the first image is generated.
[0091] The neural network 530 refers to a neural network that is pre-trained to generate a first image including a directional characteristic corresponding to an object included in the input image 510 based on the input image 510. The neural network 530 may be a deep neural network (DNN) or an n-layer neural network. The DNN or n-layer neural network may correspond to a convolutional neural network (CNN), a recurrent neural network (RNN), a deep belief network, a fully connected network, a bidirectional neural network, a restricted Boltzmann machine, and a bidirectional long short-term memory network (BLSTM), or may include different or overlapping neural network parts having full connections, convolutional connections, recurrent connections, and / or bidirectional connections, respectively. For example, the neural network 530 may be implemented as a CNN, but is not limited thereto.
[0092] The neural network 530 can be implemented as an architecture with multiple layers, and the multiple layers include an input image, a feature map, and an output. In the neural network 530, a convolution operation is performed on the input image using a filter called a kernel, and as a result, a feature map is output. The kernel is used to perform a convolution operation again on the output feature map as the input feature map, and a new feature map is output. When the convolution operation is repeatedly performed in this way, the recognition result about the feature of the input image can be finally output by the neural network 530. In the example, in addition to the convolution layer, the neural network 530 may also include a pooling layer or a fully connected layer.
[0093] The neural network 530 estimates an object included in the input image 510 based on the form of the distance field map 550. For example, when the first image includes directional characteristic information associated with an approaching object as in the distance field map 550, an optimized directional characteristic can be easily determined using a gradient descent scheme. When the probability distribution indicating the proximity to the object is distributed over the entire image as in the distance field map 550, the amount of data used for learning can be increased. Compared with learning through sparse data, the performance of the neural network 530 can be enhanced.
[0094] Figure 6 An example of describing a method of modifying positioning information is shown. Figure 6 An input image 605, a first image 610, and a second image 620 are shown. The first image 610 is generated based on the input image 605. Based on the map data, the first image 610 is generated based on the positioning information (x, y, z, r) corresponding to the initial positioning. x , r y , r z )l projecting object to generate a second image 620.
[0095] The positioning device matches the first image 610 and the second image 620 to obtain an image 630, and calculates the visual alignment between them in the form of, for example, a score 1. The positioning device adds the values of pixels corresponding to the object included in the second image 620 among the plurality of pixels included in the first image 610, and calculates the addition result in the form of a score.
[0096] For example, each of the plurality of pixels included in the first image 610 may have a value between 0 and 1 based on a distance from an object adjacent to the corresponding pixel. As the distance from the adjacent object decreases, each pixel may have a value close to 1, and as the distance from the adjacent object increases, each pixel may have a value close to 0. The positioning device extracts pixels matching the second image 620 from among the plurality of pixels included in the first image 610, adds the values of the extracted pixels, and calculates a score.
[0097] The positioning device modifies the positioning information based on the directional characteristics of the first image 610 to increase the visual alignment, that is, the score l. The positioning device calculates the positioning modification value so that the positioning of the object included in the second image 620 conforms to the directional characteristics of the first image 610. The positioning device updates the positioning information to l→l′640 by applying the positioning modification value to the positioning information corresponding to the initial positioning. For example, the positioning device determines the direction in which the object of the second image 620 is to be moved based on the directional characteristics included in the first image 610 to increase the score. Once the positioning information is updated, the object of the second image 620 is moved. Therefore, the positioning device updates the positioning information based on the directional characteristics included in the first image 610.
[0098] The positioning device generates an updated second image 650 based on the updated positioning information l′. The positioning device calculates a score l′ by matching the updated second image 650 with the first image 610.
[0099] The positioning device calculates the positioning modification value through the aforementioned process to maximize the score, and outputs the optimized positioning information l*.
[0100] Fig. 7A and Figure 7B An example of describing a method of modifying positioning information is shown.
[0101] Fig. 7A An example in which objects included in the input image are not classified for each type is shown. For example, when line 710 and line 730 correspond to objects included in the first image, and line 720 is included in the second image, the positioning device modifies the positioning information to increase the visual alignment between the first image and the second image calculated by matching the first image and the second image. In one example, when Fig. 7A When each object type is not distinguished as shown, the positioning device may not be able to accurately verify whether the line 720 is matched with the line 710 or whether the line 720 is matched with the line 730, which may make it difficult to accurately modify the positioning information.
[0102] Figure 7B An example of classifying objects in an input image according to the type of the object is shown. The first image can classify the objects based on the type of the object, and the directional characteristics can be stored for each object type. In addition, the second image can classify the objects based on the type of the object, and the projected objects can be stored for each object type. For example, line 740 and line 760 can correspond to the objects included in the first image. Line 740 can correspond to the first type (type 1), and line 760 can correspond to the second type (type 2). In addition, line 750 can be included in the second image and corresponds to the first type (type 1).
[0103] refer to Figure 7BWhen each of the objects is classified for each type, the positioning device matches the first image with the second image and calculates a visual alignment for each object type. The positioning device modifies the positioning information based on the directional characteristics to increase the visual alignment for each type.
[0104] For example, the positioning device may calculate the visual alignment of the object (lines 740 and 750) corresponding to the first type (type 1), and may modify the positioning information based on the directional characteristics to increase the visual alignment corresponding to the first type. The positioning device may modify the positioning information to match the objects (lines 740 and 750).
[0105] Figure 8 is a diagram showing an example of a learning method, Fig. 9 An example of the learning process is shown. Figure 8 The operations in the description may be performed in the order and manner shown, however, the order of some operations may be changed or some operations may be omitted without departing from the spirit and scope of the illustrative examples described. Figure 8 Many of the operations shown in can be performed in parallel or simultaneously. Figure 8 One or more blocks and combinations of blocks in the invention may be implemented by a computer based on dedicated hardware that performs specific functions, or by a combination of dedicated hardware and computer instructions. Figure 8 , Fig. 9 and Fig.10 Describes training of a neural network by a learning device to generate a first image based on an input image, thereby optimizing positioning information for AR. Figure 8 In addition to the description of Figures 1 to Figure 7B The description also applies to Figure 8 , and is incorporated herein by reference. Therefore, the above description may not be repeated here.
[0106] refer to Figure 8 and Fig. 9 In operation 810, the learning device receives a learning image 910. For example, the learning image 910 may include a driving image of a vehicle. For example, the learning image 910 may be Fig.10 The learning image 1010.
[0107] In operation 820, the learning device generates a reference image 950 based on the map data 940 for the learning image 910, and the reference image 950 includes a directional characteristic corresponding to an object included in the learning image 910. In an example, the directional characteristic corresponds to a probability distribution indicating proximity to the object. The reference image 950 may correspond to a ground truth (GT) image. For example, the reference image 950 may be Fig.10 reference image 1030 or reference image 1040 .
[0108] In operation 830, the learning device generates an inferred image 930 using the neural network 920, which infers a directional characteristic corresponding to the object included in the learning image 910. For example, the neural network 920 may be Figure 5 The neural network 530 will refer to Fig.10 The method by which the learning device generates the inferred image 930 is further described.
[0109] In operation 840, the learning device trains the neural network 920 based on the difference (e.g., loss 960) between the reference image 950 and the inferred image 930. The learning device may train the neural network 920 to minimize the difference between the reference image 950 and the inferred image 930. For example, the learning device may train the neural network 920 through supervised learning. The learning device may update the neural network 920 through a gradient descent scheme based on the loss 960 back-propagated to the neural network 920 through back-propagation learning, and output the values of the nodes included in the neural network 920. Back-propagation learning refers to a method in which the loss 960 is estimated by performing forward calculation on the reference image 950, and the neural network 920 is updated while the estimated loss 960 is propagated from the output layer of the neural network 920 toward the hidden layer and the input layer to reduce the loss 960.
[0110] Fig.10 Examples of images used for learning are shown. Fig.10 A learning image 1010 , a map data image 1020 , and reference images 1030 and 1040 are shown.
[0111] refer to Fig.10 , the learning device trains a neural network to estimate reference images 1030 and 1040 based on the learning image 1010. In the example, the map data image 1020 represents the object in the learning image 1010 using discrete binary values. Therefore, when the map data image 1020 is used, the learning information may be too sparse to smoothly perform the learning. In the example, the learning may be performed using a distance field map (e.g., reference images 1030 and 1040). The sparse learning information may be spread over the entire image through the distance field map. When the learning information exists over the entire target image as in the distance field map, the neural network may be trained based on sufficient learning information.
[0112] In an example, the learning device generates the reference image 1030 or the reference image 1040 based on the map data image 1020 by adjusting the importance of the information scattered in the distance field. For example, the learning device may adjust the importance of the information scattered in the distance field, such as e -0.02d Here, d represents the distance between the seed pixel and the corresponding pixel corresponding to the object.
[0113] Fig.11 An example of a learning method is shown, Fig.12 Shows Fig.11 An example of the positioning update process. Fig.11 The operations in the description may be performed in the order and manner shown, however, the order of some operations may be changed or some operations may be omitted without departing from the spirit and scope of the illustrative examples described. Fig.11 Many of the operations shown in can be performed in parallel or simultaneously. Fig.11 One or more blocks and combinations of blocks in the can be implemented by a computer based on dedicated hardware that performs specific functions, or by a combination of dedicated hardware and computer instructions. Fig.11 In addition to the description of Figures 1 to Fig.10 The description also applies to Fig.11 , and is incorporated herein by reference. Therefore, the above description may not be repeated here.
[0114] refer to Fig.11 and Fig.12 In operation 1110, the positioning device acquires an input image. In an example, the input image refers to an image corresponding to the current position of the corresponding device.
[0115] In operation 1120, the positioning device receives or acquires map data including the location of the object. In operation 1140, the positioning device applies a plurality of pieces of candidate positioning information to the map data acquired in operation 1120. In operation 1150, the positioning device generates second candidate images in each of which the object is projected based on the candidate positioning information. For example, the positioning device may generate second candidate images to which the candidate positioning information is applied, such as Fig.12 A first candidate image (Candidate 1) 1210 and a second candidate image (Candidate 2) 1220.
[0116] In operation 1130, the positioning device scores the visual alignment between the input image and each of the second candidate images. For example, the visual alignment between the input image and the first candidate image 1210 is scored as 0.43, and the visual alignment between the input image and the second candidate image 1220 is scored as 0.98.
[0117] In operation 1160, the positioning device searches for the best score having the highest value among the scores output in operation 1130. Fig.12 , the positioning device retrieves 0.98 as the best score from the scores 0.43 and 0.98. In operation 1170, the positioning device updates the positioning information by selecting the candidate positioning corresponding to the best score retrieved in operation 1160.
[0118] Fig.13is a diagram showing an example of a positioning method. Fig.13 The operations in the description may be performed in the order and manner shown, however, the order of some operations may be changed or some operations may be omitted without departing from the spirit and scope of the illustrative examples described. Fig.13 Many of the operations shown in can be performed in parallel or simultaneously. Fig.13 One or more blocks and combinations of blocks in the can be implemented by a computer based on dedicated hardware that performs specific functions, or by a combination of dedicated hardware and computer instructions. Fig.13 In addition to the description of Figures 1 to Fig.12 The description also applies to Fig.13 , and is incorporated herein by reference. Therefore, the above description may not be repeated here.
[0119] refer to Fig.13 Before scoring the visual alignment in operation 1360, the positioning device generates a first image (eg, a distance field map) from the input image by estimating the object in operation 1330. The positioning device calculates a score between the first image and the second candidate image.
[0120] Fig.14 is a diagram showing an example of a positioning device. Fig.14 , the positioning device 1400 includes a sensor 1410 and a processor 1430. The positioning device 1400 also includes a memory 1450, a communication interface 1470 and a display device 1490. The sensor 1410, the processor 1430, the memory 1450, the communication interface 1470 and the display device 1490 are connected to each other via a communication bus 1405.
[0121] For example, the sensor 1410 may include an image sensor, a visual sensor, an accelerometer sensor, a gyroscope sensor, a GPS sensor, an IMU sensor, a radar, and a laser radar. The sensor 1410 may acquire an input image including a driving image of the vehicle. In addition to positioning information (e.g., GPS coordinates, position, and posture of the vehicle), the sensor 1410 may sense sensing information such as speed, acceleration, driving direction, a handle steering angle of the vehicle, and the speed of the vehicle.
[0122] In an example, the processor 1430 generates a first image including a directional characteristic corresponding to an object included in the input image. In an example, the processor 1430 generates a second image based on map data including a location of the object, in which the object is projected based on the positioning information. In an example, the processor 1430 modifies the positioning information based on a visual alignment between the first image and the second image.
[0123] In an example, the positioning device 1400 acquires various sensing information including input images from various sensors through the communication interface 1470. In an example, the communication interface 1470 receives sensing information including driving images from other sensors located outside the positioning device 1400.
[0124] The processor 1430 provides an AR service by outputting the modified positioning information via the communication interface 1470 and / or the display device 1490, or by displaying a virtual object and an input image on the map data based on the modified positioning information. Fig.13 One or more methods described or algorithms corresponding thereto.
[0125] Processor 1430 refers to a data processing device that is configured as hardware having circuits in a physical structure to perform desired operations. For example, the desired operation may include a code or instruction included in a program. For example, a data processing device configured as hardware may include a microprocessor, a central processing unit (CPU), a processor core, a multi-core processor, a multiprocessor, an application specific integrated circuit (ASIC), and a field programmable gate array (FPGA). More details about processor 1430 are provided below.
[0126] The processor 1430 executes the program and controls the positioning device 1400. The program code executed by the processor 1430 may be stored in the memory 1450.
[0127] The memory 1450 stores the positioning information of the positioning device 1400, the first image, the second image and / or the modified positioning information. The memory 1450 stores various information generated during the processing of the processor 1430. In an example, the memory 1450 stores map data. In addition, the memory 1450 stores various data and programs. For example, the memory 1450 may include a volatile memory or a non-volatile memory. The memory 1450 may include a large-capacity storage medium such as a hard disk to store various data. More details about the memory 1450 are provided below.
[0128] The display device 1490 outputs the positioning information modified by the processor 1430, or displays a virtual object on the map data together with the input image based on the modified positioning information. In the example, the display device 1490 is a physical structure including one or more hardware components that provide the ability to render a user interface and / or receive user input. In the example, the positioning information or the virtual object on the map data together with the input image based on the modified positioning information is displayed on the windshield or a separate screen of the vehicle using a head-up display (HUD) or on an augmented reality head-up display (AR HUD). In the example, the positioning device 1400 sends the positioning information to the electronic control unit (ECU) or vehicle control unit (VCU) of the vehicle. The ECU or VCU displays the positioning information on the display device 1490 of the vehicle.
[0129] However, the display of the object is not limited to the above examples, and any other instrument cluster, vehicle infotainment system, screen in the vehicle, or display panel in the vehicle can perform the display function. Without departing from the spirit and scope of the described illustrative examples, other displays operably connected to the positioning device 1400, such as smart phones and eyeglass displays (EGDs), can be used.
[0130] In one example, although the perspectives between the shooting device and the positioning device do not match (e.g., HUD and AR glasses), the positioning device can perform the positioning method independently of the perspective by updating the 3D positioning information of the positioning device based on the result of the positioning method performed by the shooting device. In addition, when the perspectives between the shooting device and the positioning device match (e.g., a mobile terminal and a smart phone), the positioning device can update the 3D positioning information, and additionally, the 2D position in the image can be directly used for modification.
[0131] The positioning device, processor 1430 and other devices, units, modules, equipment and other components described herein are implemented by hardware components. Examples of hardware components that can be used to perform the operations described in this application include controllers, sensors, generators, drivers, memories, comparators, arithmetic logic units, adders, subtractors, multipliers, dividers, accumulators, and any other electronic components configured to perform the operations described in this application where appropriate. In other examples, one or more hardware components that perform the operations described in this application are implemented by computing hardware, for example, by one or more processors or computers. A processor or computer can be implemented by one or more processing elements, such as a logic gate array, a controller and an arithmetic logic unit, a digital signal processor, a microcomputer, a programmable logic controller, a field programmable gate array, a programmable logic array, a microprocessor, or any other device or combination of devices configured to respond and execute instructions in a defined manner to achieve a desired result. In one example, a processor or computer includes or is connected to one or more memories storing instructions or software executed by a processor or computer. The hardware components implemented by a processor or a computer can execute instructions or software, such as an operating system (OS) and one or more software applications running on the OS, to perform the operations described in this application. In response to the execution of instructions or software, the hardware components can also access, manipulate, process, create and store data. For simplicity, the singular term "processor" or "computer" can be used in the description of the examples described in this application, but in other examples, multiple processors or computers can be used, or the processor or computer can include multiple processing elements or multiple types of processing elements or both. For example, a single hardware component or two or more hardware components can be implemented by a single processor or two or more processors or a processor and a controller. One or more hardware components can be implemented by one or more processors or a processor and a controller, and one or more other hardware components can be implemented by one or more other processors or another processor and another controller. One or more processors or a processor and a controller can implement a single hardware component or two or more hardware components. The hardware components may have any one or more of different processing configurations, examples of which include a single processor, independent processors, parallel processors, single instruction single data (SISD) multiprocessing, single instruction multiple data (SIMD) multiprocessing, multiple instruction single data (MISD) multiprocessing, and multiple instruction multiple data (MIMD) multiprocessing.
[0132] Methods for performing the operations described in the present application are performed by computing hardware, for example, by one or more processors or computers, which execute instructions or software as described above to perform the operations performed by the methods described in the present application. For example, a single operation or two or more operations may be performed by a single processor or two or more processors or a processor and a controller. One or more operations may be performed by one or more processors or a processor and a controller, and one or more other operations may be performed by one or more other processors or another processor and another controller. One or more processors or a processor and a controller may perform a single operation or two or more operations.
[0133] The instructions or software for controlling the processor or computer to implement the hardware components and perform the above methods are written as computer programs, code segments, instructions or any combination thereof, so as to indicate or configure the processor or computer to operate as a machine or special-purpose computer individually or collectively to perform the operations performed by the hardware components and the above methods. In an example, the instructions or software include at least one of the following: applet, dynamic link library (DLL), middleware, firmware, device driver, and an application program storing a method for preventing conflicts. In one example, the instructions or software include machine code directly executed by the processor or computer, such as machine code generated by a compiler. In another example, the instructions or software include higher-level codes executed by the processor or computer using an interpreter. Ordinary programmers in the art can easily write instructions or software based on the block diagrams and flow charts shown in the accompanying drawings and the corresponding description of the algorithm for performing the operations performed by the hardware components and the above methods disclosed in the specification.
[0134] Instructions or software for controlling computing hardware (e.g., one or more processors or computers) to implement hardware components and perform the methods described above, and any associated data, data files, and data structures, may be recorded, stored, or fixed in or on one or more non-transitory computer-readable storage media. Examples of non-transitory computer-readable storage media include read-only memory (ROM), random access memory (RAM), CD-ROM, CD-R, CD+R, CD-RW, CD+RW, DVD-ROM, DVD-R, DVD+R, DVD-RW, DVD+RW, DVD-RAM, BD-ROM, BD-R, BD-R LTH, BD-RE, magnetic tape, floppy disk, magneto-optical data storage device, optical data storage device, hard disk, solid-state disk, and any other device, any of which is configured to store instructions or software and any associated data, data files, and data structures in a non-transitory manner and provide instructions or software and any associated data, data files, and data structures to one or more processors or computers so that the one or more processors or computers can execute instructions. In one example, the instructions or software and any associated data, data files, and data structures are distributed across a networked computer system so that one or more processors or computers store, access, and execute the instructions and software and any associated data, data files, and data structures in a distributed manner.
[0135] Although the present disclosure includes specific examples, it will be clear after understanding the disclosure of the present application that various changes in form and detail may be made to these examples without departing from the spirit and scope of the claims and their equivalents. The examples described herein should be considered to be merely descriptive and not for limiting purposes. The description of the features or aspects in each example should be considered to apply to similar features or aspects in other examples. If the described techniques are performed in a different order and / or if the components in the described systems, architectures, devices, or circuits are combined in different ways and / or replaced or supplemented by other components or their equivalents, suitable results may be achieved. Therefore, the scope of the present disclosure is not limited by specific embodiments, but by the claims and their equivalents, and all changes within the scope of the claims and their equivalents should be interpreted as included in the present disclosure.
Claims
1. A positioning method, include: Obtaining location information of the device; Acquire an input image based on an output of a capture device; estimating an object from the input image; generating a first image from the input image, the first image comprising directional characteristics corresponding to the object, the directional characteristics being represented by a distance field map; generating a second image based on map data corresponding to the position of the object, in which the object is projected onto the map data based on the positioning information; as well as updating the positioning information based on a visual alignment between the first image and the second image, wherein, for the first image, objects are classified based on object type, and directional characteristics are stored for each object type, wherein, for the second image, objects are classified based on the object type, and the projected objects are stored for each object type, and Wherein, updating the positioning information includes: calculating a visual alignment of each object for each object type by matching the first image to the second image; and The positioning information is modified based on the directional characteristic to increase the visual alignment.
2. The positioning method according to claim 1, in, The positioning information includes the position of the device and the posture of the device.
3. The positioning method according to claim 2, in, Generating the second image comprises: placing a virtual camera at the location of the device on the map data; adjusting a pose of the virtual camera based on the pose of the device; and An image of the object viewed from the perspective of the virtual camera is generated.
4. The positioning method according to claim 1, in, The directional characteristic corresponds to a probability distribution indicating proximity to the object.
5. The positioning method according to claim 1, in: The positioning information is based on output of sensors.
6. The positioning method according to claim 1, further comprising: include: Determining a virtual object on the map data for an augmented reality (AR) service; as well as The virtual object and the input image are displayed based on the updated positioning information.
7. The positioning method according to claim 6, in, The virtual object represents driving route information.
8. The positioning method according to claim 1, in, Generating the first image includes generating a distance field map representing the directional characteristics using a trained neural network.
9. The positioning method according to claim 8, in, Each pixel in the distance field map is configured to store a distance from the each pixel to a closest seed pixel.
10. The positioning method according to claim 9, in, The seed pixel includes a pixel corresponding to the object among pixels included in the input image.
11. The positioning method according to claim 1, in, Generating the second image includes generating the second image using a transformer, wherein the transformer is configured to transform a coordinate system of the map data into a coordinate system of the second image.
12. The positioning method according to claim 1, in, The positioning information includes 6 degrees of freedom (6DoF).
13. The positioning method according to claim 1, in, The calculation includes adding values of pixels corresponding to the object in the second image among the pixels in the first image.
14. The positioning method according to claim 1, in, Modifying the positioning information based on the directional characteristic includes modifying the positioning information based on the directional characteristic to transform the object in the second image.
15. The positioning method according to claim 1, in, Modifying the positioning information based on the directional characteristic includes moving or rotating the object in the second image based on the directional characteristic.
16. The positioning method according to claim 1, in, The input image includes a driving image of a vehicle.
17. The positioning method according to claim 1, in, The objects include any one or any combination of the following: lines, pavement markings, traffic lights, signs, curbs, and structures.
18. A non-transitory computer-readable storage medium storing instructions, in, When the instructions are executed by a processor, the processor is caused to perform the positioning method according to claim 1 .
19. A learning method, include: receiving a learning image; generating a reference image based on map data for the learning image, the reference image including directional characteristics corresponding to objects in the learning image, the directional characteristics being represented by a distance field map; generating an inferred image using a neural network, the inferred image inferring directional characteristics corresponding to the object in the learning image; and training the neural network based on the difference between the reference image and the inferred image, wherein, for each of the reference image and the inferred image, objects are classified based on object type, and directional characteristics are stored for each object type, and Wherein, the training includes: training the neural network based on the type difference between the reference image and the inferred image.
20. The learning method according to claim 19, in, The training includes: training the neural network to minimize the difference between the reference image and the inferred image.
21. The learning method according to claim 19, in, The directional characteristic corresponds to a probability distribution indicating proximity to the object.
22. The learning method according to claim 19, in, Each pixel in the reference image and the inferred image is configured to store a distance from each pixel to a closest seed pixel.
23. The learning method according to claim 19, in, The learning image includes a driving image of a vehicle.
24. The learning method according to claim 19, in, The objects include any one or any combination of the following: lines, pavement markings, traffic lights, signs, curbs, and structures.
25. A non-transitory computer-readable storage medium storing instructions, in, When the instructions are executed by a processor, the processor is caused to perform the learning method according to claim 19 .
26. A positioning device, include: a sensor configured to obtain positioning information of the device and an input image; as well as The processor is configured as: estimating an object from the input image; generating a first image from the input image, the first image comprising directional characteristics corresponding to the object, the directional characteristics being represented by a distance field map; generating a second image based on map data corresponding to the position of the object, in which the object is projected onto the map data based on the positioning information; as well as updating the positioning information based on a visual alignment between the first image and the second image, The processor is further configured to: for the first image, classify objects based on object type, and store directional characteristics for each object type, The processor is further configured to: for the second image, classify objects based on the object type, and store the projected objects for each object type, and Wherein, the processor is further configured to: calculating a visual alignment of each object for each object type by matching the first image to the second image; and The positioning information is modified based on the directional characteristic to increase the visual alignment.
27. A positioning method, include: Using a camera, acquiring an input image corresponding to the position of the device; estimating objects from the input image, wherein for the input image, objects are classified based on object type; receiving map data corresponding to the location of the object; applying a plurality of candidate positioning information to the map data; generating a second image based on the map data, in which the object is projected onto the map data based on corresponding candidate positioning information among the plurality of pieces of candidate positioning information, wherein for each of the second images, objects are classified based on the object type, and the projected objects are stored for each object type; calculating a visual alignment of each object for each object type for each second image by matching the input image with each second image; selecting a second image having a highest degree of visual alignment from among the second images; as well as The positioning information of the device is updated based on the candidate positioning information corresponding to the selected second image.
28. The positioning method according to claim 27, further comprising: include: generating a first image from the input image, the first image comprising a distance field map indicating directional characteristics corresponding to the object, and Wherein, calculating the visual alignment comprises: matching the first image with each of the second images.
29. A positioning device, include: a first sensor configured to capture an input image; a second sensor configured to obtain positioning information of the device; Head-up display HUD; as well as The processor is configured as: estimating an object from the input image; generating a first image from the input image, the first image comprising directional characteristics corresponding to the object, the directional characteristics being represented by a distance field map; generating a second image based on map data corresponding to the position of the object, in which the object is projected onto the map data based on the positioning information; updating the positioning information based on a visual alignment between the first image and the second image; as well as In the HUD for augmented reality (AR) service, the object and the input image are displayed on the map data based on the updated positioning information, The processor is further configured to: for the first image, classify objects based on object type, and store directional characteristics for each object type, The processor is further configured to: for the second image, classify objects based on the object type, and store the projected objects for each object type, and Wherein, the processor is further configured to: calculating a visual alignment of each object for each object type by matching the first image to the second image; and The positioning information is modified based on the directional characteristic to increase the visual alignment.
