Information determination method and system, electronic device, autonomous mobile device, camera

Through the audio information association of audio and video data, the difficulty in establishing the corresponding relationship between the surveillance camera image coordinates and the world coordinates is solved, achieving high-precision determination of the coordinate system relationship, reducing manpower and clock calibration errors, and improving calibration efficiency.

CN113497914BActive Publication Date: 2024-08-30ZHE JIANG SHEN XIANG ZHI NENG KE JI YOU XIAN GONG SI
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010203445.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-20
Publication Date
2024-08-30
Estimated Expiration
2040-03-20

AI Technical Summary

Technical Problem

In the existing technology, it is difficult to establish the correspondence between the image coordinates of the surveillance camera and the actual world coordinates of the site. Manual calibration is laborious, time-consuming and contains errors. The inaccurate clock calibration of the autonomous positioning equipment results in inaccurate homography matrix calculation.

Method used

By obtaining the audio and video data collected by the first device and the second device, using the audio information to determine the image frame and position at the same time, determining the position of the second device in the second coordinate system based on the image frame, correlating the relationship between the two coordinate systems, and overcoming the network Latency and clock inaccuracy issues.

Benefits of technology

No manual participation is required, which significantly reduces manpower consumption, improves the accuracy of determining coordinate system relationships, reduces clock calibration errors, and improves calibration efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113497914B
    Figure CN113497914B
Patent Text Reader

Abstract

The embodiments of the present application provide an information determination method and system, an electronic device, an autonomous mobile device, and a camera. The method includes: obtaining first data collected by a first device and second data collected by a second device; the first data includes video information containing an image of the second device and first audio information corresponding to the ambient sound of the site where the second device is located; the second data includes second audio information corresponding to the ambient sound of the site and positioning information; using the first audio information and the second audio information, determining the image frame and the first position generated at the same time in the video information and the positioning information; determining the second position of the second device in the second coordinate system according to the image frame; associating the first position with the second position to determine the relationship between the first coordinate system and the second coordinate system. The technical solution provided by the embodiments of the present application overcomes the time asynchrony problem caused by network delays, inaccurate device clocks, etc., and helps to improve the accuracy of the subsequent determination of the relationship between the two coordinate systems.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to an information determination method and system, an electronic device, an autonomous mobile device, and a camera. Background Art

[0002] The actual scene visual recognition system is mainly composed of digital maps and intelligent video surveillance systems. Digital maps are the basis for the effective operation of intelligent video surveillance systems. They can not only clearly display the geographical overview of the actual scene, but also serve as the basis for connecting the structured information identified by video surveillance with the real world, playing an important role in many applications.

[0003] The establishment of the correspondence between the monitoring camera image coordinates and the actual world coordinates of the site is a difficult point in the establishment of digital maps. The main principle is: find multiple corresponding reference points in the monitoring camera image coordinate system and the actual world coordinate system of the site to form corresponding point pairs; calculate the transformation relationship between the two coordinate systems based on the point pairs, that is, the homography matrix.

[0004] At present, there is a way to obtain the corresponding point pair by manual calibration method, that is, manually measuring the first coordinate of the identification point in the field in the field coordinate system; and obtaining the second coordinate of the identification point image in the monitoring image coordinate system from the monitoring screen of the camera. It can be seen that the manual calibration method is laborious and time-consuming, and there are unavoidable errors. Summary of the invention

[0005] In order to solve or improve the problems existing in the prior art, each embodiment of the present application provides an information determination method and system, an electronic device, an autonomous mobile device, and a camera.

[0006] In one embodiment of the present application, a method for determining information is provided. The method comprises:

[0007] Acquire first data collected by a first device and second data collected by a second device, wherein the first data includes: video information containing an image of the second device and first audio information corresponding to the ambient sound of a site where the second device is located; the second data includes: second audio information corresponding to the ambient sound of the site and positioning information; the positioning information includes at least one first position of the second device in a first coordinate system;

[0008] Determine an image frame and a first position generated at the same time in the video information and the positioning information by using the first audio information and the second audio information;

[0009] Determine a second position of the second device in a second coordinate system according to the image frame;

[0010] The first position is associated with the second position to determine a relationship between the first coordinate system and the second coordinate system.

[0011] In another embodiment of the present application, an information determination system is provided. The information determination system includes:

[0012] The first device is used to collect video information containing an image of the second device and first audio information corresponding to ambient sound of a location where the second device is located;

[0013] The second device is used to collect second audio information and positioning information corresponding to the venue ambient sound; wherein the positioning information contains at least one first position of the second device in the first coordinate system;

[0014] The server is used to use the first audio information and the second audio information to determine the image frame and the first position generated at the same time in the video information and the positioning information; determine the second position of the second device in the second coordinate system based on the image frame; and associate the first position with the second position to determine the relationship between the first coordinate system and the second coordinate system.

[0015] In another embodiment of the present application, an information determination system is provided. The information determination system includes:

[0016] The first device is used to collect video information containing an image of the second device and first audio information corresponding to ambient sound of a location where the second device is located;

[0017] A second device is used to collect second audio information and positioning information corresponding to the venue ambient sound; wherein the positioning information contains at least one first position of the second device in a first coordinate system;

[0018] The first device is also used to use the first audio information and the second audio information to determine the image frame and the first position generated at the same time in the video information and the positioning information; determine the second position of the second device in the second coordinate system based on the image frame; and associate the first position with the second position to determine the relationship between the first coordinate system and the second coordinate system.

[0019] In another embodiment of the present application, a method for determining information is provided, wherein the method for determining information comprises:

[0020] Move autonomously in the venue;

[0021] Locating the position of the mobile device during the movement to obtain positioning information including at least one first position;

[0022] Collecting the site ambient sound to obtain second audio information;

[0023] The positioning information and the second audio information are sent to a processing device, so that the processing device uses the second audio information as a reference for determining a time when the first position in the positioning information is generated.

[0024] In another embodiment of the present application, a method for determining information is provided, wherein the method for determining information comprises:

[0025] Collecting first data, wherein the first data includes: video information containing an image of the second device and first audio information corresponding to ambient sound of a location where the second device is located;

[0026] receiving second data sent by the second device, wherein the second data includes: second audio information and positioning information corresponding to the venue ambient sound; the positioning information contains at least one first position of the second device in the first coordinate system;

[0027] Determine an image frame and a first position generated at the same time in the video information and the positioning information by using the first audio information and the second audio information;

[0028] Determine a second position of the second device in a second coordinate system according to the image frame;

[0029] The first position is associated with the second position to determine a relationship between the first coordinate system and the second coordinate system.

[0030] In another embodiment of the present application, a method for determining information is provided, wherein the method for determining information comprises:

[0031] Acquire first audio information and second audio information; wherein the first audio information and the second audio information originate from the same sound source, the first audio information is collected by a first device, and the second audio information is collected by a second device; or, the second device plays the second audio information as a sound source, and the first audio information is collected by the first device;

[0032] comparing the first audio information and the second audio information;

[0033] Based on the comparison result, a clock deviation between the first device and the second device is determined.

[0034] In another embodiment of the present application, an electronic device is provided. The electronic device includes a memory and a processor, wherein:

[0035] The memory is used to store programs;

[0036] The processor is coupled to the memory and is configured to execute the program stored in the memory to:

[0037] Acquire first data collected by a first device and second data collected by a second device, wherein the first data includes: video information containing an image of the second device and first audio information corresponding to the ambient sound of a site where the second device is located; the second data includes: second audio information corresponding to the ambient sound of the site and positioning information; the positioning information includes at least one first position of the second device in a first coordinate system;

[0038] Determine an image frame and a first position generated at the same time in the video information and the positioning information by using the first audio information and the second audio information;

[0039] Determine a second position of the second device in a second coordinate system according to the image frame;

[0040] The first position is associated with the second position to determine a relationship between the first coordinate system and the second coordinate system.

