[go: up one dir, main page]

CN113654548A - Positioning method, positioning device, electronic equipment and storage medium - Google Patents

Positioning method, positioning device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113654548A
CN113654548A CN202110806531.XA CN202110806531A CN113654548A CN 113654548 A CN113654548 A CN 113654548A CN 202110806531 A CN202110806531 A CN 202110806531A CN 113654548 A CN113654548 A CN 113654548A
Authority
CN
China
Prior art keywords
information
position information
server
image information
longitude
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202110806531.XA
Other languages
Chinese (zh)
Inventor
刘波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110806531.XA priority Critical patent/CN113654548A/en
Publication of CN113654548A publication Critical patent/CN113654548A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/005Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 with correlation of navigation data from several sources, e.g. map or contour matching
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • G01S19/45Determining position by combining measurements of signals from the satellite radio beacon positioning system with a supplementary measurement
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)
  • Navigation (AREA)

Abstract

本公开提供了定位方法、装置、电子设备及存储介质,涉及计算机视觉和增强现实等人工智能领域,其中的方法可包括:获取第一设备的第一位置信息;获取第一设备的周围场景的图像信息;将图像信息以及第一位置信息发送给服务器;获取服务器返回的第二位置信息,将第二位置信息作为定位得到的第一设备的位置信息,第二位置信息为服务器根据图像信息以及第一位置信息确定出的位置信息。应用本公开所述方案,可提升定位结果的准确性等。

Figure 202110806531

The present disclosure provides a positioning method, device, electronic device and storage medium, and relates to the fields of artificial intelligence such as computer vision and augmented reality, wherein the method may include: acquiring first location information of a first device; image information; send the image information and the first position information to the server; obtain the second position information returned by the server, use the second position information as the position information of the first device obtained by positioning, and the second position information is the server according to the image information and The location information determined by the first location information. By applying the solution described in the present disclosure, the accuracy of the positioning result and the like can be improved.

Figure 202110806531

Description

定位方法、装置、电子设备及存储介质Positioning method, device, electronic device and storage medium

技术领域technical field

本公开涉及人工智能技术领域,特别涉及计算机视觉和增强现实等领域定位方法、装置、电子设备及存储介质。The present disclosure relates to the technical field of artificial intelligence, and in particular, to a positioning method, apparatus, electronic device, and storage medium in the fields of computer vision and augmented reality.

背景技术Background technique

目前,通常采用全球定位系统(GPS,Global Positioning System)方式来实现定位,但通过GPS方式获取到的位置信息通常不够准确,无法满足一些应用的需求,如增强现实等。At present, a Global Positioning System (GPS, Global Positioning System) method is usually used to achieve positioning, but the location information obtained by the GPS method is usually not accurate enough to meet the needs of some applications, such as augmented reality.

发明内容SUMMARY OF THE INVENTION

本公开提供了定位方法、装置、电子设备及存储介质。The present disclosure provides a positioning method, apparatus, electronic device, and storage medium.

一种定位方法,包括:A positioning method comprising:

获取第一设备的第一位置信息;obtaining first location information of the first device;

获取所述第一设备的周围场景的图像信息;acquiring image information of the surrounding scene of the first device;

将所述图像信息以及所述第一位置信息发送给服务器;sending the image information and the first location information to a server;

获取所述服务器返回的第二位置信息,将所述第二位置信息作为定位得到的所述第一设备的位置信息,所述第二位置信息为所述服务器根据所述图像信息及所述第一位置信息确定出的位置信息。Acquire the second location information returned by the server, and use the second location information as the location information of the first device obtained by positioning, and the second location information is the server based on the image information and the first device. The location information determined by the location information.

一种定位方法,包括:A positioning method comprising:

获取来自第一设备的图像信息以及第一位置信息,所述第一位置信息为所述第一设备的位置信息,所述图像信息为所述第一设备的周围场景的图像信息;acquiring image information and first location information from a first device, where the first location information is location information of the first device, and the image information is image information of a scene surrounding the first device;

根据所述图像信息以及所述第一位置信息确定出第二位置信息,将所述第二位置信息作为定位得到的所述第一设备的位置信息返回给所述第一设备。The second position information is determined according to the image information and the first position information, and the second position information is returned to the first device as the position information of the first device obtained by positioning.

一种定位装置,包括:第一获取模块、第二获取模块以及处理模块;A positioning device, comprising: a first acquisition module, a second acquisition module and a processing module;

所述第一获取模块,用于获取第一设备的第一位置信息;the first obtaining module, configured to obtain the first location information of the first device;

所述第二获取模块,用于获取所述第一设备的周围场景的图像信息;the second acquiring module, configured to acquire image information of the surrounding scene of the first device;

所述处理模块,用于将所述图像信息以及所述第一位置信息发送给服务器,并获取所述服务器返回的第二位置信息,将所述第二位置信息作为定位得到的所述第一设备的位置信息,所述第二位置信息为所述服务器根据所述图像信息及所述第一位置信息确定出的位置信息。The processing module is configured to send the image information and the first position information to a server, obtain second position information returned by the server, and use the second position information as the first position obtained by positioning. The location information of the device, the second location information is location information determined by the server according to the image information and the first location information.

一种定位装置,包括:第三获取模块以及确定模块;A positioning device, comprising: a third acquisition module and a determination module;

所述第三获取模块,用于获取来自第一设备的图像信息以及第一位置信息,所述第一位置信息为所述第一设备的位置信息,所述图像信息为所述第一设备的周围场景的图像信息;The third acquisition module is configured to acquire image information and first location information from the first device, where the first location information is location information of the first device, and the image information is the location information of the first device. Image information of the surrounding scene;

所述确定模块,用于根据所述图像信息以及所述第一位置信息确定出第二位置信息,将所述第二位置信息作为定位得到的所述第一设备的位置信息返回给所述第一设备。The determining module is configured to determine second position information according to the image information and the first position information, and return the second position information to the first device as the position information of the first device obtained by positioning. a device.

一种电子设备,包括:An electronic device comprising:

至少一个处理器;以及at least one processor; and

与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,

所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如以上所述的方法。The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method as described above.

