Stadium seat position determination method and device and related equipment

By constructing a three-dimensional model and seat information of the stadium, and combining RTK information for reconstruction and coordinate transformation, the problem of low seat position positioning accuracy in the venue is solved and higher seat position accuracy is achieved.

CN118674776AActive Publication Date: 2024-09-20MIGU COMIC CO LTD +2
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410692466.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-20
Estimated Expiration
2044-05-30

AI Technical Summary

Technical Problem

In stadiums and other venues, due to the high degree of scene similarity and symmetry, it is difficult for traditional algorithms to accurately identify and locate seat locations, and the GPS positioning error is large, resulting in low seat location positioning accuracy.

Method used

By obtaining the three-dimensional model and seat information of the venue, using RTK information for reconstruction and dense mapping processing, and combining the two-dimensional and three-dimensional coordinate information of the seats for coordinate transformation, the three-dimensional coordinates of the seats are determined and the accuracy of the seat positions is improved.

Benefits of technology

It improves the positioning accuracy of venue seats, reduces GPS positioning errors, and enhances the accuracy of seat position information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118674776A
    Figure CN118674776A
Patent Text Reader

Abstract

The invention discloses a venue seat position determination method and device and related equipment, relates to the technical field of reconstruction positioning, and aims to solve the problem of low venue seat position positioning accuracy. The method comprises the steps that a venue three-dimensional model and seat information of a venue are acquired, the venue three-dimensional model is constructed based on venue images, the venue is provided with at least one seat, and the seat information comprises two-dimensional coordinate information of the seat; and determining three-dimensional coordinate information of the seats based on the venue three-dimensional model and the seat information. According to the embodiment of the invention, the positioning accuracy of the venue seat position can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of reconstruction positioning technology, and in particular to a method and device for determining the location of seats in a stadium and related equipment. Background Art

[0002] When reconstructing and locating seats in stadiums and other venues, a monocular camera is usually used to obtain images for 3D reconstruction. After reconstructing the virtual and real scenes of the stadium, a 3D model of the scene with restored scale is obtained. However, due to the extremely high similarity and symmetry of the scenes in the stadium, traditional algorithms cannot accurately identify and locate the scenes.

[0003] The existing technology integrates the Global Positioning System (GPS) to locate the coordinates of seats in the stadium. However, due to the architectural structure characteristics of the stadium, GPS positioning requires the personnel in the stadium to carry more mobile devices, which leads to large GPS acquisition errors and low accuracy in the stadium seat positioning. Summary of the invention

[0004] The embodiments of the present application provide a method, an apparatus and related equipment for determining the location of seats in a stadium, so as to solve the problem of low accuracy in locating the locations of seats in a stadium.

[0005] In a first aspect, an embodiment of the present application provides a method for determining a seat position in a stadium, comprising:

[0006] Acquire a three-dimensional model of a venue and seat information of the venue, wherein the three-dimensional model of the venue is constructed based on the venue image, the venue is provided with at least one seat, and the seat information includes two-dimensional coordinate information of the seat;

[0007] Based on the venue three-dimensional model and the seat information, the three-dimensional coordinate information of the seat is determined.

[0008] Optionally, the venue image includes real-time kinematic RTK information, and acquiring the three-dimensional model of the venue includes:

[0009] Extracting the RTK information from the venue image;

[0010] Perform reconstruction processing based on the RTK information and the venue image to obtain an intermediate model;

[0011] The intermediate model is subjected to dense mapping processing to obtain the three-dimensional model of the venue.

[0012] Optionally, the at least one seat is divided into N rows of seats, where N is a positive integer, and the determining the three-dimensional coordinate information of the seat based on the three-dimensional model of the venue and the seat information includes:

[0013] Acquire the height of each row of seats in the N rows of seats based on the three-dimensional model of the venue;

[0014] Determine the height corresponding to the seat based on the row number of the seat and the height of each row of seats;

[0015] Performing coordinate transformation on the two-dimensional coordinate information of the seat based on the three-dimensional model of the venue and the height of each row of seats to obtain the target two-dimensional coordinates corresponding to the seat;

[0016] The three-dimensional coordinate information of the seat is determined according to the target two-dimensional coordinates corresponding to the seat and the height of each row of seats.

[0017] Optionally, the performing coordinate transformation on the two-dimensional coordinate information of the seat based on the three-dimensional model of the venue and the height of each row of seats to obtain the target two-dimensional coordinates corresponding to the seat includes:

[0018] Divide the at least one seat into a plurality of seat blocks, wherein the target seat block is any seat block in the plurality of seat blocks, and the target seat block includes M seats, where M is a positive integer;

[0019] Determining two-dimensional coordinate information of key seats in each of the target seat blocks;

[0020] Obtaining three-dimensional coordinate information of the key seat in the three-dimensional model of the venue;

[0021] Based on the three-dimensional coordinate information of the key seat in the three-dimensional model of the venue and the height of the key seat, coordinate transformation is performed on the two-dimensional coordinate information of the key seat to obtain the target two-dimensional coordinate of the key seat;

[0022] Based on the target two-dimensional coordinates of the key seat, the target two-dimensional coordinates of other seats in the target seat block except the key seat are determined.

[0023] Optionally, the M seats are divided into X rows, each row includes Y seats, X and Y are integers greater than 0, and determining the target two-dimensional coordinates of other seats in the target seat block except the key seat based on the target two-dimensional coordinate of the key seat includes:

[0024] Determine the values ​​of X and Y based on the seat information of the key seat, the key seat being the seat located at the vertex of the target seat block;

[0025] Based on the target two-dimensional coordinates of the key seat and the values ​​of X and Y, the target two-dimensional coordinates of other seats in the target seat block except the key seat are calculated.

[0026] Optionally, the seat information includes the seat numbers, the seat numbers in the same row are set according to a preset rule, and the determining of the values ​​of X and Y based on the seat information of the key seat includes:

[0027] The value of X is determined based on the height of the key seat, and the value of Y is determined based on the number of the key seat.

[0028] In a second aspect, the embodiment of the present application further provides a venue seat position determination device, comprising:

[0029] An acquisition module, used to acquire a three-dimensional model of a venue and seat information of the venue, wherein the three-dimensional model of the venue is constructed based on the venue image, the venue is provided with at least one seat, and the seat information includes two-dimensional coordinate information of the seat;

[0030] A determination module is used to determine the three-dimensional coordinate information of the seat based on the three-dimensional model of the venue and the seat information.

[0031] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the method for determining the venue seat position as described in the first aspect are implemented.

[0032] In a fourth aspect, an embodiment of the present application further provides a readable storage medium, on which a program is stored, and when the program is executed by a processor, the steps in the method for determining the location of a seat in a venue as described in the first aspect are implemented.

[0033] In a fifth aspect, a computer program product is provided, comprising computer instructions, which, when executed by a processor, implement the steps of the method for determining the location of a seat in a venue as described in the first aspect.

[0034] In the embodiment of the present application, firstly, a three-dimensional model of the venue and seat information of the venue are obtained, the three-dimensional model of the venue is constructed based on the venue image, the venue is provided with at least one seat, and the seat information includes the two-dimensional coordinate information of the seat; then, based on the three-dimensional model of the venue and the seat information, the three-dimensional coordinate information of the seat is determined. Since the two-dimensional coordinate information of the seat included in the seat information is accurate seat relative position information, the accuracy of the seat position information can be improved by jointly determining the three-dimensional coordinate information of the seat through the seat information and the three-dimensional model of the venue. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 This is one of the flow charts for determining the location of a venue seat provided in an embodiment of the present application;

[0036] Figure 2This is the second flow chart of determining the venue seat position provided in the embodiment of the present application;

[0037] Figure 3a This is one of the schematic diagrams of recording the seat number of the area block provided in the embodiment of the present application;

[0038] Figure 3b This is the second schematic diagram of the seat number recording of the area block provided in the embodiment of the present application;

[0039] Figure 4a This is one of the schematic diagrams of the regional block division method provided in the embodiment of the present application;

[0040] Figure 4b This is the second schematic diagram of the regional block division method provided in the embodiment of the present application;

[0041] Figure 4c This is the third schematic diagram of the regional block division method provided in the embodiment of the present application;

[0042] Figure 4d This is the fourth schematic diagram of the regional block division method provided in the embodiment of the present application;

[0043] Figure 5 This is a structural diagram of determining the location of a venue seat provided in an embodiment of the present application;

[0044] Figure 6 It is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] In the embodiments of the present application, the term "and / or" describes the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B may represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects before and after are in an "or" relationship.

[0046] In the embodiments of the present application, the term "plurality" refers to two or more than two, and other quantifiers are similar.