[0041] In another embodiment of the present application, an autonomous mobile device is provided. The autonomous mobile device comprises:

[0042] Body,

[0043] A traveling assembly, arranged on the machine body, for providing power to the machine body so that the machine body can move autonomously in the field where it is located;

[0044] A positioning device, used to locate its own position during the movement, and obtain positioning information containing at least one first position;

[0045] A collection device, used to collect the ambient sound of the venue to obtain second audio information;

[0046] The communication component is used to send the positioning information and the second audio information to a processing device so that the processing device uses the second audio information as a reference for determining the time when the first position in the positioning information is generated.

[0047] In another embodiment of the present application, a camera is provided. The camera includes: a collection component, a communication component, a memory and a processor; wherein:

[0048] The acquisition component is used to acquire first data, wherein the first data includes: video information containing an image of the second device and first audio information corresponding to the ambient sound of the site where the second device is located;

[0049] The communication component is used to receive second data sent by the second device, wherein the second data includes: second audio information and positioning information corresponding to the venue ambient sound; the positioning information contains at least one first position of the second device in the first coordinate system;

[0050] The memory is used to store programs;

[0051] The processor is coupled to the memory and is configured to execute the program stored in the memory to:

[0052] Determine an image frame and a first position generated at the same time in the video information and the positioning information by using the first audio information and the second audio information;

[0053] Determine a second position of the second device in a second coordinate system according to the image frame;

[0054] The first position is associated with the second position to determine a relationship between the first coordinate system and the second coordinate system.

[0055] In another embodiment of the present application, an electronic device is provided. The electronic device includes a memory and a processor, wherein:

[0056] The memory is used to store programs;

[0057] The processor is coupled to the memory and is configured to execute the program stored in the memory to:

[0058] Acquire first audio information and second audio information; wherein the first audio information and the second audio information originate from the same sound source, the first audio information is collected by a first device, and the second audio information is collected by a second device; or, the second device plays the second audio information as a sound source, and the first audio information is collected by the first device;

[0059] comparing the first audio information and the second audio information;

[0060] Based on the comparison result, a clock deviation between the first device and the second device is determined.

[0061] A technical solution provided in an embodiment of the present application obtains data collected by a first device and a second device, and then uses the first audio information and the second audio information contained in the respective data to determine the image frame and the first position generated at the same time; based on the image frame, the second position of the second device in the second coordinate system can be determined; the first position and the second position can be associated with each other to determine the relationship between the first coordinate system and the second coordinate system; the entire process requires no human intervention, which significantly reduces manpower consumption; in addition, the technical solution provided in this embodiment uses the first audio information and the second audio information collected by two devices from the ambient sound of the same venue as a reference standard for obtaining the image frame and the first position generated at the same time from the video information collected by the first device and the positioning information of the second device, which overcomes the time asynchrony problem caused by network delays, inaccurate device clocks, etc., and helps to improve the accuracy of subsequent determination of the relationship between the two coordinate systems.

[0062] Another technical solution provided by the embodiment of the present application uses the first device and the second device to simultaneously collect the venue ambient sound to determine the clock deviation between the first device and the second device, so that the clock calibration is more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0064] Figure 1a A schematic diagram of the first coordinate value of a reference point in the site in the world coordinate system;

[0065] Figure 1b is a schematic diagram of the second coordinate value of the reference point image in the image coordinate system;

[0066] Figure 2 A schematic diagram of the structure of an information determination system provided in an embodiment of the present application;

[0067] Figure 3 A schematic diagram of the structure of an information determination system provided in another embodiment of the present application;

[0068] Figure 4 A schematic diagram of the structure of an information determination system provided in yet another embodiment of the present application;

[0069] Figure 5 A flowchart of an information determination method provided in an embodiment of the present application;

[0070] Figure 6 A flowchart of an information determination method provided in another embodiment of the present application;

[0071] Figure 7 A flowchart of an information determination method provided in yet another embodiment of the present application;

[0072] Figure 8 A flowchart of an information determination method provided in yet another embodiment of the present application;

[0073] Fig. 9 A schematic diagram of the structure of an information determination device provided in an embodiment of the present application;

[0074] Fig.10 A schematic diagram of the structure of an information determination device provided in another embodiment of the present application;

[0075] Fig.11 A schematic diagram of the structure of an information determination device provided in yet another embodiment of the present application;

[0076] Fig.12 A schematic diagram of the structure of an information determination device provided in yet another embodiment of the present application;

[0077] Fig.13 A schematic diagram of the structure of an electronic device provided in one embodiment of the present application;

[0078] Fig.14 A schematic diagram of the structure of a camera provided in one embodiment of the present application. DETAILED DESCRIPTION

[0079] In the prior art, there are two main methods for obtaining corresponding point pairs in two different coordinate systems to calculate the homography matrix:

[0080] (1) Manual calibration

[0081] First, according to the CAD drawing of the site or through manual measurement, obtain the first coordinate value of a reference point in the site in the world coordinate system. The reference point can be a cross line or indicator set on the ground manually; or a representative identification object in the site, etc. Then, obtain the image containing the reference point image captured by the camera, and read the second coordinate value of the reference point image in the image coordinate system from the image through human-computer interaction. The first coordinate value and the second coordinate value are regarded as a set of corresponding point pairs.

[0082] The disadvantages are: it is labor-intensive and time-consuming to operate manually; the way to obtain the world coordinate system through CAD drawings is not flexible enough and cannot be used after the site is renovated; and there are unavoidable errors in manual measurement. Manual selection and measurement of reference points are inefficient, so only a small number of reference points can be selected. When the number of corresponding point pairs is small, the error of the homography matrix obtained is large.

[0083] (2) Autonomous positioning equipment

[0084] Autonomous positioning devices can be: robots, drones, intelligent logistics vehicles and other equipment with autonomous movement and positioning functions.

[0085] In the prior art, when obtaining corresponding points in two different coordinate systems to calculate the homography matrix, an autonomous positioning vehicle (hereinafter referred to as the vehicle for ease of description) is usually used to achieve this. Figure 1a As shown in the figure, the car uses the existing indoor positioning technology to achieve autonomous positioning and obtains its first coordinate value 1 (x 11 ,y 11 ). See Figure 1b As shown in the figure, the first coordinate value 1 (x 11 ,y 11 ) position, detect the center point of the car from the image, and obtain the second coordinate value 2(x 21 ,y 21 ). Set the first coordinate value (x 11 ,y 11 ) and the second coordinate value (x 21 ,y 21 ) as a set of corresponding point pairs.

[0086] Disadvantages: The timestamp of the second coordinate value of the car detected from the image is not synchronized with the timestamp of the second coordinate value of the car's autonomous positioning, resulting in two coordinate values ​​that are not generated at the same time to form a set of corresponding point pairs, resulting in inaccurate homography matrix calculated in the end. The main reasons are: Network transmission delay: After the camera image is collected, it is reported to the server through the network. The bandwidth and performance of the network, and the location of different cameras will cause delays. In the actual system, the longest delay time observed is close to 10s. The local clocks of the camera and the car are not accurate. The accuracy of the time calibration through the NTP protocol is affected by the network and the clock server; after each calibration, there is a cumulative error in the camera device itself, resulting in inaccuracy.

[0087] To solve the above time asynchronization problem, the prior art also provides the following two solutions:

[0088] A. The car stops and waits for the camera images to be synchronized. The car stops and waits at multiple locations, which reduces efficiency. Whether synchronization is still required manual confirmation, which increases the interactive workload.

[0089] B. The car is equipped with small lights, and the lights with different color combinations are used as time codes to synchronize the positioning time of the local car and the corresponding reference point in the video screen.

[0090] There are many problems encountered in practice, such as: it is difficult to identify the position and color of the small lights at a long distance; the small lights will be blocked in complex scenes; the longer the delay time, the higher the time resolution, the more small light color combinations need to be added, and the more difficult it is to identify the small lights.