一种存储有计算机指令的非瞬时计算机可读存储介质,所述计算机指令用于使计算机执行如以上所述的方法。A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method as described above.

一种计算机程序产品,包括计算机程序,所述计算机程序在被处理器执行时实现如以上所述的方法。A computer program product comprising a computer program which, when executed by a processor, implements the method as described above.

上述公开中的一个实施例具有如下优点或有益效果:针对第一设备,可首先进行相对粗略的定位,得到第一位置信息,之后可结合第一位置信息以及周围场景的图像信息进一步确定出更为精确的第二位置信息,并将第二位置信息作为最终的定位结果,从而提升了定位结果的准确性等。An embodiment in the above disclosure has the following advantages or beneficial effects: for the first device, a relatively rough positioning can be performed first to obtain the first position information, and then the first position information and the image information of the surrounding scene can be further determined to further determine the location. The second position information is accurate, and the second position information is used as the final positioning result, thereby improving the accuracy of the positioning result.

应当理解,本部分所描述的内容并非旨在标识本公开的实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or critical features of embodiments of the disclosure, nor is it intended to limit the scope of the disclosure. Other features of the present disclosure will become readily understood from the following description.

附图说明Description of drawings

附图用于更好地理解本方案,不构成对本公开的限定。其中:The accompanying drawings are used for better understanding of the present solution, and do not constitute a limitation to the present disclosure. in:

图1为本公开所述定位方法第一实施例的流程图;FIG. 1 is a flowchart of the first embodiment of the positioning method described in the present disclosure;

图2为本公开所述定位方法第二实施例的流程图;FIG. 2 is a flowchart of a second embodiment of the positioning method described in the present disclosure;

图3为本公开所述第一设备与服务器之间的交互方式示意图;FIG. 3 is a schematic diagram of an interaction mode between the first device and the server according to the present disclosure;

图4为本公开所述定位装置第一实施例400的组成结构示意图;FIG. 4 is a schematic diagram of the composition and structure of the first embodiment 400 of the positioning device according to the disclosure;

图5为本公开所述定位装置第二实施例500的组成结构示意图;FIG. 5 is a schematic diagram of the composition and structure of the second embodiment 500 of the positioning device according to the disclosure;

图6示出了可以用来实施本公开的实施例的电子设备600的示意性框图。FIG. 6 shows a schematic block diagram of an electronic device 600 that may be used to implement embodiments of the present disclosure.

具体实施方式Detailed ways

以下结合附图对本公开的示范性实施例做出说明,其中包括本公开实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本公开的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.

另外,应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。In addition, it should be understood that the term "and/or" in this document is only an association relationship for describing associated objects, indicating that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, and A exists at the same time and B, there are three cases of B alone. In addition, the character "/" in this document generally indicates that the related objects are an "or" relationship.

图1为本公开所述定位方法第一实施例的流程图。作为一种可能的实现方式,所述方法可应用于第一设备中,如图1所示,包括以下具体实现方式。FIG. 1 is a flowchart of the first embodiment of the positioning method according to the present disclosure. As a possible implementation manner, the method can be applied to the first device, as shown in FIG. 1 , including the following specific implementation manners.

在步骤101中,获取第一设备的第一位置信息。In step 101, first location information of a first device is acquired.

在步骤102中,获取第一设备的周围场景的图像信息。In step 102, image information of the surrounding scene of the first device is acquired.

在步骤103中,将图像信息以及第一位置信息发送给服务器。In step 103, the image information and the first location information are sent to the server.

在步骤104中,获取服务器返回的第二位置信息,将第二位置信息作为定位得到的第一设备的位置信息,第二位置信息为服务器根据图像信息及第一位置信息确定出的位置信息。In step 104, the second position information returned by the server is obtained, and the second position information is used as the position information of the first device obtained by positioning, and the second position information is the position information determined by the server according to the image information and the first position information.

上述方法实施例所述方案中,针对第一设备,可首先进行相对粗略的定位,得到第一位置信息,之后可结合第一位置信息以及周围场景的图像信息进一步确定出更为精确的第二位置信息,并将第二位置信息作为最终的定位结果,从而提升了定位结果的准确性等。In the solution described in the above method embodiment, for the first device, a relatively rough positioning can be performed first to obtain the first position information, and then a more accurate second position can be further determined in combination with the first position information and the image information of the surrounding scene. position information, and use the second position information as the final positioning result, thereby improving the accuracy of the positioning result.

上述第一设备具体为何种设备不作限制,比如,可为增强现实(VR,AugmentedReality)设备,或为智能手机等。There is no limitation on what kind of device the above-mentioned first device is, for example, it can be an Augmented Reality (VR, Augmented Reality) device, or a smart phone or the like.

为实现本公开所述方案,需要确保第一设备的GPS定位以及摄像头等功能均处于开启状态。In order to realize the solution described in the present disclosure, it is necessary to ensure that functions such as GPS positioning and camera of the first device are in an enabled state.

根据第一位置信息的内容的不同,本公开所述方案至少可以有以下两种实现方式。Depending on the content of the first location information, the solution described in the present disclosure may be implemented in at least the following two manners.

一)方式一a) method one

可通过GPS方式获取第一设备的经纬度信息,并可将获取到的经纬度信息发送给服务器,进一步地,可获取服务器返回的经纬度信息所属的区域信息,将所述区域信息作为第一位置信息。The latitude and longitude information of the first device can be acquired by means of GPS, and the acquired latitude and longitude information can be sent to the server. Further, the area information to which the latitude and longitude information returned by the server belongs can be acquired, and the area information can be used as the first location information.

如何划分不同的区域不作限制,比如,所述区域可以是指一个预定范围大小的矩形区域,或者,所述区域也可以是指某个兴趣点(POI,Point of Interest)如某一景点对应的区域等。There is no restriction on how to divide different areas. For example, the area may refer to a rectangular area with a predetermined size, or the area may also refer to a certain point of interest (POI, Point of Interest), such as a certain scenic spot corresponding to area etc.

服务器返回的区域信息中具体包括哪些内容可根据实际需要而定,比如,可包括区域的标识(id)等。What content is specifically included in the area information returned by the server may be determined according to actual needs, for example, an identifier (id) of the area may be included.