[0047] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0048] See also Figure 1 , Figure 1This is one of the flow charts of the venue seat position determination method provided in the embodiment of the present application. The venue seat position determination method provided in the embodiment of the present application can be used to determine the specific position of seats in venues such as gymnasiums, and realize the precise positioning of each seat position in the venue.

[0049] like Figure 1 As shown, the venue seat position determination method specifically includes the following steps:

[0050] Step 101: Acquire a three-dimensional model of a venue and seat information of the venue, wherein the three-dimensional model of the venue is constructed based on a venue image, the venue is provided with at least one seat, and the seat information includes two-dimensional coordinate information of the seat.

[0051] It should be understood that the specific method of obtaining the venue image of the venue is not limited here. In this embodiment, the venue image is used to construct the venue 3D model of the venue, so the venue image usually carries the location information and scale information of the venue.

[0052] As an optional implementation, the venue image includes real-time kinematic (RTK) information. In a specific implementation, the venue image of the venue is obtained by taking a photo of the venue carrying the RTK information.

[0053] It should be understood that the seats in the venue are usually distributed according to a certain pattern, and each seat has a preset number for indicating the row and column number of the seat. In this embodiment, the seat information includes the two-dimensional coordinate information of the plurality of seats, and the adjacent relationship between any two seats can be determined based on the two-dimensional coordinate information of the plurality of seats. For the convenience of distinction, the two-dimensional coordinate information included in the seat information is referred to as the original two-dimensional coordinate.

[0054] As an optional implementation, a CAD drawing of the venue is obtained, which contains the original two-dimensional coordinates of each seat and is marked with the seat number of each seat. The seat number can identify the row and column number of the seat, and the seat information contained in the CAD drawing is accurate seat information. In specific implementation, the CAD drawing of the venue can be directly obtained through relevant channels, which are not specifically limited here.

[0055] Step 102: Determine the three-dimensional coordinate information of the seat based on the three-dimensional model of the venue and the seat information.

[0056] In some embodiments, the three-dimensional model of the venue is a mesh model, and the mesh model is a model with real scale, that is, the real size of the venue can be restored according to the mesh model. Optionally, in some embodiments, the venue image includes RTK information, and the three-dimensional model of the venue is constructed based on the venue image, including:

[0057] Extracting the RTK information from the venue image;

[0058] Perform reconstruction processing based on the RTK information and the venue image to obtain an intermediate model;

[0059] The intermediate model is subjected to dense mapping processing to obtain the three-dimensional model of the venue.

[0060] Specifically, the reconstruction process based on the RTK information and the venue image includes sparse reconstruction and dense reconstruction based on the RTK information and the venue image.

[0061] For example, as a specific embodiment, RTK information is extracted from the venue image, hloc is used to perform sparse reconstruction on the scene, colmap is used to perform dense reconstruction, and openmvs is used for dense mapping to obtain a mesh model with scale information.

[0062] Optionally, in some embodiments, the at least one seat is divided into N rows of seats, where N is a positive integer, and step 102 includes:

[0063] Acquire the height of each row of seats in the N rows of seats based on the three-dimensional model of the venue;

[0064] Determine the height corresponding to the seat based on the row number of the seat and the height of each row of seats;

[0065] Performing coordinate transformation on the two-dimensional coordinate information of the seat based on the three-dimensional model of the venue and the height of each row of seats to obtain the target two-dimensional coordinates corresponding to the seat;

[0066] The three-dimensional coordinate information of the seat is determined according to the target two-dimensional coordinates corresponding to the seat and the height of each row of seats.

[0067] It should be understood that the three-dimensional model of the venue contains the three-dimensional coordinate value of each seat in the venue in the three-dimensional model of the venue. For the convenience of distinction, the three-dimensional coordinate value extracted from the three-dimensional model of the venue is called the original three-dimensional coordinate.

[0068] The original three-dimensional coordinates of different rows of seats can be obtained from the three-dimensional model of the venue. The height of any seat in the row can be determined by selecting the seat in the row. The height of each row of seats and the height difference between any two rows of seats can be determined by the above method. After determining the height of each row of seats, the height of each seat can be determined according to the row number of the seat. Of course, in the specific implementation, the height of each seat can also be directly obtained.

