Railway signal construction personnel safety monitoring and early warning method based on color tracking

Through color tracking-based technology, real-time monitoring of construction site personnel and adjustment of safety thresholds solve the problem of high accident risks at railway signal construction sites and achieve efficient and reliable construction safety management.

CN118607952AInactive Publication Date: 2024-09-06JIANYE DIGITAL MAP (BEIJING) TECH CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202410743406.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-06
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The railway signaling construction site is densely populated with equipment and personnel, and poor management leads to high accident risks. The existing technology has a low degree of informatization and cannot effectively monitor the construction site situation.

Method used

The railway signal construction personnel safety monitoring and early warning method based on color tracking is adopted. By setting the safety threshold at the construction site, the personnel values ​​are obtained in real time and input into the prediction model. Early warning instructions are generated based on the relationship between the operation evaluation value and the safety threshold, and the on-site personnel configuration is adjusted. Ensure construction safety.

Benefits of technology

It improves the safety management capabilities of the construction site, reduces the risk of accidents, improves construction efficiency and project management effectiveness, and provides an efficient and reliable construction safety solution.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118607952A
    Figure CN118607952A
Patent Text Reader

Abstract

The invention belongs to the technical field of railway construction early warning, and particularly discloses a railway signal constructor safety monitoring early warning method based on color tracking, which comprises the following steps: setting a safety threshold value of a construction site, and updating the safety threshold value according to an operation range and weather parameters of the construction site at the current moment; acquiring a first numerical value of the personnel on the construction site in real time, and inputting the first numerical value into a first prediction model to obtain an operation evaluation value of the construction site at the current moment; whether the first value at the current moment is qualified or not is checked according to the appearance color of the construction site, and the size relation between the operation evaluation value and the safety threshold value at each moment is judged; an early warning instruction is generated according to the judgment result and / or the proofreading result, and the construction site adjusts the first numerical value through the early warning instruction and the appearance color; the system has the following advantages that image processing and environment monitoring are combined, the construction safety is monitored in real time, the operation evaluation value is dynamically adjusted, the construction efficiency and safety management are remarkably improved, and the accident risk is effectively reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of railway construction early warning, and in particular to a railway signal construction personnel safety monitoring and early warning method based on color tracking. Background Art

[0002] Railway signal construction is an important part of railway construction, involving the installation, commissioning and maintenance of railway signal equipment. This process needs to follow certain construction procedures and regulations to ensure the normal operation of signal equipment and safe transportation of railways. When construction workers are constructing local railway signals, there are usually a large number of equipment, materials and personnel activities at the construction site. If it is not managed well, various accidents are prone to occur, such as electric shock, falling from heights, and being hit by objects. Usually, they only use walkie-talkies to communicate with each other and alarm dangerous situations. However, this method has defects in the management of construction personnel, and it is impossible to understand the specific situation of the construction site, and the degree of informatization is low.

[0003] Therefore, a railway signal construction personnel safety monitoring and early warning method based on color tracking is proposed to solve the above-mentioned problems. Summary of the invention

[0004] The present invention aims to provide a railway signal construction personnel safety monitoring and early warning method based on color tracking to solve or improve at least one of the above-mentioned technical problems.

[0005] In view of this, a first aspect of the present invention is to provide a railway signal construction personnel safety monitoring and early warning method based on color tracking.

[0006] A second aspect of the present invention is to provide an electronic device.

[0007] A third aspect of the present invention is to provide a computer-readable storage medium.

[0008] The first aspect of the present invention provides a railway signal construction personnel safety monitoring and early warning method based on color tracking, comprising the following steps: setting a safety threshold for a construction site, and updating the safety threshold according to the working scope and weather parameters of the construction site at the current moment; acquiring a first numerical value of the personnel at the construction site in real time, and inputting the first numerical value into a first prediction model to obtain the working evaluation of the construction site at the current moment; checking whether the first numerical value at the current moment is qualified according to the appearance color of the construction site, and judging the relationship between the working evaluation value and the safety threshold at each moment; generating an early warning instruction according to the judgment result and / or the proofreading result, and the construction site adjusts the first numerical value through the early warning instruction and the appearance color.

[0009] In any of the above technical solutions, the safety threshold of each construction site is calculated and updated by a field-side device, and all the field-side devices are connected to a remote device including the first prediction model.

[0010] In any of the above technical solutions, the first prediction model obtains the operation evaluation values ​​of n construction sites through a parallel adaptive algorithm; and in the sub-process of the parallel adaptive algorithm obtaining the operation evaluation value of a single construction site, the first prediction model adapts to the current construction site through a preset adaptation factor.

[0011] In any of the above technical solutions, the step of updating the safety threshold according to the working scope and weather parameters of the construction site at the current moment specifically includes: the field-side equipment uses at least one of the weather parameters and the size and traffic volume of the working scope obtained at the current moment as prediction parameters; obtains the accommodation density of the construction site through all the prediction parameters; updates the accommodation density at the current moment to the safety threshold, and stores it in the field-side equipment.

[0012] In any of the above technical solutions, the field-side equipment includes a second prediction model; the step of obtaining the accommodation density of the construction site through all the prediction parameters specifically includes: constructing an input channel of the second prediction model according to the types of the prediction parameters; converting all the prediction parameters into feature vectors, and determining whether there is an influence relationship between the prediction parameters; calculating and obtaining the covariance between the feature vectors according to the influence relationship, and correcting the feature vector through the covariance; inputting the corrected feature vector into the second prediction model through the input channel to obtain the accommodation density.

[0013] In any of the above technical solutions, the step of obtaining the first numerical value of the personnel at the construction site in real time specifically includes: transmitting the image data of the construction site obtained by the field-side device to the remote device; the remote device identifies the appearance color according to the color characteristics of the image data; and calculates the first numerical value of the personnel according to the appearance color.

[0014] In any of the above technical solutions, the step of proofreading whether the first value is qualified specifically includes: identifying the type of the appearance color, and dividing the first identification color that can characterize the construction workers among the personnel; traversing the pixel points that meet the first identification color in the image data, and obtaining the closed contour area containing the pixel points; proofreading whether the first value is equal to the second value of the closed contour area, if so, the first value is qualified.

[0015] In any of the above technical solutions, the railway signal construction personnel safety monitoring and early warning method also includes: before obtaining the work evaluation value at each moment, correcting the remote device when identifying the appearance color through the first identification color; before adjusting the first numerical value, lowering the priority of the construction personnel through the first identification color.

[0016] In any of the above technical solutions, the first numerical value is input into the first prediction model to obtain the work evaluation value of the construction site at the current moment, wherein the type of the appearance color is identified, and a second identification color that can characterize the weather parameters is divided; the proportion of pixel points that meet the second identification color in the image data is calculated; and the adaptation factor in each sub-process of obtaining the work evaluation is corrected by the proportion.

[0017] In any of the above technical solutions, the field-end device sends the security threshold and the image data corresponding to each moment to the remote device.

[0018] A second aspect of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0019] A third aspect of the present invention provides a computer-readable storage medium storing a computer program, which implements the steps of the above method when executed by a processor.

[0020] Compared with the prior art, the present invention has the following beneficial effects:

[0021] By combining modern image processing technology and environmental monitoring, the safety management capabilities of construction sites have been greatly enhanced. By analyzing image data and environmental parameters in real time, it is possible to accurately monitor and identify workers wearing safety vests of specific colors, and timely detect and evaluate safety risks in construction areas. In addition, the system can dynamically adjust job evaluations based on real-time data to ensure that construction operations are always carried out within safety thresholds. It not only improves the safety of construction sites and reduces potential accident risks, but also improves construction efficiency and the effectiveness of project management. Overall, it provides an efficient, reliable and easy-to-implement solution for railway construction safety, which is particularly suitable for dealing with complex and high-risk construction environments.

[0022] Additional aspects and advantages of embodiments according to the present invention will become apparent in the following description or may be learned through practice of embodiments according to the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0024] Figure 1 is a flow chart of the method steps of the present invention;

