WO2020019239A1 - Positioning method and device, terminal and readable storage medium - Google Patents

Positioning method and device, terminal and readable storage medium Download PDF

Info

Publication number
WO2020019239A1
WO2020019239A1 PCT/CN2018/097216 CN2018097216W WO2020019239A1 WO 2020019239 A1 WO2020019239 A1 WO 2020019239A1 CN 2018097216 W CN2018097216 W CN 2018097216W WO 2020019239 A1 WO2020019239 A1 WO 2020019239A1
Authority
WO
WIPO (PCT)
Prior art keywords
positioning
scene
current period
terminal
degree
Prior art date
Application number
PCT/CN2018/097216
Other languages
French (fr)
Chinese (zh)
Inventor
林义闽
廉士国
易万鑫
王超鹏
Original Assignee
深圳前海达闼云端智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳前海达闼云端智能科技有限公司 filed Critical 深圳前海达闼云端智能科技有限公司
Priority to CN201880001296.5A priority Critical patent/CN109691185B/en
Priority to PCT/CN2018/097216 priority patent/WO2020019239A1/en
Publication of WO2020019239A1 publication Critical patent/WO2020019239A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • H04W52/0287Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level changing the clock frequency of a controller in the equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present application relates to the field of computer vision, and in particular, to a positioning method, a device, a terminal, and a readable storage medium.
  • the current terminal integrates visual real-time map creation and positioning (Visual Simultaneous Localization and Mapping (referred to as "vSLAM”) positioning algorithm, real-time terminal composition and positioning functions, such as intelligent robots, drones or AR / VR and other terminals.
  • vSLAM Visual Simultaneous Localization and Mapping
  • the inventor discovered during the research of the prior art that due to the high complexity of the vSLAM algorithm, the computing resources required on the terminal are very large, which reduces the effective working time of the terminal.
  • the power consumption of vSLAM is usually reduced by reducing the positioning frequency of vSLAM.
  • reducing the positioning frequency of vSLAM is prone to follow-up loss, which results in positioning failure and reduces the positioning accuracy of the terminal. .
  • a technical problem to be solved in some embodiments of the present application is to provide a positioning method, a device, a terminal, and a readable storage medium, so as to reduce the power consumption of positioning and improve the endurance of the terminal without reducing the positioning accuracy of the terminal.
  • An embodiment of the present application provides a positioning method, including: obtaining a confidence level of a scene in which a terminal is located in a current period, and the confidence level is used to represent a scene in which the terminal is located in the current period and a scene in a previous period. The degree of difference; adjusting the first positioning frequency according to the confidence of the scene in which the terminal is located in the current period, wherein the confidence is inversely proportional to the first positioning frequency; in the scene in the current period according to the adjusted first positioning frequency Visual positioning.
  • An embodiment of the present application further provides a positioning device, including: a confidence degree acquisition module, a frequency adjustment module, and a positioning module; the confidence degree acquisition module is used to obtain the confidence degree of the scene in which the terminal is located in the current period, and the confidence degree is used for Yu indicates the degree of difference between the scene in which the terminal is in the current period and the scene in the previous period; the frequency adjustment module is used to adjust the first positioning frequency according to the confidence of the scene in which the terminal is in the current period. It is inversely proportional to the first positioning frequency; the positioning module is configured to perform visual positioning in the scene where the current period is located according to the adjusted first positioning frequency.
  • An embodiment of the present application further provides a terminal, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor.
  • the processor executes to enable at least one processor to perform the positioning method described above.
  • An embodiment of the present application further provides a computer-readable storage medium storing a computer program, and the computer program implements the foregoing positioning method when executed by a processor.
  • the first positioning frequency since the first positioning frequency is inversely proportional to the confidence level, the confidence level indicates the degree of change of the scene in the current period and the scene in the previous period.
  • the confidence level When the confidence level is low, it indicates that the scene between the current period and the scene in the previous period has a large change and the scene is unstable.
  • a high-frequency first positioning frequency is used to ensure the accuracy of the positioning. If the confidence level is high, it indicates that The scene does not change much and the scene is stable.
  • the low-frequency first positioning frequency is used to locate the scene in the current period, which reduces the power consumption of positioning, and also greatly reduces the probability of follow-up loss.
  • the first positioning frequency is flexibly adjusted according to the degree of confidence, so that the power consumption of positioning is reduced without reducing the positioning accuracy of the terminal, and the endurance of the terminal is improved.
  • FIG. 1 is a schematic flowchart of a positioning method in a first embodiment of the present application
  • FIG. 2 is a schematic flowchart of a specific positioning method in a second embodiment of the present application.
  • FIG. 3 is a schematic diagram of a distribution of auxiliary positioning in a time period of T N to T N + 1 in a positioning method according to a second embodiment of the present application;
  • FIG. 4 is a schematic diagram of distribution of visual positioning and auxiliary positioning in a time period T1 to T2 in a positioning method in a second embodiment of the present application;
  • FIG. 5 is a schematic structural diagram of a positioning device in a third embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a terminal in a fourth embodiment of the present application.
  • the first embodiment of the present application relates to a positioning method, which can be applied to a terminal or a cloud.
  • the terminal may be a smart robot, an unmanned vehicle, a blind navigation device, or the like.
  • the cloud communicates with the terminal to provide positioning results for the terminal.
  • This embodiment uses the terminal as an example to describe the positioning process.
  • For the process of executing the positioning method in the cloud reference may be made to the content of the embodiment of the present application.
  • the visual positioning in this embodiment is described by using the vSLAM positioning method as an example. Of course, other high-precision and high-energy-consuming visual positioning methods can also be used.
  • This embodiment does not limit the visual positioning method of the terminal.
  • the specific process of this positioning method is shown in Figure 1:
  • Step 101 Obtain the confidence of the scene in which the terminal is located in the current period.
  • the confidence degree is used to indicate the degree of difference between the scene in which the terminal is located in the current period and the scene in the previous period.
  • image data of the scene where the terminal is located in the current period and angle information of the terminal are obtained; and based on the image data and angle information, the confidence level of the scene where the terminal is located in the current period is determined.
  • the image data of the scene where the terminal is located in the current period can be obtained through a visual sensor, such as a camera, an infrared sensor, and the like.
  • the angle information of the terminal in the current period can be obtained through an angle sensor, for example, an inclination sensor, a gyroscope, and the like.
  • an angle sensor for example, an inclination sensor, a gyroscope, and the like.
  • the terminal may determine the confidence level of the scene in the current period according to the image data, determine the degree of texture quality change of the scene in the current period, and determine the lighting of the scene in the current period.
  • Degree of change Determine the degree of angle change of the scene in the current period according to the angle information; Calculate the average value of the texture quality change degree, lighting change degree and angle change degree, and use the average value as the terminal's The confidence of the scene.
  • the methods for determining the degree of texture quality change of the scene in the current period include, but are not limited to, the following two methods:
  • Method 1 Obtain characteristic pixel points in the image data, and count the number of characteristic pixel points, calculate a first ratio between the number of characteristic pixel points and the number of preset pixel points, and use the first ratio as the scene The degree of texture quality change.
  • an image data is composed of one pixel, and feature pixels are extracted from the image data.
  • feature pixels are extracted from the image data.
  • There are multiple ways to extract feature pixels for example, using scale-invariant feature transformation and accelerating robust features.
  • Extraction of characteristic pixels of an image Count the number of all characteristic pixel points extracted from the image data, and calculate the first ratio of the number of characteristic pixel points to the number of preset pixels.
  • the number of preset pixels can be performed according to the actual situation. Setting, for example, the number of preset pixels can be 1000 or 10,000.
  • Method 2 Detect the pixels that belong to the edge in the image data, and count the number of pixels that belong to the edge, calculate the second ratio between the number of pixels that belong to the edge and the preset number of pixels, and set the second ratio The degree of change in the texture quality of the scene.
  • the number of pixels belonging to the edge is extracted in the image data, and the extraction method may adopt an edge extraction method, which will not be repeated here.
  • the preset number of image points is approximately the same as the setting method in the first method, which will not be described in detail here.
  • an average grayscale value in a preset area in the image data is calculated; and based on the average grayscale value and the preset grayscale value, the degree of lighting change of the scene in the current period is determined.
  • the average gray value in a preset area in the image data is calculated.
  • the preset area may be the size of the entire image data, or it may be an intermediate area of the image data.
  • the preset area may be based on the actual Need to be set.
  • the average gray value in the preset area may be a sum of the gray value of each pixel in the preset area divided by the sum of all the pixels in the preset area.
  • it may be determined by other This method calculates the average gray value in the preset area, which will not be exemplified here.
  • the lighting variation of the scene in which the scene is located can also be calculated in other manners, which will not be exemplified one by one in this embodiment.
  • a difference between the preset angle and the angle information is calculated; a third ratio between the difference and the preset angle is calculated, and the third ratio is used as the angle change degree of the scene in the current period.
  • the angle information is A
  • the preset angle can be 180 degrees or 360 degrees, which can be set according to the actual situation.
  • the third ratio TA 1-A / 180, and take TA as the degree of angle change of the scene in the current period.
  • the confidence level of the scene in the current period in this embodiment is determined according to the degree of texture quality change, lighting change, and angle change. It can be understood that the confidence level of the scene in the current period can also be based on texture only.
  • the degree of change in quality is determined either by the degree of change in lighting or the degree of change in angle; of course, the confidence of the scene in the current period can also be determined by the degree of change in texture quality, the degree of illumination, and the degree of change in angle.
  • the combination of any two of the two is determined, and this embodiment does not limit the method for determining the confidence of the scene in the current period.
  • the image data of the scene where the terminal is located in the current period is the image data of the last frame collected in the current period or the image data of all frames collected in the current period. It can be understood that if the image data is image data of all frames collected in the current period, then the average texture quality change degree, average light change degree, and average angle change of the image data of all frames in the current period can be calculated. Degree, calculates the confidence level of the scene in the current period.
  • Step 102 Adjust the first positioning frequency according to the confidence of the scene in which the terminal is located in the current period.
  • the confidence level is inversely proportional to the first positioning frequency.
  • the terminal can reduce the first frequency to reduce Power consumption.
  • the smaller the confidence level of the scene in the current period the greater the change between the scene in the current period and the scene in the previous period, the more unstable the scene is.
  • the terminal can increase the first positioning frequency to improve positioning. Precision.
  • a correspondence relationship between the confidence level and the first positioning frequency may be stored in advance.
  • the first positioning frequency required for the scene in the current period can be determined according to the pre-stored correspondence.
  • the pre-stored correspondence is shown in Table 1. In Table 1, ⁇ t1> ⁇ t2> ⁇ t3; if the confidence level of the scene in the current period is 0.3, then the first frequency is adjusted to ⁇ t2. Table 1 is only an example. In real life, the confidence is more than the number listed in Table 1.
  • the default current confidence is the minimum value, and the highest first frequency is used for positioning.
  • Step 103 Perform visual positioning in the scene where the current period is located according to the adjusted first positioning frequency.
  • the first positioning frequency since the first positioning frequency is inversely proportional to the confidence level, the confidence level indicates the degree of change of the scene in the current period and the scene in the previous period. When the confidence level is low, it indicates that the current period has a large change between the scene in which it is located and the scene in the previous period, and the scene is unstable.
  • a high-frequency first positioning frequency is used to ensure the accuracy of the positioning. If the confidence level is high, It shows that the scene changes little and the scene is stable.
  • the low-frequency first positioning frequency is used to locate the scene in the current period, which reduces the power consumption of positioning, and also greatly reduces the probability of follow-up loss.
  • the first positioning frequency is flexibly adjusted according to the degree of confidence, so that the power consumption of positioning is reduced without reducing the positioning accuracy of the terminal, and the endurance of the terminal is improved.
  • the second embodiment of the present application relates to a positioning method.
  • the second embodiment is a further improvement on the first embodiment.
  • the main improvement is that in this embodiment, auxiliary positioning is added during the visual positioning process. Positioning, while reducing power consumption, further ensures the accuracy of terminal positioning.
  • the visual positioning uses vSLAM positioning as an example
  • the auxiliary positioning uses a visual inertial measurement / measurement unit (Visual-Inertial Odometry / Inertialmeasurement unit (referred to as "VIO / IMU") positioning is taken as an example for illustration.
  • VIO / IMU Visual-Inertial Odometry / Inertialmeasurement unit
  • Step 201 Obtain the confidence of the scene in which the terminal is located in the current period.
  • Step 202 Adjust the first positioning frequency according to the confidence of the scene in which the terminal is located in the current period.
  • steps 201 to 202 in this embodiment are substantially the same as steps 101 to 102 in the first embodiment, and will not be described in detail here.
  • Step 203 Perform the Nth visual positioning in the scene where the current period is located according to the adjusted first positioning frequency, and obtain the positioning result of the Nth visual positioning.
  • N is an integer greater than 0.
  • Step 204 During the intermediate period between the Nth visual positioning and the N + 1th visual positioning, perform at least one auxiliary positioning based on the positioning results of the Nth visual positioning.
  • T N indicates the time of the Nth visual positioning
  • T N + 1 indicates the time of the N + 1th visual positioning.
  • the auxiliary positioning can be used to assist Positioning, to obtain the positioning result of the auxiliary positioning.
  • the time for assisting positioning may be selected from the middle time of the period T N ⁇ T N + 1 , or other time may be selected.
  • auxiliary positioning can also be performed multiple times during the period of T N ⁇ T N + 1 , wherein the auxiliary positioning is evenly distributed in the period of T N ⁇ T N + 1 .
  • the auxiliary positioning is uniformly distributed twice during a period of T N to T N + 1 (the auxiliary positioning is based on the VIO / IMU positioning method as an example).
  • the auxiliary positioning may also be performed according to the second positioning frequency.
  • the second positioning frequency may be a fixed frequency.
  • the fixed frequency may be a high frequency.
  • the second frequency can also be dynamically adjusted according to the confidence level.
  • the terminal obtains the second positioning frequency in the following manner: according to the confidence of the scene in which the terminal is located in the current period, and the confidence and proportion The corresponding relationship between them determines a second positioning frequency, where the ratio is a ratio of the first positioning frequency to the second positioning frequency.
  • the auxiliary positioning is used to assist visual positioning, when the first positioning frequency is high, the corresponding second positioning frequency should be reduced, and if the first positioning frequency is low, the corresponding second positioning frequency should be increased.
  • the correspondence between confidence and proportion can be stored in advance, as shown in Table 2:
  • a specific example is used to illustrate the process of obtaining the second positioning frequency: assuming that the reliability is 0.9 and the adjusted first positioning frequency is ⁇ t1, then according to the corresponding relationship in Table 2, it can be determined that the second positioning frequency is 9 ⁇ t1.
  • Step 205 According to the positioning result of the latest auxiliary positioning, perform the N + 1th positioning in the scene where the current period is located according to the adjusted first positioning frequency.
  • the N + 1th visual positioning area can be determined by the positioning result of the latest auxiliary positioning to ensure the N + th 1-time visual positioning accuracy to prevent the target from being lost.
  • the following uses a specific example to describe the process of visual positioning according to the adjusted first frequency.
  • the adjusted first positioning frequency is ⁇ t1 and the second positioning frequency is ⁇ h2.
  • the time of the first visual positioning (using the vSLAM positioning method) according to the frequency of ⁇ t1 is denoted as T1, the second time.
  • the moment of visual positioning is represented as T2, then during the period of T1 ⁇ T2, the auxiliary positioning is performed according to the positioning frequency of ⁇ h2 (using the VIO / IMU positioning method), as shown in Figure 4, within the time period of T1 ⁇ T2 According to ⁇ h2 frequency, VIO / IMU positioning can be performed 3 times.
  • Positioning result A of the first visual positioning of vSLAM, VIO / IMU positioning According to the positioning result A, and the acceleration and direction information of the terminal obtained by VIO / IMU, the first positioning result B of VIO / IMU positioning can be determined
  • the second and third positioning of VIO / IMU positioning will not be repeated here, and the time of h3 is the time of the most recent positioning of the auxiliary positioning.
  • the positioning result D of this positioning it can be determined that the first positioning at T2 is performed.
  • the area of secondary video positioning is convenient for second visual positioning.
  • the positioning method provided in this embodiment adds auxiliary positioning in the process of visual positioning, further improving the accuracy of visual positioning, and avoiding the occurrence of targets and losses in visual positioning.
  • the third embodiment of the present application relates to a positioning device 50, which includes a confidence obtaining module 501, a frequency adjustment module 502, and a positioning module 503.
  • the specific structure is shown in FIG.
  • the confidence degree acquisition module 501 is used to obtain the confidence degree of the scene in which the terminal is located in the current period, and the confidence degree is used to indicate the degree of difference between the scene in which the terminal is located in the current period and the scene in the previous period;
  • the frequency adjustment module 502 is used to The first positioning frequency is adjusted according to the confidence of the scene in which the terminal is located in the current period, where the confidence is inversely proportional to the first positioning frequency;
  • the positioning module 503 is configured to be located in the current period according to the adjusted first positioning frequency. Visual positioning within the scene.
  • This embodiment is an embodiment of a virtual device corresponding to the foregoing positioning method.
  • the technical details in the foregoing method embodiment are still applicable in this embodiment, and details are not described herein again.
  • a fourth embodiment of the present application relates to a terminal.
  • the terminal includes at least one processor 601; and a memory 602 communicatively connected to the at least one processor 601.
  • the memory 602 stores instructions executable by the at least one processor 601, and the instructions are executed by the at least one processor 601, so that the at least one processor 601 can execute the positioning method.
  • the processor uses a central processing unit (CPU) as an example, and the memory uses a readable and writable memory (Random Access Memory, RAM) as an example.
  • the processor and the memory may be connected through a bus or other methods. In FIG. 6, the connection through the bus is taken as an example.
  • the memory can be used to store non-volatile software programs, non-volatile computer executable programs, and modules.
  • the processor executes various functional applications and data processing of the device by running non-volatile software programs, instructions, and modules stored in the memory, that is, the above positioning method is implemented.
  • the memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system and an application program required for at least one function; the storage data area may store a list of options and the like.
  • the memory may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage device.
  • the memory may optionally include a memory remotely set with respect to the processor, and these remote memories may be connected to an external device through a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • One or more modules are stored in the memory, and when executed by one or more processors, the positioning method in any of the foregoing method embodiments is executed.
  • a fifth embodiment of the present application relates to a computer-readable storage medium storing a computer program.
  • the computer program is executed by the processor, the positioning method described in any of the above method embodiments is implemented.
  • the program is stored in a storage medium and includes several instructions for making a device ( It may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Navigation (AREA)

Abstract

The present application relates to the field of computer vision, in particular to a positioning method and device, a terminal and a readable storage medium. The positioning method is applied to a terminal or a cloud, and the positioning method comprises: acquiring a confidence coefficient of a scene where a terminal is located within a current time period, the confidence coefficient being used for representing a degree of difference between the scene where the terminal is located within the current time period and the scene where the terminal is located within a previous time period; adjusting a first positioning frequency according to the confidence coefficient of the scene where the terminal is located within the current time period, the confidence coefficient being inversely proportional to the first positioning frequency; according to the adjusted first positioning frequency, performing vision positioning in the scene within the current time period. The positioning method can reduce the power consumption of positioning and improve the endurance capability of the terminal, without reducing the positioning precision of the terminal.

Description

一种定位方法、装置、终端和可读存储介质Positioning method, device, terminal and readable storage medium 技术领域Technical field
本申请涉及计算机视觉领域,尤其涉及一种定位方法、装置、终端和可读存储介质。The present application relates to the field of computer vision, and in particular, to a positioning method, a device, a terminal, and a readable storage medium.
背景技术Background technique
随着终端处理器性能的飞速发展,终端处理能力有较大的提升,但是由于电池技术的发展远没有跟上集成电路的发展,在电池容量非常有限的情况下,终端续航能力受到终端内电子器件功耗的影响。目前的终端内集成有视觉即时地图创建和定位(Visual Simultaneous Localization and Mapping,简称“vSLAM”)的定位算法,实现终端即时构图和定位的功能,例如智能机器人,无人机或者AR/VR等终端。With the rapid development of the performance of the terminal processor, the processing capacity of the terminal has been greatly improved, but because the development of battery technology is far from keeping up with the development of integrated circuits, when the battery capacity is very limited, the endurance of the terminal is subject to Impact of device power consumption. The current terminal integrates visual real-time map creation and positioning (Visual Simultaneous Localization and Mapping (referred to as "vSLAM") positioning algorithm, real-time terminal composition and positioning functions, such as intelligent robots, drones or AR / VR and other terminals.
技术问题technical problem
发明人在研究现有技术过程中发现,由于vSLAM算法的复杂度高,在终端上需要的计算资源非常多,降低了终端有效工作时间。目前在不降低vSLAM算法稳定性的情况下,通常通过降低vSLAM的定位频率的方式减少vSLAM功耗,但是,降低vSLAM定位频率非常容易出现跟丢的情况,导致定位失败,降低了终端的定位精度。The inventor discovered during the research of the prior art that due to the high complexity of the vSLAM algorithm, the computing resources required on the terminal are very large, which reduces the effective working time of the terminal. At present, without reducing the stability of the vSLAM algorithm, the power consumption of vSLAM is usually reduced by reducing the positioning frequency of vSLAM. However, reducing the positioning frequency of vSLAM is prone to follow-up loss, which results in positioning failure and reduces the positioning accuracy of the terminal. .
可见,如何在不降低终端的定位精确度的情况下,降低定位的功耗,是需要解决的问题。It can be seen that how to reduce the power consumption of positioning without reducing the positioning accuracy of the terminal is a problem to be solved.
技术解决方案Technical solutions
本申请部分实施例所要解决的技术问题在于提供一种定位方法、装置、终端和可读存储介质,使得在不降低终端的定位精度的情况下,降低定位的功耗,提高终端的续航能力。A technical problem to be solved in some embodiments of the present application is to provide a positioning method, a device, a terminal, and a readable storage medium, so as to reduce the power consumption of positioning and improve the endurance of the terminal without reducing the positioning accuracy of the terminal.
本申请的一个实施例提供了一种定位方法,包括:获取终端在当前时段内所处场景的置信度,置信度用于表示终端在当前时段内所处场景与上一时段内所处场景的差异程度;根据终端在当前时段内所处场景的置信度,调整第一定位频率,其中,置信度与第一定位频率成反比;按照调整后的第一定位频率在当前时段所处场景内进行视觉定位。An embodiment of the present application provides a positioning method, including: obtaining a confidence level of a scene in which a terminal is located in a current period, and the confidence level is used to represent a scene in which the terminal is located in the current period and a scene in a previous period. The degree of difference; adjusting the first positioning frequency according to the confidence of the scene in which the terminal is located in the current period, wherein the confidence is inversely proportional to the first positioning frequency; in the scene in the current period according to the adjusted first positioning frequency Visual positioning.
本申请的一个实施例还提供了一种定位装置,包括:置信度获取模块、频率调整模块和定位模块;置信度获取模块用于获取终端在当前时段内所处场景的置信度,置信度用于表示终端在当前时段内所处场景与上一时段内所处场景的差异程度;频率调整模块用于根据终端在当前时段内所处场景的置信度,调整第一定位频率,其中,置信度与第一定位频率成反比;定位模块用于按照调整后的第一定位频率在当前时段所处场景内进行视觉定位。An embodiment of the present application further provides a positioning device, including: a confidence degree acquisition module, a frequency adjustment module, and a positioning module; the confidence degree acquisition module is used to obtain the confidence degree of the scene in which the terminal is located in the current period, and the confidence degree is used for Yu indicates the degree of difference between the scene in which the terminal is in the current period and the scene in the previous period; the frequency adjustment module is used to adjust the first positioning frequency according to the confidence of the scene in which the terminal is in the current period. It is inversely proportional to the first positioning frequency; the positioning module is configured to perform visual positioning in the scene where the current period is located according to the adjusted first positioning frequency.
本申请实施例还提供了一种终端,包括:至少一个处理器;以及,与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,该指令被至少一个处理器执行,以使至少一个处理器能够执行上述的定位方法。An embodiment of the present application further provides a terminal, including: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor. The processor executes to enable at least one processor to perform the positioning method described above.
本申请实施例还提供了一种计算机可读存储介质,存储有计算机程序,该计算机程序被处理器执行时实现上述的定位方法。An embodiment of the present application further provides a computer-readable storage medium storing a computer program, and the computer program implements the foregoing positioning method when executed by a processor.
有益效果Beneficial effect
相对于现有技术而言,本申请部分实施例中,由于第一定位频率与置信度呈反比,而置信度表示当前时段内所处的场景与上一时段内所处场景的变化程度,当置信度低时,表明当前时段所处场景与上一时段所处场景之间的变化大、场景不稳定,采用高频率的第一定位频率,确保定位的准确性,若置信度高时,表明场景变化不大、场景稳定,采用低频率的第一定位频率对当前时段内的场景进行定位,降低定位的功耗,同时也大大减少了跟丢情况的发生概率。本实施例中,根据置信度的大小,灵活调节第一定位频率,使得不降低终端的定位精度的情况下,降低定位的功耗,提高终端的续航能力。Relative to the prior art, in some embodiments of the present application, since the first positioning frequency is inversely proportional to the confidence level, the confidence level indicates the degree of change of the scene in the current period and the scene in the previous period. When the confidence level is low, it indicates that the scene between the current period and the scene in the previous period has a large change and the scene is unstable. A high-frequency first positioning frequency is used to ensure the accuracy of the positioning. If the confidence level is high, it indicates that The scene does not change much and the scene is stable. The low-frequency first positioning frequency is used to locate the scene in the current period, which reduces the power consumption of positioning, and also greatly reduces the probability of follow-up loss. In this embodiment, the first positioning frequency is flexibly adjusted according to the degree of confidence, so that the power consumption of positioning is reduced without reducing the positioning accuracy of the terminal, and the endurance of the terminal is improved.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the accompanying drawings. These exemplary descriptions do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the drawings in the drawings do not constitute a limitation on scale.
图1是本申请第一实施例中定位方法的具体流程示意图;FIG. 1 is a schematic flowchart of a positioning method in a first embodiment of the present application; FIG.
图2是本申请第二实施例中定位方法的具体流程示意图;2 is a schematic flowchart of a specific positioning method in a second embodiment of the present application;
图3是本申请第二实施例的定位方法中在T N~T N+1的时段内辅助定位的分布示意图; FIG. 3 is a schematic diagram of a distribution of auxiliary positioning in a time period of T N to T N + 1 in a positioning method according to a second embodiment of the present application; FIG.
图4是本申请第二实施例中定位方法中在T1~T2的时段内的视觉定位和辅助定位的分布示意图;4 is a schematic diagram of distribution of visual positioning and auxiliary positioning in a time period T1 to T2 in a positioning method in a second embodiment of the present application;
图5是本申请第三实施例中定位装置的结构示意图;5 is a schematic structural diagram of a positioning device in a third embodiment of the present application;
图6是本申请第四实施例中终端的结构示意图。FIG. 6 is a schematic structural diagram of a terminal in a fourth embodiment of the present application.
本发明的实施方式Embodiments of the invention
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请部分实施例进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。然而,本领域的普通技术人员可以理解,在本申请的各实施例中,为了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施例的种种变化和修改,也可以实现本申请所要求保护的技术方案。In order to make the purpose, technical solution, and advantages of the present application clearer, some embodiments of the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the application, and are not used to limit the application. However, a person of ordinary skill in the art can understand that in the embodiments of the present application, many technical details are provided in order to make the reader better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solution claimed in this application can be implemented.
本申请的第一实施例涉及一种定位方法,该定位方法可应用于终端或者云端,终端可以是智能机器人、无人驾驶车辆、盲人导航装置等。云端与终端通信连接,为终端提供定位的结果。本实施例以终端为例说明定位过程,云端执行该定位方法的过程可以参考本申请实施例的内容。本实施例中视觉定位以vSLAM定位方式为例进行说明,当然,也可以使用其他高精度、高耗能的视觉定位方式,本实施例不限制终端的视觉定位方式。该定位方法的具体流程如图1所示:The first embodiment of the present application relates to a positioning method, which can be applied to a terminal or a cloud. The terminal may be a smart robot, an unmanned vehicle, a blind navigation device, or the like. The cloud communicates with the terminal to provide positioning results for the terminal. This embodiment uses the terminal as an example to describe the positioning process. For the process of executing the positioning method in the cloud, reference may be made to the content of the embodiment of the present application. The visual positioning in this embodiment is described by using the vSLAM positioning method as an example. Of course, other high-precision and high-energy-consuming visual positioning methods can also be used. This embodiment does not limit the visual positioning method of the terminal. The specific process of this positioning method is shown in Figure 1:
步骤101:获取终端在当前时段内所处场景的置信度。其中,置信度用于表示终端在当前时段内所处场景与上一时段内所处场景的差异程度。Step 101: Obtain the confidence of the scene in which the terminal is located in the current period. The confidence degree is used to indicate the degree of difference between the scene in which the terminal is located in the current period and the scene in the previous period.
一个具体实现中,获取当前时段内终端所处场景的图像数据,以及获取终端的角度信息;根据图像数据和角度信息,确定终端在当前时段内所处场景的置信度。In a specific implementation, image data of the scene where the terminal is located in the current period and angle information of the terminal are obtained; and based on the image data and angle information, the confidence level of the scene where the terminal is located in the current period is determined.
具体的说,当前时段内终端所处场景的图像数据可以通过视觉传感器获取,例如,摄像头,红外传感器等。当前时段内终端的角度信息可以通过角度传感器获取,例如,倾角传感器、陀螺仪等。本实施例中不限制获取图像数据的传感器类型,也不限制获取终端角度信息的传感器类型。Specifically, the image data of the scene where the terminal is located in the current period can be obtained through a visual sensor, such as a camera, an infrared sensor, and the like. The angle information of the terminal in the current period can be obtained through an angle sensor, for example, an inclination sensor, a gyroscope, and the like. In this embodiment, there are no restrictions on the types of sensors that acquire image data, or the types of sensors that acquire terminal angle information.
在本步骤中,终端确定当前时段内所处场景的置信度的方式可以是:根据图像数据,确定在当前时段内所处场景的纹理质量变化程度,以及确定在当前时段内所处场景的光照变化程度;根据角度信息,确定在当前时段内所处场景的角度变化程度;计算纹理质量变化程度、光照变化程度和角度变化程度三者的平均值,并将平均值作为终端在当前时段内所处场景的置信度。In this step, the terminal may determine the confidence level of the scene in the current period according to the image data, determine the degree of texture quality change of the scene in the current period, and determine the lighting of the scene in the current period. Degree of change; Determine the degree of angle change of the scene in the current period according to the angle information; Calculate the average value of the texture quality change degree, lighting change degree and angle change degree, and use the average value as the terminal's The confidence of the scene.
下面将分别对确定纹理质量变化程度、确定光照变化程度以及确定角度变化程度进行详细说明。The following will describe in detail the determination of the degree of change in texture quality, the degree of change in illumination, and the degree of change in angle, respectively.
可以理解的是,确定当前时段内所处场景的纹理质量变化程度的方法包括但不限于以下两种:It can be understood that the methods for determining the degree of texture quality change of the scene in the current period include, but are not limited to, the following two methods:
方式一:获取该图像数据中的特征像素点,并统计特征像素点的个数,计算特征像素点的个数与预设像素点个数的第一比值,并将该第一比值作为该场景的纹理质量变化程度。Method 1: Obtain characteristic pixel points in the image data, and count the number of characteristic pixel points, calculate a first ratio between the number of characteristic pixel points and the number of preset pixel points, and use the first ratio as the scene The degree of texture quality change.
具体的说,一个图像数据是由一个一个像素点组成,提取该图像数据中的特征像素点,特征像素点的提取方式有多种,例如:使用尺度不变特征变换、加速稳健特征的方式进行图像的特征像素点的提取。统计该图像数据中提取到的所有的特征像素点的个数,计算统计到的特征像素点的个数与预设像素点个数的第一比值,预设像素点个数可以根据实际情况进行设置,例如,预设像素点个数可以为1000、也可以为10000。第一比值的计算如:假设统计的特征像素点的个数为F,预设像素点个数为1000,那么第一比值TF=F/1000,并将该第一比值作为该场景的纹理质量变化程度。Specifically, an image data is composed of one pixel, and feature pixels are extracted from the image data. There are multiple ways to extract feature pixels, for example, using scale-invariant feature transformation and accelerating robust features. Extraction of characteristic pixels of an image. Count the number of all characteristic pixel points extracted from the image data, and calculate the first ratio of the number of characteristic pixel points to the number of preset pixels. The number of preset pixels can be performed according to the actual situation. Setting, for example, the number of preset pixels can be 1000 or 10,000. The calculation of the first ratio is as follows: assuming that the number of characteristic feature pixels is F and the preset number of pixels is 1000, then the first ratio TF = F / 1000, and the first ratio is used as the texture quality of the scene Degree of change.
方式二:检测图像数据中属于边缘的像素点,并统计属于边缘的像素点的个数,计算属于边缘的像素点的个数与预设像素点个数的第二比值,并将第二比值作为场景的纹理质量变化程度。Method 2: Detect the pixels that belong to the edge in the image data, and count the number of pixels that belong to the edge, calculate the second ratio between the number of pixels that belong to the edge and the preset number of pixels, and set the second ratio The degree of change in the texture quality of the scene.
具体的说,提取该图像数据中属于边缘的像素点的个数,提取方式可以采用边缘提取方法,此处将不再进行赘述。预设像数点个数与方式一中设置方式大致相同,此处也不再详述。第二比值计算如下:假设提取属于边缘的像素点的个数为F’,预设像素点个数为1000,那么第二比值TF’=F’/1000,并将第二比值作为该场景的纹理质量变化程度。Specifically, the number of pixels belonging to the edge is extracted in the image data, and the extraction method may adopt an edge extraction method, which will not be repeated here. The preset number of image points is approximately the same as the setting method in the first method, which will not be described in detail here. The second ratio is calculated as follows: assuming that the number of pixels belonging to the edge is extracted as F ', and the preset number of pixels is 1000, then the second ratio is TF' = F '/ 1000, and the second ratio is used as the scene's The degree of texture quality change.
下面详细介绍确定当前时段内所处场景的光照变化程度的方法。The following describes in detail the method of determining the degree of lighting change of the scene in the current period.
一个具体实现中,计算图像数据中预设区域内的平均灰度值;根据平均灰度值以及预设灰度值,确定在当前时段内所处场景的光照变化程度。In a specific implementation, an average grayscale value in a preset area in the image data is calculated; and based on the average grayscale value and the preset grayscale value, the degree of lighting change of the scene in the current period is determined.
具体的说,计算该图像数据中预设区域内的平均灰度值,例如:预设区域可以为整个该图像数据的大小,也可以是该图像数据的中间区域,预设区域可以根据实际的需要进行设置。该预设区域内的平均灰度值可以是该预设区域内每个像素点的灰度值总和除以该预设区域内的所有的像素点的总和的值,当然,也可以由其他的方式计算该预设区域内的平均灰度值,此处不再一一例举。Specifically, the average gray value in a preset area in the image data is calculated. For example, the preset area may be the size of the entire image data, or it may be an intermediate area of the image data. The preset area may be based on the actual Need to be set. The average gray value in the preset area may be a sum of the gray value of each pixel in the preset area divided by the sum of all the pixels in the preset area. Of course, it may be determined by other This method calculates the average gray value in the preset area, which will not be exemplified here.
将计算的灰度平均值与预设灰度值进行比较,确定出当前时段内所处场景的光照变化程度。例如,预设灰度值为255,计算的平均灰度值为G,那么当前时段内所处场景的光照变化程度(TG)可以为:TG = 1- G/255,将TG作为当前时段内所处场景的光照变化程度。The calculated average gray value is compared with a preset gray value to determine the degree of lighting change of the scene in the current period. For example, if the preset gray value is 255 and the calculated average gray value is G, then the lighting change degree (TG) of the scene in the current period can be: TG = 1- G / 255, with TG as the current period. The lighting of the scene.
当然,也可以用其他方式计算所处场景的光照变化程度,本实施例中不再一一例举。Of course, the lighting variation of the scene in which the scene is located can also be calculated in other manners, which will not be exemplified one by one in this embodiment.
以下详细介绍确定当前时段内所处场景的角度变化程度的方法。The method of determining the degree of angle change of the scene in the current period is described in detail below.
一个具体的实现中,计算预设角度与角度信息的差值;计算差值与预设角度的第三比值,将第三比值作为当前时段内所处场景的角度变化程度。In a specific implementation, a difference between the preset angle and the angle information is calculated; a third ratio between the difference and the preset angle is calculated, and the third ratio is used as the angle change degree of the scene in the current period.
例如,角度信息为A,预设角度可以为180度,或者360度,可以根据具体的实际情况设置,那么第三比值TA = 1-A/180,并将TA作为当前时段内所处场景的角度变化程度。For example, the angle information is A, and the preset angle can be 180 degrees or 360 degrees, which can be set according to the actual situation. Then the third ratio TA = 1-A / 180, and take TA as the degree of angle change of the scene in the current period.
在确定当前时段内所处场景中纹理质量变化程度、光照变化程度,以及角度变化程度之后,即可求取三者的平均值,例如,假设光照变化程度为TG、纹理质量变化程度为TF、角度变化程度为TA,那么当前时段内所处场景的置信度TH =(TF+TG+TA)/3。After determining the texture quality change level, lighting change level, and angle change level in the scene in the current period, the average of the three can be obtained. For example, suppose the lighting change level is TG, the texture quality change level is TF, The degree of angle change is TA, then the confidence level of the scene in the current period is TH = (TF + TG + TA) / 3.
本实施例中的当前时段内所处场景的置信度是根据纹理质量变化程度、光照变化程度和角度变化程度确定的,可以理解的是,当前时段内所处场景的置信度也可以仅根据纹理质量变化程度确定,或者仅根据光照变化程度确定,或者仅根据角度变化程度确定的;当然,当前时段内所处场景的置信度还可以是根据纹理质量变化程度、光照变化程度和角度变化程度三者中任意两个的组合确定,本实施例不限制确定当前时段内所处场景的置信度的方法。The confidence level of the scene in the current period in this embodiment is determined according to the degree of texture quality change, lighting change, and angle change. It can be understood that the confidence level of the scene in the current period can also be based on texture only. The degree of change in quality is determined either by the degree of change in lighting or the degree of change in angle; of course, the confidence of the scene in the current period can also be determined by the degree of change in texture quality, the degree of illumination, and the degree of change in angle The combination of any two of the two is determined, and this embodiment does not limit the method for determining the confidence of the scene in the current period.
需要说明的是,当前时段内终端所处场景的图像数据为当前时段内采集的最后一帧的图像数据或者采集到当前时段内的所有帧的图像数据。可以理解的是,若图像数据为采集到当前时段内的所有帧的图像数据,那么可以通过计算当前时段内所有帧的图像数据平均的纹理质量变化程度、平均的光照变化程度以及平均的角度变化程度,计算当前时段内场景的置信度。It should be noted that the image data of the scene where the terminal is located in the current period is the image data of the last frame collected in the current period or the image data of all frames collected in the current period. It can be understood that if the image data is image data of all frames collected in the current period, then the average texture quality change degree, average light change degree, and average angle change of the image data of all frames in the current period can be calculated. Degree, calculates the confidence level of the scene in the current period.
步骤102:根据终端在当前时段内所处场景的置信度,调整第一定位频率。其中,置信度与第一定位频率成反比。Step 102: Adjust the first positioning frequency according to the confidence of the scene in which the terminal is located in the current period. The confidence level is inversely proportional to the first positioning frequency.
具体的说,当前时段内所处场景的置信度越高,表明当前时段内所处场景与上一时段内所处场景的变化越小,该场景越稳定,终端可以降低第一频率,以降低功耗。当前时段内所处场景的置信度越小,表明当前时段内所处场景与上一时段内所处场景的变化越大、该场景越不稳定,终端可以调高第一定位频率,以提高定位精度。Specifically, the higher the confidence level of the scene in the current period, the smaller the change between the scene in the current period and the scene in the previous period, and the more stable the scene, the terminal can reduce the first frequency to reduce Power consumption. The smaller the confidence level of the scene in the current period, the greater the change between the scene in the current period and the scene in the previous period, the more unstable the scene is. The terminal can increase the first positioning frequency to improve positioning. Precision.
可以理解的是,为了便于调整第一定位频率,可以预先存储关于置信度与第一定位频率之间的对应关系。当确定出当前时段内所处场景的置信度,即可根据预先存储的对应关系,确定出当前时段所处场景所需的第一定位频率。例如,预存的对应关系如表1所示,其中,表1中,△t1>△t2>△t3;若当前时段内所处场景的置信度为0.3,那么将第一频率调整为△t2。表1中仅为举例,实际生活中,置信度不止表1中列举的数量。It can be understood that, in order to facilitate the adjustment of the first positioning frequency, a correspondence relationship between the confidence level and the first positioning frequency may be stored in advance. When the confidence level of the scene in the current period is determined, the first positioning frequency required for the scene in the current period can be determined according to the pre-stored correspondence. For example, the pre-stored correspondence is shown in Table 1. In Table 1, Δt1> Δt2> Δt3; if the confidence level of the scene in the current period is 0.3, then the first frequency is adjusted to Δt2. Table 1 is only an example. In real life, the confidence is more than the number listed in Table 1.
置信度 Confidence 第一定位频率 First positioning frequency
0.1 0.1 △t1 T1
0.3 0.3 △t2 T2
0.9 0.9 △t3 T3
表1Table 1
需要说明的是,若终端开机时,默认当前置信度为最小值,采用最高的第一频率进行定位。It should be noted that if the terminal is turned on, the default current confidence is the minimum value, and the highest first frequency is used for positioning.
步骤103:按照调整后的第一定位频率在当前时段所处场景内进行视觉定位。Step 103: Perform visual positioning in the scene where the current period is located according to the adjusted first positioning frequency.
相对于现有技术而言,本申请部分实施例中,由于第一定位频率与置信度呈反比,而置信度表示当前时段内所处的场景与上一时段内所处场景的变化程度,当置信度低时,表明当前时段对所处场景与上一时段所处场景之间的变化大、场景不稳定,采用高频率的第一定位频率,确保定位的准确性,若置信度高时,表明场景变化不大、场景稳定,采用低频率的第一定位频率对当前时段内的场景进行定位,降低定位的功耗,同时也大大减少了跟丢情况的发生概率。本实施例中,根据置信度的大小,灵活调节第一定位频率,使得不降低终端的定位精度的情况下,降低定位的功耗,提高终端的续航能力。Relative to the prior art, in some embodiments of the present application, since the first positioning frequency is inversely proportional to the confidence level, the confidence level indicates the degree of change of the scene in the current period and the scene in the previous period. When the confidence level is low, it indicates that the current period has a large change between the scene in which it is located and the scene in the previous period, and the scene is unstable. A high-frequency first positioning frequency is used to ensure the accuracy of the positioning. If the confidence level is high, It shows that the scene changes little and the scene is stable. The low-frequency first positioning frequency is used to locate the scene in the current period, which reduces the power consumption of positioning, and also greatly reduces the probability of follow-up loss. In this embodiment, the first positioning frequency is flexibly adjusted according to the degree of confidence, so that the power consumption of positioning is reduced without reducing the positioning accuracy of the terminal, and the endurance of the terminal is improved.
本申请的第二实施例涉及一种定位方法,第二实施例是对第一实施例的进一步改进,主要改进之处在于,本实施例在进行视觉定位的过程中增加了辅助定位,通过辅助定位,在降低功耗的同时,进一步确保终端的定位的精确度。本实施例中视觉定位以vSLAM定位为例,辅助定位以视觉惯性测量/测量单元(Visual-Inertial Odometry/ Inertialmeasurement unit简称“VIO/IMU”)定位为例进行说明。该定位方法的具体流程如图2所示:The second embodiment of the present application relates to a positioning method. The second embodiment is a further improvement on the first embodiment. The main improvement is that in this embodiment, auxiliary positioning is added during the visual positioning process. Positioning, while reducing power consumption, further ensures the accuracy of terminal positioning. In this embodiment, the visual positioning uses vSLAM positioning as an example, and the auxiliary positioning uses a visual inertial measurement / measurement unit (Visual-Inertial Odometry / Inertialmeasurement unit (referred to as "VIO / IMU") positioning is taken as an example for illustration. The specific process of this positioning method is shown in Figure 2:
步骤201:获取终端在当前时段内所处场景的置信度。Step 201: Obtain the confidence of the scene in which the terminal is located in the current period.
步骤202:根据终端在当前时段内所处场景的置信度,调整第一定位频率。Step 202: Adjust the first positioning frequency according to the confidence of the scene in which the terminal is located in the current period.
需要说明的是,本实施例的步骤201至步骤202与第一实施例中的步骤101至步骤102大致相同,此处不再详述。It should be noted that steps 201 to 202 in this embodiment are substantially the same as steps 101 to 102 in the first embodiment, and will not be described in detail here.
步骤203:按照调整后的第一定位频率在当前时段所处场景内进行第N次视觉定位,得到第N次视觉定位的定位结果。N为大于0的整数。Step 203: Perform the Nth visual positioning in the scene where the current period is located according to the adjusted first positioning frequency, and obtain the positioning result of the Nth visual positioning. N is an integer greater than 0.
步骤204:在第N次视觉定位与第N+1次视觉定位的中间时段,在第N次视觉定位的定位结果的基础上进行至少一次辅助定位。Step 204: During the intermediate period between the Nth visual positioning and the N + 1th visual positioning, perform at least one auxiliary positioning based on the positioning results of the Nth visual positioning.
下面将对在第N次视觉定位与第N+1次视觉定位的中间时段,增加至少一次辅助定位的过程进行举例说明。The process of adding at least one auxiliary positioning during the intermediate period between the Nth visual positioning and the N + 1th visual positioning will be exemplified below.
例如,T N表示第N次视觉定位的时刻,T N+1表示第N+1次视觉定位的时刻,那么在T N~T N+1的时段内,可以采用辅助定位的方式进行一次辅助定位,获取该辅助定位的定位结果。其中,辅助定位的时刻可以选取T N~T N+1的时段的中间时刻,也可以选取其他时刻。可以理解的是,在T N~T N+1的时段内还可以进行多次辅助定位,其中,辅助定位均匀分布在T N~T N+1的时段内。如图3所示,在T N~T N+1的时段内均匀分布2次辅助定位(辅助定位以VIO/IMU定位方式为例)。 For example, T N indicates the time of the Nth visual positioning, and T N + 1 indicates the time of the N + 1th visual positioning. In the period of T N ~ T N + 1 , the auxiliary positioning can be used to assist Positioning, to obtain the positioning result of the auxiliary positioning. The time for assisting positioning may be selected from the middle time of the period T N ~ T N + 1 , or other time may be selected. It can be understood that auxiliary positioning can also be performed multiple times during the period of T N ~ T N + 1 , wherein the auxiliary positioning is evenly distributed in the period of T N ~ T N + 1 . As shown in FIG. 3, the auxiliary positioning is uniformly distributed twice during a period of T N to T N + 1 (the auxiliary positioning is based on the VIO / IMU positioning method as an example).
一个具体的实现中,辅助定位还可以按照第二定位频率进行。In a specific implementation, the auxiliary positioning may also be performed according to the second positioning frequency.
具体的说,第二定位频率可以是固定频率,为了提高辅助定位的定位准确性,该固定频率可以选择高频率。Specifically, the second positioning frequency may be a fixed frequency. In order to improve the positioning accuracy of the auxiliary positioning, the fixed frequency may be a high frequency.
可以理解的是,第二频率还可以根据置信度进行动态调节。终端在第N次视觉定位的定位结果的基础上进行至少一次辅助定位之前,获取第二定位频率,获取方式为:根据该终端在当前时段内所处场景的置信度,以及置信度与占比之间的对应关系,确定第二定位频率,其中,该占比为第一定位频率与第二定位频率的比值。It can be understood that the second frequency can also be dynamically adjusted according to the confidence level. Before the terminal performs at least one auxiliary positioning based on the positioning results of the Nth visual positioning, the terminal obtains the second positioning frequency in the following manner: according to the confidence of the scene in which the terminal is located in the current period, and the confidence and proportion The corresponding relationship between them determines a second positioning frequency, where the ratio is a ratio of the first positioning frequency to the second positioning frequency.
具体的说,由于辅助定位用于辅助视觉定位,因而,第一定位频率高的时候,对应的第二定位频率应降低,若第一定位频率低的时候,对应的第二定位频率应当增加。置信度与占比之间的对应关系可以预先存储,如表2所示:Specifically, since the auxiliary positioning is used to assist visual positioning, when the first positioning frequency is high, the corresponding second positioning frequency should be reduced, and if the first positioning frequency is low, the corresponding second positioning frequency should be increased. The correspondence between confidence and proportion can be stored in advance, as shown in Table 2:
置信度 Confidence 占比(第一定位频率/第二定位频率) Percentage (first positioning frequency / second positioning frequency)
0.1 0.1 9:1 9: 1
0.3 0.3 7:3 7: 3
0.9 0.9 1:9 1: 9
表2Table 2
表2中为了仅列出了三种置信度与占比之间的对应关系,在实际中,置信度与占比之间的对应关系不限于表2中列举的。In order to list only the correspondence between the three kinds of confidence and proportion in Table 2, in practice, the correspondence between the confidence and proportion is not limited to those listed in Table 2.
以一个具体的例子说明获取第二定位频率的过程:假设置信度为0.9,调整后的第一定位频率为△t1,那么根据表2中的对应关系,即可确定出第二定位频率为9△t1。A specific example is used to illustrate the process of obtaining the second positioning frequency: assuming that the reliability is 0.9 and the adjusted first positioning frequency is Δt1, then according to the corresponding relationship in Table 2, it can be determined that the second positioning frequency is 9 △ t1.
步骤205:根据最近一次辅助定位的定位结果,按照调整后的第一定位频率在当前时段所处场景内进行第N+1次定位。Step 205: According to the positioning result of the latest auxiliary positioning, perform the N + 1th positioning in the scene where the current period is located according to the adjusted first positioning frequency.
具体的说,进行第N+1次视觉定位时,以最近一个辅助定位的定位结果为依据,即可以通过最近一次的辅助定位的定位结果确定第N+1次的视觉定位的区域,确保第N+1次视觉定位准确性,防止出现目标跟丢的情况。Specifically, when performing the N + 1th visual positioning, based on the positioning result of the latest auxiliary positioning, that is, the N + 1th visual positioning area can be determined by the positioning result of the latest auxiliary positioning to ensure the N + th 1-time visual positioning accuracy to prevent the target from being lost.
下面以一个具体的例子说明按照调整后的第一频率进行视觉定位过程。The following uses a specific example to describe the process of visual positioning according to the adjusted first frequency.
根据置信度,确定调整后的第一定位频率为△t1,第二定位频率为△h2,按照△t1的频率进行第1次视觉定位(采用vSLAM定位方式)的时刻表示为T1,第2次视觉定位的时刻表示为T2,那么在T1~T2的时段内,按照△h2的定位频率进行辅助定位(采用VIO/IMU的定位方式),如图4所示,在T1~T2的时间段内按照△h2频率,可进行3次VIO/IMU定位。vSLAM第1次视觉定位的定位结果A,VIO/IMU定位根据该定位结果A,以及VIO/IMU获取到的终端的加速度、方向信息,即可确定出VIO/IMU定位的第1次定位结果B,VIO/IMU定位的第2次和第3次定位此处不再赘述,而h3时刻是辅助定位最近一次定位的时刻,获取此次定位的定位结果D,即可确定出在T2时刻进行第二次视频定位的区域,便于进行第二次视觉定位。According to the confidence level, it is determined that the adjusted first positioning frequency is Δt1 and the second positioning frequency is Δh2. The time of the first visual positioning (using the vSLAM positioning method) according to the frequency of Δt1 is denoted as T1, the second time. The moment of visual positioning is represented as T2, then during the period of T1 ~ T2, the auxiliary positioning is performed according to the positioning frequency of △ h2 (using the VIO / IMU positioning method), as shown in Figure 4, within the time period of T1 ~ T2 According to △ h2 frequency, VIO / IMU positioning can be performed 3 times. Positioning result A of the first visual positioning of vSLAM, VIO / IMU positioning According to the positioning result A, and the acceleration and direction information of the terminal obtained by VIO / IMU, the first positioning result B of VIO / IMU positioning can be determined The second and third positioning of VIO / IMU positioning will not be repeated here, and the time of h3 is the time of the most recent positioning of the auxiliary positioning. By obtaining the positioning result D of this positioning, it can be determined that the first positioning at T2 is performed. The area of secondary video positioning is convenient for second visual positioning.
与现有技术相比,本实施例提供的定位方法,在视觉定位的过程中增加辅助定位,进一步提高了视觉定位的准确性,避免发生视觉定位出现目标跟丢的情况。Compared with the prior art, the positioning method provided in this embodiment adds auxiliary positioning in the process of visual positioning, further improving the accuracy of visual positioning, and avoiding the occurrence of targets and losses in visual positioning.
本申请的第三实施例涉及一种定位装置50,包括:置信度获取模块501、频率调整模块502和定位模块503,具体的结构如图5所示。The third embodiment of the present application relates to a positioning device 50, which includes a confidence obtaining module 501, a frequency adjustment module 502, and a positioning module 503. The specific structure is shown in FIG.
置信度获取模块501用于获取终端在当前时段内所处场景的置信度,置信度用于表示终端在当前时段内所处场景与上一时段内所处场景的差异程度;频率调整模块502用于根据终端在当前时段内所处场景的置信度,调整第一定位频率,其中,置信度与第一定位频率成反比;定位模块503用于按照调整后的第一定位频率在当前时段所处场景内进行视觉定位。The confidence degree acquisition module 501 is used to obtain the confidence degree of the scene in which the terminal is located in the current period, and the confidence degree is used to indicate the degree of difference between the scene in which the terminal is located in the current period and the scene in the previous period; the frequency adjustment module 502 is used to The first positioning frequency is adjusted according to the confidence of the scene in which the terminal is located in the current period, where the confidence is inversely proportional to the first positioning frequency; the positioning module 503 is configured to be located in the current period according to the adjusted first positioning frequency. Visual positioning within the scene.
本实施例是与上述定位方法对应的虚拟装置实施例,上述方法实施例中技术细节在本实施例中依然适用,此处不再赘述。This embodiment is an embodiment of a virtual device corresponding to the foregoing positioning method. The technical details in the foregoing method embodiment are still applicable in this embodiment, and details are not described herein again.
需要说明的是,以上所述的装置实施例仅仅是示意性的,并不对本申请的保护范围构成限定,在实际应用中,本领域的技术人员可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的,此处不做限制。It should be noted that the device embodiments described above are only schematic and do not limit the scope of protection of this application. In practical applications, those skilled in the art may select some or all of the modules according to actual needs. To achieve the purpose of the solution of this embodiment, there is no limitation here.
本申请的第四实施例涉及一种终端,如图6所示,包括至少一个处理器601;以及,与至少一个处理器601通信连接的存储器602。其中,存储器602存储有可被至少一个处理器601执行的指令,指令被至少一个处理器601执行,以使至少一个处理器601能够执行上述定位方法。A fourth embodiment of the present application relates to a terminal. As shown in FIG. 6, the terminal includes at least one processor 601; and a memory 602 communicatively connected to the at least one processor 601. The memory 602 stores instructions executable by the at least one processor 601, and the instructions are executed by the at least one processor 601, so that the at least one processor 601 can execute the positioning method.
第四实施例中,处理器以中央处理器(Central Processing Unit,CPU)为例,存储器以可读写存储器(Random Access Memory,RAM)为例。处理器、存储器可以通过总线或者其他方式连接,图6中以通过总线连接为例。存储器作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块。处理器通过运行存储在存储器中的非易失性软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理,即实现上述定位方法。In the fourth embodiment, the processor uses a central processing unit (CPU) as an example, and the memory uses a readable and writable memory (Random Access Memory, RAM) as an example. The processor and the memory may be connected through a bus or other methods. In FIG. 6, the connection through the bus is taken as an example. As a non-volatile computer-readable storage medium, the memory can be used to store non-volatile software programs, non-volatile computer executable programs, and modules. The processor executes various functional applications and data processing of the device by running non-volatile software programs, instructions, and modules stored in the memory, that is, the above positioning method is implemented.
存储器可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储选项列表等。此外,存储器可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器可选包括相对于处理器远程设置的存储器,这些远程存储器可以通过网络连接至外接设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory may include a storage program area and a storage data area, wherein the storage program area may store an operating system and an application program required for at least one function; the storage data area may store a list of options and the like. In addition, the memory may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory may optionally include a memory remotely set with respect to the processor, and these remote memories may be connected to an external device through a network. Examples of the above network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
一个或者多个模块存储在存储器中,当被一个或者多个处理器执行时,执行上述任意方法实施例中的定位方法。One or more modules are stored in the memory, and when executed by one or more processors, the positioning method in any of the foregoing method embodiments is executed.
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果,未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。The above products can execute the method provided in the embodiment of the present application, and have the corresponding functional modules and beneficial effects of the execution method. For technical details not described in this embodiment, refer to the method provided in the embodiment of the present application.
本申请的第五实施例涉及一种计算机可读存储介质,存储有计算机程序。计算机程序被处理器执行时实现以上任意方法实施例所描述的定位方法。A fifth embodiment of the present application relates to a computer-readable storage medium storing a computer program. When the computer program is executed by the processor, the positioning method described in any of the above method embodiments is implemented.
即,本领域技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。That is, those skilled in the art can understand that all or part of the steps in the method of the above embodiments can be implemented by a program instructing related hardware. The program is stored in a storage medium and includes several instructions for making a device ( It may be a single-chip microcomputer, a chip, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks and other media that can store program codes .
本领域的普通技术人员可以理解,上述各实施例是实现本申请的具体实施例,而在实际应用中,可以在形式上和细节上对其作各种改变,而不偏离本申请的精神和范围。Those of ordinary skill in the art can understand that the foregoing embodiments are specific embodiments for implementing the present application, and in practical applications, various changes can be made in form and details without departing from the spirit and range.

Claims (13)

  1. 一种定位方法,其中,包括:A positioning method, including:
    获取终端在当前时段内所处场景的置信度,所述置信度用于表示所述终端在当前时段内所处场景与上一时段内所处场景的差异程度;Obtaining a confidence level of a scene in which the terminal is located in the current period, where the confidence level is used to indicate a degree of difference between a scene in which the terminal is located in the current period and a scene in a previous period;
    根据所述终端在当前时段内所处场景的置信度,调整第一定位频率,其中,所述置信度与所述第一定位频率成反比;Adjusting a first positioning frequency according to the confidence level of the scene in which the terminal is located in the current period, wherein the confidence level is inversely proportional to the first positioning frequency;
    按照调整后的第一定位频率在当前时段所处场景内进行视觉定位。Visual positioning is performed in the scene where the current period is located according to the adjusted first positioning frequency.
  2. 根据权利要求1所述的定位方法,其中,按照调整后的第一定位频率在当前时段所处场景内进行视觉定位,具体包括:The positioning method according to claim 1, wherein the visual positioning in the scene where the current period is located according to the adjusted first positioning frequency specifically comprises:
    按照调整后的第一定位频率在当前时段所处场景内进行第N次视觉定位,得到所述第N次视觉定位的定位结果,N为大于0的整数;Perform the Nth visual positioning in the scene where the current period is located according to the adjusted first positioning frequency, and obtain the positioning result of the Nth visual positioning, where N is an integer greater than 0;
    在所述第N次视觉定位与第N+1次视觉定位的中间时段,在所述第N次视觉定位的定位结果的基础上进行至少一次辅助定位;Performing at least one auxiliary positioning on the basis of the positioning results of the Nth visual positioning during an intermediate period between the Nth visual positioning and the N + 1th visual positioning;
    根据最近一次辅助定位的定位结果,按照调整后的第一定位频率在当前时段所处场景内进行第N+1次定位。According to the positioning result of the latest auxiliary positioning, the N + 1th positioning is performed in the scene where the current period is located according to the adjusted first positioning frequency.
  3. 根据权利要求2所述的定位方法,其中,在所述第N次视觉定位的定位结果的基础上进行至少一次辅助定位,具体包括:The positioning method according to claim 2, wherein performing at least one auxiliary positioning based on the positioning result of the Nth visual positioning, specifically comprising:
    在所述第N次视觉定位的定位结果的基础上,按照第二定位频率进行辅助定位。Based on the positioning results of the Nth visual positioning, the auxiliary positioning is performed according to the second positioning frequency.
  4. 根据权利要求3所述的定位方法,其中,在所述第N次视觉定位的定位结果的基础上进行至少一次辅助定位之前,所述定位方法还包括:The positioning method according to claim 3, wherein before performing at least one auxiliary positioning based on the positioning result of the Nth visual positioning, the positioning method further comprises:
    根据所述终端在当前时段内所处场景的置信度,以及置信度与占比之间的对应关系,确定所述第二定位频率,其中,所述占比为Determining the second positioning frequency according to the confidence level of the scene in which the terminal is located in the current period, and the correspondence between the confidence level and the ratio, where the ratio is
    第一定位频率与第二定位频率的比值。The ratio of the first positioning frequency to the second positioning frequency.
  5. 根据权利要求1至4中任一项所述的定位方法,其中,获取终端在当前时段内所处场景的置信度,具体包括:The positioning method according to any one of claims 1 to 4, wherein the obtaining the confidence of the scene in which the terminal is located in the current period specifically includes:
    获取当前时段内所述终端所处场景的图像数据,以及获取所述终端的角度信息;Acquiring image data of a scene where the terminal is located in the current period, and acquiring angle information of the terminal;
    根据所述图像数据和所述角度信息,确定所述终端在当前时段内所处场景的置信度。According to the image data and the angle information, a confidence level of a scene in which the terminal is located in a current period is determined.
  6. 根据权利要求5所述的定位方法,其中,根据所述图像数据和所述角度信息,确定所述终端在当前时段内所处场景的置信度,具体包括:The positioning method according to claim 5, wherein determining the confidence of the scene in which the terminal is located in the current period according to the image data and the angle information specifically includes:
    根据所述图像数据,确定在当前时段内所处场景的纹理质量变化程度,以及确定在当前时段内所处场景的光照变化程度;Determining, according to the image data, a degree of change in texture quality of a scene in the current period, and determining a degree of change in lighting of the scene in the current period;
    根据所述角度信息,确定在当前时段内所处场景的角度变化程度;Determining, according to the angle information, the degree of change in the angle of the scene in the current period;
    计算所述纹理质量变化程度、所述光照变化程度和所述角度变化程度三者的平均值,并将所述平均值作为所述终端在当前时段内所处场景的置信度。Calculate an average value of the texture quality change degree, the lighting change degree, and the angle change degree, and use the average value as the confidence level of the scene in which the terminal is located in the current period.
  7. 根据权利要求6所述的定位方法,其中,根据所述图像数据,确定在当前时段内所处场景的纹理质量变化程度,具体包括:The positioning method according to claim 6, wherein determining the degree of texture quality change of the scene in the current period according to the image data specifically includes:
    获取所述图像数据中的特征像素点,并统计所述特征像素点的个数,计算所述特征像素点的个数与预设像素点个数的第一比值,并将所述第一比值作为所述场景的纹理质量变化程度;Obtain characteristic pixel points in the image data, and count the number of characteristic pixel points, calculate a first ratio between the number of characteristic pixel points and a preset number of pixel points, and set the first ratio As the degree of texture quality change of the scene;
    或者,or,
    检测所述图像数据中属于边缘的像素点,并统计所述属于边缘的像素点的个数,计算所述属于边缘的像素点的个数与预设像素点个数的第二比值,并将所述第二比值作为所述场景的纹理质量变化程度。Detecting the pixels belonging to the edge in the image data, and counting the number of pixels belonging to the edge, calculating a second ratio between the number of pixels belonging to the edge and the number of preset pixels, and The second ratio is used as a texture quality change degree of the scene.
  8. 根据权利要求6或7所述的定位方法,其中,根据所述图像数据,确定在当前时段内所处场景的光照变化程度,具体包括:The positioning method according to claim 6 or 7, wherein determining the degree of lighting change of the scene in the current period according to the image data specifically includes:
    计算所述图像数据中预设区域内的平均灰度值;Calculating an average gray value within a preset area in the image data;
    根据所述平均灰度值以及预设灰度值,确定所述在当前时段内所处场景的光照变化程度。According to the average grayscale value and a preset grayscale value, a degree of lighting change of the scene in the current period is determined.
  9. 根据权利要求6至8中任一项所述的定位方法,其中,根据所述角度信息,确定在当前时段内所处场景的角度变化程度,具体包括:The positioning method according to any one of claims 6 to 8, wherein determining a degree of a change in angle of a scene in a current period according to the angle information specifically includes:
    计算预设角度与所述角度信息的差值;Calculating a difference between a preset angle and the angle information;
    计算所述差值与所述预设角度的第三比值,将所述第三比值作为所述当前时段内所处场景的角度变化程度。Calculate a third ratio between the difference and the preset angle, and use the third ratio as the degree of angle change of the scene in the current period.
  10. 根据权利要求5至8中任一项所述的定位方法,其中,所述当前时段内所述终端所处场景的图像数据为当前时段内采集的最后一帧的图像数据或者采集到当前时段内的所有帧的图像数据。The positioning method according to any one of claims 5 to 8, wherein the image data of the scene in which the terminal is located in the current period is the image data of the last frame collected in the current period or acquired in the current period Image data for all frames.
  11. 一种定位装置,其中,包括:置信度获取模块、频率调整模块和定位模块;A positioning device, comprising: a confidence obtaining module, a frequency adjustment module, and a positioning module;
    所述置信度获取模块用于获取终端在当前时段内所处场景的置信度,所述置信度用于表示所述终端在当前时段内所处场景与上一时段内所处场景的差异程度;The confidence degree acquisition module is used to obtain the confidence degree of the scene in which the terminal is located in the current period, and the confidence degree is used to indicate the difference between the scene in which the terminal is located in the current period and the scene in the previous period;
    频率调整模块用于根据所述终端在当前时段内所处场景的置信度,调整第一定位频率,其中,所述置信度与所述第一定位频率成反比;The frequency adjustment module is configured to adjust the first positioning frequency according to the confidence of the scene in which the terminal is located in the current period, where the confidence is inversely proportional to the first positioning frequency;
    所述定位模块用于按照调整后的第一定位频率在当前时段所处场景内进行视觉定位。The positioning module is configured to perform visual positioning in the scene where the current period is located according to the adjusted first positioning frequency.
  12. 一种终端,其中,包括:至少一个处理器;以及,A terminal comprising: at least one processor; and
    与所述至少一个处理器通信连接的存储器;其中,A memory connected in communication with the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1~11任一项所述的定位方法。The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the method according to any one of claims 1 to 11. Positioning method.
  13. 一种计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现权利要求1~11任一项所述的定位方法。A computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the positioning method according to any one of claims 1 to 11 is implemented.
PCT/CN2018/097216 2018-07-26 2018-07-26 Positioning method and device, terminal and readable storage medium WO2020019239A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880001296.5A CN109691185B (en) 2018-07-26 2018-07-26 Positioning method, positioning device, terminal and readable storage medium
PCT/CN2018/097216 WO2020019239A1 (en) 2018-07-26 2018-07-26 Positioning method and device, terminal and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/097216 WO2020019239A1 (en) 2018-07-26 2018-07-26 Positioning method and device, terminal and readable storage medium

Publications (1)

Publication Number Publication Date
WO2020019239A1 true WO2020019239A1 (en) 2020-01-30

Family

ID=66191846

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/097216 WO2020019239A1 (en) 2018-07-26 2018-07-26 Positioning method and device, terminal and readable storage medium

Country Status (2)

Country Link
CN (1) CN109691185B (en)
WO (1) WO2020019239A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113099378A (en) * 2021-03-23 2021-07-09 北京三快在线科技有限公司 Positioning method, device, equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885499B (en) * 2020-07-16 2022-06-21 北京字节跳动网络技术有限公司 Positioning method and device of mobile equipment, electronic equipment and storage medium
CN112968934B (en) * 2021-01-29 2023-02-17 北京骑胜科技有限公司 Travel positioning method, travel positioning device, storage medium and computer program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105527968A (en) * 2014-09-29 2016-04-27 联想(北京)有限公司 Information processing method and information processing device
CN106780608A (en) * 2016-11-23 2017-05-31 北京地平线机器人技术研发有限公司 Posture information method of estimation, device and movable equipment
CN107742311A (en) * 2017-09-29 2018-02-27 北京易达图灵科技有限公司 A kind of method and device of vision positioning
CN108287550A (en) * 2018-02-01 2018-07-17 速感科技(北京)有限公司 The method of SLAM systems and construction data correlation based on data correlation and error detection

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201532466U (en) * 2009-11-09 2010-07-21 胡宜萍 Portable personal gps positioning terminal
CN102435172A (en) * 2011-09-02 2012-05-02 北京邮电大学 Visual locating system of spherical robot and visual locating method thereof
CN103900583B (en) * 2012-12-25 2018-02-27 联想(北京)有限公司 For positioning the apparatus and method with map structuring immediately
CN103402176A (en) * 2013-07-31 2013-11-20 深圳市中兴移动通信有限公司 Method and device for dynamically adjusting positioning period
CN103561467B (en) * 2013-11-05 2017-01-18 中国联合网络通信集团有限公司 Method and device for positioning mobile user
CN104661180B (en) * 2013-11-21 2018-06-15 华为终端(东莞)有限公司 The method of adjustment and terminal of a kind of location frequency
US10520595B2 (en) * 2014-08-05 2019-12-31 Huawei Technologies Co., Ltd. Positioning method, apparatus, and mobile terminal
CN104185225A (en) * 2014-09-11 2014-12-03 南京大学 Indoor and outdoor seamless positioning switching method based on scene classification
CN106304325B (en) * 2015-05-26 2020-03-13 中移(杭州)信息技术有限公司 Positioning method, positioning device and positioning terminal
CN105223593B (en) * 2015-09-17 2018-01-23 北京奇虎科技有限公司 Terminal positioning frequency adjustment method, system and positioning interval adjusting method, system
CN106447585A (en) * 2016-09-21 2017-02-22 武汉大学 Urban area and indoor high-precision visual positioning system and method
JP6775263B2 (en) * 2016-12-02 2020-10-28 深▲せん▼前海達闥云端智能科技有限公司Cloudminds (Shenzhen) Robotics Systems Co.,Ltd. Positioning method and equipment
CN106550443B (en) * 2016-12-06 2020-04-07 东软集团股份有限公司 Method and device for collecting positioning signal
CN106949895B (en) * 2017-04-13 2020-05-19 杭州申昊科技股份有限公司 Inspection robot positioning method suitable for transformer substation environment
CN107144280B (en) * 2017-05-10 2020-02-04 深圳市沃特沃德股份有限公司 Method and device for identifying positioning point
CN107976195B (en) * 2017-11-30 2019-02-15 达闼科技(北京)有限公司 Position Fixing Navigation System and method, storage medium, the robot of robot
CN108009588A (en) * 2017-12-01 2018-05-08 深圳市智能现实科技有限公司 Localization method and device, mobile terminal
CN108055635B (en) * 2017-12-13 2020-01-21 Oppo广东移动通信有限公司 Position information acquisition method and device, storage medium and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105527968A (en) * 2014-09-29 2016-04-27 联想(北京)有限公司 Information processing method and information processing device
CN106780608A (en) * 2016-11-23 2017-05-31 北京地平线机器人技术研发有限公司 Posture information method of estimation, device and movable equipment
CN107742311A (en) * 2017-09-29 2018-02-27 北京易达图灵科技有限公司 A kind of method and device of vision positioning
CN108287550A (en) * 2018-02-01 2018-07-17 速感科技(北京)有限公司 The method of SLAM systems and construction data correlation based on data correlation and error detection

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113099378A (en) * 2021-03-23 2021-07-09 北京三快在线科技有限公司 Positioning method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109691185A (en) 2019-04-26
CN109691185B (en) 2022-09-30

Similar Documents

Publication Publication Date Title
US20210158567A1 (en) Visual positioning method and apparatus, electronic device, and system
WO2019037088A1 (en) Exposure control method and device, and unmanned aerial vehicle
WO2019119328A1 (en) Vision-based positioning method and aerial vehicle
US11042966B2 (en) Method, electronic device, and storage medium for obtaining depth image
US20120194652A1 (en) Image processing apparatus and method, and program
US9838614B1 (en) Multi-camera image data generation
WO2020019239A1 (en) Positioning method and device, terminal and readable storage medium
CN106651897B (en) Parallax correction method based on super-pixel segmentation
CN113206949B (en) Semi-direct monocular vision SLAM method based on entropy weighted image gradient
WO2020014832A1 (en) Map loading method and device, electronic apparatus, and readable storage medium
CN115329111B (en) Image feature library construction method and system based on point cloud and image matching
US20220074743A1 (en) Aerial survey method, aircraft, and storage medium
WO2020019117A1 (en) Localization method and apparatus, electronic device, and readable storage medium
CN110111341B (en) Image foreground obtaining method, device and equipment
CN115705651A (en) Video motion estimation method, device, equipment and computer readable storage medium
CN110880003B (en) Image matching method and device, storage medium and automobile
CN114331919B (en) Depth recovery method, electronic device, and storage medium
CN112991469A (en) Face brightness compensation method and device and computer readable storage medium
CN113506343B (en) Color coordinate estimation method, system, device and medium based on multi-source data
CN112767482B (en) Indoor and outdoor positioning method and system with multi-sensor fusion
CN111738085B (en) System construction method and device for realizing automatic driving simultaneous positioning and mapping
CN114998629A (en) Satellite map and aerial image template matching method and unmanned aerial vehicle positioning method
WO2023070441A1 (en) Movable platform positioning method and apparatus
CN117745845A (en) Method, device, equipment and storage medium for determining external parameter information
TWI817540B (en) Method for obtaining depth image , electronic device and computer-readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18927397

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 28.05.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18927397

Country of ref document: EP

Kind code of ref document: A1