Disclosure of Invention
The embodiment of the invention aims to provide a data processing method and a data processing system, which are used for solving the problem that a user cannot intuitively experience the specific situation of floating ice in the prior art.
To achieve the above object, an embodiment of the present invention provides a data processing method, including:
acquiring an image of floating ice acquired by at least one camera and the position of the floating ice;
performing image recognition on the image, and determining the volume, thickness and shape of the floating ice;
judging whether the floating ice exceeds a warning value according to the volume and the thickness;
and if the warning value is exceeded, adding the model of the floating ice to the corresponding position of the preset three-dimensional sea area model according to the shape and the position.
Optionally, determining whether the ice floe exceeds an alert value according to the volume and the thickness includes:
judging whether the thickness exceeds a first preset threshold value or not;
if the first preset threshold value is exceeded, judging whether the volume exceeds a second preset threshold value or not;
and if the second preset threshold value is exceeded, determining that the floating ice exceeds the warning value.
Optionally, after adding the model of the floating ice to a preset three-dimensional sea area model, the method further comprises:
comparing images acquired by the same camera according to the acquisition sequence to determine the movement direction of the floating ice;
and marking the motion direction of the model of the floating ice in the preset three-dimensional sea area model according to the motion direction.
Optionally, after labeling the motion direction of the model of the floating ice in the preset three-dimensional sea area model, the method further comprises:
judging the probability of the floating ice striking the target object according to the position and the movement direction;
determining a probability interval to which the probability belongs;
and labeling the model of the floating ice according to the color allocated to the probability interval to which the probability belongs.
Optionally, after labeling the model of the ice floe according to the color assigned to the probability interval to which the probability belongs, the method further includes:
determining whether the condition that the floating ice impacts the target object exists or not according to the modified three-dimensional sea area model;
and if the condition that the floating ice impacts the target object does not exist, deleting the model of the floating ice, the marked moving direction and the marked color in the modified three-dimensional sea area model.
To achieve the above object, an embodiment of the present invention provides a data processing system, including:
the device comprises an acquisition unit, a control unit and a control unit, wherein the acquisition unit is used for acquiring an image of floating ice acquired by at least one camera and the position of the floating ice;
the identification unit is used for carrying out image identification on the image and determining the volume, thickness and shape of the floating ice;
the judging unit is used for judging whether the floating ice exceeds an alarm value according to the volume and the thickness;
and the modifying unit is used for adding the model of the floating ice to the corresponding position of the preset three-dimensional sea area model according to the shape and the position if the warning value is exceeded.
Optionally, when the judging unit is configured to judge whether the ice floe exceeds a warning value according to the volume and the thickness, the judging unit is configured to:
judging whether the thickness exceeds a first preset threshold value or not;
if the first preset threshold value is exceeded, judging whether the volume exceeds a second preset threshold value or not;
and if the second preset threshold value is exceeded, determining that the floating ice exceeds the warning value.
Alternatively, the process may be carried out in a single-stage,
the identification unit is further used for comparing images acquired by the same camera according to the acquisition sequence after the model of the floating ice is added in the preset three-dimensional sea area model so as to determine the movement direction of the floating ice;
the modification unit is further used for marking the motion direction of the model of the floating ice in the preset three-dimensional sea area model according to the motion direction.
Alternatively, the process may be carried out in a single-stage,
the judging unit is further used for judging the probability of the floating ice hitting a target object according to the position and the movement direction after marking the movement direction of the model of the floating ice in the preset three-dimensional sea area model;
the system further comprises:
the determining unit is used for determining a probability interval to which the probability belongs;
the modification unit is further used for labeling the model of the floating ice according to the colors allocated to the probability interval to which the probability belongs.
Alternatively, the process may be carried out in a single-stage,
the judging unit is further used for determining whether the floating ice impacts the target object according to the modified three-dimensional sea area model after marking the model of the floating ice according to the colors distributed to the probability interval to which the probability belongs;
the modification unit is further used for deleting the model of the floating ice, the marked moving direction and the marked color from the modified three-dimensional sea area model if the condition that the floating ice impacts the target object does not exist.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the volume, the thickness and the shape of the floating ice are determined through image recognition, and whether the floating ice exceeds a warning value or not is judged through analyzing the volume and the thickness of the floating ice, namely whether the floating ice impacts on objects such as ships, derricks or buoys or not is judged through the volume and the thickness, if the floating ice exceeds the warning value, the damage is caused, if the damage is caused, the damage is not caused, and when the floating ice exceeds the warning value, a model constructed by the shape of the floating ice is added at a position corresponding to a preset three-dimensional sea area model, namely, a user can relatively intuitively watch the current position of the floating ice through the modified three-dimensional sea area model, and the shape of the floating ice is beneficial to improving the intuitive feeling of the floating ice by the user.
Detailed Description
Further advantages and effects of the present invention will become apparent to those skilled in the art from the disclosure of the present invention, which is described by the following specific examples.
Example 1
Fig. 1 is a flow chart of a data processing method provided in embodiment 1 of the present invention, as shown in fig. 1, the method includes the following steps:
101. and acquiring an image of the floating ice acquired by at least one camera and the position of the floating ice.
Specifically, a certain number of cameras are set in a specified range in a specified sea area in advance, taking a protection derrick as an example, 1000 cameras can be set in a range of 100 sea area with the derrick as the center, and whether floating ice appears in a range of 100 sea area with the derrick as the center and the position where the floating ice appears are detected by the 1000 cameras.
It should be noted that the positions, the number, the monitoring range of each camera, and the monitoring range of all cameras may be set according to the actual needs and the actual scenes, and are not particularly limited herein.
102. And carrying out image recognition on the image, and determining the volume, thickness and shape of the floating ice.
Taking a certain camera as an example, after an image of the floating ice acquired by the camera is acquired, image analysis is carried out on the image, so that the volume, thickness and shape of the image are determined, whether the floating ice damages the target object or not if the floating ice impacts the target object can be determined through the volume and the thickness, and because the floating ice drifts along with factors such as wind and waves when moving on the sea surface, the movement rule of the floating ice is relatively irregular, all the floating ice which are at a certain distance from the target object are likely to impact the target object, and therefore, in order to determine which floating ice damages the target object, image identification is needed for all the images.
It should be noted that the specific image recognition technology may be set according to actual needs, and is not specifically limited herein.
103. And judging whether the floating ice exceeds a warning value according to the volume and the thickness.
Specifically, when the volume exceeds a certain volume and the thickness exceeds a certain thickness, the damage to the target object is caused, if the volume of the floating ice is smaller or the thickness of the floating ice is thinner, the damage to the target object is not caused, so that whether the floating ice damages the target object or not needs to be judged together according to the volume and the thickness, namely, when the floating ice collides with the target object, the damage to the target object is caused, and when the warning value is not exceeded, the damage to the target object is not caused even if the floating ice collides with the target object.
It should be noted that the specific alert value may be set according to a specific target object, and the specific setting rule may be set according to actual needs, which is not specifically limited herein.
104. And if the warning value is exceeded, adding the model of the floating ice to the corresponding position of the preset three-dimensional sea area model according to the shape and the position.
Specifically, when the warning value is exceeded, the damage to the target object is caused when the floating ice and the target object collide, in order to enable a user to relatively intuitively experience the quantity of the floating ice with the damage monitored at present and the shapes of different floating ices, a three-dimensional sea area model of a designated sea area can be established in advance, the three-dimensional sea area model is established according to the specific environment condition of the designated sea area, the three-dimensional sea area model can be realized through a virtual reality technology, namely, the three-dimensional sea area model can be presented to the user in a certain proportion, further, the three-dimensional sea area model is constructed according to the environment of the designated sea area in an equal proportion, or is constructed according to the environment of the designated sea area in a designated proportion, after the three-dimensional sea area model is established, the model with the floating ice with the damage can be added to the three-dimensional sea area model, the shape of the floating ice model can be adjusted according to the certain proportion when the model of the floating ice is added, and then the adjusted ice is added to the three-dimensional sea area model according to the actual position of the ice in the designated sea area, and the situation of the three-dimensional sea area model can be mastered by the three-dimensional sea area model of the floating ice in the designated sea area.
In the embodiment of the invention, the volume, the thickness and the shape of the floating ice are determined through image recognition, and whether the floating ice exceeds a warning value or not is judged through analyzing the volume and the thickness of the floating ice, namely whether the floating ice impacts on objects such as ships, derricks or buoys or not is judged through the volume and the thickness, if the floating ice exceeds the warning value, the damage is caused, if the damage is caused, the damage is not caused, and when the floating ice exceeds the warning value, a model constructed by the shape of the floating ice is added at a position corresponding to a preset three-dimensional sea area model, namely, a user can relatively intuitively watch the current position of the floating ice through the modified three-dimensional sea area model, and the shape of the floating ice is beneficial to improving the intuitive feeling of the floating ice by the user.
In a possible implementation manner, fig. 2 is a schematic flow chart of another data processing method provided in example 1 of the present invention, as shown in fig. 2, and in performing step 103, the method may be implemented by the following steps:
201. and judging whether the thickness exceeds a first preset threshold value.
202. If the first preset threshold is exceeded, judging whether the volume exceeds a second preset threshold.
203. And if the second preset threshold value is exceeded, determining that the floating ice exceeds the warning value.
Specifically, when the thickness of the floating ice is smaller than a certain thickness, no matter how large the volume of the floating ice is, the damage to the target object is avoided, or when the volume of the floating ice is smaller than a certain volume, no matter how thick the thickness of the floating ice is, the damage to the target object is avoided, namely, when the thickness and the volume of the floating ice do not meet the requirements on one hand, the floating ice and the target object are impacted, the damage to the target object is avoided, and therefore, when the thickness of the floating ice exceeds a first preset threshold value, and the volume of the floating ice exceeds a second preset threshold value, the condition that the floating ice exceeds a warning value is determined.
It should be noted that, the specific values of the first preset threshold and the second preset threshold may be set according to the actual environment and the actual target object, which is not specifically limited herein.
The order of determination of the thickness and the volume may be set according to the actual environment and the actual target object, and is not particularly limited.
Example 2
Fig. 3 is a flow chart of a data processing method provided in embodiment 2 of the present invention, as shown in fig. 3, after adding the model of the floating ice to a preset three-dimensional sea area model, the method includes the following steps:
301. and comparing the images acquired by the same camera according to the acquisition sequence to determine the movement direction of the floating ice.
302. And marking the motion direction of the model of the floating ice in the preset three-dimensional sea area model according to the motion direction.
Specifically, in order to make the user more clearly know the moving direction of the dangerous floating ice, so that the user can judge whether the floating ice can truly strike the target object according to the moving direction of the floating ice and combine with his own experience, the images acquired by the same camera are compared according to the acquisition sequence, the moving direction of the floating ice can be determined after comparing two continuous images acquired by the same camera, the moving direction of the floating ice cannot be easily changed because the volume and the thickness of the dangerous floating ice are large, so that the precise moving direction of the floating ice can be determined after a plurality of continuous images are compared in sequence, and the user can more precisely evaluate the floating ice according to the shape and the moving direction of the floating ice when the moving direction of the floating ice is marked in the three-dimensional sea model.
Note that the labeling manner about the movement direction may be set according to actual needs, and is not particularly limited herein.
Example 3
Fig. 4 is a flow chart of a data processing method provided in embodiment 3 of the present invention, as shown in fig. 4, after marking a motion direction of the model of the floating ice in the preset three-dimensional sea area model, the method includes the following steps:
401. and judging the probability of the floating ice striking the target object according to the position and the movement direction.
402. And determining a probability interval to which the probability belongs.
403. And labeling the model of the floating ice according to the color allocated to the probability interval to which the probability belongs.
Specifically, in order to make the user clearly know the damage degree of the floating ice which is damaged, namely the collision probability of the floating ice with the target object, the probability of collision of the floating ice with the target object is required to be judged according to the position and the movement direction of the floating ice, 0% -100% of the probability intervals are divided into a plurality of probability intervals in advance, different colors are allocated to different probability intervals, or red with different depths is allocated to different probability intervals according to the increment of the probability intervals, the probability corresponding to the probability interval is deeper, after the collision probability is determined, the probability of the collision is determined, the color corresponding to the probability interval is marked on the floating ice model, and the user can intuitively see the collision probability of different floating ice with the target object according to the color marked on the floating ice model, so that the user can conveniently analyze.
It should be noted that, the calculation method of the collision probability between the floating ice and the target object may be set according to the actual requirement and the actual scene, and is not limited herein, and the distribution rule of the colors in different probability intervals and the labeling method of the colors may also be set according to the actual requirement, and are not limited herein.
Example 4
Fig. 5 is a flow chart of a data processing method provided in embodiment 4 of the present invention, as shown in fig. 5, after labeling the model of the ice flocs according to the colors allocated to the probability interval to which the probability belongs, the method further includes the following steps:
501. and determining whether the floating ice impacts the target object according to the modified three-dimensional sea area model.
502. And if the condition that the floating ice impacts the target object does not exist, deleting the model of the floating ice, the marked moving direction and the marked color in the modified three-dimensional sea area model.
Specifically, when a dangerous floating ice model is added to a three-dimensional sea area model, and after the moving direction of the floating ice and the color distributed to the floating ice model are marked in the three-dimensional sea area model, the position of the floating ice needs to be acquired in real time, and the position of the floating ice model in the three-dimensional sea area model is adjusted in real time according to the position, so that a user can clearly grasp the position and the moving track of the floating ice in the actual sea area, for some floating ice, the floating ice can not collide with a target object in the moving process, for example, when the target object moves in a certain direction and when the target object is positioned in the direction opposite to the moving direction of the floating ice, the target object and the floating ice can not collide, therefore, the damage of the floating ice to the target object can be relieved, the analyzing difficulty of the user is reduced, and the data processing amount of equipment is reduced.
It should be noted that, the method for determining whether the ice floes and the target object are impacted may be set according to actual needs, which is not limited herein.
Example 5
FIG. 6 is a schematic diagram of a data processing system according to embodiment 5 of the present invention, as shown in FIG. 6, the system includes:
an acquiring unit 61, configured to acquire an image of the floating ice acquired by at least one camera and a position of the floating ice;
an identification unit 62 for performing image identification on the image and determining the volume, thickness and shape of the floating ice;
a judging unit 63 for judging whether the floating ice exceeds a warning value according to the volume and the thickness;
and a modifying unit 64, configured to increase the model of the floating ice at a corresponding position of a preset three-dimensional sea area model according to the shape and the position if the alert value is exceeded.
In a possible embodiment, when the judging unit 63 is configured to judge whether the ice floe exceeds a warning value according to the volume and the thickness, it is configured to:
judging whether the thickness exceeds a first preset threshold value or not;
if the first preset threshold value is exceeded, judging whether the volume exceeds a second preset threshold value or not;
and if the second preset threshold value is exceeded, determining that the floating ice exceeds the warning value.
In one possible implementation, fig. 7 is a schematic structural diagram of another data processing system provided in example 5 of the present invention, as shown in fig. 7,
the identifying unit 62 is further configured to compare images acquired by the same camera according to an acquisition sequence after adding the model of the floating ice to a preset three-dimensional sea area model, so as to determine a movement direction of the floating ice;
the modifying unit 64 is further configured to label the movement direction of the model of the floating ice in the preset three-dimensional sea area model according to the movement direction.
In one possible implementation, fig. 8 is a schematic structural diagram of another data processing system provided in example 5 of the present invention, as shown in fig. 8,
the judging unit 63 is further configured to judge, after the movement direction of the model of the floating ice is marked in the preset three-dimensional sea area model, a probability that the floating ice collides with a target object according to the position and the movement direction;
the system further comprises:
a determining unit 65, configured to determine a probability interval to which the probability belongs;
the modifying unit 64 is further configured to label the model of the ice floe according to the color allocated to the probability interval to which the probability belongs.
In a possible embodiment, as shown in fig. 7, the determining unit 63 is further configured to determine, after labeling the model of the floating ice according to the color allocated to the probability interval to which the probability belongs, whether there is a situation that the floating ice impacts the target object according to the modified three-dimensional sea area model;
the modifying unit 65 is further configured to delete the model of the floating ice, the noted moving direction and the noted color in the modified three-dimensional sea area model if there is no situation that the floating ice hits the target object.
It should be noted that, the detailed description of the page jump system can refer to the first to fourth embodiments, and will not be described in detail herein.
In the embodiment of the invention, the volume, the thickness and the shape of the floating ice are determined through image recognition, and whether the floating ice exceeds a warning value or not is judged through analyzing the volume and the thickness of the floating ice, namely whether the floating ice impacts on objects such as ships, derricks or buoys or not is judged through the volume and the thickness, if the floating ice exceeds the warning value, the damage is caused, if the damage is caused, the damage is not caused, and when the floating ice exceeds the warning value, a model constructed by the shape of the floating ice is added at a position corresponding to a preset three-dimensional sea area model, namely, a user can relatively intuitively watch the current position of the floating ice through the modified three-dimensional sea area model, and the shape of the floating ice is beneficial to improving the intuitive feeling of the floating ice by the user.
While the invention has been described in detail in the foregoing general description and specific examples, it will be apparent to those skilled in the art that modifications and improvements can be made thereto. Accordingly, such modifications or improvements may be made without departing from the spirit of the invention and are intended to be within the scope of the invention as claimed.