[0025] Figure 2 is a calculation flow chart of the first prediction model of the present invention under the parallel adaptive algorithm;

[0026] Figure 3 It is a structural logic block diagram of the field-end device and the remote device of the present invention;

[0027] Figure 4 The figure is a schematic diagram of the structure of an electronic device of the present invention. DETAILED DESCRIPTION

[0028] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0029] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0030] See also Figure 1-Figure 4 , the following describes a railway signal construction personnel safety monitoring and early warning method based on color tracking according to some embodiments of the present invention.

[0031] The embodiment of the first aspect of the present invention proposes a railway signal construction personnel safety monitoring and early warning method based on color tracking. In some embodiments of the present invention, such as Figure 1-Figure 4 As shown, the method includes:

[0032] S101, setting a safety threshold of the construction site, and updating the safety threshold that can be viewed locally by construction workers at the construction site according to the current working range and weather parameters of the construction site. The safety threshold can be used to determine whether the construction site can accommodate the number of people at the current moment.

[0033] Here, the real-time location of construction equipment and personnel is tracked through GPS and geographic information systems (GIS) to determine the current scope of operations. Integrate weather stations or online weather services to obtain real-time weather data such as temperature, humidity, wind speed, etc. Use RFID or Wi-Fi positioning systems to monitor the distribution of personnel on the construction site. Based on the collected data (scope of operations, weather conditions, and existing personnel distribution), the current safety threshold is calculated through a preset safety algorithm. Safety thresholds may include personnel density restrictions, entry restrictions to specific areas, or specific operating restrictions based on environmental conditions. When real-time data indicates that the number of personnel in a certain area exceeds the safety threshold, the system automatically issues an alarm. Notify managers and workers at the construction site through mobile devices or wearable devices. Provide a visual interface of real-time data and safety thresholds for site managers and workers to view. Generate regular safety reports to help further analyze and optimize construction safety management.

[0034] As mentioned above, the integrated sensor and tracking system collects data about the construction site in real time, including the location information of the environment, personnel and equipment. This data is transmitted to the central processing system in real time. The safety threshold calculation model is set based on historical data and safety standards (such as OSHA regulations or industry best practices). Combined with real-time monitoring data, the model dynamically adjusts the safety threshold to reflect the actual impact of the current scope of work and environmental conditions. If any monitored parameter exceeds the safety threshold, the system will automatically trigger an alarm. The alarm is communicated to relevant personnel through different channels (such as sound, light signals, text messages or application notifications). The feedback provided by the system can be used to immediately adjust on-site operations, such as reallocating personnel or suspending certain high-risk activities. This rapid response mechanism helps avoid accidents and improve work efficiency.

[0035] In any of the above embodiments, the safety threshold of each construction site is calculated and updated by a local field device, and all field devices are connected to the remote device including the first prediction model, so as to avoid the centralized monitoring burden on the railway national control network and increase the local robustness.

[0036] In this embodiment, each construction site is equipped with a field-side device responsible for collecting local data, such as personnel location, environmental sensor data (temperature, humidity, wind speed, etc.), and real-time information of the work area. The field-side device uses an embedded algorithm to calculate safety thresholds based on real-time data, such as personnel density, environmental safety parameters, etc., to ensure immediate response to local changes. Data synchronization: All field-side devices regularly synchronize data to a remote device containing a first prediction model for more in-depth analysis and long-term trend prediction. The remote device uses a more complex machine learning model to analyze the collected data, provide predictions of future safety trends, and assist in decision support. The field-side device directly controls the local alarm system based on the safety threshold calculated in real time, and immediately triggers an alarm if the safety threshold is exceeded. The remote device analyzes the received data and sends warning information back to the relevant field-side devices and the management center if an abnormal trend is detected or a potential risk is predicted.

[0037] Field devices use built-in sensors and accessed data channels to collect a variety of real-time data. These devices process data directly on the device according to predetermined logic and safety rules, and respond quickly to local events without waiting for instructions from the central server. Field devices regularly upload the collected data to the remote server, usually through a secure cloud connection. The remote device uses advanced data analysis and machine learning models to conduct in-depth analysis of the data to predict potential risks and problems. The distributed architecture of the system allows most safety decisions to be made locally, relying only on remote devices in complex or centralized analysis situations. It reduces the burden on the central network and improves the ability of each construction site to handle emergencies. Through local processing and response, the system can continue to operate when the network connection is interrupted or the remote server is unavailable. It increases the reliability and robustness of the system and ensures that the construction site always operates within the safety threshold.

[0038] In any of the above embodiments, the first prediction model obtains the operation evaluation of n construction sites through a parallel adaptive algorithm. The parallel adaptive algorithm can simultaneously perform real-time measurement and monitoring of multiple construction sites in operation across the country. The operation evaluation calculated remotely can enable the remote device to obtain the theoretical number of people that can be accommodated at all construction sites.

[0039] In the sub-process of obtaining the work evaluation of a single construction site by the parallel adaptive algorithm, the first prediction model adapts to the current construction site through the preset adaptation factor. The weather affected by the environment in various regions of the country throughout the year is used as the construction site adaptation for each region, so that the first prediction model does not need to be pre-trained for all regions, which speeds up the calculation speed and preparation time, and also increases the scope of adaptation areas.

[0040] In this embodiment, a parallel adaptive algorithm is used to process data from multiple construction sites in real time. The algorithm analyzes the safety status, personnel density, environmental factors (such as weather conditions), and scope of work at the site. The theoretical capacity of each construction site is calculated based on the job evaluation and predetermined safety standards. This helps project managers adjust staffing to ensure that the maximum safety capacity is not exceeded. The remote device centrally receives and processes data from all construction sites, allowing managers to monitor and make decisions across regions. A unified view is provided to show the current status and safety assessment of all construction sites.

[0041] The parallel adaptive algorithm running on the remote server receives and processes multiple data streams simultaneously. Each data stream corresponds to real-time data from a construction site. The algorithm dynamically adjusts its parameters or decision logic based on the real-time data to optimize the response to construction safety. This adaptive capability is achieved through machine learning technology, and the algorithm optimizes itself based on historical data and immediate feedback. Model input: Input data includes but is not limited to personnel location information, environmental sensor data (temperature, wind speed, etc.), work progress, and historical accident records. Based on these inputs, the algorithm calculates the work rating, which reflects the combined impact of various factors. Then, combined with the preset safety specifications and thresholds, the algorithm calculates the theoretical capacity for each site. Update frequency: The system updates the work rating and capacity regularly or as needed to ensure that all information is up to date. If the actual number of people at a site exceeds the calculated safety capacity, the system automatically issues an alarm and notifies the site manager to take action. Visual dashboard: The remote device provides a visual interface that displays real-time data and safety ratings for all construction sites. The system can generate detailed safety reports and analysis for further review and compliance checks.

[0042] Model parameters are automatically adjusted to suit the unique environmental and climatic conditions of different regions using preset adaptation factors. Adaptation factors are dynamically adjusted based on historical climate data and current climate conditions to ensure that model predictions reflect the impact of the actual environment. After data from a single construction site is input, the model quickly calculates a job evaluation that takes into account current climate conditions, seasonal changes, and regional characteristics. This evaluation helps to reflect the safety status of the construction site in real time so that construction plans or staffing can be adjusted in a timely manner. By using adaptation factors, the model can easily adapt to different climate and environmental conditions across the country without the need for detailed pre-training for each region. This allows the model to maintain accuracy and reliability in diverse construction environments.

