Venue seat position determination method and apparatus, and related device
By constructing a 3D model of the venue and seat information, and combining it with RTK information for reconstruction and coordinate transformation, the problem of inaccurate seat location within the venue was solved, achieving precise seat positioning.
Patent Information
- Application Number
- CN202410692466.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-30
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2044-05-30
AI Technical Summary
Inside the venue, existing technologies struggle to accurately determine seat locations, especially due to the high similarity of stadium environments and large GPS positioning errors, resulting in low accuracy in seat location positioning.
By acquiring the venue's 3D model and seating information, and combining it with real-time dynamic RTK information for reconstruction, the 3D coordinate information of the seats is determined using dense mapping and coordinate transformation techniques.
It improved the accuracy of seat location positioning, reduced the amount of calculation, improved calculation efficiency, and achieved precise seat positioning within the venue.
Smart Images

Figure CN118674776B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of reconstruction positioning technology, and in particular to a method, apparatus and related equipment for determining the location of seats in a venue. Background Technology
[0002] When reconstructing and locating seats in stadiums and other venues, a monocular camera is typically used to acquire images for 3D reconstruction. After reconstructing the virtual and real scenes of the stadium, a restored-scale 3D model of the scene is obtained. However, due to the extremely high similarity and symmetry of scenes within a stadium, traditional algorithms are unable to accurately identify and locate the scene.
[0003] Existing technologies incorporate the Global Positioning System (GPS) for seat location within stadiums. However, due to the structural characteristics of stadiums, GPS positioning requires a large number of mobile devices carried by people inside the stadium, which leads to significant GPS acquisition errors and low accuracy in seat location positioning. Summary of the Invention
[0004] This application provides a method, apparatus, and related equipment for determining the location of seats in a venue, in order to solve the problem of low accuracy in the location of seats in a venue.
[0005] In a first aspect, embodiments of this application provide a method for determining the location of seats in a venue, including:
[0006] Obtain a 3D model of the venue and seating information. The 3D model of the venue is constructed based on the venue image. The venue has at least one seat. The seating information includes the 2D coordinate information of the seat.
[0007] Based on the venue's 3D model and the seating information, the 3D coordinate information of the seats is determined.
[0008] Optionally, the venue image includes real-time dynamic RTK information, and the acquisition of the venue's 3D model includes:
[0009] Extract the RTK information from the venue image;
[0010] Based on the RTK information and the venue images, a reconstruction process is performed to obtain an intermediate model;
[0011] The intermediate model is subjected to dense mapping 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. Determining the three-dimensional coordinate information of the seat based on the venue's three-dimensional model and the seat information includes:
[0013] The height of each row of seats in the N rows of seats is obtained based on the three-dimensional model of the venue.
[0014] The height of the seat is determined based on the row number of the seat and the height of each row of seats.
[0015] Based on the three-dimensional model of the venue and the height of each row of seats, the two-dimensional coordinate information of the seats is transformed to obtain the target two-dimensional coordinates corresponding to the seats;
[0016] The three-dimensional coordinate information of the seat is determined based on the target two-dimensional coordinates corresponding to the seat and the height of each row of seats.
[0017] Optionally, the step of performing coordinate transformation on the two-dimensional coordinate information of the seats 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 seats includes:
[0018] The at least one seat is divided into multiple seat blocks, and the target seat block is any one of the multiple seat blocks. The target seat block contains M seats, where M is a positive integer.
[0019] Determine the two-dimensional coordinate information of the key seats within each target seat block;
[0020] Obtain the three-dimensional coordinate information of the key seats in the three-dimensional model of the venue;
[0021] Based on the three-dimensional coordinate information of the key seat in the venue's three-dimensional model and the height of the key seat, the two-dimensional coordinate information of the key seat is transformed to obtain the target two-dimensional coordinates of the key seat.
[0022] Based on the target two-dimensional coordinates of the key seat, determine the target two-dimensional coordinates of other seats within the target seat block, excluding the key seat.
[0023] Optionally, the M seats are divided into X rows, each row containing Y seats, where X and Y are integers greater than 0. Determining the target two-dimensional coordinates of other seats within the target seat block, excluding the key seat, based on the target two-dimensional coordinates of the key seat, includes:
[0024] Based on the seat information of the key seat, the values of X and Y are determined, wherein the key seat is 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, calculate the target two-dimensional coordinates of other seats within the target seat block, excluding the key seat.
[0026] Optionally, the seat information includes the seat number, and the seats in the same row are numbered according to a preset rule. Determining the values of X and Y based on the seat information of the key seats 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 label of the key seat.
[0028] Secondly, embodiments of this application also provide a venue seating position determination device, comprising:
[0029] The acquisition module is used to acquire the venue's 3D model and seating information. The venue's 3D model is constructed based on the venue's image. The venue has at least one seat. The seating information includes the two-dimensional coordinate information of the seat.
[0030] The determination module is used to determine the three-dimensional coordinate information of the seats based on the three-dimensional model of the venue and the seat information.
[0031] Thirdly, embodiments of this application also provide an electronic device, including: a memory, a processor, and a program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps in the venue seating location determination method as described in the first aspect.
[0032] Fourthly, embodiments of this application also provide a readable storage medium storing a program that, when executed by a processor, implements the steps in the venue seating location determination method as described in the first aspect.
[0033] Fifthly, a computer program product is provided, including computer instructions that, when executed by a processor, implement the steps of the venue seating location determination method as described in the first aspect.
[0034] In this embodiment, a 3D model of the venue and seating information are first obtained. The 3D model is constructed based on an image of the venue, and the venue has at least one seat. The seating information includes the 2D coordinates of the seat. Then, based on the 3D model and the seating information, the 3D coordinates of the seat are determined. Since the 2D coordinates of the seat in the seating information provide accurate relative seat position information, determining the 3D coordinates of the seat using both the seating information and the 3D model of the venue can improve the accuracy of the seat position information. Attached Figure Description
[0035] Figure 1 This is one of the flowcharts for determining the location of seats in a venue provided in the embodiments of this application;
[0036] Figure 2This is the second flowchart of the venue seating location determination provided in the embodiments of this application;
[0037] Figure 3a This is one of the schematic diagrams of the seat number record of the area block provided in the embodiments of this application;
[0038] Figure 3b This is the second schematic diagram of the seat number record of the area block provided in the embodiments of this application;
[0039] Figure 4a This is one of the schematic diagrams of the region block division method provided in the embodiments of this application;
[0040] Figure 4b This is the second schematic diagram of the region block division method provided in the embodiments of this application;
[0041] Figure 4c This is the third schematic diagram of the region block division method provided in the embodiments of this application;
[0042] Figure 4d This is the fourth schematic diagram of the region block division method provided in the embodiments of this application;
[0043] Figure 5 This is a structural diagram illustrating the determination of venue seating positions provided in an embodiment of this application;
[0044] Figure 6 This is a structural diagram of the electronic device provided in the embodiments of this application. Detailed Implementation
[0045] In the embodiments of this application, the term "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. The character " / " generally indicates that the preceding and following associated objects have an "or" relationship.
[0046] In the embodiments of this application, the term "multiple" refers to two or more, and other quantifiers are similar.
[0047] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0048] See Figure 1 , Figure 1This is one of the flowcharts of the venue seat location determination method provided in the embodiments of this application. The venue seat location determination method provided in the embodiments of this application can be used to determine the specific location of seats in venues such as stadiums, so as to achieve accurate positioning of each seat in the venue.
[0049] like Figure 1 As shown, the method for determining the seating location in the venue specifically includes the following steps:
[0050] Step 101: Obtain the venue's 3D model and seating information. The venue's 3D model is constructed based on the venue's image. The venue has at least one seat. The seating information includes the two-dimensional coordinate information of the seat.
[0051] It should be understood that the specific method of acquiring venue images is not limited here. In this embodiment, venue images are used to construct a 3D model of the venue, therefore venue images typically carry location and scale information of the venue.
[0052] As an optional implementation, the venue images contain real-time kinematic (RTK) information. In practice, venue images are obtained by taking photos of the venue that carry RTK information.
[0053] It should be understood that seats in a venue are typically distributed according to a certain pattern, and each seat has a preset number to indicate its row and column number. In this embodiment, the seat information includes the two-dimensional coordinate information of the multiple seats, and the adjacency relationship between any two seats can be determined based on the two-dimensional coordinate information of the multiple seats. For ease of distinction, the two-dimensional coordinate information contained in the seat information is referred to as the original two-dimensional coordinates.
[0054] As an optional implementation, a CAD drawing of the venue can be obtained. This CAD drawing contains the original two-dimensional coordinates of each seat and also labels each seat with its seat number. This seat number identifies the row and column number of the seat, and the seat information in the CAD drawing is accurate. In practice, the CAD drawing of the venue can be obtained directly through relevant means, and no specific limitations are imposed here.
[0055] Step 102: Based on the venue's 3D model and the seating information, determine the 3D coordinate information of the seats.
[0056] In some embodiments, the 3D model of the venue is a mesh model, which is a model with real-scale dimensions, meaning that the actual size of the venue can be reconstructed from the mesh model. Optionally, in some embodiments, the venue image includes RTK information, and constructing the 3D model of the venue based on the venue image includes:
[0057] Extract the RTK information from the venue image;
[0058] Based on the RTK information and the venue images, a reconstruction process is performed to obtain an intermediate model;
[0059] The intermediate model is subjected to dense mapping 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 implementation, RTK information is extracted from the venue image, sparse reconstruction of the scene is performed using hloc, dense reconstruction is performed using colmap, and dense mapping is performed using openmvs 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] The height of each row of seats in the N rows of seats is obtained based on the three-dimensional model of the venue.
[0064] The height of the seat is determined based on the row number of the seat and the height of each row of seats.
[0065] Based on the three-dimensional model of the venue and the height of each row of seats, the two-dimensional coordinate information of the seats is transformed to obtain the target two-dimensional coordinates corresponding to the seats;
[0066] The three-dimensional coordinate information of the seat is determined based on the target two-dimensional coordinates corresponding to the seat and the height of each row of seats.
[0067] It should be understood that the 3D model of the venue contains the 3D coordinates of each seat in the venue. For ease of distinction, the 3D coordinates extracted from the 3D model of the venue are called the original 3D coordinates.
[0068] The original 3D coordinates of different rows of seats can be obtained from the 3D model of the venue. Selecting any seat in that row determines its height. This method allows us to determine the height of each row of seats and the height difference between any two rows. After determining the height of each row, the height of each individual seat can be determined based on its row number. Alternatively, in practice, the height of each individual seat can be obtained directly.
[0069] It should be understood that the coordinate system of the original two-dimensional coordinates contained in the seating information is different from the coordinate system of the original three-dimensional coordinates obtained from the venue's three-dimensional model. 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 both coordinate systems, a coordinate transformation can be performed based on the height to transform the original two-dimensional coordinates to the coordinate system of the venue's three-dimensional model, obtaining the target two-dimensional coordinates corresponding to each of the multiple seats. Based on the target two-dimensional coordinates corresponding to each seat and the height of each row of seats, the final three-dimensional coordinate information for each seat is constructed.
[0070] In this embodiment, each seat is mapped to its original two-dimensional coordinates to generate a mapping relationship. The original two-dimensional coordinates of the seats and the height of each row of seats are mapped to the original three-dimensional coordinates obtained from 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 of the multiple seats is obtained.
[0071] Optionally, in some embodiments, the step of performing coordinate transformation on the two-dimensional coordinate information of the seats 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 seats includes:
[0072] The at least one seat is divided into multiple seat blocks, and the target seat block is any one of the multiple seat blocks. The target seat block contains M seats, where M is a positive integer.
[0073] Determine the two-dimensional coordinate information of the key seats within each target seat block;
[0074] Obtain the three-dimensional coordinate information of the key seats in the three-dimensional model of the venue;
[0075] Based on the three-dimensional coordinate information of the key seat in the venue's three-dimensional model and the height of the key seat, the two-dimensional coordinate information of the key seat is transformed to obtain the target two-dimensional coordinates of the key seat.
[0076] Based on the target two-dimensional coordinates of the key seat, determine the target two-dimensional coordinates of other seats within the target seat block, excluding the key seat.
[0077] In this embodiment, the seats within the venue are divided into multiple seat blocks according to preset rules. Depending on the actual situation of the venue, the number of seats contained in each seat block may be the same or different. Since the number of seats in a venue is usually very large, dividing the venue into seats can improve the efficiency of calculation.
[0078] For any given seat block, there are M seats. Determine the original two-dimensional coordinates of the key seats within each seat block. In the specific implementation, the key seats can be seats located at the edges of the seat block, but this is not limited here. The number of key seats is also not limited.
[0079] After obtaining the original 3D coordinates and height of the key seat in the venue's 3D model, a coordinate transformation is first performed on the original 2D coordinates of the key seat to obtain its target 2D coordinates. Simultaneously, the transformation parameters used for the coordinate transformation can be obtained. In some embodiments, the target 2D coordinates of other seats within the seat block, excluding the key seat, can be determined based on the transformation parameters. In other embodiments, the target 2D coordinates of other seats within the seat block, excluding the key seat, can be directly determined based on the positional relationships of the seats within the seat block.
[0080] In this embodiment, the target two-dimensional coordinates of the key seats are determined first, and then the target two-dimensional coordinates of other seats within the target seat block, excluding the key seats, are determined. This reduces the computational load of coordinate transformation, thereby improving the efficiency of determining the venue's seat locations. When the number of seats in the venue is very large, determining the key seats can significantly reduce the computational load.
[0081] Optionally, in some embodiments, the M seats are divided into X rows, each row containing Y seats, where X and Y are integers greater than 0. Determining the target two-dimensional coordinates of other seats within the target seat block, excluding the key seat, based on the target two-dimensional coordinates of the key seat, includes:
[0082] Based on the seat information of the key seat, the values of X and Y are determined, wherein the key seat is 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, calculate the target two-dimensional coordinates of other seats within the target seat block, excluding the key seat.
[0084] In this embodiment, each of the multiple seat blocks is a rectangular shape. For any given seat block, the M seats are divided into X rows, and each row contains Y seats. The specific division method is not limited here.
[0085] When a seating block contains one row of seats, there are two key seats: the first and last seats in that row. When a seating block contains multiple rows of seats, there are four key seats: the seats located at the four vertices of the rectangular area.
[0086] As one optional implementation, the seat information includes the label of each seat, and the values of X and Y are determined based on the label of the key seat. 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 seat.
[0087] Optionally, as another optional implementation, the seat information includes the seat number, and the seat numbers of seats in the same row are set according to a preset rule. Determining the values of X and Y based on the seat information of the key seats 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 label of the key seat.
[0089] The above method can transform complex calculations into the simplest basic operations, greatly reducing the amount of computation and improving computational efficiency.
[0090] Generally, the location information of the venue itself is relatively accurate. However, due to the large number of seats in the venue, their close proximity, and the high structural similarity between them, the accuracy of seat location information obtained directly from the venue's 3D model is low. In this embodiment, venue images and seat information are acquired, with the seat information including the two-dimensional coordinates of multiple seats. Based on the venue images, a 3D model of the venue is constructed. Based on the 3D model and the seat information, the 3D coordinates of each of the multiple seats are determined. Since the two-dimensional coordinates of multiple seats contained in the seat information are accurate relative seat position information, determining the 3D coordinates of seats jointly using the seat information and the venue's 3D model can improve the accuracy of seat location information.
[0091] To facilitate understanding, the following example illustrates the specific process for determining seating positions within a gymnasium. Please refer to [link to relevant documentation] for details. Figure 2 .
[0092] Step 1: Use a drone to take aerial photos of the stadium and obtain images of the venue.
[0093] Specifically, drones were used to plan routes within the venue as required, and low-altitude aerial photography was conducted along safe routes to obtain overall images of the stadium, with each image containing RTK information; at the same time, manual flight photography was conducted at some locations where aerial photography was inconvenient to supplement the overall perspective of the venue.
[0094] Step 2: Use the stadium images and RTK information to perform 3D reconstruction of the stadium and build a 3D model of the scene.
[0095] Specifically, RTK information is extracted from the captured venue images, sparse reconstruction of the scene is performed using hloc, dense reconstruction is performed using colmap, and dense mapping is performed using openmvs to obtain a mesh model with scale information. The scale information can be a defined scale bar. Based on the scale information, the mesh model can be restored into a 3D scene model with real scale.
[0096] Step 3: Obtain the two-dimensional coordinates of the seats inside the venue from the CAD drawing.
[0097] 1. Divide the seating areas in different regions of the CAD drawing into seating blocks. Specific division rules are not limited here. For example, given the large size of the venue and the large number of seats, first, based on the CAD drawing, divide each floor of the venue into 12 trapezoidal-shaped areas: A, B, C, D, E, F, G, H, J, K, L, and M. Then, further subdivide these areas into different seating blocks. For example, divide the entire elliptical seating area into several trapezoidal-shaped areas, and then decompose these trapezoidal-shaped areas into rectangular-shaped seating blocks.
[0098] 2. Obtain the seat number of the seat block.
[0099] Obtain the seat numbers for the area blocks and record the distribution of these seat numbers. For example... Figure 3a and Figure 3b As shown, record the seat numbers on the left and right sides of the area block, recording them step by step until the desired result is obtained. Figure 3a The table shown is illustrated. Record the seat numbers in the leftmost column of area A2 and the seat numbers in the rightmost column of area A3. Since the seat numbers in areas A2 and A3 are consecutive, the number of rows of seats in area A2 can be determined based on these two coordinates.
[0100] Specifically, at the end of a block, such as Figure 3bThe example shown records the seat number sequences to the left and right of virtual area block A0, with the left seat number recorded as a negative number. Since the seat numbers in area blocks M5 and A1 are not consecutive, the seat number sequences to the left and right of virtual area block A0 are used to calculate the maximum seat number and the total number of seats in that area block.
[0101] 3. Obtain the original two-dimensional coordinates of the key seats.
[0102] Obtain the original 2D coordinates of the seat blocks, record the positional distribution relationship between the seats, and record the original 2D coordinates of the seats at the four vertices of the rectangular seat blocks (i.e., key seats). According to the seat number, obtain the original 2D coordinates of the four vertices of the rectangular block. For example, in A1, seat number 12 in row 1, the 2D CAD position x-coordinate is 1188093.35, and the 2D CAD position y-coordinate is 447905.26.
[0103] In practice, the specific method of dividing the seat blocks is not limited here. For example, as an optional implementation, such as... Figure 4a As shown, region A3 in the diagram is divided into a seating block, and the original two-dimensional coordinates of the seats at the four vertices of this seating block are recorded (as indicated by the circles in the diagram). As another optional implementation, such as... Figure 4b As shown, region A2 is divided into three seating blocks, and the original two-dimensional coordinates of the seats at the four vertices of each of the three blocks are recorded (as indicated by the circles in the figure). As another optional implementation, such as... Figure 4c As shown, the G5 area is divided into 5 seat blocks. Since 4 of these seat blocks each contain only one row of seats, the original 2D coordinates of the seats at two vertices of these 4 seat blocks are obtained, as well as the original 2D coordinates of the seats at four vertices of the other seat block. As another optional implementation, such as... Figure 4d As shown, the G1 area is divided into 3 seating blocks, and the original 2D coordinates of the seats at the four vertices of each of the 3 seating blocks are recorded. The above is only an example of an optional partitioning method; the actual partitioning can be carried out according to the specific distribution of seats in the venue, which will not be elaborated here.
[0104] Step 4: Obtain the original 3D coordinates of key seats and the height of each level based on the mesh mapping model.
[0105] Open the mesh model. Based on the location of the key seats obtained in step three within the mesh model, obtain and record the original 3D coordinates of each seat. Simultaneously, obtain the seat heights for different rows and record the height differences between each seat level.
[0106] Step 5: Perform a Sim3 transformation to obtain the coordinates of each seat.
[0107] The seat number and the original two-dimensional coordinates are mapped to generate a mapping relationship; the original two-dimensional coordinates of the seats and the height of each level are mapped to the original three-dimensional coordinates obtained by the mesh to generate a mapping relationship, and finally the GPS location information of each seat (i.e. the transformed three-dimensional coordinate information) is obtained.
[0108] The original 3D coordinates of key seats obtained from the mesh model: X RTK =(X0,X1,X2,...,X) n ), Y RTK =(Y0,Y1,Y2,...,Y n Z RTK =(Z0,Z1,Z2,...,Z n Obtain the original 2D coordinates (X) of the key seats recorded from the CAD drawing. CAD =(x0,x1,x2,...,x n ), Y CAD =(y0,y1,y2,...,y n Let Z RTK =Z CAD Z obtained from the mesh model CAD =(z0,z1,z2,...,z) n Using the Sim3 transformation, we obtain the scale S, rotation matrix R, and translation matrix T. Based on the Sim3 transformation, we then apply the following to X... CAD and Y CAD Perform coordinate transformation to obtain the target's two-dimensional coordinates (X). T ,Y T ).
[0109] Based on the seat distribution recorded in step three above, the number of rows of seats and the number of seats in each row for each area block on each floor of the venue are obtained. This is based on the key seat transformation (X). t ,Y t The target two-dimensional coordinates of each seat in the seating block are generated using interpolation. For example, given the target two-dimensional coordinates of the first and last two key seats in the same row, and the number of seats between these two key seats, the target two-dimensional coordinates of each intermediate seat can be directly generated using interpolation without needing to perform coordinate transformations for each seat, greatly reducing the computational load. Based on step four above, the height H of each row of seats is obtained. T Let H T =Z T Ultimately, the three-dimensional coordinate information (X) of each seat block can be obtained. T ,Y T Z TRepeat the above steps to upload the seating distribution and coordinates for the lower, middle, and upper levels respectively.
[0110] In highly similar scenarios, it is difficult to provide accurate observation location information relying solely on vision or GPS information. The method provided in this application utilizes the original two-dimensional coordinates of seats contained in CAD drawings to assist in determining the three-dimensional coordinate information of each seat, thereby improving the accuracy of venue seating location determination.
[0111] See Figure 5 , Figure 5 This is a structural diagram of the venue seating location determination device provided in an embodiment of this application. Figure 5 As shown, the venue seating location determination device 500 includes:
[0112] The acquisition module 501 is used to acquire the venue's three-dimensional model and seating information. The venue's three-dimensional model is constructed based on the venue's image. The venue has at least one seat. The seating information includes the 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 dynamic RTK information, and the acquisition module 501 includes:
[0115] Extraction unit, used to extract the RTK information from the venue image;
[0116] The first processing unit is used 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 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] The acquisition unit is used 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] The first determining unit is used to determine the height corresponding to the seat based on the row number of the seat and the height of each row of seats;
[0121] The coordinate transformation unit is used to perform coordinate transformation on the two-dimensional coordinate information of the seats based on the three-dimensional model of the venue and the height of each row of seats, so as to obtain the target two-dimensional coordinates corresponding to the seats;
[0122] The second determining unit is used to determine the three-dimensional coordinate information of the seat based on 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] The at least one seat is divided into multiple seat blocks, and the target seat block is any one of the multiple seat blocks. The target seat block contains M seats, where M is a positive integer.
[0125] Determine the two-dimensional coordinate information of the key seats within each target seat block;
[0126] Obtain the three-dimensional coordinate information of the key seats in the three-dimensional model of the venue;
[0127] Based on the three-dimensional coordinate information of the key seat in the venue's three-dimensional model and the height of the key seat, the two-dimensional coordinate information of the key seat is transformed to obtain the target two-dimensional coordinates of the key seat.
[0128] Based on the target two-dimensional coordinates of the key seat, determine the target two-dimensional coordinates of other seats within the target seat block, excluding the key seat.
[0129] Optionally, the M seats are divided into X rows, each row containing Y seats, where X and Y are integers greater than 0. Determining the target two-dimensional coordinates of other seats within the target seat block, excluding the key seat, based on the target two-dimensional coordinates of the key seat, includes:
[0130] Based on the seat information of the key seat, the values of X and Y are determined, wherein the key seat is 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, calculate the target two-dimensional coordinates of other seats within the target seat block, excluding the key seat.
[0132] Optionally, the seat information includes the seat number, and the seats in the same row are numbered according to a preset rule. Determining the values of X and Y based on the seat information of the key seats 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 label of the key seat.
[0134] The venue seating location determination device 500 provided in this application embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0135] It should be noted that the division of units in the embodiments of this application is illustrative and only represents one logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated units described above can be implemented in hardware or as software functional units.
[0136] If the integrated unit is implemented as 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 this application, in essence, 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. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0137] like Figure 6 As shown, this application embodiment 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 seating location determination method as described above.
[0138] This application also provides a readable storage medium storing a program. When the program is executed by a processor, it implements the various processes of the above-described venue seating location determination method embodiment and achieves the same technical effect. To avoid repetition, it will not be described again here. The readable storage medium can be any available medium or data storage device that the processor can access, including but not limited to magnetic storage (e.g., floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (e.g., compact disks (CDs), digital video discs (DVDs), Blu-ray discs (BD), high-definition versatile discs (HVD), etc.), and semiconductor storage (e.g., read-only memory (ROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), non-volatile memory (NAND FLASH), solid-state disks (SSDs), etc.).
[0139] This application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the above-described... Figure 1 The various processes of the method embodiments 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 document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0141] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0142] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A method for determining the location of seats in a venue, characterized in that, include: Obtain a 3D model of the venue and seating information. The 3D model of the venue is constructed based on the venue image. The venue has at least one seat. The seating information includes the 2D coordinate information of the seat. Based on the venue's 3D model and the seating information, the 3D coordinate information of the seats is determined; The at least one seat is divided into N rows, where N is a positive integer. Determining the three-dimensional coordinate information of the seat based on the venue's three-dimensional model and the seat information includes: The height of each row of seats in the N rows of seats is obtained based on the three-dimensional model of the venue. The height of the seat is determined based on the row number of the seat and the height of each row of seats. Based on the three-dimensional model of the venue and the height of each row of seats, the two-dimensional coordinate information of the seats is transformed to obtain the target two-dimensional coordinates corresponding to the seats; The three-dimensional coordinate information of the seat is determined based on the target two-dimensional coordinates corresponding to the seat and the height of each row of seats; The step of performing coordinate transformation on the two-dimensional coordinate information of the seats 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 seats includes: The at least one seat is divided into multiple seat blocks, and the target seat block is any one of the multiple seat blocks. The target seat block contains M seats, where M is a positive integer. Determine the two-dimensional coordinate information of the key seats within each target seat block; Obtain the three-dimensional coordinate information of the key seats in the three-dimensional model of the venue; Based on the three-dimensional coordinate information of the key seat in the venue's three-dimensional model and the height of the key seat, the two-dimensional coordinate information of the key seat is transformed to obtain the target two-dimensional coordinates of the key seat. Based on the target two-dimensional coordinates of the key seat, determine the target two-dimensional coordinates of other seats within the target seat block, excluding the key seat.
2. The method according to claim 1, characterized in that, The venue images contain real-time dynamic RTK information, and the acquisition of the venue's 3D model includes: Extract the RTK information from the venue image; Based on the RTK information and the venue images, a reconstruction process is performed to obtain an intermediate model; The intermediate model is subjected to dense mapping to obtain the three-dimensional model of the venue.
3. The method according to claim 1, characterized in that, The M seats are divided into X rows, each row containing Y seats, where X and Y are integers greater than 0. Determining the target two-dimensional coordinates of the other seats within the target seat block, excluding the key seat, based on the target two-dimensional coordinates of the key seat, includes: Based on the seat information of the key seat, the values of X and Y are determined, wherein the key seat is 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, calculate the target two-dimensional coordinates of other seats within the target seat block, excluding the key seat.
4. The method according to claim 3, characterized in that, The seat information includes the seat number, and the seats in the same row are numbered according to a preset rule. Determining the values of X and Y based on the seat information of the key seats 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 label of the key seat.
5. A device for determining the location of seats in a venue, characterized in that, include: The acquisition module is used to acquire the venue's 3D model and seating information. The venue's 3D model is constructed based on the venue's image. The venue has at least one seat. The seating information includes the two-dimensional coordinate information of the seat. The 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; The at least one seat is divided into N rows of seats, where N is a positive integer, and the determining module includes: The acquisition unit is used to acquire the height of each row of seats in the N rows of seats based on the three-dimensional model of the venue. The first determining unit is used to determine the height corresponding to the seat based on the row number of the seat and the height of each row of seats; The coordinate transformation unit is used to perform coordinate transformation on the two-dimensional coordinate information of the seats based on the three-dimensional model of the venue and the height of each row of seats, so as to obtain the target two-dimensional coordinates corresponding to the seats; The second determining unit is used to determine the three-dimensional coordinate information of the seat based on the target two-dimensional coordinates corresponding to the seat and the height of each row of seats; The coordinate transformation unit is used for: The at least one seat is divided into multiple seat blocks, and the target seat block is any one of the multiple seat blocks. The target seat block contains M seats, where M is a positive integer. Determine the two-dimensional coordinate information of the key seats within each target seat block; Obtain the three-dimensional coordinate information of the key seats in the three-dimensional model of the venue; Based on the three-dimensional coordinate information of the key seat in the venue's three-dimensional model and the height of the key seat, the two-dimensional coordinate information of the key seat is transformed to obtain the target two-dimensional coordinates of the key seat. Based on the target two-dimensional coordinates of the key seat, determine the target two-dimensional coordinates of other seats within the target seat block, excluding the key seat.
6. An electronic device, comprising: A memory, a processor, and a program stored in the memory and executable on the processor; characterized in that the processor is configured to read the program in the memory to implement the steps in the venue seating location determination method as described in any one of claims 1 to 4.
7. A readable storage medium for storing a program, characterized in that, When the program is executed by the processor, it implements the steps in the venue seating location determination method as described in any one of claims 1 to 4.
8. A computer program product, characterized in that, Includes computer instructions that, when executed by a processor, implement the steps of the venue seating location determination method as described in any one of claims 1 to 4.
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