[0091] To this end, the present application provides the following embodiments to solve or improve the problems existing in the prior art. In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present application.

[0092] In some processes described in the specification, claims and the above-mentioned figures of this application, multiple operations appearing in a specific order are included, and these operations may not be executed or executed in parallel in the order in which they appear in this article. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit "first" and "second" to different types. The embodiments described below are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of this application.

[0093] Figure 2 FIG. 1 shows a schematic diagram of the structure of an information determination system provided by an embodiment of the present application. Figure 2 As shown, the information determination system includes:

[0094] The first device 101 is used to collect video information containing a second device image 1021 and first audio information 1024 corresponding to the ambient sound of the site where the second device 102 is located;

[0095] The second device 102 is used to collect second audio information 1023 and positioning information corresponding to the venue ambient sound; wherein the positioning information contains at least one first position 1022 of the second device 102 in the first coordinate system;

[0096] The server 103 is used to determine the image frame and the first position generated at the same time in the video information and the positioning information using the first audio information 1024 and the second audio information 1023; determine the second position of the second device in the second coordinate system based on the image frame; and associate the first position with the second position to determine the relationship between the first coordinate system and the second coordinate system.

[0097] The above-mentioned first device 101 can be a camera or other device that can collect audio and video information. The above-mentioned second device 102 can be a device with functions such as positioning and audio collection; of course, in order to realize the automation of the whole process, the second device 102 may have an autonomous movement function in addition to the positioning function, such as robots (such as shopping guide robots, sweeping robots, etc.), drones, smart logistics vehicles, etc. The second device 102 moves autonomously in the venue that needs to be calibrated to locate multiple positions. In specific implementation, the first device can be set at a fixed position, and the place where the second device is located is within the image acquisition field of view of the first device. During the autonomous movement and positioning process of the second device, the first device can collect images or videos containing the image of the second device multiple times, and collect the ambient sound of the venue at the same time.

[0098] The server may be deployed locally, on a network server, in the cloud, etc. The server mentioned in each embodiment of this document may be a physical server, or a virtual server deployed on a single server or a server cluster.

[0099] For further information, see Figure 3 As shown, the information determination system provided in this embodiment may also include: a display device 104. Accordingly, the server 103 is also used to obtain multiple pairs of associated second positions and first positions; calculate the homography matrix according to the multiple pairs of associated second positions and first positions; when the first device 101 captures an image frame containing the tracking target image, detect the third position of the tracking target in the second coordinate system; determine the fourth position of the tracking target in the first coordinate system according to the third position and the homography matrix. The display device 104 is used to display the map 106 established based on the first coordinate system, and display the position marking result 1051 on the map 106 according to the fourth position.

[0100] The display device may be a display, television, etc. installed in a fixed location (such as a master control room), or a mobile device such as a smart phone, a tablet computer, a laptop computer, etc., which is not specifically limited in this embodiment.

[0101] In another possible implementation, the first device in the above information determination system embodiment, such as a camera, can be replaced with a first device with certain data processing capabilities, such as a smart camera; instead of using a server, the calculation steps on the original server are implemented in the first device. Figure 4 FIG. 2 shows a schematic diagram of the structure of an information determination system provided by another embodiment of the present application. Figure 4As shown, the information determination system includes: a first device 101 and a second device 102. The first device 101 is used to collect video information containing a second device image 1021 and first audio information 1024 corresponding to the ambient sound of the venue where the second device 102 is located. The second device 102 is used to collect second audio information 1023 and positioning information corresponding to the ambient sound of the venue; wherein the positioning information contains at least one first position 1022 of the second device in the first coordinate system. The first device 101 is also used to use the first audio information 1024 and the second audio information 1023 to determine the image frame and the first position generated at the same time in the video information and the positioning information; determine the second position of the second device in the second coordinate system according to the image frame; associate the first position with the second position to determine the relationship between the first coordinate system and the second coordinate system.

[0102] Furthermore, the information determination system also includes:

[0103] The first device 101 is further used to obtain multiple pairs of associated second positions and first positions; calculate a homography matrix based on the multiple pairs of associated second positions and first positions; when an image frame containing an image of a tracking target is acquired, detect a third position of the tracking target in the second coordinate system; determine a fourth position of the tracking target in the first coordinate system based on the third position and the homography matrix; and send the fourth position to a display device;

[0104] The display device 104 is used to display a map established based on the first coordinate system, and to present a position marking result on the map according to the fourth position.

[0105] The specific working process of each component unit in the information determination system provided by the above embodiments, such as the first device, the second device, and the server, will be further described in the following embodiments.

[0106] Figure 5 FIG. 1 is a flow chart showing a method for determining information provided by an embodiment of the present application. Figure 4 As shown, the method includes:

[0107] 201. Obtain first data collected by a first device and second data collected by a second device.

[0108] Among them, the first data includes: video information containing the image of the second device and first audio information corresponding to the ambient sound of the venue where the second device is located; the second data includes: second audio information corresponding to the ambient sound of the venue and positioning information; the positioning information contains at least one first position of the second device in the first coordinate system.

[0109] 202. Determine an image frame and a first position generated at the same time in the video information and the positioning information by using the first audio information and the second audio information.

[0110] 203. Determine a second position of the second device in a second coordinate system according to the image frame.

[0111] 204. Associate the first position with the second position to determine a relationship between the first coordinate system and the second coordinate system.

[0112] In the above 201, the venue ambient sound may be emitted by one of the first device and the second device, or by a third device other than the first device and the second device. Taking the new retail application scenario as an example, the venue is a shopping mall, where one or more first devices are deployed, and the second device moves in the shopping mall and autonomously locates; the venue ambient sound may be emitted by the first device, the second device, or the speakers deployed in the shopping mall, and so on.

[0113] In an achievable technical solution, step 202 in this embodiment, “using the first audio information and the second audio information to determine the image frame and the first position generated at the same time in the video information and the positioning information”, may include:

[0114] 2021. Using the first audio information as a reference for determining a time when an image frame in the video information is generated;

[0115] 2022. Use the second audio information as a reference for determining a time when the first position in the positioning information is generated;

[0116] 2023. Compare the first audio information and the second audio information to align the first audio information and the second audio information;

[0117] 2024. Obtain the image frame and the first position corresponding to the aligned audio frame from the video information and the positioning information respectively.

[0118] In the above 2021, the first audio information and the video information are collected synchronously. Therefore, at the time of collection of each image frame in the video information, there will be a corresponding audio frame in the first audio information. In other words, it can also be simply understood as: the audio frames in the first audio information and the image frames in the video information collected synchronously by the first device, the corresponding timestamps are obtained based on the local clock of the first device, and there is no time error problem. Therefore, referring to their respective timestamps, the image frames in the video information can find the corresponding audio frames in the first audio information as a reference for their generation time.

[0119] Similarly, in the above 2022, the second audio information and the positioning information are synchronously collected by the second device. The timestamp corresponding to the first position in the positioning information and the timestamp corresponding to the audio frame in the second audio information are both obtained based on the local clock of the second device, and there is no time error problem. Therefore, referring to each timestamp, the first position in the positioning information and the corresponding audio frame in the second audio information can be found as a reference for the time of generation.

[0120] In the above 2023, the first audio information and the second audio information may be compared using an audio comparison technology. Specifically, the first audio information is a first audio sequence obtained by sampling, quantizing, and encoding an analog audio signal by a first device. The second audio information is a second audio sequence obtained by sampling, quantizing, and encoding the analog audio information by a second device. The audio comparison process may include:

[0121] S1. Extracting at least one first audio feature value from a first audio sequence to form a first audio feature value sequence;

[0122] S2. Extracting at least one second audio feature value from the second audio sequence to form a second audio feature value sequence;

[0123] S3. Compare the first audio feature value sequence and the second audio feature value sequence to determine matching audio feature values ​​in the first audio feature value sequence and the second audio feature value sequence;