[0043] Each construction site uploads environmental data (such as temperature, humidity, wind speed, etc.) and other construction-related information (such as personnel density, equipment use, etc.) in real time through sensors and data collection devices. Data preprocessing includes cleaning, normalization, and adjusting the adaptation factor by region. The adaptation factor is pre-set based on a large amount of historical climate data and construction safety records. It can adjust the weights and parameters of the model according to the environmental characteristics of different regions. When the model receives real-time data, the adaptation factor dynamically adjusts the model's response based on the current environmental conditions to ensure that the prediction is consistent with the local actual situation. On a remote server or cloud platform, the model processes data streams from various construction sites across the country in parallel. The data from each construction site is processed by an independent sub-process, and the adaptation factor is used internally by the sub-process to adjust the model parameters to achieve fast and accurate job evaluation. Based on the model output, the job evaluation of the construction site is updated in real time, and an early warning is issued when necessary to notify the site management staff to make corresponding adjustments. The model can also further optimize the adaptation factor based on the feedback received to improve the accuracy and response speed of future predictions.

[0044] Furthermore, the preset adaptation factors are pre-calculations of the climate environment in different regions of the country in different seasons, and are compiled into accessible tables for regular maintenance and updates, so that the approximate environment of construction sites in various regions of the country can be grasped without a large amount of pre-training of the model.

[0045] As can be seen from the above, based on historical climate data, seasonal changes and related environmental influencing factors, adaptation factors are created for different seasons in various regions across the country. The adaptation factors are stored in a table, and each region and season combination has a corresponding adaptation value, which reflects the potential impact of expected environmental conditions on construction safety. When it is necessary to calculate the construction site operation evaluation in a certain area, the system automatically extracts the corresponding adaptation factor based on the current region and season. These factors are used directly to adjust the input parameters of the model to ensure that the output operation evaluation reflects the actual safety conditions in a specific environment. The adaptation factor table will be updated regularly based on new climate data and environmental research to maintain its accuracy and relevance. The update process can be automatic or new insights and data from experts can be manually entered.

[0046] In the initial stage, collect historical climate data nationwide, including temperature, rainfall, humidity, wind speed, etc. These data can be obtained from the Meteorological Bureau or other environmental monitoring agencies. Combined with historical data on construction accidents, analyze the impact of different climate conditions on construction safety to determine the adaptation factor. When the model is running, determine the corresponding seasonal and regional adaptation factors based on the current date and region. As part of the model input, the adaptation factor adjusts or weights other environmental and construction-related parameters to adapt to the actual local environment. The model dynamically adjusts its prediction logic and parameters based on the input adaptation factor, and calculates the job evaluation value that adapts to the current environment in real time. This allows the prediction results to take into account both general construction risk factors and environmental risks unique to specific regions. The system regularly receives new climate data and construction safety records, and automatically or manually updates the adaptation factor table. This process ensures that the model always uses the latest and most accurate data to adapt to changes in the environment.

[0047] Furthermore, the first prediction model uses the following formula to calculate the job evaluation value S:

[0048]

[0049] Among them, log (A+1) represents the logarithmic transformation of the operating area A, and the addition of one is to deal with the case where A = 0. C is the adjustment coefficient related to traffic volume, which is the same as before. is a Gaussian distribution function based on wind speed V, where σ is the preset standard deviation of wind speed, so that the impact of wind speed on safety can be considered. W is the weight factor of weather parameters. By calculating the Euclidean distance between temperature T and the influence coefficient of human density P, a metric that comprehensively considers the influence of both is given. D is an adjustment factor based on humidity, the same as before.

[0050] As can be seen from the above, the logarithmic transformation log (A+1) Logarithmic transformation of the operating range area helps smooth out extremely large or small area values, making the model less sensitive to area size. Gaussian distribution function: This form takes into account the impact of wind speed. When the wind speed is high, the construction safety risk increases. Using the Gaussian function can ensure that the impact of wind speed conforms to the normal distribution. This can more accurately simulate the actual impact of wind speed on safety. This term provides a measure that takes into account the compound effects of both temperature and occupancy density, helping to adjust safety thresholds in extreme temperature or high density conditions. The weather weights and adjustment factors W and D retain their basic role, adjusting the overall formula for weather effects and additional environmental adjustments, respectively.

[0051] Specifically, the steps of updating the safety threshold according to the operation scope and weather parameters of the construction site at the current moment include:

[0052] The field equipment uses at least one weather parameter obtained at the current moment and the size and traffic volume of the operating range as prediction parameters.

[0053] The accommodation density of the construction site is obtained through all prediction parameters.

[0054] The current capacity density is updated to the safety threshold and stored in the field device.

[0055] For the above specific description, the field-side equipment continuously monitors and obtains the environmental parameters at the current moment, including at least one weather parameter (such as temperature, humidity, wind speed, etc.). At the same time, the equipment also records the size of the operating range and related traffic data, that is, the spatial size of the construction area and the flow of people and vehicles in the area. Using all the collected prediction parameters, the field-side equipment calculates the current capacity density of the construction site. This calculation takes into account factors such as weather conditions, working space and activity intensity to determine the maximum number of people and equipment that can be safely accommodated. Based on the calculation results of the capacity density, the system automatically updates the safety threshold of the construction site. This threshold defines the maximum safe capacity of the construction site under the current environment and operating conditions. The updated safety threshold is stored in the field-side equipment for real-time safety monitoring and management.

[0056] In summary, the field equipment is equipped with sensors and data acquisition modules that can capture and process environmental and operation-related data in real time. The equipment uses a preset algorithm or model to calculate the current accommodation density based on the input weather parameters and operation range data. Based on the calculated accommodation density, the field equipment dynamically adjusts the safety threshold. This process takes into account the latest environmental impacts and the actual use of the operation area to ensure that the threshold always reflects the current safety needs. The adjustment algorithm may range from a simple linear model to a complex machine learning algorithm, depending on the required accuracy and response speed. Once the safety threshold is updated, the field equipment immediately feeds back to the site management system. If the current number of personnel or equipment exceeds the new safety threshold, the system will automatically issue a warning and take necessary safety measures, such as limiting the number of people entering or suspending some operations. This real-time update and feedback mechanism enhances the emergency response capability and overall safety management of the site. The updated safety threshold and related data are stored in the field equipment and can be used for post-analysis and long-term trend monitoring. Historical data analysis helps to optimize the setting of future safety thresholds, improve the accuracy of predictions and the adaptability of the system.

[0057] Furthermore, weather parameters include current light intensity and humidity to take into account the current visibility of the construction site and the slippery surface of the ground and surrounding objects, so as to deepen the danger level at the construction site and use the danger level as the site area required for each person to work at the construction site.

[0058] As can be seen from the above, the current illuminance and humidity are monitored in real time through sensors installed at the construction site. Illuminance sensors measure the intensity of sunlight or the lighting level of artificial light sources, while humidity sensors detect the water vapor content in the air. The collected illuminance and humidity data are combined with other relevant weather parameters (such as temperature, wind speed, etc.) to calculate the degree of danger of the current environment. High humidity may cause the ground and object surfaces to be slippery, and low illuminance reduces the clarity of vision, both of which increase the risk of accidents. According to the calculated degree of danger, the minimum safe working area required for each worker is dynamically adjusted. In poor environmental conditions (such as working at night or on rainy days), it may be necessary to increase the personal working area to ensure safety. The system updates the data of the safe working area in real time, and automatically issues an alarm and notifies the construction site management personnel to make corresponding adjustments when any situation that exceeds the safety standard is found.

[0059] Field equipment includes illuminance and humidity sensors that continuously collect data, which is transmitted to the central processing system. The processing system uses predefined formulas or models, combined with real-time and historical data, to assess the current level of danger. Based on the level of danger, the algorithm calculates the safe working area required for each worker. This algorithm may include complex operations such as logarithms or variances to ensure that the nonlinear effects of environmental parameters are taken into account. The calculation of the safe area takes into account the relative positions of individuals and the types of work that may be performed, ensuring that sufficient space is provided in unsafe environmental conditions to avoid accidents. The system monitors the status of the construction site in real time and displays safety information to managers through a graphical user interface. Any situation that exceeds the threshold will immediately trigger the alarm system, and the system can take automatic or manual measures, such as adjusting staffing or suspending operations.

[0060] Specifically, the site equipment includes a second prediction model, which calculates the number of people that can be accommodated on site based on the real-time updated weather report and in combination with the size of the work area and the number of vehicles passing through per unit time; the steps of obtaining the accommodation density of the construction site through all prediction parameters include:

[0061] The input channels of the second prediction model are constructed according to the types of prediction parameters. Each input channel is responsible for the input of one prediction parameter to the second prediction model.

[0062] All prediction parameters are converted into feature vectors, and it is determined whether there is an influence relationship between the prediction parameters.

[0063] The covariance between the eigenvectors is obtained according to the influence relationship calculation, and the eigenvectors are corrected by the covariance.

[0064] The modified feature vector is input into the second prediction model through the input channel to obtain the accommodation density.

[0065] For the above specific description, the second prediction model design includes multiple input channels, each channel specializing in processing one type of prediction parameter, such as weather conditions, the size of the area of ​​the work range, and the traffic volume per unit time. This multi-channel input design allows the model to process various data in parallel and improve processing efficiency. All prediction parameters are converted into feature vectors for computer processing. Feature vectorization is the conversion of raw data into a mathematical representation that the model can understand and process. The potential influence relationship between different prediction parameters is analyzed, such as how weather conditions affect traffic volume, or how traffic volume affects the number of people safely accommodated. The covariance between different feature vectors is calculated to identify and quantify the statistical relationship between them. The feature vector is adjusted according to the covariance result. This correction helps the model better understand the interdependence between the various features, thereby improving the accuracy of the prediction. The corrected feature vector is input into the model for processing, and the model calculates the accommodation density of the construction site based on these data. The output accommodation density directly affects the staffing and safety management measures of the construction site.

[0066] In summary, the system uses a multi-channel architecture to independently process various data sources, and each data channel optimizes the processing algorithm for a specific type of data. This architecture ensures efficient data processing, and each type of data is converted into a corresponding feature vector in a timely and accurate manner. The prediction parameters are converted into feature vectors through feature engineering, which includes standardization, normalization, and other necessary mathematical transformations. Statistical methods are used to analyze the covariance between feature vectors. Covariance analysis helps reveal the interactions and dependencies between different data features. The feature vectors are adjusted based on the covariance results. The correction process may include weight adjustment, feature fusion, or other mathematical operations to ensure that the feature vectors input to the model accurately reflect the complex interactions of the real world. The corrected feature vectors are input into the second prediction model, which may be a regression model based on machine learning or a more complex neural network. The model outputs the accommodation density of the construction site, which is directly used to guide the safety management and personnel deployment of the construction site.

[0067] Furthermore, the second prediction model uses the following formula to calculate the safety threshold V:

[0068]

[0069] Among them, f i (x i) is the conversion function of the i-th feature, which can be linear or nonlinear, used to enhance the expressiveness of the model. i is the weight associated with the ith feature. g(H) is a conditioning function on humidity, such as a logistic response function. Θ is the covariance.

[0070] After the first values ​​of the passing vehicles, the size of the working area and the number of personnel, the second prediction model is formed into the following formula:

[0071]

[0072] Among them, x1 represents the ambient humidity ratio. x2 represents the traffic volume, which may be expressed as the number of traffic times or the number of vehicles passing through. x3 represents the size of the operating range. where k and H0 are parameters that adjust for the effect of humidity. Used to process humidity ratio and increase the nonlinearity of processing. f2(x2)=x2 2 Used to handle traffic volume to deal with the nonlinear effects of possible high traffic volume. It is used to deal with the size of the working area and highlight the potential impact of area size on safety.

[0073] By incorporating specific construction site variables (such as traffic volume and operating area) directly into the calculation, the safety status of the construction site can be more accurately assessed, allowing managers to make more accurate safety and operational decisions based on dynamic data of the actual working environment. Such a model is not only highly adaptable in theory.

[0074] S102, obtaining a first numerical value of personnel at the construction site in real time, and inputting the first numerical value into a first prediction model to obtain an operation evaluation value of the construction site at the current moment.

[0075] Here, the number of personnel (first value) at the construction site is monitored in real time through field equipment. These devices may include personnel positioning systems, video surveillance systems or other sensors that can accurately count the staff on site. The collected first value is input into the first prediction model in real time. This value is the key input for the model to calculate and directly affects the job evaluation output by the model. The first prediction model calculates the job evaluation at the current moment based on the input first value and other relevant parameters (such as weather conditions, operating scope, equipment use, etc.). This evaluation reflects the safety status and operating efficiency of the construction site. The calculated job evaluation is used to evaluate and adjust construction plans, personnel arrangements and safety measures to ensure efficient and safe operation of the construction site.

[0076] As can be seen from the above, the field equipment continuously collects personnel data from the construction site and transmits it to the data processing center or directly to the local processing equipment in real time through the network. Data transmission guarantees low latency and high reliability to ensure the timeliness and accuracy of the input data. The first prediction model has built-in advanced data analysis algorithms, which may include statistical analysis, machine learning or deep learning technology. The model performs a comprehensive analysis based on the number of personnel and other environmental factors input in real time. The design of the model enables it to respond quickly to input changes and update the job evaluation in real time. The calculated job evaluation can be displayed in real time through a visual dashboard for on-site managers or remote monitoring centers to view. Depending on the level of the evaluation, the management team can take measures to adjust staffing, suspend high-risk activities or optimize the operation process to enhance safety and improve work efficiency. The system collects the actual application effect of the job evaluation and the field feedback for continuous optimization and adjustment of the model. Through continuous iteration, the model gradually improves the accuracy of prediction and the ability to cope with complex scenarios.

[0077] Specifically, the step of obtaining the first numerical value of the personnel at the construction site in real time includes:

[0078] The image data of the construction site acquired by the field equipment is transmitted to the remote equipment.

[0079] The remote device recognizes the appearance color based on the color characteristics of the image data.

[0080] A first value of a person is calculated based on the appearance color.

[0081] For the above specific description, the field equipment (such as CCTV cameras or dedicated image acquisition equipment) continuously captures real-time images of the construction site. The equipment is configured to transmit image data to a remote processing center or server periodically or continuously. After receiving the image data, the remote device uses an image processing algorithm to identify color features in the image. This usually includes converting the image into a color space (such as from RGB to HSV) to more effectively identify colors. Based on the predetermined appearance color (such as a specific color of hard hats or work clothes), the algorithm filters out objects in the image that meet the color standards. Using image recognition technology, such as object detection or segmentation technology, the number of people wearing work clothes of a specific color is calculated, that is, the first numerical value of the people.

[0082] In summary, the images collected by the field equipment are sent to the remote server in real time through the network. To ensure the speed and reliability of data transmission, a high-speed network connection may be used. The transmitted images can be full-resolution images or compressed or reduced-resolution images for transmission efficiency. The remote server uses an efficient image processing library (such as OpenCV) for image analysis. Color recognition usually involves converting the image from its original color space to a color space more suitable for color analysis (such as HSV). Set a color threshold so that the algorithm can accurately identify objects of a specific color from the image. Apply image recognition technology, such as deep learning-based object detection (using models such as YOLO, SSD, or Faster R-CNN) to locate and identify people wearing clothing of specified colors. Count each object detected that meets the color standard, and count the total number as the first value of the person. The calculated number of people (first value) is used for further safety assessment and personnel management decisions, such as adjusting the field operation configuration or issuing safety warnings. This data can be fed back to the site management system in real time, allowing the site manager to make immediate safety adjustments based on the density of people.

[0083] In any of the above embodiments, the railway signal construction personnel safety monitoring and early warning method further includes:

[0084] Before obtaining the job evaluation at each moment, the image recognition algorithm of the remote device is corrected when recognizing the appearance color through the first identification color.

[0085] Before adjusting the first value, the priority of the construction personnel is lowered by the first identification color, so that when the first value of the adjustment personnel is lowered, the number of construction personnel can be reserved as much as possible from the program.