[0069] It should be understood that the coordinate system of the original two-dimensional coordinates contained in the seat information is different from the coordinate system of the original three-dimensional coordinates obtained in the three-dimensional model of the venue. A three-dimensional coordinate value is constructed based on the original two-dimensional coordinates and the height. Since the height information is the same in the above two coordinate systems, the coordinate transformation can be performed based on the height, and the original two-dimensional coordinates are transformed into the coordinate system of the three-dimensional model of the venue to obtain the target two-dimensional coordinates corresponding to each seat in the multiple seats. According to the target two-dimensional coordinates corresponding to each seat and the height of each row of seats, the final three-dimensional coordinate information of each seat is constructed.

[0070] In this embodiment, each seat is matched with the original two-dimensional coordinates to generate a mapping relationship. The original two-dimensional coordinates of the seats and the heights of each row of seats are used to generate a mapping relationship with the original three-dimensional coordinates obtained in the three-dimensional model of the venue. By performing coordinate transformation on the original two-dimensional coordinates, the three-dimensional coordinate information corresponding to each seat in the multiple seats is obtained.

[0071] Optionally, in some embodiments, the performing coordinate transformation on the two-dimensional coordinate information of the seat based on the three-dimensional model of the venue and the height of each row of seats to obtain the target two-dimensional coordinate corresponding to the seat includes:

[0072] Divide the at least one seat into a plurality of seat blocks, wherein the target seat block is any seat block in the plurality of seat blocks, and the target seat block includes M seats, where M is a positive integer;

[0073] Determining two-dimensional coordinate information of key seats in each of the target seat blocks;

[0074] Obtaining three-dimensional coordinate information of the key seat in the three-dimensional model of the venue;

[0075] Based on the three-dimensional coordinate information of the key seat in the three-dimensional model of the venue and the height of the key seat, coordinate transformation is performed on the two-dimensional coordinate information of the key seat to obtain the target two-dimensional coordinate of the key seat;

[0076] Based on the target two-dimensional coordinates of the key seat, the target two-dimensional coordinates of other seats in the target seat block except the key seat are determined.

[0077] In this embodiment, the seats in the venue are divided into multiple seat blocks according to a preset rule. The number of seats in each seat block may be the same or different according to the actual situation of the venue. Since the number of seats in the venue is usually very large, the efficiency of calculation can be improved by dividing the seats in the venue.

[0078] For any seat block, the seat block contains M seats. The original two-dimensional coordinates of the key seats in each seat block are determined. In specific implementation, the key seats may be seats at the edge of the seat block, which is not specifically limited here, and the number of key seats is also not limited.

[0079] After obtaining the original three-dimensional coordinates of the key seat in the three-dimensional model of the venue and the height of the key seat, the original two-dimensional coordinates of the key seat are first transformed to obtain the target two-dimensional coordinates of the key seat, and the transformation parameters used for the coordinate transformation can be obtained. In some embodiments, the target two-dimensional coordinates of other seats in the seat block except the key seat can be determined based on the transformation parameters. In other embodiments, the target two-dimensional coordinates of other seats in the seat block except the key seat can be directly determined based on the positional relationship of each seat in the seat block.

[0080] In this embodiment, the target two-dimensional coordinates of the key seats are first determined, and then the target two-dimensional coordinates of the seats other than the key seats in the target seat block are determined, which can reduce the amount of calculation for coordinate transformation, thereby improving the efficiency of determining the seat positions in the venue. In the case of a large number of seats in the venue, the amount of calculation can be greatly reduced by determining the key seats.

[0081] Optionally, in some embodiments, the M seats are divided into X rows, each row includes Y seats, and X and Y are integers greater than 0. The determining of the target two-dimensional coordinates of other seats in the target seat block except the key seat based on the target two-dimensional coordinate of the key seat includes:

[0082] Determine the values ​​of X and Y based on the seat information of the key seat, the key seat being the seat located at the vertex of the target seat block;

[0083] Based on the target two-dimensional coordinates of the key seat and the values ​​of X and Y, the target two-dimensional coordinates of other seats in the target seat block except the key seat are calculated.

[0084] In this embodiment, each of the plurality of seat blocks is rectangular, and for any seat block, the M seats included in the seat block are divided into X rows, each row including Y seats. The specific division method is not limited here.

[0085] When the seat block contains one row of seats, the number of key seats is 2, namely the first seat and the last seat of the row. When the seat block contains multiple rows of seats, the number of key seats is 4, namely the seats located at the four vertices of the rectangular area.