[0124] S4. Use the position of the matching audio feature value in the first audio information or the second audio information as the alignment position to align the first audio information and the second audio information.

[0125] The process of extracting audio feature values ​​includes but is not limited to the following process: segmenting the first audio sequence, performing Fourier transform on the segmented audio segments to obtain frequency domain energy values; and determining the corresponding first audio feature values ​​according to the frequency domain energy values.

[0126] Accordingly, the above step 2024 of "obtaining the image frame and the first position corresponding to the aligned audio frame from the video information and the positioning information, respectively" can be implemented by the following method:

[0127] 20241. Determine the time deviation based on the alignment positions of the first audio information and the second audio information;

[0128] 20242. Adjust the timestamp of the image frame in the video information and / or the timestamp of the first position in the positioning information based on the time deviation;

[0129] 20243. Obtain an image frame and a first position with the same timestamp from the video information and the positioning information respectively.

[0130] In an achievable technical solution, the above step 203 of “determining the second position of the second device in the second coordinate system according to the image frame” includes:

[0131] 2031. Detect a calibration point on the second device in the image frame by using an object detection algorithm.

[0132] 2032. Use the position of the calibration point in the image frame as the second position.

[0133] See also Figure 2 , 3 As shown in 4, a calibration point can be set on the second device. The calibration point can be a logo sticker pasted on the shell of the second device, a pattern coated on the shell of the second device, or a prominent structure on the second device, etc. This embodiment does not make specific limitations on this.

[0134] A technical solution provided by the present embodiment obtains data collected by a first device and a second device, and then uses the first audio information and the second audio information contained in the respective data to determine the image frame and the first position generated at the same time; based on the image frame, the second position of the second device in the second coordinate system can be determined; the first position and the second position can be associated to determine the relationship between the first coordinate system and the second coordinate system; the entire process requires no human intervention, which significantly reduces manpower consumption; in addition, the technical solution provided by the present embodiment uses the first audio information and the second audio information collected by two devices from the ambient sound of the same venue as a reference standard for obtaining the image frame and the first position generated at the same time from the video information collected by the first device and the positioning information of the second device, which overcomes the time asynchrony problem caused by network delays, inaccurate device clocks, etc., and helps to improve the accuracy of subsequent determination of the relationship between the two coordinate systems.

[0135] Furthermore, the method provided in this embodiment may also include:

[0136] 205. Obtain multiple pairs of associated second positions and first positions.

[0137] 206. Calculate a homography matrix according to multiple pairs of associated second positions and first positions to obtain a mapping relationship between the first coordinate system and the second coordinate system.

[0138] Among them, the homography transformation can be simply understood as describing the position mapping relationship between the object in the world coordinate system (i.e. the first coordinate system mentioned in this article) and the pixel coordinate system (i.e. the second coordinate system mentioned in this article); the corresponding transformation matrix is ​​called the homography matrix. The homography matrix is ​​defined as:

[0139]

[0140] Assume that the coordinates of the first position point are (x1, y1), and the coordinates of the second position point are (x2, y2), which have the following relationship with the homography matrix:

[0141]

[0142] To solve the above homography matrix, at least 4 pairs of associated first positions and second positions are required, and any 3 points are not collinear.

[0143] Furthermore, the homography matrix is ​​associated with the first device. In specific implementation, the method provided in this embodiment may further include: storing the homography matrix in association with a device identifier corresponding to the first device for subsequent calling.

[0144] That is, the method provided in this embodiment further includes:

[0145] 207. When the first device captures an image frame containing an image of the tracking target, detect a third position of the tracking target in the second coordinate system.

[0146] 208. Obtain the homography matrix associated with the first device.

[0147] 209. Determine a fourth position of the tracking target at the first coordinate according to the third position and the homography matrix.

[0148] Assume that the coordinates of the third position are (x3, y3) and the coordinates of the second position are (x4, y4); accordingly, the fourth position can be calculated using the following formula:

[0149]

[0150] 210. Mark a location on a map established based on the first coordinate system according to the fourth location.

[0151] The following is a description of the technical solutions provided by each embodiment of the present application in conjunction with a specific application scenario. Taking the new retail scenario as an example, this solution includes: a calibration cart (the second device as mentioned above), a camera (the first device as mentioned above), and a server. Among them, the calibration cart and the camera collect the same sound source signal. The calibration cart has the ability to move autonomously, can collect ambient sound, and has the ability to communicate with other devices, such as indoor robots. The camera is set in a new retail venue, such as a shopping mall. The server can be set in the management room of the shopping mall, and can also be a network-side service device or cloud, etc. As shown in Figure 1, the specific solution process is as follows:

[0152] Step 1: The calibration car uses the existing indoor robot positioning technology to obtain positioning information, and also collects ambient sound to obtain the second audio information.

[0153] The positioning information includes at least one first position of the calibration vehicle in the world coordinate system (the same as the first coordinate system mentioned above). In practical applications, the calibration vehicle moves autonomously, and locates and collects audio signals during the movement.

[0154] Specifically, depending on the different sensors used by the robot, the robot positioning methods can be divided into two types. The first positioning method is to use sensors such as odometers, encoders, gyroscopes, etc. to measure the position and orientation of the robot relative to the starting point. The second positioning method is to use cameras, ultrasonic waves, GPS, and infrared sensors to obtain the displacement and orientation of the robot relative to the reference point in the environment. The relative positioning method is simple and easy to implement and has good flexibility, but if it moves over long distances, errors will accumulate, resulting in inaccurate position data. The second positioning method solves the problem of the former and can provide accurate position data.

[0155] For example, in this embodiment, the calibration vehicle is positioned using the second positioning method.

[0156] Step 2: The calibration vehicle sends the first audio information and positioning information to the server via network transmission.

[0157] Step 3: The camera collects video information and first audio information corresponding to the ambient sound; and transmits the video information and the first audio information to the server via the network.

[0158] Step 4: For each image frame (image 1, image 2, image 3, ...) in the video information sent by the server camera, the coordinates of the marked point in the pixel coordinate system (the same as the second coordinate system mentioned above) are detected by a car detection algorithm (such as FastR-CNN, Yolo, etc.), that is, the second position (Y1, Y2, Y3, ...).

[0159] Step 5: The server obtains the positioning information sent by the calibration car, that is, the first position (X1, X2, X3, ...) in the world coordinate system and the first audio information.

[0160] Wherein, each time when the first position (X1, X2, X3, . . . ) in the above-mentioned world coordinate system is measured has a corresponding audio frame in the first audio information as a reference basis.

[0161] Step 6: Compare the first audio information and the second audio information to align the first audio information and the second audio information.

[0162] Step 7: Based on the aligned first audio information and second audio information, search for position pairs corresponding to the aligned audio frames in (X1, X2, X3, ...) and (Y1, Y2, Y3 ...).

[0163] Specifically, based on the aligned first audio information and second audio information, a clock deviation is determined. Based on the clock deviation, the timestamps corresponding to all positions in (X1, X2, X3, ...) and (Y1, Y2, Y3 ...) are adjusted, and the first position and the second position of the same timestamp are used as an associated position pair.

[0164] The same method can be used to find multiple corresponding position pairs. The homography matrix is ​​solved using the obtained multiple position pairs, and the mapping relationship between the pixel coordinate system and the world coordinate system is obtained.

[0165] Other alternatives:

[0166] This solution can be adopted: using the same background sound source in the scene (such as using the music broadcast in the shopping mall); the calibration car can also carry its own sound source and broadcast it, and the camera receives the sound signal of the sound source.

[0167] In addition, in the above solution, the camera can be changed into a smart camera, without using a server, and the calculation steps on the original server can be implemented in the smart camera.