[0086] In this embodiment, before performing conventional image recognition, the system first uses a preset first identification color to calibrate the algorithm. This correction is intended to adjust the algorithm's color recognition parameters to accurately match the actual lighting and environmental conditions of the construction site. The first identification color is usually the color of construction workers' clothing, hard hats, or other safety equipment, which are designed with high visibility and recognition in mind. By testing these colors under various lighting and background conditions, the calibration data for color recognition in the image recognition system is pre-set. After the image recognition algorithm is corrected, the system uses the corrected algorithm to identify people wearing clothing in the identification color at the construction site in real time. Based on the recognition results and other relevant parameters (such as personnel location, work area size, etc.), the job evaluation of the construction site is calculated.

[0087] The image recognition algorithm developed using machine learning or deep learning technology first receives real-time images from the field equipment. Before the recognition process begins, the algorithm performs color correction based on the first identification color. This may involve dynamically adjusting the algorithm's color threshold or using a machine learning model to automatically adapt to different lighting and background conditions. Through experiments and field test data, the system developer may have created a color correction database that contains data on the changes in the first identification color under different lighting and environmental conditions. When the system receives new image data, it will refer to this database for instant color calibration to ensure high accuracy of color recognition. The corrected image recognition algorithm can more accurately identify people wearing safety clothing of specified colors, thereby improving the accuracy of people counting. People count and its distribution are important parameters for calculating job evaluation. The algorithm evaluates the safety level of the construction site based on this data and generates a real-time job evaluation. The system continuously collects operational data and user feedback to further optimize the image recognition algorithm and color correction process. This continuous optimization process ensures that the system can adapt to the ever-changing construction environment and conditions and continue to provide accurate and reliable safety assessments.

[0088] The system uses image recognition technology to identify construction workers wearing clothing with the first identification color. This color is usually used to mark key personnel or staff with special duties, such as safety supervisors, emergency response teams, etc. When it is necessary to adjust the number of personnel on site, the system first reduces the priority of those who are not wearing clothing with the first identification color, so that these personnel are given priority when reducing personnel. In this way, the system ensures that key construction personnel wearing the first identification color are retained to ensure key operations and safety at the construction site. Based on real-time job requirements and safety assessments, the system dynamically adjusts the staffing of the construction site to achieve optimal utilization of human resources.

[0089] The on-site device captures real-time images of the construction site and transmits them to the remote device. The remote device uses image recognition technology, especially color recognition algorithms, to identify construction workers wearing the first identification color. Once the construction workers wearing the first identification color are identified, the system marks them as high priority for retention. If the total number of on-site personnel needs to be reduced due to safety needs or other reasons, the system will first consider reducing the number of other personnel who are not marked as high priority. The system calculates the optimal number of personnel required to be on site based on the current job evaluation and safety standards. When adjusting staffing, the system uses preset logic and rules to ensure that personnel in key positions and responsibilities are not reduced first. The system continuously monitors the effect of adjusted staffing and collects feedback for optimizing staffing algorithms. Through this dynamic adjustment and optimization, the system can adapt to the ever-changing construction environment and needs while ensuring construction efficiency and safety.

[0090] In any of the above embodiments, the first value is input into the first prediction model to obtain the operation evaluation of the construction site at the current moment, which includes:

[0091] Identify the type of appearance color and classify a second identification color that can represent weather parameters; the second identification color is the color that distinguishes the surface of the wet ground from the surroundings in the image.

[0092] The proportion of pixels matching the second identification color in the image data is calculated to obtain the current proportion of slippery ground at the construction site.

[0093] The adaptation factor in each sub-process that obtains the work evaluation is modified by the proportion. If the proportion is high, the site area occupied by each person's work is increased and used as the work evaluation, and vice versa.

[0094] In this embodiment, the system uses image recognition technology to identify a second identification color that can characterize weather parameters, especially the slippery ground conditions. For example, after rain, some ground areas may show specific colors due to the wetness of cement or soil. The system calculates the proportion of pixels in the image that match the second identification color to the total pixels, and this proportion reflects the extent to which the ground is slippery at the construction site. According to the proportion of slippery ground, the system automatically corrects the adaptation factor used to calculate the job evaluation. If the proportion of slippery areas is high, it means that the construction site needs a larger personal working area to ensure safety; if the proportion is low, the personal working area can be maintained or reduced. The correction of the adaptation factor directly affects the safe working area of ​​each construction worker, and then determines the job evaluation. A high job evaluation means that more space and possible job restrictions are needed to ensure safety.

[0095] The site camera captures real-time images of the construction site, and these image data are transmitted to the processing center. The image data is analyzed by image processing algorithms to identify specific color features - the second identification color. Image analysis techniques, such as color segmentation or pixel-level classification, are used to determine the coverage of the second identification color in the image. The proportion of pixels of these colors in the entire image is calculated to assess the slipperiness of the ground. Based on the slippery proportion, the adaptation factor used to calculate the work evaluation is dynamically adjusted. For example, linear proportional adjustment or rule-based logic is used to increase or decrease the work area requirements. The adjustment of the adaptation factor is reflected in the final work evaluation, which guides the staffing and safety measures of the construction site. High work evaluation triggers safety alarms and increased monitoring and preventive measures at the construction site, such as arranging more safety patrols or restricting access to certain areas. The system provides real-time updates to construction managers through the interface to ensure that immediate measures are taken to address potential safety risks.

[0096] S103, checking whether the first value at the current moment is qualified according to the appearance color of the construction site, and judging the relationship between the operation evaluation value and the safety threshold at each moment.

[0097] Here, the system uses image recognition technology to identify specific appearance colors in the construction site, such as the color of safety clothing, to confirm whether the personnel on site are wearing the correct safety equipment. Proofread the color to verify the compliance of on-site personnel and ensure that all personnel are wearing appropriate safety equipment. Based on the number of identified appearance colors (the number of people wearing prescribed safety clothing), the system evaluates whether the first value at the current moment meets the preset safety requirements. If the actual number of people wearing safety clothing is lower than the safety requirements, the system will mark the value as unqualified. The system calculates the current job evaluation, which takes into account personnel density, machinery use, environmental factors, etc. The job evaluation is compared with the preset safety threshold to determine whether it exceeds the safe operating range.

[0098] As can be seen from the above, the field equipment continuously collects real-time images of the construction site and transmits the image data to the remote server. The remote server uses image processing algorithms to identify the specified appearance color in the image and confirm whether the personnel are wearing the required safety equipment. Based on the recognition results of the appearance color, the system automatically calculates the number of personnel who are wearing safety clothing in compliance with the regulations and compares it with the preset safety standards. If the recognition results show that the number of compliant personnel is lower than the safety requirements, the system issues a safety warning and prompts the management personnel to take action. The calculation of the job evaluation is based on multiple parameters, including but not limited to the number of personnel, machinery usage, environmental conditions, etc. The system calculates the job evaluation using a predefined formula or model and compares it with the safety threshold. If the job evaluation exceeds the safety threshold, the system immediately notifies the person in charge of the construction site and provides necessary safety suggestions, such as reducing the number of on-site personnel and suspending high-risk activities. The system records all safety events and operational adjustments for future analysis and continuous improvement.

[0099] Specifically, the step of checking whether the first value is qualified includes:

[0100] Identify the type of appearance color and classify the first identification color that can characterize the construction workers among the personnel.

[0101] Pixels matching the first identification color are traversed in the image data, and a closed contour region including the pixels is obtained.

[0102] Check whether the first value is equal to the second value of the closed contour area. If so, the first value is qualified.

[0103] For the above specific description, the system uses image recognition technology to identify the first identification color that can represent the construction workers, usually the color of the safety helmet or safety clothing. This recognition process involves a color recognition algorithm that can distinguish different colors and identify specific colors, such as bright orange or yellow. The system traverses all pixels that match the first identification color in the image data. Using image processing techniques, such as edge detection and contour tracking algorithms, obtain closed contour areas containing these pixels, each of which represents a person wearing clothing in the identification color. Proofread the number of personnel (comparison of the first value and the second value): Calculate the number of closed contour areas (second value) and compare it with the number of personnel who should be present (first value) recorded by the system. If the first value is equal to the second value, it means that all personnel on the site are wearing the required safety equipment and the first value is qualified.