[0086] As an optional implementation, the seat information includes the numbers of each seat, and the values ​​of X and Y are determined based on the numbers of the key seats. As another optional implementation, since the intervals between seats are usually known and regular, the relationship between the original coordinate values ​​of any two adjacent seats is known, and the values ​​of X and Y can be determined based on the seat information of the key seats.

[0087] Optionally, as another optional implementation manner, the seat information includes the seat numbers, the seat numbers in the same row are set according to a preset rule, and the determining of the values ​​of X and Y based on the seat information of the key seat includes:

[0088] The value of X is determined based on the height of the key seat, and the value of Y is determined based on the number of the key seat.

[0089] Through the above method, complex calculations can be converted into the simplest basic operations, which greatly reduces the amount of calculations and improves calculation efficiency.

[0090] Generally speaking, the location information of the venue itself is relatively accurate. However, due to the large number of seats in the venue, the close proximity of seats, and the high structural similarity between seats, the seat location information directly obtained through the three-dimensional model of the venue has low accuracy. In an embodiment of the present application, a venue image and seat information of the venue are obtained, and the seat information includes two-dimensional coordinate information of multiple seats; based on the venue image, a three-dimensional model of the venue is constructed; based on the three-dimensional model of the venue and the seat information, the three-dimensional coordinate information of each of the multiple seats is determined. Since the two-dimensional coordinate information of the multiple seats contained in the seat information is accurate relative position information of the seats, the accuracy of the seat location information can be improved by jointly determining the three-dimensional coordinate information of the seats through the seat information and the three-dimensional model of the venue.

[0091] For ease of understanding, the following takes a specific embodiment as an example to illustrate the specific process of determining the seat position in the stadium. Figure 2 .

[0092] Step 1: Use a drone to take aerial photos of the stadium and obtain images of the venue.

[0093] Specifically, drones are used to plan routes within the venue as required, and low-altitude aerial photography is carried out along a safe route to obtain an overall image of the stadium. Each image contains RTK information. At the same time, manual flight photography is carried out at some locations that are inconvenient for aerial photography to supplement the perspective of the entire venue.

[0094] Step 2: Use the venue images and RTK information to reconstruct the stadium in 3D and build a 3D model of the scene.

[0095] Specifically, the RTK information in the captured images of the venue is extracted, the scene is sparsely reconstructed using hloc, densely reconstructed using colmap, and densely mapped using openmvs to obtain a mesh model with scale information, wherein the scale information may be a defined scale, based on which the mesh model can be restored to a three-dimensional model of the scene with a real scale.

[0096] Step 3: Get the two-dimensional coordinates of the seats in the venue from the CAD drawing.

[0097] 1. Divide the seats in different areas of the CAD drawing into seat blocks, and the specific division rules are not limited here. For example, since the venue is large and there are many seats in the venue, each floor of the venue is first divided into 12 trapezoidal area blocks, namely A, B, C, D, E, F, G, H, J, K, L, and M, according to the CAD drawing. According to different area blocks, they are further subdivided into different seat blocks. For example, the entire elliptical ring-shaped seat is divided into several trapezoidal area blocks, and then the trapezoidal area blocks are decomposed into rectangular seat blocks.

[0098] 2. Get the seat number of the seat block

[0099] Get the seat number of the area block and record the seat number distribution relationship. Figure 3a and Figure 3b As shown, record the seat numbers on the left and right sides of the area block, and gradually complete the recording to obtain the following Figure 3a As shown in the figure, the seat number of the leftmost column of seats in the A2 area block is recorded, and the seat number of the rightmost column of coordinates in the A3 area is recorded. Since the seat numbers of the seats in the A2 area block and the A3 area block are continuous, the number of seat columns contained in the A2 area can be determined based on the seat number of the leftmost column of seats in the A2 area block and the seat number of the rightmost column of coordinates in the A3 area.

[0100] In particular, where a region block ends, such as Figure 3bIn the example shown, the seat number sequence on the left and right sides of the virtual area block A0 is recorded, and the left seat number is recorded as a negative number. Since the seat numbers in the M5 area block and the A1 area block are not continuous, the seat number sequence on the left and right sides of the virtual area block A0 is used to calculate the maximum seat number and the number of seats in the area block.

[0101] 3. Get the original 2D coordinates of the key seats