[0168] The technical solution provided in this embodiment overcomes the defects of the manual calibration method and reduces manpower consumption. In addition, this solution aligns the same sound source signal uploaded by the calibration car and the camera to obtain a position pair that is accurately synchronized in time, thereby overcoming the problem of the time in the monitoring image being out of sync with the time of the world coordinate position recorded by the calibration car due to network delays and inaccurate camera time. Furthermore, by adopting the technical solution provided in this embodiment, the calibration car does not need to stop and wait, and a larger number of corresponding points can be obtained, thereby improving the labeling efficiency and accuracy. In addition, the sound synchronization method is easier to obtain accurate time synchronization results than the method using visual signals (such as small lights), and is not easily affected by factors such as occlusion, ambient light, and shooting distance.

[0169] Figure 6 The flowchart of the information determination method provided by another embodiment of the present application is shown. The execution subject of the method provided by this embodiment can be a second device in the above-mentioned information determination system, such as an autonomous mobile device. The autonomous mobile device has self-positioning, communication and audio collection functions, such as a robot. Specifically, Figure 6 As shown, the method includes:

[0170] 301. Move autonomously within the location.

[0171] 302. Locate the own position during the moving process to obtain positioning information including at least one first position.

[0172] 303. Collect the site ambient sound to obtain second audio information.

[0173] 304. Send the positioning information and the second audio information to a processing device, so that the processing device uses the second audio information as a reference for determining a time when the first position in the positioning information is generated.

[0174] In the above 304, the positioning information and the second audio information are encoded together and then sent to the processing device. The processing device needs to perform corresponding decoding after receiving it. Among them, the rules for encoding and decoding can be referred to the relevant content in the prior art, which will not be repeated in this article.

[0175] The technical solution provided in this embodiment, while positioning, also collects the ambient sound of the venue, and sends the positioning information and the collected second audio information to a processing device, so that the processing device can use the second audio information as a reference for determining the time when the first position in the positioning information is generated, rather than using the original timestamp of the first position, to reduce the impact of local clock deviation, and provide a basis for the accuracy of subsequent processing.

[0176] The processing device may be a server in the above-mentioned information determination system, or may be a first device capable of collecting the site image and the site ambient sound, such as a camera.

[0177] Figure 7 FIG. 2 is a flow chart of an information determination method provided by another embodiment of the present application. The execution subject of the method provided by this embodiment may be the first device in the above-mentioned information determination system, such as a camera. Figure 7 As shown, the method includes:

[0178] 401. Collect first data, wherein the first data includes: video information containing an image of a second device and first audio information corresponding to an ambient sound of a location where the second device is located.

[0179] 402. Receive second data sent by the second device, wherein the second data includes: second audio information and positioning information corresponding to the venue ambient sound; the positioning information contains at least one first position of the second device in a first coordinate system.

[0180] 403. Determine an image frame and a first position generated at the same time in the video information and the positioning information by using the first audio information and the second audio information.

[0181] 404. Determine a second position of the second device in a second coordinate system according to the image frame.

[0182] 405. Associate the first position with the second position to determine a relationship between the first coordinate system and the second coordinate system.

[0183] For the specific implementation of the above steps, please refer to the corresponding content above, which will not be repeated here.

[0184] A technical solution provided by the present embodiment obtains data collected by a first device and a second device, and then uses the first audio information and the second audio information contained in the respective data to determine the image frame and the first position generated at the same time; based on the image frame, the second position of the second device in the second coordinate system can be determined; the first position and the second position can be associated to determine the relationship between the first coordinate system and the second coordinate system; the entire process requires no human intervention, which significantly reduces manpower consumption; in addition, the technical solution provided by the present embodiment uses the first audio information and the second audio information collected by two devices from the ambient sound of the same venue as a reference standard for obtaining the image frame and the first position generated at the same time from the video information collected by the first device and the positioning information of the second device, which overcomes the time asynchrony problem caused by network delays, inaccurate device clocks, etc., and helps to improve the accuracy of subsequent determination of the relationship between the two coordinate systems.

[0185] Furthermore, the method provided in this embodiment may also include:

[0186] 406. Obtain multiple pairs of associated second positions and first positions.

[0187] 407. Calculate a homography matrix according to multiple pairs of associated second positions and first positions to obtain a mapping relationship between the first coordinate system and the second coordinate system.

[0188] Similarly, for the specific implementation of the above 406 and 407, please refer to the corresponding content in the above text, which will not be repeated here.

[0189] The solutions provided by the above embodiments can be simply understood as follows: the first device sends the collected audio and video information to the server together, and the second device sends the positioning information and the second audio information obtained by collecting ambient sound while positioning to the server; the server directly refers to the first audio information and the second audio information to determine the position pair. In practical applications, the following idea can also be used to implement it, that is, the first device and the second device first send the audio information they have collected, and then perform clock calibration based on the audio information. In this way, after the clock synchronization of the first device and the second device is ensured, the timestamps in the positioning information and video information sent to the server by each device can be directly used as the basis for obtaining the position pair. To this end, the present application also provides the following embodiment, namely, a solution for clock calibration using audio information. Figure 8 FIG. 1 is a flow chart of an information determination method provided by another embodiment of the present application. The execution subject of the method provided by this embodiment may be the first device, the second device or the server in the above-mentioned information determination system. Figure 8 As shown, the method includes:

[0190] 501. Obtain first audio information and second audio information; wherein the first audio information and the second audio information originate from the same sound source, the first audio information is collected by a first device, and the second audio information is collected by a second device; or, the second device plays the second audio information as a sound source, and the first audio information is collected by the first device.

[0191] 502. Compare the first audio information and the second audio information.

[0192] 503. Determine a clock deviation between the first device and the second device based on the comparison result.

[0193] Another technical solution provided by this embodiment is to use the first device and the second device to collect the venue ambient sound at the same time to determine the clock deviation between the first device and the second device, so that the clock calibration is more accurate.

[0194] Furthermore, the method provided in this embodiment may also include:

[0195] 504. Send the clock deviation between the first device and the second device to the first device and / or the second device, so that the first device and / or the second device adjust the local clock.

[0196] Furthermore, the method provided in this embodiment may also include:

[0197] 505. Obtain video information containing the image of the second device captured by the first device and the positioning information of the second device; wherein the video information includes image frames and a timestamp based on the local clock mark of the first device, and the positioning information includes the first position of the second device in the first coordinate system and a timestamp based on the local clock mark of the second device.

[0198] 506. Acquire an image frame and a first position with a same timestamp from the video information and the positioning information;

[0199] 507. Determine a second position of the second device at a second coordinate according to the image frame.

[0200] 509. Associate the second position with the first position to determine a relationship between the first coordinate system and the second coordinate system.

[0201] For the content of the above step 507, please refer to the description in the above embodiments, which will not be repeated here.

[0202] Fig. 9 The structural schematic diagram of an information determination device provided by an embodiment of the present application is shown. As shown in the figure, the information determination device includes: an acquisition module 11, a first determination module 12, a second determination module 13 and an association module 14. The acquisition module 11 is used to acquire the first data collected by the first device and the second data collected by the second device, wherein the first data includes: video information containing the image of the second device and the first audio information corresponding to the ambient sound of the venue where the second device is located; the second data includes: the second audio information corresponding to the ambient sound of the venue and positioning information; the positioning information contains at least one first position of the second device in the first coordinate system. The first determination module 12 is used to use the first audio information and the second audio information to determine the image frame and the first position generated at the same time in the video information and the positioning information. The second determination module 13 is used to determine the second position of the second device in the second coordinate system according to the image frame. The association module 14 is used to associate the first position with the second position to determine the relationship between the first coordinate system and the second coordinate system.