除获取第一设备的第一位置信息外,还需要获取第一设备的周围场景的图像信息,比如,可利用第一设备的摄像头来拍摄得到所述图像信息。In addition to acquiring the first location information of the first device, image information of the surrounding scene of the first device also needs to be acquired, for example, the image information can be obtained by using the camera of the first device to capture.

进一步地,可将获取到的图像信息以及第一位置信息发送给服务器,并可获取服务器返回的第二位置信息,第二位置信息可为服务器根据图像信息以及所属的区域对应的建模信息确定出的第一设备的位置信息,相应地,可将第二位置信息作为定位得到的第一设备的位置信息。Further, the obtained image information and the first position information can be sent to the server, and the second position information returned by the server can be obtained, and the second position information can be determined by the server according to the image information and the modeling information corresponding to the region to which it belongs. The obtained position information of the first device, correspondingly, the second position information may be used as the position information of the first device obtained by positioning.

二)方式二2) Method 2

可通过GPS方式获取第一设备的经纬度信息,并可将获取到的经纬度信息作为第一位置信息。The longitude and latitude information of the first device can be acquired by means of GPS, and the acquired longitude and latitude information can be used as the first location information.

除获取第一设备的第一位置信息外,还需要获取第一设备的周围场景的图像信息,比如,可利用第一设备的摄像头来拍摄得到所述图像信息。In addition to acquiring the first location information of the first device, image information of the surrounding scene of the first device also needs to be acquired, for example, the image information can be obtained by using the camera of the first device to capture.

进一步地,可将获取到的图像信息以及第一位置信息发送给服务器,并可获取服务器返回的第二位置信息,第二位置信息可为服务器确定出第一位置信息所属的区域后、根据图像信息以及该区域对应的建模信息确定出的第一设备的位置信息,相应地,可将第二位置信息作为定位得到的第一设备的位置信息。Further, the obtained image information and the first position information can be sent to the server, and the second position information returned by the server can be obtained. information and the location information of the first device determined by the modeling information corresponding to the area, and correspondingly, the second location information can be used as the location information of the first device obtained by positioning.

在实际应用中,具体采用方式一还是方式二可根据实际需要而定,非常的灵活方便,另外,无论是采用方式一还是方式二,均可实现结合第一位置信息以及图像信息进一步确定出更为精确的第二位置信息的目的,从而提升了定位结果的准确性。In practical applications, the specific mode 1 or mode 2 can be determined according to actual needs, which is very flexible and convenient. In addition, no matter whether mode 1 or mode 2 is adopted, it can be further determined by combining the first position information and image information. For the purpose of accurate second position information, the accuracy of the positioning result is improved.

需要说明的是,上述方式一和方式二中,在通过GPS方式获取第一设备的经纬度信息时,可能由于某种原因未获取成功,那么可在间隔一定时长后重新获取,或者挪动一下位置后重新获取等。It should be noted that, in the above-mentioned methods 1 and 2, when the latitude and longitude information of the first device is obtained through GPS, it may not be obtained successfully for some reason, so it can be obtained again after a certain interval, or after moving the position. Reacquire etc.

本公开的一个实施例中,还可根据第二位置信息进行场景跟踪和场景增强,以实现增强现实服务。In an embodiment of the present disclosure, scene tracking and scene enhancement may also be performed according to the second location information, so as to implement an augmented reality service.

如何进行场景跟踪不作限制,比如,可采用即时定位与地图构建(SLAM,Simultaneous Localization And Mapping)技术或增强现实开发组件(ARKit)技术来实现场景跟踪。There is no restriction on how to perform scene tracking. For example, the Simultaneous Localization And Mapping (SLAM, Simultaneous Localization And Mapping) technology or the Augmented Reality Development Kit (ARKit) technology can be used to realize the scene tracking.

如何进行场景增强同样不作限制,比如,可采用丰富的多媒体技术来实现场景增强。There is also no limitation on how to perform scene enhancement. For example, rich multimedia technologies can be used to achieve scene enhancement.

通过上述处理,可实现各种增强现实服务,如可用于商场中店铺导航、数字营销展示等场景,也可用于景点、博物馆、展览中具体作品的数字化展示等。Through the above processing, various augmented reality services can be realized, such as store navigation in shopping malls, digital marketing display and other scenarios, as well as digital display of specific works in scenic spots, museums, and exhibitions.

以上主要从第一设备一侧对本公开所述方案进行说明,以下从服务器一侧对本公开所述方案进行进一步说明。The solution of the present disclosure is mainly described above from the side of the first device, and the solution of the present disclosure is further described below from the side of the server.

图2为本公开所述定位方法第二实施例的流程图。作为一种可能的实现方式,所述方法可应用于服务器中,如图2所示,包括以下具体实现方式。FIG. 2 is a flowchart of a second embodiment of the positioning method according to the present disclosure. As a possible implementation manner, the method can be applied to a server, as shown in FIG. 2 , including the following specific implementation manners.

在步骤201中,获取来自第一设备的图像信息以及第一位置信息,第一位置信息为第一设备的位置信息,图像信息为第一设备的周围场景的图像信息。In step 201, image information and first location information from a first device are acquired, where the first location information is location information of the first device, and the image information is image information of a surrounding scene of the first device.

在步骤202中,根据获取到的图像信息以及第一位置信息确定出第二位置信息,将第二位置信息作为定位得到的第一设备的位置信息返回给第一设备。In step 202, the second position information is determined according to the acquired image information and the first position information, and the second position information is returned to the first device as the position information of the first device obtained by positioning.

上述方法实施例所述方案中,针对第一设备,可首先进行相对粗略的定位,得到第一位置信息,之后可结合第一位置信息以及周围场景的图像信息进一步确定出更为精确的第二位置信息,并可将第二位置信息作为最终的定位结果,从而提升了定位结果的准确性等。In the solution described in the above method embodiment, for the first device, a relatively rough positioning can be performed first to obtain the first position information, and then a more accurate second position can be further determined in combination with the first position information and the image information of the surrounding scene. position information, and the second position information can be used as the final positioning result, thereby improving the accuracy of the positioning result.