[0102] Get the original two-dimensional coordinates of the seat block, record the position distribution relationship between the seats, and record the original two-dimensional coordinates of the seats at the four vertex positions of the quasi-rectangular seat block (i.e., key seats). According to the seat number record, get the original two-dimensional coordinates of the four vertices of the quasi-rectangle. For example, if A1, the seat number is row 1, number 12, the two-dimensional CAD position x coordinate is 1188093.35, and the two-dimensional CAD position y coordinate is 447905.26.

[0103] In the specific implementation, the specific method of dividing the seat blocks is not limited here. For example, as an optional implementation, Figure 4a As shown, the A3 area block in the figure is divided into a seat block, and the original two-dimensional coordinates of the seats at the four vertex positions of the seat block are recorded (as shown by the circle positions in the figure). As another optional implementation, as Figure 4b As shown, the A2 area block is divided into three seat blocks, and the original two-dimensional coordinates of the seats at the four vertex positions of the three seat blocks are recorded respectively (as shown by the circle positions in the figure). As another optional implementation, as Figure 4c As shown, the G5 area block is divided into 5 seat blocks. Since 4 of the seat blocks only include one row of seats, the original 2D coordinates of the seats at the 2 vertex positions of the 4 seat blocks and the original 2D coordinates of the 4 vertex positions of another seat block are obtained. As another optional implementation, as Figure 4d As shown, the G1 area block is divided into three seat blocks, and the original two-dimensional coordinates of the seats at the four vertex positions of the three seat blocks are recorded respectively. The above is only an example of an optional division method, and the actual division can be performed according to the specific distribution of the seats in the venue, which will not be repeated here.

[0104] Step 4: Obtain the original three-dimensional coordinates of the key seats and the heights of each level based on the mesh mapping model.

[0105] Open the mesh model, and obtain the original three-dimensional coordinates of the key seats in the mesh model obtained in step 3, and record them. At the same time, obtain the heights of seats in different rows, and record the height difference between each seat level.

[0106] Step 5: Sim3 transformation to get the coordinates of each seat:

[0107] The seat number and original two-dimensional coordinates of the seat are used to correspond to generate a mapping relationship; the original two-dimensional coordinates of the seat and the height of each level are used to correspond to the original three-dimensional coordinates obtained by mesh to generate a mapping relationship, and finally the GPS location information of each seat (that is, the transformed three-dimensional coordinate information) is obtained.

[0108] The original 3D coordinates of the key seats obtained from the mesh model: X RTK =(X 0 ,X 1 ,X 2 ,...,X n ), Y RTK =(Y 0 ,Y 1 ,Y 2 ,...,Y n ), Z RTK =(Z 0 ,Z 1 ,Z 2 ,...,Z n ). Get the original 2D coordinates X of the recorded key seats from the CAD drawing CAD =(x 0 ,x 1 ,x 2 ,...,x n ), Y CAD =(y 0 ,y 1 ,y 2 ,...,y n ). Let Z RTK =Z CAD , Z obtained from the mesh model CAD =(z 0 ,z 1 ,z 2 ,...,z n ), use Sim3 transformation to get scale S, rotation matrix R, and translation matrix T. Based on Sim3 transformation, X CAD and Y CAD Perform coordinate transformation to obtain the target two-dimensional coordinates (X T ,Y T ).

[0109] According to the seat distribution recorded in step 3 above, the number of seats in each area block on each floor of the venue and the number of seats in each row are obtained. t ,Y t), use the interpolation method to generate the target two-dimensional coordinates of each seat in the seat block. For example, after knowing the target two-dimensional coordinates of the first and last key seats in the same row, and knowing the number of seats between the two key seats, the target two-dimensional coordinates of each seat in the middle can be directly generated according to the interpolation method without having to transform the coordinates of each seat, which greatly reduces the amount of calculation. According to the above step 4, the height H of each row of seats is obtained. T , let H T =Z T Finally, the three-dimensional coordinate information (X T ,Y T ,Z T ) Repeat the above steps to upload the seat distribution and coordinates of the lower, middle and upper levels respectively.

[0110] In highly similar scenes, it is difficult to rely on pure vision or GPS information to provide accurate observation location information. Through the method provided in the embodiment of the present application, the original two-dimensional coordinates of the seats contained in the CAD drawing are used to assist in determining the three-dimensional coordinate information of each seat, thereby improving the accuracy of the venue seat position determination result.

[0111] See also Figure 5 , Figure 5 is a structural diagram of a venue seat position determination device provided in an embodiment of the present application. Figure 5 As shown, the venue seat position determination device 500 includes:

[0112] An acquisition module 501 is used to acquire a three-dimensional model of a venue and seat information of the venue, wherein the three-dimensional model of the venue is constructed based on the venue image, the venue is provided with at least one seat, and the seat information includes two-dimensional coordinate information of the seat;

[0113] The determination module 502 is used to determine the three-dimensional coordinate information of the seat based on the three-dimensional model of the venue and the seat information.

[0114] Optionally, the venue image includes real-time kinematic RTK information, and the acquisition module 501 includes:

[0115] An extraction unit, used for extracting the RTK information from the venue image;

[0116] A first processing unit, configured to perform reconstruction processing based on the RTK information and the venue image to obtain an intermediate model;

[0117] The second processing unit is used to perform dense mapping processing on the intermediate model to obtain the three-dimensional model of the venue.

[0118] Optionally, the at least one seat is divided into N rows of seats, where N is a positive integer, and the determining module 502 includes:

[0119] An acquisition unit, configured to acquire the height of each row of seats in the N rows of seats based on the three-dimensional model of the venue;

[0120] A first determining unit, configured to determine a height corresponding to the seat based on the row number of the seat and the height of each row of seats;

[0121] A coordinate transformation unit, configured to transform the two-dimensional coordinate information of the seat based on the three-dimensional model of the venue and the height of each row of seats, so as to obtain a target two-dimensional coordinate corresponding to the seat;

[0122] The second determining unit is used to determine the three-dimensional coordinate information of the seat according to the target two-dimensional coordinates corresponding to the seat and the height of each row of seats.

[0123] Optionally, the coordinate transformation unit is specifically used for:

[0124] Divide the at least one seat into a plurality of seat blocks, wherein the target seat block is any seat block in the plurality of seat blocks, and the target seat block includes M seats, where M is a positive integer;

[0125] Determining two-dimensional coordinate information of key seats in each of the target seat blocks;

[0126] Obtaining three-dimensional coordinate information of the key seat in the three-dimensional model of the venue;

[0127] Based on the three-dimensional coordinate information of the key seat in the three-dimensional model of the venue and the height of the key seat, coordinate transformation is performed on the two-dimensional coordinate information of the key seat to obtain the target two-dimensional coordinate of the key seat;

[0128] Based on the target two-dimensional coordinates of the key seat, the target two-dimensional coordinates of other seats in the target seat block except the key seat are determined.

[0129] Optionally, the M seats are divided into X rows, each row includes Y seats, X and Y are integers greater than 0, and determining the target two-dimensional coordinates of other seats in the target seat block except the key seat based on the target two-dimensional coordinate of the key seat includes:

[0130] Determine the values ​​of X and Y based on the seat information of the key seat, the key seat being the seat located at the vertex of the target seat block;

[0131] Based on the target two-dimensional coordinates of the key seat and the values ​​of X and Y, the target two-dimensional coordinates of other seats in the target seat block except the key seat are calculated.

[0132] Optionally, the seat information includes the seat numbers, the seat numbers in the same row are set according to a preset rule, and the determining of the values ​​of X and Y based on the seat information of the key seat includes:

[0133] The value of X is determined based on the height of the key seat, and the value of Y is determined based on the number of the key seat.

[0134] The venue seat position determination device 500 provided in the embodiment of the present application can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated in this embodiment.

[0135] It should be noted that the division of units in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0136] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.

[0137] like Figure 6 As shown, an embodiment of the present application provides an electronic device 600, including: a memory 602, a processor 601, and a program stored in the memory 602 and executable on the processor 601; the processor 601 is used to read the program in the memory 602 to implement the steps in the venue seat position determination method as described above.

[0138] The embodiment of the present application also provides a readable storage medium, on which a program is stored. When the program is executed by a processor, each process of the above-mentioned venue seat position determination method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here. Among them, the readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disk, hard disk, magnetic tape, magneto-optical disk (MO), etc.), optical storage (such as compact disk (CD), digital video disc (DVD), Blu-ray Disc (BD), high-definition versatile disc (HVD), etc.), and semiconductor memory (such as read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read only memory (EEPROM), non-volatile memory (NAND FLASH), solid-state drive (Solid State Disk or Solid State Drive, SSD)), etc.

[0139] The present application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the above Figure 1 The various processes of the method embodiment shown can achieve the same technical effect, and will not be described again here to avoid repetition.