[0203] The technical solution provided by the present embodiment obtains data collected by the first device and the second device, and then uses the first audio information and the second audio information contained in the respective data to determine the image frame and the first position generated at the same time; based on the image frame, the second position of the second device in the second coordinate system can be determined; the first position and the second position can be associated with each other to determine the relationship between the first coordinate system and the second coordinate system; the entire process requires no human intervention, which significantly reduces manpower consumption; in addition, the technical solution provided by the present embodiment uses the first audio information and the second audio information collected by two devices from the ambient sound of the same venue as a reference standard for obtaining the image frame and the first position generated at the same time from the video information collected by the first device and the positioning information of the second device, which overcomes the time asynchrony problem caused by network delays, inaccurate device clocks, etc., and helps to improve the accuracy of subsequent determination of the relationship between the two coordinate systems.

[0204] Furthermore, the first determination module 12 is also used to: use the first audio information as a reference for determining the moment when an image frame in the video information is generated; use the second audio information as a reference for determining the moment when the first position in the positioning information is generated; compare the first audio information and the second audio information to align the first audio information and the second audio information; and obtain the image frame and the first position corresponding to the aligned audio frame from the video information and the positioning information, respectively.

[0205] Furthermore, the first determination module 12 is also specifically used to: determine the time deviation based on the alignment position of the first audio information and the second audio information; adjust the timestamp of the image frame in the video information and / or the timestamp of the first position in the positioning information based on the time deviation; and obtain the image frame and the first position with the same timestamp from the video information and the positioning information, respectively.

[0206] Furthermore, the second determination module 13 is further used to: detect a calibration point on the second device in the image frame using an object detection algorithm; and use the position of the calibration point in the image frame as the second position.

[0207] Furthermore, the information determination device provided in this embodiment may also include a calculation module. Accordingly, the acquisition module 11 is also used to: acquire multiple pairs of associated second positions and first positions. The calculation module is used to: calculate the homography matrix according to the multiple pairs of associated second positions and first positions to obtain the mapping relationship between the first coordinate system and the second coordinate system.

[0208] Furthermore, the homography matrix is ​​associated with the first device. Accordingly, the information determination device provided in this embodiment also includes:

[0209] a detection module, configured to detect a third position of the tracking target in the second coordinate system when the first device captures an image frame containing an image of the tracking target;

[0210] The acquisition module is further used to acquire the homography matrix associated with the first device;

[0211] A third determining module, configured to determine a fourth position of the tracking target at the first coordinate according to the third position and the homography matrix;

[0212] A marking module is used to mark a position on a map established based on the first coordinate system according to the fourth position.

[0213] Furthermore, the venue environment sound is emitted by one of the first device and the second device, or by a third device other than the first device and the second device.

[0214] It should be noted here that: the information determination device provided in the above embodiment can implement the technical solutions described in the above method embodiments. The specific implementation principles of the above modules or units can refer to the corresponding contents in the above method embodiments, which will not be repeated here.

[0215] Fig.10 FIG. 2 shows a schematic diagram of the structure of an information determination device provided by another embodiment of the present application. Fig.10 As shown, the information determination device includes: a moving module 21, a positioning module 22, a collection module 23 and a sending module 24. Among them, the moving module 21 is used to provide power for autonomous movement in the venue. The positioning module 22 is used to locate its own position during the movement process to obtain positioning information containing at least one first position. The collection module 23 is used to collect the ambient sound of the venue to obtain the second audio information. The sending module 24 is used to send the positioning information and the second audio information to the processing device, so that the processing device uses the second audio information as a reference for determining the time when the first position in the positioning information is generated.

[0216] Furthermore, the processing device is a server, or a camera that can capture the site image and the site ambient sound.

[0217] The technical solution provided in this embodiment, while positioning, also collects the ambient sound of the venue, and sends the positioning information and the collected second audio information to a processing device, so that the processing device can use the second audio information as a reference for determining the time when the first position in the positioning information is generated, rather than using the original timestamp of the first position, to reduce the impact of local clock deviation, and provide a basis for the accuracy of subsequent processing.

[0218] It should be noted here that: the information determination device provided in the above embodiment can implement the technical solutions described in the above method embodiments. The specific implementation principles of the above modules or units can refer to the corresponding contents in the above method embodiments, which will not be repeated here.

[0219] Fig.11 FIG. 2 shows a schematic diagram of the structure of an information determination device provided by another embodiment of the present application. Fig.11 As shown, the information determination device includes: an acquisition module 31, a receiving module 32, a first determination module 33, a second determination module 34 and an association module 35. The acquisition module 31 is used to acquire first data, wherein the first data includes: video information containing the image of the second device and first audio information corresponding to the ambient sound of the venue where the second device is located. The receiving module 32 is used to receive second data sent by the second device, wherein the second data includes: second audio information corresponding to the ambient sound of the venue and positioning information; the positioning information contains at least one first position of the second device in the first coordinate system. The first determination module 33 is used to determine the image frame and the first position generated at the same time in the video information and the positioning information using the first audio information and the second audio information. The second determination module 34 is used to determine the second position of the second device in the second coordinate system according to the image frame. The association module 35 is used to associate the first position with the second position to determine the relationship between the first coordinate system and the second coordinate system.

[0220] The technical solution provided by the present embodiment obtains data collected by the first device and the second device, and then uses the first audio information and the second audio information contained in the respective data to determine the image frame and the first position generated at the same time; based on the image frame, the second position of the second device in the second coordinate system can be determined; the first position and the second position can be associated with each other to determine the relationship between the first coordinate system and the second coordinate system; the entire process requires no human intervention, which significantly reduces manpower consumption; in addition, the technical solution provided by the present embodiment uses the first audio information and the second audio information collected by two devices from the ambient sound of the same venue as a reference standard for obtaining the image frame and the first position generated at the same time from the video information collected by the first device and the positioning information of the second device, which overcomes the time asynchrony problem caused by network delays, inaccurate device clocks, etc., and helps to improve the accuracy of subsequent determination of the relationship between the two coordinate systems.

[0221] Furthermore, the information determination device provided in this embodiment may also include: an acquisition module and a calculation module. Specifically, the acquisition module is used to acquire multiple pairs of associated second positions and first positions. The calculation module is used to calculate the homography matrix based on the multiple pairs of associated second positions and first positions to obtain the mapping relationship between the first coordinate system and the second coordinate system.

[0222] It should be noted here that: the information determination device provided in the above embodiment can implement the technical solutions described in the above method embodiments. The specific implementation principles of the above modules or units can refer to the corresponding contents in the above method embodiments, which will not be repeated here.

[0223] Fig.12 FIG. 2 shows a schematic diagram of the structure of an information determination device provided by another embodiment of the present application. Fig.12 As shown, the information determination device includes: an acquisition module 41, a comparison module 42 and a determination module 43. The acquisition module 41 is used to acquire the first audio information and the second audio information; wherein the first audio information and the second audio information originate from the same sound source, the first audio information is collected by the first device, and the second audio information is collected by the second device; or, the second device plays the second audio information as a sound source, and the first audio information is collected by the first device. The comparison module 42 is used to compare the first audio information and the second audio information. The determination module 43 is used to determine the clock deviation between the first device and the second device based on the comparison result.

[0224] Another technical solution provided by this embodiment is to use the first device and the second device to collect the venue ambient sound at the same time to determine the clock deviation between the first device and the second device, so that the clock calibration is more accurate.

[0225] Furthermore, the information determination device provided in this embodiment further includes a sending module, which is used to send the clock deviation between the first device and the second device to the first device and / or the second device so that the first device and / or the second device adjust the local clock.

[0226] Furthermore, the information determination device provided in this embodiment may also include an association module. Specifically, the acquisition module is also used to: acquire video information containing the image of the second device collected by the first device and the positioning information of the second device; wherein the video information includes an image frame and a timestamp based on the local clock mark of the first device, and the positioning information includes the first position of the second device in the first coordinate system and a timestamp based on the local clock mark of the second device; and acquire the image frame and the first position with the same timestamp from the video information and the positioning information. The determination module is also used to determine the second position of the second device in the second coordinate according to the image frame. The association module is used to associate the second position with the first position to determine the relationship between the first coordinate system and the second coordinate system.