[0104] In summary, the site camera captures real-time images of the construction site, which are first preprocessed, including color correction and clarity enhancement, to optimize the subsequent image recognition process. Apply color recognition algorithms, such as threshold segmentation based on the HSV color space, to identify the first identification color in the image. Perform pixel traversal, and the system identifies all areas that meet the specific color through image segmentation technology. Use image processing algorithms, such as Canny edge detection or Sobel operator, to determine the edges in the image, and then apply methods such as findContours in OpenCV to extract closed contours. Each closed contour represents an individual wearing the prescribed safety equipment. Count the number of closed contours and compare this number with the number of people preset by the system or entered by the site management system. After the comparison is completed, the system can automatically send a qualified or unqualified signal. If the number of people does not match, the system can also prompt the safety management personnel to make further inspections or adjustments.

[0105] S104, generating a warning instruction according to the judgment result and / or the proofreading result, and the construction site adjusts the first value according to the warning instruction and the appearance color.

[0106] Here, if the image analysis results show that the first value (actual number of people) of on-site personnel does not meet the expected safety standards, the system will automatically generate an early warning instruction. Early warning instructions may include notifications of personnel increase or decrease, safety warnings, or emergency evacuation instructions, etc. Based on the early warning instructions, the on-site management team may need to adjust the appearance color configuration of the staff to ensure that all personnel are wearing identification clothing that complies with safety regulations. This may involve issuing new safety clothing or other identification equipment to staff who are not properly equipped. Based on the early warning instructions and the results of the appearance color adjustment, the system recalculates and adjusts the first value to ensure that it reflects the current number of people who meet safety standards. This helps to maintain the safety thresholds and work evaluations of the construction site within an acceptable range.

[0107] As can be seen from the above, the real-time captured image data is analyzed to identify the staff wearing the designated safety equipment. This process is achieved through color recognition and closed contour detection technology. The system determines whether the actual number of people on site matches the safe number of people who should be on site, and checks whether all personnel are wearing the correct safety equipment. If there is any non-compliance with the standards, the system automatically generates an early warning instruction and immediately notifies the site manager or safety officer through the communication system of the construction site (such as an alarm, radio, or smart device APP). The specific content of the instruction depends on the severity and nature of the non-compliance with the standards, such as immediate evacuation or replenishment of necessary safety equipment. Based on the early warning instruction, the site management team performs necessary adjustments, such as reconfiguring safety equipment or adjusting site personnel. Re-evaluate the adjusted staffing configuration, and update the first value in the system to reflect the new number of compliant personnel on site. The system continuously monitors the construction site conditions and the compliance status of personnel, ensures that all adjustment measures are implemented, and updates relevant safety data in real time. Through this dynamic monitoring and adjustment, the system can continuously provide accurate job evaluation and safety management, ensure that the construction site is always under control, and avoid potential safety risks.

[0108] In any of the above embodiments, the field device sends the corresponding safety threshold and image data at each moment to the remote device. The safety threshold sent to the remote device can be compared with the calculated operation evaluation value, and the field device retains the safety threshold that can be used as an emergency judgment.

[0109] In this embodiment, the field-side device captures image data in real time and calculates the safety threshold at the corresponding moment according to the current construction conditions. This information is sent to the remote device at the same time for further analysis and decision support. After receiving the image data and the safety threshold, the remote device first calculates the job evaluation using image recognition technology. The calculated job evaluation is then compared with the received safety threshold to evaluate the safety status of the current construction site. A copy of the safety threshold is retained on the field-side device for rapid judgment and response in local emergencies. This enables the field-side device to perform basic safety control and management when the remote device is unreachable or data transmission is delayed.

[0110] The field equipment includes an image acquisition system and a safety threshold calculation unit. The image acquisition system continuously monitors the construction site through cameras, while the safety threshold calculation unit dynamically generates safety thresholds based on the current environment and construction conditions. These data are sent to the remote device in real time through a secure network connection to ensure the timeliness and integrity of the data. After receiving the data, the remote device first analyzes the image through a pre-trained image recognition model to identify the personnel and equipment on the site, thereby calculating the job evaluation. This job evaluation is then compared with the received safety threshold. If the job evaluation exceeds the safety threshold, the system will trigger an early warning and send an alarm message to the site management personnel. In addition to sending data, the field equipment also retains a copy of the safety threshold, so that even if the network connection is interrupted, real-time safety judgments can be made based on the last updated data. The field equipment can be configured with automatic response mechanisms, such as automatically suspending certain high-risk operations or initiating emergency evacuation procedures when an emergency is detected.

[0111] The color tracking-based railway signal construction personnel safety monitoring and early warning method provided by the present invention can monitor the construction site in real time through color tracking technology, and accurately identify personnel wearing prescribed safety clothing to ensure that all personnel comply with safety regulations. This reduces the risk of safety accidents caused by improper equipment. When potential safety risks are detected, such as when there are dense crowds of people or when safety equipment is not worn as required, an early warning can be automatically issued, and a quick response can be made to prevent accidents.

[0112] Through automated image analysis and color recognition, the system reduces the need for manual monitoring and improves monitoring efficiency. This allows the construction management team to focus more on other key management tasks. The system dynamically adjusts staffing based on real-time data and optimizes resource allocation, thereby improving construction efficiency and the ability to respond to emergencies.

[0113] Provides analysis results based on real-time data to help management teams make more accurate safety and operational decisions. Long-term accumulated data can be used to analyze trends, evaluate the effectiveness of safety measures, and further optimize construction strategies and safety procedures.

[0114] When it detects that the safety threshold has been exceeded or a high-risk activity has occurred, the system can take immediate action, such as sending an evacuation order or stopping certain operations, to quickly mitigate the consequences of the accident. Even when the network connection is unstable, the field equipment can use the locally retained safety threshold to make basic safety judgments and processing, enhancing the robustness of the system in various environments.

[0115] In any of the above embodiments, the first color mark is red, and is the surface color of the smart safety vest of the construction worker. A warning horn is provided on the smart safety vest, the smart safety vest is red and in a fluorescent state, emits light at night, establishes a connection with the computer through a wireless network, and a waterproof coating is applied on the warning horn.

[0116] In this embodiment, the vest is made of fluorescent red material that can glow in low light conditions to improve the wearer's visibility. This is achieved through fluorescent dyes or fluorescent materials that absorb ultraviolet light and emit visible light. The vest is equipped with a warning horn to sound an alarm when a dangerous situation occurs. This can be triggered automatically or manually by the wearer or a remote control center. The vest is connected to the computer system via a wireless network (such as Wi-Fi or Bluetooth). This allows data transmission, including but not limited to location tracking, alarm status, and the wearer's vital signs. The warning horn and other electronic components of the vest are coated with a waterproof coating to ensure durability and functional integrity in various climate conditions.

[0117] The fluorescent red material makes the wearer highly visible at night or in environments with limited vision. This reduces the risk of accidents caused by poor vision. When the vest's sensors detect potential dangers, such as approaching heavy machinery or entering an unauthorized area, the warning horn will automatically sound an alarm to alert the wearer and surrounding personnel to safety. The remote control center can also remotely activate the warning horn for on-site management when necessary. Through wireless network connection, the vest can send and receive data, allowing the remote monitoring center to obtain the wearer's location and health status in real time. This connection also allows the remote control center to respond promptly in emergency situations. The waterproof coating protects the electronic components from water and moisture, ensuring that the vest can operate normally in various environmental conditions.

[0118] In any of the above embodiments, the field equipment includes a mobile computer, a smart safety vest for construction workers, a camera for acquiring image data, and a mobile communication device for data exchange with a remote device.