[0140] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0141] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), and includes a number of instructions for a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0142] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for determining the location of a venue seat, characterized in that: include: Acquire a three-dimensional model of a venue and seat information of the venue, wherein the three-dimensional model of the venue is constructed based on the venue image, the venue is provided with at least one seat, and the seat information includes two-dimensional coordinate information of the seat; Based on the venue three-dimensional model and the seat information, the three-dimensional coordinate information of the seat is determined.

2. The method according to claim 1, characterized in that The venue image includes real-time dynamic RTK information, and the obtaining of the venue three-dimensional model includes: Extracting the RTK information from the venue image; Perform reconstruction processing based on the RTK information and the venue image to obtain an intermediate model; The intermediate model is subjected to dense mapping processing to obtain the three-dimensional model of the venue.

3. The method according to claim 1, characterized in that The at least one seat is divided into N rows of seats, where N is a positive integer, and the determining the three-dimensional coordinate information of the seat based on the three-dimensional model of the venue and the seat information includes: Acquire the height of each row of seats in the N rows of seats based on the three-dimensional model of the venue; Determine the height corresponding to the seat based on the row number of the seat and the height of each row of seats; Performing coordinate transformation on the two-dimensional coordinate information of the seat based on the three-dimensional model of the venue and the height of each row of seats to obtain the target two-dimensional coordinates corresponding to the seat; The three-dimensional coordinate information of the seat is determined according to the target two-dimensional coordinates corresponding to the seat and the height of each row of seats.

4. The method according to claim 3, characterized in that The step of performing coordinate transformation on the two-dimensional coordinate information of the seat based on the three-dimensional model of the venue and the height of each row of seats to obtain the target two-dimensional coordinates corresponding to the seat includes: Divide the at least one seat into a plurality of seat blocks, wherein the target seat block is any seat block in the plurality of seat blocks, and the target seat block includes M seats, where M is a positive integer; Determining two-dimensional coordinate information of key seats in each of the target seat blocks; Obtaining three-dimensional coordinate information of the key seat in the three-dimensional model of the venue; Based on the three-dimensional coordinate information of the key seat in the three-dimensional model of the venue and the height of the key seat, coordinate transformation is performed on the two-dimensional coordinate information of the key seat to obtain the target two-dimensional coordinate of the key seat; Based on the target two-dimensional coordinates of the key seat, the target two-dimensional coordinates of other seats in the target seat block except the key seat are determined.

5. The method according to claim 4, characterized in that The M seats are divided into X rows, each row includes Y seats, X and Y are integers greater than 0, and the target two-dimensional coordinates of other seats in the target seat block except the key seat are determined based on the target two-dimensional coordinates of the key seat, including: Determine the values ​​of X and Y based on the seat information of the key seat, the key seat being the seat located at the vertex of the target seat block; Based on the target two-dimensional coordinates of the key seat and the values ​​of X and Y, the target two-dimensional coordinates of other seats in the target seat block except the key seat are calculated.

6. The method according to claim 5, characterized in that The seat information includes the seat numbers, and the seat numbers of the seats in the same row are set according to a preset rule. The determining of the values ​​of X and Y based on the seat information of the key seat includes: The value of X is determined based on the height of the key seat, and the value of Y is determined based on the number of the key seat.

7. A device for determining the location of seats in a stadium, characterized in that: include: An acquisition module, used to acquire a three-dimensional model of a venue and seat information of the venue, wherein the three-dimensional model of the venue is constructed based on the venue image, the venue is provided with at least one seat, and the seat information includes two-dimensional coordinate information of the seat; A determination module is used to determine the three-dimensional coordinate information of the seat based on the three-dimensional model of the venue and the seat information.

8. An electronic device, comprising: A memory, a processor, and a program stored in the memory and executable on the processor; wherein the processor is used to read the program in the memory to implement the steps in the method for determining the location of a stadium seat as described in any one of claims 1 to 6.

9. A readable storage medium for storing a program, characterized in that: When the program is executed by a processor, the steps in the method for determining the location of a seat in a venue as claimed in any one of claims 1 to 6 are implemented.

10. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the steps of the method for determining the location of a venue seat according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Seat image marking method, seat image marking device and electronic equipment

    CN110322505A

  • Three-dimensional space information measuring and calculating method and device

    CN113240750A

  • Data generation method and device, electronic equipment and computer readable medium

    CN113838214A

  • Systems and methods for displaying images across multiple devices

    US20200021966A1