本公开的一个实施例中,第一位置信息可为第一设备将通过GPS方式获取到的经纬度信息发送给服务器后、获取到的服务器返回的所述经纬度信息所属的区域信息,相应地,在根据图像信息以及第一位置信息确定出第二位置信息时,可根据图像信息以及所属的区域对应的建模信息确定出第二位置信息。In an embodiment of the present disclosure, the first location information may be the area information to which the longitude and latitude information returned by the server after the first device sends the longitude and latitude information obtained by the GPS method to the server. When the second position information is determined according to the image information and the first position information, the second position information may be determined according to the image information and the modeling information corresponding to the region to which it belongs.

本公开的另一个实施例中,第一位置信息可为第一设备通过GPS方式获取到的经纬度信息,相应地,在根据图像信息以及第一位置信息确定出第二位置信息时,可首先确定出第一位置信息所属的区域,之后可根据图像信息以及该区域对应的建模信息确定出第二位置信息。In another embodiment of the present disclosure, the first location information may be latitude and longitude information obtained by the first device through GPS. Correspondingly, when the second location information is determined according to the image information and the first location information, the first location information may be determined first. The region to which the first position information belongs is determined, and then the second position information can be determined according to the image information and the modeling information corresponding to the region.

如何根据图像信息以及第一设备的经纬度信息所属的区域对应的建模信息确定出第二位置信息不作限制。How to determine the second location information according to the image information and the modeling information corresponding to the region to which the latitude and longitude information of the first device belongs is not limited.

作为一种可能的实现方式,针对每个区域,可预先分别对其进行建模,从而得到该区域的建模信息,比如,可拍摄得到关于该区域的图像信息,并可分别获取图像中的各点对应的位置信息,进一步地,可对得到的图像信息进行处理,如进行图像特征点的提取等,并可用提取出的图像特征点信息对该区域进行表示,即作为该区域的建模信息,假设第一设备的经纬度信息所属的区域为区域a,那么在获取到第一设备发送来的图像信息等之后,可对获取到的图像信息进行图像特征点的提取,并可将提取出的图像特征点与区域a的建模信息进行匹配,根据匹配结果确定出第二位置信息,即根据匹配结果确定出第一设备在区域a中的精确位置。As a possible implementation manner, for each region, it can be modeled separately in advance, so as to obtain the modeling information of the region, for example, the image information about the region can be obtained by shooting, and the The position information corresponding to each point, further, the obtained image information can be processed, such as the extraction of image feature points, etc., and the extracted image feature point information can be used to represent the region, that is, as the modeling of the region Assuming that the area to which the latitude and longitude information of the first device belongs is area a, after obtaining the image information sent by the first device, etc., the image feature points of the obtained image information can be extracted, and the extracted image information can be extracted. The image feature points of 1 are matched with the modeling information of the area a, and the second position information is determined according to the matching result, that is, the precise position of the first device in the area a is determined according to the matching result.

通过上述处理,可获取到更为精确的第二位置信息,从而提升了定位结果的准确性。Through the above processing, more accurate second position information can be obtained, thereby improving the accuracy of the positioning result.

综合上述介绍,图3为本公开所述第一设备与服务器之间的交互方式示意图。Based on the above introduction, FIG. 3 is a schematic diagram of an interaction manner between the first device and the server according to the present disclosure.

如图3所示,第一设备通过GPS方式获取经纬度信息,并将所述经纬度信息发送给服务器,相应地,服务器可确定出所述经纬度信息所属的区域,将该区域的区域信息返回给第一设备,区域信息可包括区域的标识等。As shown in FIG. 3 , the first device obtains the latitude and longitude information through GPS, and sends the latitude and longitude information to the server. Accordingly, the server can determine the area to which the latitude and longitude information belongs, and returns the area information of the area to the first device. For a device, the area information may include an identification of the area and the like.

如图3所示,第一设备还可获取周围场景的图像信息,并可将获取到的图像信息以及区域信息发送给服务器,相应地,服务器可根据图像信息以及区域对应的建模信息确定出第二位置信息,并可将第二位置信息作为定位得到的第一设备的位置信息返回给第一设备。As shown in FIG. 3 , the first device can also obtain image information of the surrounding scene, and can send the obtained image information and area information to the server. Accordingly, the server can determine the image information and the modeling information corresponding to the area according to the image information and the area information. The second position information can be returned to the first device as the position information of the first device obtained by the positioning.

另外,第一设备还可根据第二位置信息进行场景跟踪和场景增强,实现增强现实服务。In addition, the first device may also perform scene tracking and scene enhancement according to the second location information, so as to implement an augmented reality service.

需要说明的是,对于前述的各方法实施例,为了简单描述,将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本公开并不受所描述的动作顺序的限制,因为依据本公开,某些步骤可以采用其它顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本公开所必须的。另外,某个实施例中没有详述的部分,可以参见其它实施例中的相关说明。It should be noted that, for the purpose of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present disclosure is not limited by the described action sequence, because Certain steps may be performed in other orders or concurrently in accordance with the present disclosure. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present disclosure. In addition, for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions in other embodiments.

以上是关于方法实施例的介绍,以下通过装置实施例,对本公开所述方案进行进一步说明。The above is an introduction to the method embodiments, and the solutions described in the present disclosure will be further described below through the device embodiments.

图4为本公开所述定位装置第一实施例400的组成结构示意图。作为一种可能的实现方式,所述装置可应用于第一设备中,如图4所示,包括:第一获取模块401、第二获取模块402以及处理模块403。FIG. 4 is a schematic diagram of the composition and structure of the first embodiment 400 of the positioning device according to the disclosure. As a possible implementation manner, the apparatus can be applied to a first device, as shown in FIG. 4 , including: a first obtaining module 401 , a second obtaining module 402 and a processing module 403 .

第一获取模块401,用于获取第一设备的第一位置信息。The first obtaining module 401 is configured to obtain first location information of a first device.

第二获取模块402,用于获取第一设备的周围场景的图像信息。The second acquiring module 402 is configured to acquire image information of the surrounding scene of the first device.