[0119] In this embodiment, the mobile computer is used for preliminary processing, storage and forwarding of field data. The mobile computer can run applications, perform preliminary analysis of the collected data, and decide which data needs to be sent to the remote server. The smart safety vest is a wearable device provided by construction workers, with built-in sensors and warning speakers, and connected to the mobile computer via wireless technology. It is used to monitor the safety status, location and movement of workers, and provide instant alerts when potential risks are detected. The camera is installed at key locations on the construction site to capture videos and pictures in real time and monitor operations and environmental changes at the construction site. Image data is used to support remote devices for more in-depth analysis, such as personnel counting, behavior recognition, etc. The mobile communication device provides data transmission function to ensure that the data collected by all field devices can be transmitted to the remote server in real time. Usually includes Wi-Fi, 4G / 5G and other wireless communication modules.

[0120] Field equipment such as smart safety vests and cameras continuously collect data from the construction site. Smart vests monitor the safety status of personnel and record data, while cameras provide real-time images. Mobile computers receive this data and perform necessary local processing, such as data compression and preliminary analysis, to reduce the processing burden of the remote server. The preliminarily processed data is uploaded to the remote server through mobile communication devices. This process relies on a stable wireless network connection to ensure the continuity and security of data transmission. Mobile communication devices are responsible for managing security protocols and network connections during data transmission to ensure encryption and integrity of data during transmission. The remote server receives and stores data from field equipment, uses more complex data processing and analysis algorithms for in-depth analysis, and generates job evaluation and safety reports. Based on the analysis results, the remote server can send instructions to the field equipment, such as adjusting the workflow, issuing safety warnings, etc. The system provides a real-time monitoring interface, allowing managers to access real-time data and camera images of the construction site through the Internet at any location. Based on real-time data and remote analysis, the system can provide instant feedback and adjustment guidelines to help the site management team make quick decisions.

[0121] In any of the above embodiments, the computer of the remote device photographs the construction site through a camera, and transmits the photographed image to the color tracking module for processing. The color tracking module converts the image from the RGB space to the HSV space, extracts the image that matches the color of the smart safety vest, sets the hue range to 0°-10°, sets the pixels with hue within the range to 255, and sets the other pixel values ​​to 0, to obtain a binary image containing only red, uses the contour detection method to find the boundary of the red area, and tracks the red area, and outputs the tracked red area and the movement trajectory to the computer for display.

[0122] In this embodiment, the camera on the remote device regularly captures real-time images of the construction site to capture the dynamic situation of the construction site. The captured image is first converted from the RGB color space to the HSV color space. The HSV color space (hue, saturation, brightness) is more suitable for color separation because it can more intuitively separate color information and brightness information. The system sets the hue range of 0° to 10° to specifically identify the red color of the smart safety vest. The pixel hue value within this range is set to 255 (white), and the pixels of other hues are set to 0 (black), thereby generating a binary image. Use contour detection technology (such as the findContours method in OpenCV) to identify and track the boundaries of the red area in the binary image. These boundaries represent the staff wearing the red smart safety vest. The system further analyzes the movement trajectory of the tracked red area to determine the position and movement path of the staff in the construction site. This information is displayed in real time on the computer of the remote device for on-site monitoring and safety management.

[0123] Convert the RGB image to HSV format and use the hue component of HSV to distinguish colors. Since HSV is less sensitive to changes in lighting, color recognition is more accurate. By setting the hue threshold, the pixels corresponding to the vest color are highlighted and the remaining pixels are suppressed to facilitate subsequent contour detection. In the binarized image, the system identifies closed contours that identify the people wearing red vests. By tracking these contours, the system can monitor the position and movement of workers in real time. The extracted trajectory and position information are fed back to the display screen of the monitoring center in real time, so that managers can intuitively understand the specific location and dynamics of each person wearing a red safety vest. This real-time monitoring is essential to ensure construction safety, especially in complex construction environments or poor visibility.

[0124] In any of the above embodiments, the RGB space conversion HSV space step normalizes the value of each channel of the RGB image to the range of (0, 1), finds the maximum and minimum values ​​of the pixel values ​​R, G, and B, calculates the hue and saturation, obtains the value of each pixel value in the HSV space, and combines the values ​​to obtain an HSV image.

[0125] In this embodiment, normalize the RGB values: First, normalize the R, G, and B values ​​of each pixel in the RGB image from the original 0-255 range to the 0-1 range. This step is to simplify subsequent calculations. Calculate hue (Hue), saturation (Saturation), and brightness (Value): Hue: Determined by comparing the maximum and minimum values ​​in R, G, and B. Hue indicates the type of color. Saturation: Indicates the intensity or purity of the color, calculated as the ratio of the difference between the maximum and minimum values ​​to the maximum value. Brightness: Given directly by the maximum value in the RGB value, it indicates the lightness or darkness of the color. Combine HSV values: Based on the calculated H, S, and V values, a new HSV image is constructed for each pixel.

[0126] Converting RGB values ​​from 0-255 to 0-1 is done in preparation for mathematical operations, as most color calculation formulas are designed based on the 0-1 range. Hue is calculated based on the maximum and minimum values ​​in the RGB values. If the maximum value is R, the hue is calculated from the red area; if it is G, from the green area; if it is B, from the blue area. The specific formula varies depending on the relative size of RGB: When R is the maximum value, H = (GB) / (max-min) When G is the maximum value, H = 2.0 + (BR) / (max-min) When B is the maximum value, H = 4.0 + (RG) / (max-min). The result of H is multiplied by 60 degrees to get the final hue value (if the result is negative, add 360 degrees). Saturation S is calculated as (max-min) / max. When max is 0 (that is, black), saturation is set to 0 because black has no hue. Brightness V is given directly by max, expressed as the normalized maximum RGB value. Use the calculated H, S, and V values ​​to set new color values ​​for each pixel to create an image in HSV format.

[0127] Specifically, the hue calculation formula is:

[0128] K=60(GB) / (max-min+0)m360

[0129] The above formula is used to calculate the maximum value in the R channel;

[0130] K=60(BR) / (max-min+2)m360

[0131] The above formula is used to calculate the maximum value in the R channel;

[0132] K=60(RG) / (max-min+4)m360

[0133] The above formula is used to calculate the maximum value in the R channel;

[0134] Among them, K is the hue, m is the remainder value, R, G, B are the red channel, green channel and blue channel respectively, max is the maximum value, and min is the minimum value.

[0135] As can be seen above, hue reflects the type of color. In the HSV color space, hue is usually represented as a ring with an angle from 0° to 360°. Different angles represent different colors, such as 0° is red, 120° is green, and 240° is blue. According to the channel where the maximum value in the RGB value is located, the corresponding calculation formula is selected to determine the hue. Doing so ensures that no matter what the original color is, the converted HSV value can accurately reflect the visual characteristics of the color.

[0136] The result of hue K may be negative, so a modulo 360 operation is performed after adding 360 at the end to ensure that the result is always between 0° and 360°. If the maximum and minimum values ​​in RGB are equal (that is, the image is gray), the hue H is undefined and is usually set to 0. This conversion is very suitable for color segmentation, object tracking, or color recognition in complex backgrounds. The hue component in HSV space represents the color separately, making it more convenient and intuitive to operate based on color in image processing algorithms.

[0137] In any of the above embodiments, the contour detection method is based on Canny operator detection, which identifies points in the image where the brightness changes significantly to detect edges. The remote device also includes a safety assessment module for monitoring the increase in humidity in the air and performing an assessment. When the assessed humidity reaches a threshold that cannot be used for construction, an alarm is processed.

[0138] In this embodiment, the Canny edge detection operator is used to identify points in the image where the brightness changes significantly, which usually represent the edges of objects. This is a widely used image processing technology that is particularly suitable for extracting image features, such as equipment and personnel in the construction site. This module is responsible for real-time monitoring of environmental conditions, especially air humidity. By continuously measuring the ambient humidity and comparing it with the preset safety threshold, it is determined whether the current working environment is suitable for construction. When it is detected that the humidity exceeds the set construction threshold, the system will automatically trigger an alarm to notify the on-site management personnel to take appropriate safety measures, such as suspending operations or taking anti-slip measures.

