# A Multidimensional Data Collection and Edge Computing Analysis Method
## 3 Overall System Architecture and Improved Target Detection Model
### Public Space Parameter Acquisition and Data Visualization
After identification, the pixel height of the object in the video is about 337 pixels, the actual height is about 2 m, and the actual distance from the camera is about 12 m. It is estimated according to the pedestrian's height of 170 cm, and h is the pixel height of the pedestrian in the picture, which can be retrieved in the picture. The pixel height of the pedestrian recognition frame, and the center coordinates of the recognition frame, the calculation formula of the actual distance of the pedestrian: The symbol ju represents the actual distance of the target from the camera. Then, according to the Pythagorean theorem and trigonometric functions and the same proportion to complete the calculation of other parameters. Formulas such as (15)-(17). \[hen=[x+(w/2)-(width/2)]/[(width/2)\times 7.5+7.5] \tag{15}\]  
\[zongp=math.pow(ju,2)-math.pow(hen,2)-16 \tag{16}\]  
\[zongh=math.sqrt((zongp)) \tag{17}\]  
Among them, hen is the actual distance between the target and the center line, x is the abscissa of the lower-left corner of the target frame, w is the width of the target frame, width is the width of the screen, and 7.5 is the actual width of the scene. In (14), the abscissa of the lower left corner is plus half of the target frame is the abscissa of the center of the target frame, minus half of the screen width is the screen distance (negative number) from the frame to the center line, the ratio of the entire to half the screen width multiplied by the actual width 7.5 is the distance between the target and the actual center (negative number), and finally add half of the actual width 7.5 to the horizontal distance from the actual target to the far left of the scene. In (15), the square of the ordinate of the target in the schematic diagram of zongp, 16 is the square of the actual height of the camera, which is obtained according to the Pythagorean theorem. In (16), the ordinate of the target in the schematic diagram of zongp, 16 is the square of the actual height of the camera, which is obtained according to the Pythagorean theorem. two nodes in the common space are collected, Due to space limitations, we have graphically displayed the parameters collected by the two nodes, as shown in Figure 11.  
The temperature, number of people, and age of the two nodes are fitted nonlinearly, and it should be noted that the age is divided into two categories: adults and children, and it is assumed that \"1\" is the number of children and \"2\" is the number of adults. The temperature fitting function for the two nodes is  
\[y_{T1}=-90.55\times x^{3}+96.96\times x^{2}-16.90\times\sqrt{x}+29.20 \tag{18}\]  
\[y_{T2}=-93.10\times x^{3}+100.14\times x^{2}-17.94\times\sqrt{x}+29.60 \tag{19}\]  
Figure 11: Three-parameter curve for two-node acquisition. (**a**) Temperature data collection for node 1 over a 24 h period; (**b**) Headcount data collection for node 1 over a 24-h period; (**c**) Number of adults and children captured in a 24-h period for node 1; (**d**) Temperature data collection for node 2 over a 24 h period; (**e**) Headcount data collection for node 2 over a 24-h period; (**f**) Number of adults and children captured in a 24-h period for node 2. The number fitting function for the two nodes is  
\[y_{N1}=2.55\times x^{4}-10.32\times x^{3}+11.43\times\sqrt{x}-1.97 \tag{20}\]  
\[y_{N2}=3.82\times x^{4}-11.34\times x^{3}+11.21\times\sqrt{x}-1.91 \tag{21}\]  
The adult fitting function for the two nodes is  
\[hen=[x+(w/2)-(width/2)]/[(width/2)\times 7.5+7.5] \tag{15}\]0  
\[hen=[x+(w/2)-(width/2)]/[(width/2)\times 7.5+7.5] \tag{15}\]1  
The child fit function for the two nodes is  
\[hen=[x+(w/2)-(width/2)]/[(width/2)\times 7.5+7.5] \tag{15}\]2  
\[hen=[x+(w/2)-(width/2)]/[(width/2)\times 7.5+7.5] \tag{15}\]3  
The nonlinear fitting functions of all its nodes are averaged, and finally three universal common space occupancy functions for temperature, number of people, and age can be derived, as shown in (26)-(28).