处理模块403,用于将图像信息以及第一位置信息发送给服务器,并获取服务器返回的第二位置信息,将第二位置信息作为定位得到的第一设备的位置信息,第二位置信息为服务器根据图像信息及第一位置信息确定出的位置信息。The processing module 403 is used to send the image information and the first position information to the server, and obtain the second position information returned by the server, and use the second position information as the position information of the first device obtained by positioning, and the second position information is the server The location information determined according to the image information and the first location information.

上述装置实施例所述方案中,针对第一设备,可首先进行相对粗略的定位,得到第一位置信息,之后可结合第一位置信息以及周围场景的图像信息进一步确定出更为精确的第二位置信息,并将第二位置信息作为最终的定位结果,从而提升了定位结果的准确性等。In the solution described in the above device embodiment, for the first device, a relatively rough positioning may be performed first to obtain the first position information, and then a more accurate second position may be further determined in combination with the first position information and the image information of the surrounding scene. position information, and use the second position information as the final positioning result, thereby improving the accuracy of the positioning result.

本公开的一个实施例中,第一获取模块401可通过GPS方式获取第一设备的经纬度信息,将所述经纬度信息发送给服务器,并获取服务器返回的所述经纬度信息所属的区域信息,将所述区域信息作为第一位置信息。In an embodiment of the present disclosure, the first obtaining module 401 can obtain the latitude and longitude information of the first device through GPS, send the latitude and longitude information to the server, and obtain the area information to which the latitude and longitude information returned by the server belongs, The area information is used as the first location information.

服务器返回的区域信息中具体包括哪些内容可根据实际需要而定,比如,可包括区域的标识等。The specific content included in the area information returned by the server may be determined according to actual needs, for example, an identifier of the area may be included.

除获取第一设备的第一位置信息外,第二获取模块402还需要获取第一设备的周围场景的图像信息。In addition to acquiring the first location information of the first device, the second acquiring module 402 also needs to acquire image information of the surrounding scene of the first device.

进一步地,处理模块403可将获取到的图像信息以及第一位置信息发送给服务器,并获取服务器返回的第二位置信息,第二位置信息可为服务器根据图像信息以及所属的区域对应的建模信息确定出的第一设备的位置信息,相应地,可将第二位置信息作为定位得到的第一设备的位置信息。Further, the processing module 403 can send the obtained image information and the first position information to the server, and obtain the second position information returned by the server, and the second position information can be the model corresponding to the image information and the region to which the server belongs. The location information of the first device determined by the information, correspondingly, the second location information can be used as the location information of the first device obtained by positioning.

本公开的另一个实施例中,第一获取模块401可通过GPS方式获取第一设备的经纬度信息,并将获取到的经纬度信息作为第一位置信息。In another embodiment of the present disclosure, the first acquisition module 401 may acquire the latitude and longitude information of the first device by means of GPS, and use the acquired latitude and longitude information as the first location information.

除获取第一设备的第一位置信息外,第二获取模块402还需要获取第一设备的周围场景的图像信息。In addition to acquiring the first location information of the first device, the second acquiring module 402 also needs to acquire image information of the surrounding scene of the first device.

进一步地,处理模块403可将获取到的图像信息以及第一位置信息发送给服务器,并可获取服务器返回的第二位置信息,第二位置信息可为服务器确定出第一位置信息所属的区域后、根据图像信息以及该区域对应的建模信息确定出的位置信息,相应地,可将第二位置信息作为定位得到的第一设备的位置信息。Further, the processing module 403 can send the obtained image information and the first position information to the server, and can obtain the second position information returned by the server, and the second position information can be after the server determines the area to which the first position information belongs. , the position information determined according to the image information and the modeling information corresponding to the area, and correspondingly, the second position information can be used as the position information of the first device obtained by positioning.

本公开的一个实施例中,处理模块403还可根据第二位置信息进行场景跟踪和场景增强,以实现增强现实服务。In an embodiment of the present disclosure, the processing module 403 may further perform scene tracking and scene enhancement according to the second location information, so as to implement an augmented reality service.

图5为本公开所述定位装置第二实施例500的组成结构示意图。作为一种可能的实现方式,所述装置可应用于服务器中,如图5所示,包括:第三获取模块501以及确定模块502。FIG. 5 is a schematic diagram of the composition and structure of the second embodiment 500 of the positioning device according to the disclosure. As a possible implementation manner, the apparatus can be applied to a server, as shown in FIG. 5 , including: a third acquiring module 501 and a determining module 502 .

第三获取模块501,用于获取来自第一设备的图像信息以及第一位置信息,第一位置信息为第一设备的位置信息,图像信息为第一设备的周围场景的图像信息。The third acquiring module 501 is configured to acquire image information and first location information from the first device, where the first location information is location information of the first device, and the image information is image information of the surrounding scene of the first device.

确定模块502,用于根据获取到的图像信息以及第一位置信息确定出第二位置信息,将第二位置信息作为定位得到的第一设备的位置信息返回给第一设备。The determining module 502 is configured to determine the second position information according to the acquired image information and the first position information, and return the second position information to the first device as the position information of the first device obtained by positioning.

上述装置实施例所述方案中,针对第一设备,可首先进行相对粗略的定位,得到第一位置信息,之后可结合第一位置信息以及周围场景的图像信息进一步确定出更为精确的第二位置信息,并可将第二位置信息作为最终的定位结果,从而提升了定位结果的准确性等。In the solution described in the above device embodiment, for the first device, a relatively rough positioning may be performed first to obtain the first position information, and then a more accurate second position may be further determined in combination with the first position information and the image information of the surrounding scene. position information, and the second position information can be used as the final positioning result, thereby improving the accuracy of the positioning result.

本公开的一个实施例中,第一位置信息可为第一设备将通过GPS方式获取到的经纬度信息发送给服务器后、获取到的服务器返回的所述经纬度信息所属的区域信息,相应地,确定模块502在根据图像信息以及第一位置信息确定出第二位置信息时,可根据图像信息以及所属的区域对应的建模信息确定出第二位置信息。In one embodiment of the present disclosure, the first location information may be the area information to which the longitude and latitude information returned by the server after the first device sends the longitude and latitude information obtained by means of GPS to the server, and accordingly, determine When the module 502 determines the second position information according to the image information and the first position information, the second position information may be determined according to the image information and the modeling information corresponding to the region to which it belongs.