[0227] It should be noted here that: the information determination device provided in the above embodiment can implement the technical solutions described in the above method embodiments. The specific implementation principles of the above modules or units can refer to the corresponding contents in the above method embodiments, which will not be repeated here.

[0228] Fig.13 FIG. 1 is a schematic diagram showing the structure of an electronic device provided by an embodiment of the present application. Fig.13 As shown, the electronic device includes a memory 51 and a processor 52; wherein,

[0229] The memory 51 is used to store programs;

[0230] The processor 52 is coupled to the memory 51 and is configured to execute the program stored in the memory 51 to:

[0231] Acquire first data collected by a first device and second data collected by a second device, wherein the first data includes: video information containing an image of the second device and first audio information corresponding to the ambient sound of a site where the second device is located; the second data includes: second audio information corresponding to the ambient sound of the site and positioning information; the positioning information includes at least one first position of the second device in a first coordinate system;

[0232] Determine an image frame and a first position generated at the same time in the video information and the positioning information by using the first audio information and the second audio information;

[0233] Determine a second position of the second device in a second coordinate system according to the image frame;

[0234] The first position is associated with the second position to determine a relationship between the first coordinate system and the second coordinate system.

[0235] The memory 51 can be configured to store various other data to support operations on the electronic device. Examples of these data include instructions for any application or method for operating on the electronic device. The memory 51 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0236] When executing the program in the memory 51 , the processor 52 may realize other functions in addition to the above functions, and the details may refer to the description of the above embodiments.

[0237] Further, if Fig.13 As shown, the electronic device also includes: a display 54, a power component 55, an audio component 56, a communication component 53 and other components. Fig.13 Only some components are shown schematically, which does not mean that the electronic device only includes Fig.13 Components shown.

[0238] The embodiment of the present application also provides an autonomous mobile device, such as a robot. The autonomous mobile device includes: a body, a moving component, a positioning device, a collection device and a communication component. Among them, the moving component is arranged on the body, and is used to provide power for the body so that the body can move autonomously in the venue. The positioning device is used to locate its own position during the movement process, and obtain positioning information containing at least one first position. The collection device is used to collect the ambient sound of the venue and obtain second audio information. The communication component is used to send the positioning information and the second audio information to a processing device, so that the processing device uses the second audio information as a reference for determining the time when the first position in the positioning information is generated.

[0239] Fig.14 FIG. 1 shows a schematic diagram of the structure of a camera provided by an embodiment of the present application. Fig.14 As shown, the camera includes: a collection component 67, a communication component 63, a memory 61 and a processor 62; wherein the collection component 67 is used to collect first data, wherein the first data includes: video information containing an image of the second device and first audio information corresponding to the ambient sound of the venue where the second device is located;

[0240] The communication component 63 is used to receive second data sent by the second device, wherein the second data includes: second audio information and positioning information corresponding to the venue ambient sound; the positioning information contains at least one first position of the second device in the first coordinate system;

[0241] The memory 61 is used to store programs;

[0242] The processor 62 is coupled to the memory 61 and is configured to execute the program stored in the memory to:

[0243] Determine an image frame and a first position generated at the same time in the video information and the positioning information by using the first audio information and the second audio information;

[0244] Determine a second position of the second device in a second coordinate system according to the image frame;

[0245] The first position is associated with the second position to determine a relationship between the first coordinate system and the second coordinate system.

[0246] In particular, when the processor 62 executes the program in the memory 61, in addition to the above functions, other functions may also be implemented, and details may be referred to the description of the previous embodiments.

[0247] Further, if Fig.14 As shown, the camera also includes: a power supply component 65, an audio component 66, a communication component 63 and other components. Fig.14 Only some components are shown schematically, which does not mean that the electronic device only includes Fig.14 Components shown.

[0248] Another embodiment of the present application also provides an electronic device. The structure of the electronic device provided in this embodiment is similar to that of the above electronic device embodiment. Fig.13 The electronic device includes a memory and a processor; wherein,

[0249] The memory is used to store programs;

[0250] The processor is coupled to the memory and is configured to execute the program stored in the memory to:

[0251] Acquire first audio information and second audio information; wherein the first audio information and the second audio information originate from the same sound source, the first audio information is collected by a first device, and the second audio information is collected by a second device; or, the second device plays the second audio information as a sound source, and the first audio information is collected by the first device;

[0252] comparing the first audio information and the second audio information;

[0253] Based on the comparison result, a clock deviation between the first device and the second device is determined.

[0254] In particular, when the processor executes the program in the memory, in addition to the above functions, other functions may also be implemented, for details, please refer to the description of the previous embodiments.

[0255] Accordingly, an embodiment of the present application also provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a computer, it can implement the steps or functions of the message processing method provided in the above embodiments.

[0256] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0257] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0258] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for determining information, characterized in that: include: Acquire first data collected by a first device and second data collected by a second device, wherein the first data includes: video information containing an image of the second device and first audio information corresponding to the ambient sound of a site where the second device is located; the second data includes: second audio information corresponding to the ambient sound of the site and positioning information; the positioning information includes at least one first position of the second device in a first coordinate system; Determine an image frame and a first position generated at the same time in the video information and the positioning information by using the first audio information and the second audio information; Determine a second position of the second device in a second coordinate system according to the image frame; The first position is associated with the second position to determine a relationship between the first coordinate system and the second coordinate system.

2. The method according to claim 1, characterized in that Determining an image frame and a first position generated at the same time in the video information and the positioning information by using the first audio information and the second audio information includes: Using the first audio information as a reference for determining the time when an image frame in the video information is generated; Using the second audio information as a reference for determining the time when the first position in the positioning information is generated; Comparing the first audio information and the second audio information to align the first audio information and the second audio information; An image frame and a first position corresponding to the aligned audio frame are obtained from the video information and the positioning information respectively.

3. The method according to claim 2, characterized in that Acquiring the image frame and the first position corresponding to the aligned audio frame from the video information and the positioning information respectively includes: Determining a time offset based on an alignment position of the first audio information and the second audio information; Based on the time deviation, adjusting the timestamp of the image frame in the video information and / or the timestamp of the first position in the positioning information; An image frame and a first position with the same time stamp are obtained from the video information and the positioning information respectively.

4. The method according to any one of claims 1 to 3, characterized in that Determining a second position of the second device in a second coordinate system according to the image frame includes: Detecting a calibration point of the second device in the image frame using an object detection algorithm; The position of the calibration point in the image frame is used as the second position.

5. The method according to any one of claims 1 to 3, characterized in that Also includes: Get the second position and the first position of multiple pairs of associations; A homography matrix is ​​calculated according to a plurality of pairs of associated second positions and first positions to obtain a mapping relationship between the first coordinate system and the second coordinate system.

6. The method according to claim 5, characterized in that The homography matrix is ​​associated with the first device; as well as The method further comprises: When the first device captures an image frame containing an image of a tracking target, detecting a third position of the tracking target in the second coordinate system; obtaining the homography matrix associated with the first device; Determine a fourth position of the tracking target at the first coordinate according to the third position and the homography matrix; According to the fourth position, a position is marked on a map established based on the first coordinate system.

7. The method according to any one of claims 1 to 3, characterized in that The venue environment sound is emitted by one of the first device and the second device, or by a third device other than the first device and the second device.

8. An information determination system, characterized in that: include: The first device is used to collect video information containing an image of the second device and first audio information corresponding to ambient sound of a location where the second device is located; The second device is used to collect second audio information and positioning information corresponding to the venue ambient sound; wherein the positioning information contains at least one first position of the second device in the first coordinate system; The server is used to use the first audio information and the second audio information to determine the image frame and the first position generated at the same time in the video information and the positioning information; determine the second position of the second device in the second coordinate system based on the image frame; and associate the first position with the second position to determine the relationship between the first coordinate system and the second coordinate system.