[0139] Noise Removal: First, use a Gaussian filter to remove the noise of the image to avoid falsely detecting the noise as an edge. Gradient Calculation: Use the Sobel operator to calculate the magnitude and direction of the gradient in the horizontal and vertical directions to find potential edge candidate points. Non-maximum Suppression: Check in the gradient direction and only keep the points with the local maximum gradient to thin the edge. Dual Threshold Detection: Apply two thresholds (high threshold and low threshold) to determine the true edge. Points above the high threshold are considered strong edges, points below the low threshold are excluded, and points in between are considered edges only if they are connected to a strong edge. Edge Tracking: The formation of the edge is completed by suppressing isolated weak edge points. Environmental Monitoring: Air humidity is continuously monitored through sensors installed at the construction site. Data Analysis: Sensor data is sent to the remote device in real time and compared with the preset safety humidity threshold. Alarm Activation: Once the monitored humidity exceeds the safety threshold, the system automatically triggers an alarm and passes.

[0140] Another embodiment of the first aspect of the present invention proposes a specific implementation method for safety monitoring and early warning of railway signal construction personnel based on color tracking:

[0141] S201, the weather collection device collects the weather conditions during construction in real time and uploads them to the computer for analysis;

[0142] S202, evaluating and warning of weather factors through a safety assessment module;

[0143] S203. Construction workers wear smart safety vests to perform construction work;

[0144] S204, the computer takes a photo of the construction site, and identifies and tracks the smart safety vests through the color tracking module, thereby determining the number of personnel currently working and the construction location, and performing real-time monitoring of the construction personnel;

[0145] S205. When monitoring personnel detect irrelevant construction personnel at the construction site, the monitoring personnel capture their positions through computers and expel the irrelevant personnel in a timely manner;

[0146] S206. When the safety assessment module determines that the weather changes are not suitable for construction, a command is issued through a computer, and the command is transmitted to the smart safety vest of the construction personnel, and an alarm is sounded to warn the construction personnel to evacuate the construction site in time.

[0147] Embodiments of the second aspect of the present invention provide electronic equipment. In some embodiments of the present invention, such as Figure 4 As shown, an electronic device is provided, which includes: electronic devices such as desktop computers, notebooks, handheld computers, and cloud servers. The electronic device 3 may include but is not limited to a processor 301 and a memory 302. Those skilled in the art will understand that Figure 4 The electronic device 3 is merely an example and does not limit the electronic device 3 , and may include more or less components than those shown in the figure, or different components.

[0148] The processor 301 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.

[0149] The memory 302 may be an internal storage unit of the electronic device 3, for example, a hard disk or memory of the electronic device 3. The memory 302 may also be an external storage device of the electronic device 3, for example, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device 3. The memory 302 may also include both an internal storage unit of the electronic device 3 and an external storage device. The memory 302 is used to store computer programs and other programs and data required by the electronic device.

[0150] The embodiment of the third aspect of the present invention proposes a computer-readable storage medium. In some embodiments of the present invention, a computer-readable storage medium is provided, and when the computer-readable storage medium is executed by the processor 301, the steps of the above method are implemented. Therefore, the computer-readable storage medium provided by the third aspect of the present invention has all the technical effects of the above steps, which will not be repeated here.

[0151] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0152] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.

[0153] In the embodiments provided in the present disclosure, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation. Multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or units, which may be electrical, mechanical or other forms.

[0154] If the integrated module / 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 computer-readable storage medium. Based on this understanding, the present disclosure implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, and the computer program code may be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electric carrier signals and telecommunication signals.

[0155] The above embodiments are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should all be included in the protection scope of the present disclosure.

Claims

1. A railway signal construction personnel safety monitoring and early warning method based on color tracking, characterized in that: The steps include: Setting a safety threshold for the construction site, and updating the safety threshold according to the current operation scope and weather parameters of the construction site; Acquire a first numerical value of personnel at the construction site in real time, and input the first numerical value into a first prediction model to obtain an operation evaluation value of the construction site at the current moment; Verify whether the first value at the current moment is qualified according to the appearance color of the construction site, and determine the relationship between the operation evaluation value and the safety threshold at each moment; An early warning instruction is generated according to the result of the judgment and / or the result of the proofreading, and the construction site adjusts the first value according to the early warning instruction and the appearance color.

2. The railway signal construction personnel safety monitoring and early warning method according to claim 1 is characterized in that: The safety threshold of each construction site is calculated and updated by a field-side device respectively, and all the field-side devices are connected to a remote device including the first prediction model.

3. The railway signal construction personnel safety monitoring and early warning method according to claim 2 is characterized in that: The first prediction model obtains the operation evaluation values ​​of the n construction sites through a parallel adaptive algorithm; and In the sub-process of the parallel adaptive algorithm acquiring the operation evaluation of a single construction site, the first prediction model adapts to the current construction site through a preset adaptation factor.

4. The railway signal construction personnel safety monitoring and early warning method according to claim 2 is characterized in that: The step of updating the safety threshold according to the current working scope and weather parameters of the construction site specifically includes: The field-side device uses at least one of the weather parameters and the size and traffic volume of the operating range obtained at the current moment as prediction parameters; Obtaining the accommodation density of the construction site through all the prediction parameters; The accommodation density at the current moment is updated to the safety threshold and stored in the field-side device.

5. The railway signal construction personnel safety monitoring and early warning method according to claim 4 is characterized in that: The site-side equipment includes a second prediction model; the step of obtaining the accommodation density of the construction site through all the prediction parameters specifically includes: constructing an input channel of the second prediction model according to the type of the prediction parameter; Convert all the prediction parameters into feature vectors, and determine whether there is an influence relationship between the prediction parameters; Calculate and obtain the covariance between the eigenvectors according to the influence relationship, and correct the eigenvectors by using the covariance; The modified feature vector is input into the second prediction model through the input channel to obtain the accommodation density.

6. The railway signal construction personnel safety monitoring and early warning method according to claim 3 is characterized in that: The step of obtaining the first numerical value of the personnel at the construction site in real time specifically includes: Transmitting the image data of the construction site acquired by the field-side device to the remote device; The remote device identifies the appearance color according to the color feature of the image data; A first numerical value of the person is calculated according to the appearance color.

7. The railway signal construction personnel safety monitoring and early warning method according to claim 6 is characterized in that: The step of checking whether the first value is qualified specifically includes: Identifying the type of the appearance color and classifying a first identification color that can characterize a construction worker among the personnel; Traversing the pixel points that match the first identification color in the image data, and acquiring a closed contour area containing the pixel points; Check whether the first value is equal to the second value of the closed contour area. If so, the first value is qualified.

8. The railway signal construction personnel safety monitoring and early warning method according to claim 7 is characterized in that: Also includes: Before acquiring the job evaluation at each moment, correcting the remote device when identifying the appearance color by using the first identification color; Before adjusting the first value, the priority of the construction worker is lowered by using the first identification color.

9. The railway signal construction personnel safety monitoring and early warning method according to claim 6 is characterized in that: The first numerical value is input into the first prediction model to obtain the operation evaluation value of the construction site at the current moment, wherein: Identifying the type of the appearance color and classifying a second identification color capable of representing the weather parameter; Calculating the proportion of pixels matching the second identification color in the image data; The adaptation factor in each sub-process of obtaining the operation evaluation is modified according to the proportion.

10. The railway signal construction personnel safety monitoring and early warning method according to claim 6, characterized in that: The field-end device sends the security threshold and the image data corresponding to each moment to the remote device.

Citation Information

Patent Citations

  • Automatic identification method and alarm system for wearing state of work clothes and hats based on video

    CN109117827A

  • Safety control method and system for fault processing operation site of power utilization acquisition equipment

    CN111445106A

  • Safe wearing detection method, equipment and system based on deep learning

    CN111652046A

  • Method for early warning workers and dynamic hazard sources based on machine vision technology

    CN112799339A

  • Safety helmet detection and identity recognition method and device for electric power operation site

    CN114067268A