本公开的另一个实施例中,第一位置信息可为第一设备通过GPS方式获取到的经纬度信息,相应地,确定模块502在根据图像信息以及第一位置信息确定出第二位置信息时,可首先确定出第一位置信息所属的区域,之后可根据图像信息以及该区域对应的建模信息确定出第二位置信息。In another embodiment of the present disclosure, the first location information may be latitude and longitude information obtained by the first device through GPS. Correspondingly, when the determining module 502 determines the second location information according to the image information and the first location information, The region to which the first position information belongs may be determined first, and then the second position information may be determined according to the image information and the modeling information corresponding to the region.

如何根据图像信息以及第一设备的经纬度信息所属的区域对应的建模信息确定出第二位置信息不作限制。How to determine the second location information according to the image information and the modeling information corresponding to the region to which the latitude and longitude information of the first device belongs is not limited.

作为一种可能的实现方式,针对每个区域,可预先分别对其进行建模,从而得到该区域的建模信息,比如,可拍摄得到关于该区域的图像信息,并可分别获取图像中的各点对应的位置信息,进一步地,可对得到的图像信息进行处理,如进行图像特征点的提取等,并可用提取出的图像特征点信息对该区域进行表示,即作为该区域的建模信息,假设第一设备的经纬度信息所属的区域为区域a,那么在获取到第一设备发送来的图像信息等之后,可对获取到的图像信息进行图像特征点的提取,并可将提取出的图像特征点与区域a的建模信息进行匹配,根据匹配结果确定出第二位置信息,即根据匹配结果确定出第一设备在区域a中的精确位置。As a possible implementation manner, for each region, it can be modeled separately in advance, so as to obtain the modeling information of the region, for example, the image information about the region can be obtained by shooting, and the The position information corresponding to each point, further, the obtained image information can be processed, such as the extraction of image feature points, etc., and the extracted image feature point information can be used to represent the region, that is, as the modeling of the region Assuming that the area to which the latitude and longitude information of the first device belongs is area a, after obtaining the image information sent by the first device, etc., the image feature points of the obtained image information can be extracted, and the extracted image information can be extracted. The image feature points of 1 are matched with the modeling information of the area a, and the second position information is determined according to the matching result, that is, the precise position of the first device in the area a is determined according to the matching result.

本公开所述方案可应用于人工智能领域,特别涉及计算机视觉和增强现实等领域。人工智能是研究使计算机来模拟人的某些思维过程和智能行为(如学习、推理、思考、规划等)的学科,既有硬件层面的技术也有软件层面的技术,人工智能硬件技术一般包括如传感器、专用人工智能芯片、云计算、分布式存储、大数据处理等技术,人工智能软件技术主要包括计算机视觉技术、语音识别技术、自然语言处理技术以及机器学习/深度学习、大数据处理技术、知识图谱技术等几大方向。The solutions described in the present disclosure can be applied to the field of artificial intelligence, especially to the fields of computer vision and augmented reality. Artificial intelligence is the study of making computers to simulate certain thinking processes and intelligent behaviors of people (such as learning, reasoning, thinking, planning, etc.). There are both hardware-level technologies and software-level technologies. AI hardware technologies generally include Sensors, special artificial intelligence chips, cloud computing, distributed storage, big data processing and other technologies, artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology and machine learning/deep learning, big data processing technology, Knowledge graph technology and other major directions.

需要说明的是,本公开所述实施例中的位置信息和图像信息并不是针对某一特定用户的位置信息和图像信息,并不能反映出某一特定用户的个人信息,本公开所述实施例中,定位方法的执行主体可以通过各种公开、合法合规的方式获取位置信息和图像信息,例如可以是经过了用户的授权从用户处获取等。也就是说,本公开的技术方案中,所涉及的用户个人信息的获取,存储和应用等,均符合相关法律法规的规定,且不违背公序良俗。It should be noted that the location information and image information in the embodiments described in the present disclosure are not the location information and image information for a specific user, and cannot reflect the personal information of a specific user. , the execution subject of the positioning method can obtain the location information and image information in various public, legal and compliant ways, for example, it can be obtained from the user after the user's authorization. That is to say, in the technical solution of the present disclosure, the acquisition, storage and application of the user's personal information involved all comply with the provisions of relevant laws and regulations, and do not violate public order and good customs.

根据本公开的实施例,本公开还提供了一种电子设备、一种可读存储介质和一种计算机程序产品。According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.

图6示出了可以用来实施本公开的实施例的示例电子设备600的示意性框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字助理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本公开的实现。FIG. 6 shows a schematic block diagram of an example electronic device 600 that may be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are by way of example only, and are not intended to limit implementations of the disclosure described and/or claimed herein.

如图6所示,设备600包括计算单元601,其可以根据存储在只读存储器(ROM)602中的计算机程序或者从存储单元608加载到随机访问存储器(RAM)603中的计算机程序,来执行各种适当的动作和处理。在RAM 603中,还可存储设备600操作所需的各种程序和数据。计算单元601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。As shown in FIG. 6 , the device 600 includes a computing unit 601 that can be executed according to a computer program stored in a read only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603 Various appropriate actions and handling. In the RAM 603, various programs and data necessary for the operation of the device 600 can also be stored. The computing unit 601 , the ROM 602 , and the RAM 603 are connected to each other through a bus 604 . An input/output (I/O) interface 605 is also connected to bus 604 .

设备600中的多个部件连接至I/O接口605,包括:输入单元606,例如键盘、鼠标等;输出单元607,例如各种类型的显示器、扬声器等;存储单元608,例如磁盘、光盘等;以及通信单元609,例如网卡、调制解调器、无线通信收发机等。通信单元609允许设备600通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。Various components in the device 600 are connected to the I/O interface 605, including: an input unit 606, such as a keyboard, mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a magnetic disk, an optical disk, etc. ; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 609 allows the device 600 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks.