9. The information determination system according to claim 8, characterized in that: The server is further configured to obtain a plurality of pairs of associated second positions and first positions; calculate a homography matrix based on the plurality of pairs of associated second positions and first positions; detect a third position of the tracking target in the second coordinate system when the first device acquires an image frame containing an image of the tracking target; and determine a fourth position of the tracking target in the first coordinate system based on the third position and the homography matrix; The display device is used to display a map established based on the first coordinate system and present a position marking result on the map according to the fourth position.

10. An information determination system, characterized in that: include: The first device is used to collect video information containing an image of the second device and first audio information corresponding to ambient sound of a location where the second device is located; A second device is used to collect second audio information and positioning information corresponding to the venue ambient sound; wherein the positioning information contains at least one first position of the second device in a first coordinate system; The first device is also used to use the first audio information and the second audio information to determine the image frame and the first position generated at the same time in the video information and the positioning information; determine the second position of the second device in the second coordinate system based on the image frame; and associate the first position with the second position to determine the relationship between the first coordinate system and the second coordinate system.

11. The system according to claim 10, characterized in that Also includes: The first device is further used to obtain multiple pairs of associated second positions and first positions; calculate a homography matrix based on the multiple pairs of associated second positions and first positions; when an image frame containing an image of a tracking target is acquired, detect a third position of the tracking target in the second coordinate system; determine a fourth position of the tracking target in the first coordinate system based on the third position and the homography matrix; and send the fourth position to a display device; The display device is used to display a map established based on the first coordinate system and present a position marking result on the map according to the fourth position.

12. A method for determining information, characterized in that: Applied to the second device, comprising: Move autonomously in the venue; Positioning the own position during the movement process, and obtaining positioning information containing at least one first position of the second device in the first coordinate system; Collecting the site ambient sound to obtain second audio information; The positioning information and the second audio information are sent to a processing device so that the processing device can use the first audio information and the second audio information corresponding to the venue ambient sound collected by the first device to determine the video information containing the image of the second device collected by the first device and the image frame and the first position generated at the same time in the positioning information, and determine the second position of the second device in the second coordinate system based on the image frame, and associate the first position with the second position to determine the relationship between the first coordinate system and the second coordinate system.

13. The method according to claim 12, characterized in that The processing device is a server, or a camera that can capture the site image and the site ambient sound.

14. A method for determining information, characterized in that: include: Collecting first data, wherein the first data includes: video information containing an image of the second device and first audio information corresponding to ambient sound of a location where the second device is located; receiving second data sent by the second device, wherein the second data includes: second audio information and positioning information corresponding to the venue ambient sound; the positioning information contains at least one first position of the second device in the first coordinate system; Determine an image frame and a first position generated at the same time in the video information and the positioning information by using the first audio information and the second audio information; Determine a second position of the second device in a second coordinate system according to the image frame; The first position is associated with the second position to determine a relationship between the first coordinate system and the second coordinate system.

15. The method according to claim 14, characterized in that Also includes: Get the second position and the first position of multiple pairs of associations; A homography matrix is ​​calculated according to a plurality of pairs of associated second positions and first positions to obtain a mapping relationship between the first coordinate system and the second coordinate system.

16. A method for determining information, characterized in that: include: Acquire first audio information and second audio information; wherein the first audio information and the second audio information originate from the same sound source, the first audio information is collected by a first device, and the second audio information is collected by a second device; or, the second device plays the second audio information as a sound source, and the first audio information is collected by the first device; comparing the first audio information and the second audio information; Based on the comparison result, the clock deviation between the first device and the second device is determined, and the clock deviation is used to synchronize the clocks of the first device and the second device, so as to obtain the video information containing the image of the second device and the positioning information of the second device collected by the first device after the clocks of the first device and the second device are synchronized, the video information includes image frames and timestamps based on the local clock mark of the first device, and the positioning information includes the first position of the second device in the first coordinate system and the timestamp based on the local clock mark of the second device, and the image frame and the first position with the same timestamp are obtained from the video information and the positioning information, and the second position of the second device in the second coordinate is determined according to the image frame, and the second position is associated with the first position to determine the relationship between the first coordinate system and the second coordinate system.

17. The method according to claim 16, characterized in that Also includes: The clock deviation between the first device and the second device is sent to the first device and / or the second device so that the first device and / or the second device adjust the local clock.

18. An electronic device, characterized in that: comprising a memory and a processor, wherein: The memory is used to store programs; The processor is coupled to the memory and is configured to execute the program stored in the memory to: Acquire first data collected by a first device and second data collected by a second device, wherein the first data includes: video information containing an image of the second device and first audio information corresponding to the ambient sound of a site where the second device is located; the second data includes: second audio information corresponding to the ambient sound of the site and positioning information; the positioning information includes at least one first position of the second device in a first coordinate system; Determine an image frame and a first position generated at the same time in the video information and the positioning information by using the first audio information and the second audio information; Determine a second position of the second device in a second coordinate system according to the image frame; The first position is associated with the second position to determine a relationship between the first coordinate system and the second coordinate system.

19. An autonomous mobile device, characterized in that: The autonomous mobile device is a second device, comprising: Body, A traveling assembly, arranged on the machine body, for providing power to the machine body so that the machine body can move autonomously in the field where it is located; A positioning device, used to locate its own position during the movement, and obtain positioning information containing at least one first position of the second device in the first coordinate system; A collection device, used to collect the ambient sound of the venue to obtain second audio information; A communication component is used to send the positioning information and the second audio information to a processing device, so that the processing device can use the first audio information and the second audio information corresponding to the venue ambient sound collected by the first device to determine the video information containing the second device image collected by the first device and the image frame and the first position generated at the same time in the positioning information, determine the second position of the second device in the second coordinate system based on the image frame, associate the first position with the second position, so as to determine the relationship between the first coordinate system and the second coordinate system.

20. A camera, characterized in that: include: Acquisition components, communication components, memory and processor; wherein, The acquisition component is used to acquire first data, wherein the first data includes: video information containing an image of the second device and first audio information corresponding to the ambient sound of the site where the second device is located; The communication component is used to receive second data sent by the second device, wherein the second data includes: second audio information and positioning information corresponding to the venue ambient sound; the positioning information contains at least one first position of the second device in the first coordinate system; The memory is used to store programs; The processor is coupled to the memory and is configured to execute the program stored in the memory to: Determine an image frame and a first position generated at the same time in the video information and the positioning information by using the first audio information and the second audio information; Determine a second position of the second device in a second coordinate system according to the image frame; The first position is associated with the second position to determine a relationship between the first coordinate system and the second coordinate system.

21. An electronic device, characterized in that: comprising a memory and a processor, wherein: The memory is used to store programs; The processor is coupled to the memory and is configured to execute the program stored in the memory to: Acquire first audio information and second audio information; wherein the first audio information and the second audio information originate from the same sound source, the first audio information is collected by a first device, and the second audio information is collected by a second device; or, the second device plays the second audio information as a sound source, and the first audio information is collected by the first device; comparing the first audio information and the second audio information; Based on the comparison result, the clock deviation between the first device and the second device is determined, and the clock deviation is used to synchronize the clocks of the first device and the second device, so as to obtain the video information containing the image of the second device and the positioning information of the second device collected by the first device after the clocks of the first device and the second device are synchronized, the video information includes image frames and timestamps based on the local clock mark of the first device, and the positioning information includes the first position of the second device in the first coordinate system and the timestamp based on the local clock mark of the second device, and the image frame and the first position with the same timestamp are obtained from the video information and the positioning information, and the second position of the second device in the second coordinate is determined according to the image frame, and the second position is associated with the first position to determine the relationship between the first coordinate system and the second coordinate system.

Citation Information

Patent Citations

  • METHOD AND DEVICE FOR SYNCHRONIZING RECORDINGS INCLUDING AN AUDIO SIGNAL FROM DIFFERENT CO-LOCATED ACQUISITION DEVICES

    FR3078196A1