计算单元601可以是各种具有处理和计算能力的通用和/或专用处理组件。计算单元601的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的计算单元、数字信号处理器(DSP)、以及任何适当的处理器、控制器、微控制器等。计算单元601执行上文所描述的各个方法和处理,例如本公开所述的方法。例如,在一些实施例中,本公开所述的方法可被实现为计算机软件程序,其被有形地包含于机器可读介质,例如存储单元608。在一些实施例中,计算机程序的部分或者全部可以经由ROM 602和/或通信单元609而被载入和/或安装到设备600上。当计算机程序加载到RAM 603并由计算单元601执行时,可以执行本公开所述的方法的一个或多个步骤。备选地,在其他实施例中,计算单元601可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行本公开所述的方法。Computing unit 601 may be various general-purpose and/or special-purpose processing components with processing and computing capabilities. Some examples of computing units 601 include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), various specialized artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, digital signal processing processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 601 performs the various methods and processes described above, such as the methods described in this disclosure. For example, in some embodiments, the methods described in this disclosure may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 608 . In some embodiments, part or all of the computer program may be loaded and/or installed on device 600 via ROM 602 and/or communication unit 609 . When a computer program is loaded into RAM 603 and executed by computing unit 601, one or more steps of the methods described in this disclosure may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured by any other suitable means (eg, by means of firmware) to perform the methods described in this disclosure.

本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、负载可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described herein above may be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips system (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpretable on a programmable system including at least one programmable processor that The processor, which may be a special purpose or general-purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device an output device.

用于实施本公开的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer or other programmable data processing apparatus, such that the program code, when executed by the processor or controller, performs the functions/functions specified in the flowcharts and/or block diagrams. Action is implemented. The program code may execute entirely on the machine, partly on the machine, partly on the machine and partly on a remote machine as a stand-alone software package or entirely on the remote machine or server.

在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.

为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide interaction with a user, the systems and techniques described herein may be implemented on a computer having a display device (eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user ); and a keyboard and pointing device (eg, a mouse or trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (eg, visual feedback, auditory feedback, or tactile feedback); and can be in any form (including acoustic input, voice input, or tactile input) to receive input from the user.

可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein may be implemented on a computing system that includes back-end components (eg, as a data server), or a computing system that includes middleware components (eg, an application server), or a computing system that includes front-end components (eg, a user's computer having a graphical user interface or web browser through which a user may interact with implementations of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system may be interconnected by any form or medium of digital data communication (eg, a communication network). Examples of communication networks include: Local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.

计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,也可以为分布式系统的服务器,或者是结合了区块链的服务器。A computer system can include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, a distributed system server, or a server combined with blockchain.

应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本发公开中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本公开公开的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, the steps described in the present disclosure can be executed in parallel, sequentially, or in different orders. As long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, there is no limitation herein.

上述具体实施方式,并不构成对本公开保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本公开的精神和原则之内所作的修改、等同替换和改进等,均应包含在本公开保护范围之内。The above-mentioned specific embodiments do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present disclosure should be included within the protection scope of the present disclosure.

Claims (17)

1. A method of positioning, comprising:
acquiring first position information of first equipment;
acquiring image information of a surrounding scene of the first device;
sending the image information and the first position information to a server;
and acquiring second position information returned by the server, wherein the second position information is used as the position information of the first equipment obtained by positioning, and the second position information is determined by the server according to the image information and the first position information.
2. The method of claim 1, wherein,
the acquiring first position information of the first device comprises: acquiring longitude and latitude information of the first equipment in a Global Positioning System (GPS) mode, sending the longitude and latitude information to the server, acquiring regional information to which the longitude and latitude information returned by the server belongs, and taking the regional information as the first positional information;
the second position information is the position information determined by the server according to the image information and the modeling information corresponding to the region to which the server belongs.
3. The method of claim 1, wherein,
the acquiring first position information of the first device comprises: acquiring longitude and latitude information of the first equipment in a Global Positioning System (GPS) mode, and taking the longitude and latitude information as the first position information;
the second position information is the position information determined by the server according to the image information and the modeling information corresponding to the area after the area to which the first position information belongs is determined by the server.
4. The method of any of claims 1-3, further comprising:
and tracking and enhancing the scene according to the second position information to realize augmented reality service.
5. A method of positioning, comprising:
acquiring image information and first position information from first equipment, wherein the first position information is the position information of the first equipment, and the image information is the image information of a surrounding scene of the first equipment;
and determining second position information according to the image information and the first position information, and returning the second position information to the first equipment as the position information of the first equipment obtained by positioning.
6. The method of claim 5, wherein,
the first position information is the area information to which the longitude and latitude information returned by the server belongs, which is obtained after the first device sends the longitude and latitude information obtained in a Global Positioning System (GPS) mode to the server;
the determining second location information according to the image information and the first location information comprises: and determining the second position information according to the image information and the modeling information corresponding to the region to which the image information belongs.
7. The method of claim 5, wherein,
the first position information is longitude and latitude information acquired by the first equipment in a Global Positioning System (GPS) mode;
the determining second location information according to the image information and the first location information comprises: and determining the area to which the first position information belongs, and determining the second position information according to the image information and the modeling information corresponding to the area.
8. A positioning device, comprising: the device comprises a first acquisition module, a second acquisition module and a processing module;
the first obtaining module is used for obtaining first position information of the first equipment;
the second obtaining module is configured to obtain image information of a surrounding scene of the first device;
the processing module is configured to send the image information and the first location information to a server, acquire second location information returned by the server, and use the second location information as location information of the first device obtained by positioning, where the second location information is location information determined by the server according to the image information and the first location information.
9. The apparatus of claim 8, wherein,
the first acquisition module acquires longitude and latitude information of the first equipment in a Global Positioning System (GPS) mode, sends the longitude and latitude information to the server, acquires area information to which the longitude and latitude information returned by the server belongs, and takes the area information as the first position information;
the second position information is the position information determined by the server according to the image information and the modeling information corresponding to the region to which the server belongs.
10. The apparatus of claim 8, wherein,
the first acquisition module acquires longitude and latitude information of the first equipment in a Global Positioning System (GPS) mode, and the longitude and latitude information is used as the first position information;
the second position information is the position information determined by the server according to the image information and the modeling information corresponding to the area after the area to which the first position information belongs is determined by the server.
11. The apparatus of any one of claims 8 to 10,
and the processing module is further used for carrying out scene tracking and scene enhancement according to the second position information to realize augmented reality service.
12. A positioning device, comprising: a third acquisition module and a determination module;
the third obtaining module is configured to obtain image information and first position information from a first device, where the first position information is position information of the first device, and the image information is image information of a surrounding scene of the first device;
the determining module is configured to determine second location information according to the image information and the first location information, and return the second location information to the first device as location information of the first device obtained by positioning.
13. The apparatus of claim 12, wherein,
the first position information is the area information to which the longitude and latitude information returned by the server belongs, which is obtained after the first device sends the longitude and latitude information obtained in a Global Positioning System (GPS) mode to the server;
and the determining module determines the second position information according to the image information and the modeling information corresponding to the region to which the image information belongs.
14. The apparatus of claim 12, wherein,
the first position information is longitude and latitude information acquired by the first equipment in a Global Positioning System (GPS) mode;
the determining module determines a region to which the first position information belongs, and determines the second position information according to the image information and modeling information corresponding to the region.
15. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
16. A non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform the method of any one of claims 1-7.
17. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-7.
CN202110806531.XA 2021-07-16 2021-07-16 Positioning method, positioning device, electronic equipment and storage medium Pending CN113654548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110806531.XA CN113654548A (en) 2021-07-16 2021-07-16 Positioning method, positioning device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110806531.XA CN113654548A (en) 2021-07-16 2021-07-16 Positioning method, positioning device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113654548A true CN113654548A (en) 2021-11-16

Family

ID=78489516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110806531.XA Pending CN113654548A (en) 2021-07-16 2021-07-16 Positioning method, positioning device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113654548A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114494376A (en) * 2022-01-29 2022-05-13 山西华瑞鑫信息技术股份有限公司 Mirror image registration method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110012524A (en) * 2009-07-30 2011-02-09 에스케이 텔레콤주식회사 Method for providing augmented reality by user selected region and server and portable terminal therefor
US20110102605A1 (en) * 2009-11-02 2011-05-05 Empire Technology Development Llc Image matching to augment reality
US20120200743A1 (en) * 2011-02-08 2012-08-09 Autonomy Corporation Ltd System to augment a visual data stream based on a combination of geographical and visual information
CN103107938A (en) * 2013-01-25 2013-05-15 腾讯科技(深圳)有限公司 Information interactive method, server and terminal
WO2014012444A1 (en) * 2012-07-17 2014-01-23 中兴通讯股份有限公司 Method, device and system for realizing augmented reality information sharing
CN104335649A (en) * 2012-04-26 2015-02-04 首尔市立大学校产学协力团 Method and system for determining location and position of image matching-based smartphone
CN109087167A (en) * 2018-07-31 2018-12-25 西安艾润物联网技术服务有限责任公司 Service information pushing method, relevant device and storage medium
CN112073911A (en) * 2020-08-04 2020-12-11 北方雷科(安徽)科技有限公司 Mine car position information sending method, device, server and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110012524A (en) * 2009-07-30 2011-02-09 에스케이 텔레콤주식회사 Method for providing augmented reality by user selected region and server and portable terminal therefor
US20110102605A1 (en) * 2009-11-02 2011-05-05 Empire Technology Development Llc Image matching to augment reality
US20120200743A1 (en) * 2011-02-08 2012-08-09 Autonomy Corporation Ltd System to augment a visual data stream based on a combination of geographical and visual information
CN104335649A (en) * 2012-04-26 2015-02-04 首尔市立大学校产学协力团 Method and system for determining location and position of image matching-based smartphone
WO2014012444A1 (en) * 2012-07-17 2014-01-23 中兴通讯股份有限公司 Method, device and system for realizing augmented reality information sharing
CN103107938A (en) * 2013-01-25 2013-05-15 腾讯科技(深圳)有限公司 Information interactive method, server and terminal
CN109087167A (en) * 2018-07-31 2018-12-25 西安艾润物联网技术服务有限责任公司 Service information pushing method, relevant device and storage medium
CN112073911A (en) * 2020-08-04 2020-12-11 北方雷科(安徽)科技有限公司 Mine car position information sending method, device, server and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114494376A (en) * 2022-01-29 2022-05-13 山西华瑞鑫信息技术股份有限公司 Mirror image registration method

Similar Documents

Publication Publication Date Title
CN114550177B (en) Image processing method, text recognition method and device
CN112785625B (en) Target tracking method, device, electronic equipment and storage medium
CN109974733A (en) POI display method, device, terminal and medium for AR navigation
CN113483771B (en) Real-life map generation method, device and system
CN113449687B (en) Method and device for identifying point of interest outlet and point of interest inlet and electronic equipment
EP2672401A1 (en) Method and apparatus for storing image data
CN114648676A (en) Point cloud processing model training and point cloud instance segmentation method and device
CN113947147A (en) Training method and positioning method of target map model and related devices
CN115578433B (en) Image processing method, device, electronic equipment and storage medium
CN115100643A (en) Monocular vision localization enhancement method and device integrating 3D scene semantics
CN112580666B (en) Image feature extraction method, training method, device, electronic device and medium
CN114266876B (en) Positioning method, visual map generation method and device
CN115511779B (en) Image detection method, device, electronic equipment and storage medium
CN113705390B (en) Positioning method, positioning device, electronic equipment and storage medium
CN114186007A (en) High-precision map generation method and device, electronic equipment and storage medium
CN114419564A (en) Vehicle pose detection method, device, equipment, medium and autonomous driving vehicle
CN113723405A (en) Method and device for determining area outline and electronic equipment
CN113015117A (en) User positioning method and device, electronic equipment and storage medium
CN113970773A (en) Positioning method, device and electronic device
CN113654548A (en) Positioning method, positioning device, electronic equipment and storage medium
CN114492793A (en) Model training and sample generating method, device, equipment and storage medium
CN114549926A (en) Target detection and target detection model training method and device
CN114166238A (en) Lane line identification method and device and electronic equipment
CN117743617A (en) Character interaction detection method, model training method and device
CN117611643A (en) Point cloud registration method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20211116

RJ01 Rejection of invention patent application after publication