A beach garbage monitoring system based on edge computing
Through edge computing technology, automatic identification and alarm in the beach garbage monitoring system is solved, and the problems of low beach garbage discovery efficiency and environmental pollution are improved, and the efficiency of beach garbage monitoring is protected and the marine environment is protected.
Patent Information
- Application Number
- CN202211522580.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-30
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2042-11-30
AI Technical Summary
Existing beach garbage discovery and treatment methods rely on manual inspections, which are inefficient and costly, making it difficult to effectively solve the problem of marine environmental pollution.
The beach garbage monitoring system based on edge computing is adopted, and the beach images are collected through the camera and the edge computing module is used to automatically identify garbage according to the preset garbage recognition algorithm, generate alarm information, improve garbage monitoring efficiency, and timely dispose of garbage through remote monitoring terminals.
It realizes automatic and intelligent identification and timely alarm of beach garbage, improves beach garbage monitoring efficiency, reduces labor costs, and effectively protects the beach and marine environment.
Smart Images

Figure CN116824473B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of edge computing, and in particular relates to a beach garbage monitoring system based on edge computing. Background Art
[0002] With the development of modern industry, the amount of various types of garbage is also increasing. Among them, beach garbage is increasing particularly fast, including plastic bags, cigarette butts, polystyrene plastic foam, fast food boxes, fishing nets and glass bottles, many of which are left by tourists on the beach. After being washed into the ocean, it will have a serious impact on marine life and even the marine ecology, so beach garbage needs to be discovered and handled in a timely manner.
[0003] At present, the method of finding and handling beach garbage mainly relies on garbage cleaning personnel to patrol the beach and clean up the garbage after finding it. However, the whole garbage discovery process is not intelligent enough, which leads to a lot of manpower and time required to clean up the garbage, and even leads to the garbage that is about to be washed into the ocean not being handled in time, further polluting the ocean. Summary of the invention
[0004] In view of this, the embodiment of the present invention provides a beach garbage monitoring system based on edge computing, which is used to solve the problems of high labor costs and untimely garbage cleaning in existing beach garbage discovery and treatment methods. The present invention can automatically and intelligently identify garbage in beach images through edge computing modules, and issue timely alarms, effectively improving the efficiency of beach garbage monitoring, and effectively solving the problem of dirty and messy environment on the beach, protecting the beach and marine environment.
[0005] An embodiment of the present invention provides a beach garbage monitoring system based on edge computing, including:
[0006] A camera is installed at a preset position along the target beach to collect images of the target beach in real time;
[0007] An edge computing module connected to the camera is used to identify whether there is garbage in the image of the target beach according to a preset garbage identification algorithm, and when garbage is identified in the image of the target beach, generate an alarm message and send it to the remote monitoring terminal;
[0008] The remote monitoring terminal is connected to the edge computing module and is used to issue an alarm in time after receiving the alarm information.
[0009] In an optional embodiment, the preset junk identification algorithm is a junk image feature identification algorithm based on a preset junk feature library.
[0010] In an optional embodiment, the edge computing module includes:
[0011] A garbage identification unit is used to identify whether there is garbage in the image of the target beach according to a preset garbage identification algorithm, and if so, the identified garbage is used as the target garbage;
[0012] A garbage locating unit, used to locate the position of target garbage in the image of the current target beach;
[0013] A movement direction determination unit is used to determine the comprehensive movement direction of the target garbage according to the position of the target garbage in the image of the target beach identified and located in multiple frames of target beach images collected by the same camera within a period of collection time;
[0014] A judging unit, used for judging whether the target garbage is moving toward the sea according to the comprehensive moving direction of the target garbage determined by the moving direction determining unit and the direction vector of the preset coastline;
[0015] The alarm information generating unit is used to generate alarm information recording the camera identification, the image of the target beach, the position of the target garbage in the image of the target beach, and whether the target garbage moves toward the sea.
[0016] In an optional embodiment, the garbage positioning unit is specifically used to locate the coordinate value of the target garbage in the target image coordinate system and record the target garbage information of this time; wherein the target image coordinate system is the image coordinate system of the camera corresponding to the image of the target beach where the target garbage is currently identified, and the target garbage information includes: camera identification, acquisition time of the image of the target beach this time, and coordinate value of the target garbage identified this time in the target image coordinate system;
[0017] The movement direction determination unit is specifically used to determine the comprehensive movement direction of the target garbage based on the first formula according to the recognition results of the target garbage in multiple frames of target beach images collected by the same camera within a period of collection time and the target garbage information corresponding to the recognized target garbage;
[0018] The judging unit comprises:
[0019] a determination value calculation subunit, for calculating a predicted value of the target garbage flowing into the sea based on a second formula according to the comprehensive movement direction of the target garbage and a preset direction vector of the coastline;
[0020] A judging subunit is used to judge whether the prediction value of the target garbage flowing into the sea currently calculated by the judging value calculating subunit is equal to 1. If so, it is determined that the target garbage moves toward the sea; otherwise, it is determined that the target garbage does not move toward the sea;
[0021] Among them, the first formula is:
[0022]
[0023] In the first formula, [x(t), y(t)] represents the comprehensive movement direction of the target garbage at time t; t represents the current time; t0 represents the time when the target garbage is first identified; (X t ,Y t ) represents the coordinate value of the target garbage located at time t in the target image coordinate system; It represents the coordinate value of the target garbage located at time t0 in the target image coordinate system. represents the coordinate value of the target garbage identified and located for the ath time in the target image coordinate system in the multi-frame target beach image collected by the same camera from time t0 to time t; n represents the total number of times the target garbage is identified in the multi-frame target beach image collected by the same camera from time t0 to time t;
[0024] The second formula is:
[0025]
[0026] In the second formula, G(t) represents the predicted value of the target garbage flowing into the sea at time t; Represents the direction vector of the coastline in the preset target image coordinate system; Indicates the coordinate point (X t ,Y t ) to vector The direction vector of the perpendicular line obtained by drawing a perpendicular line; Indicates the search for the vector [x(t), y(t)] and the vector The angle value between .
[0027] In an optional embodiment, the judging unit further includes:
[0028] a time calculation subunit, configured to calculate the garbage processing time of the target garbage based on a third formula when the judgment result of the judgment subunit is yes;
[0029] The alarm information generated by the alarm information generating unit also records the processing time of the target garbage;
[0030] Wherein, the third formula is:
[0031]
[0032] In the third formula, T(t) represents the garbage disposal time of the target garbage at time t; Indicates the coordinate point (X t ,Y t ) to vector The length of the perpendicular line.
[0033] In an optional embodiment, the beach garbage monitoring system based on edge computing further includes: a handheld mobile terminal of a garbage cleaning staff, the handheld mobile terminal being connected to the remote monitoring terminal via a network;
[0034] The remote monitoring terminal is specifically used to display the most recently received alarm information in a graphical manner and to issue an alarm; the remote monitoring terminal is also used to determine the number of garbage cleaners corresponding to the target garbage disposal time in the most recently received alarm information based on the correspondence between the preset garbage disposal time and the number of garbage cleaners, as the current target number of people, and to send a garbage cleaning instruction to the handheld mobile terminals of the current target number of people; wherein the garbage cleaning instruction includes at least a camera identification, an image of the target beach and a target garbage disposal time.
[0035] In an optional embodiment, the handheld mobile terminal is further used to send its own positioning information in the earth coordinate system to the remote monitoring terminal in real time;
[0036] The remote monitoring terminal comprises:
[0037] The alarm module is used to display the most recently received alarm information in a graphical manner and issue an alarm;
[0038] The number determination module is used to determine the number of garbage cleaners corresponding to the target garbage disposal time in the most recently received alarm information according to the correspondence between the preset garbage disposal time and the number of garbage cleaners, as the current target number of garbage cleaners;
[0039] A coordinate conversion module, used to convert the coordinate value of the target garbage in the target image coordinate system into the earth coordinate system according to the alarm information and a preset conversion relationship between the camera image coordinate system and the earth coordinate system, so as to obtain the coordinate value of the target garbage in the earth coordinate system;
[0040] A distance calculation module, used to calculate the distance between each handheld mobile terminal and the target garbage according to the positioning information of each handheld mobile terminal in the earth coordinate system and the coordinate value of the target garbage in the earth coordinate system;
[0041] The cleaning task scheduling module is used to send garbage cleaning instructions to the handheld mobile terminals closest to the current target number of people and the target garbage according to the distance between each handheld mobile terminal and the target garbage.
[0042] The present invention provides a beach garbage monitoring system based on edge computing. First, a camera is used to collect images of the beach. Then, the edge computing module identifies whether there is garbage in the image of the target beach according to a preset garbage recognition algorithm, and issues a timely alarm through a remote monitoring terminal when there is garbage. The present invention can automatically and intelligently identify garbage in beach images through an edge computing module, and issue a timely alarm, which effectively improves the efficiency of beach garbage monitoring, effectively solves the problem of dirty and messy environment on the beach, and protects the beach and marine environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 A schematic diagram of the structure of a beach garbage monitoring system based on edge computing provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0045] The embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0046] It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0047] Figure 1 A schematic diagram of the structure of a beach garbage monitoring system based on edge computing provided by an embodiment of the present invention. Figure 1 The system includes: a camera 1, an edge computing module 2 and a remote monitoring terminal 3.
[0048] in:
[0049] The camera 1 is set at a preset position along the target beach for collecting images of the target beach in real time. It is worth noting that in the embodiment of the present invention, the number of cameras set along the target beach can be one or more.
[0050] The edge computing module 2 is connected to the camera 1 and is used to identify whether there is garbage in the image of the target beach according to a preset garbage recognition algorithm, and when garbage is identified in the image of the target beach, generate an alarm message and send it to the remote monitoring terminal 3;
[0051] The remote monitoring terminal 3 is connected to the edge computing module 2 and is used to issue an alarm in time after receiving the alarm information.
[0052] The beneficial effects of the above technical solution are as follows: the beach garbage monitoring system based on edge computing provided by the embodiment of the present invention first collects the image of the beach through the camera 1, and then the edge computing module 2 identifies whether there is garbage in the image of the target beach according to the preset garbage recognition algorithm, and issues a timely alarm through the remote monitoring terminal 3 when there is garbage. The present invention can automatically and intelligently identify garbage in the beach image through the edge computing module 2, and issue a timely alarm, which effectively improves the efficiency of beach garbage monitoring, effectively solves the problem of dirty and messy environment on the beach, and protects the beach and marine environment.
[0053] As an optional embodiment, the preset junk identification algorithm is a junk image feature identification algorithm based on a preset junk feature library.
[0054] The beneficial effects of the above technical solution are as follows: based on the massive image data of beach garbage collected in the early stage, the characteristic values of the garbage are obtained through big data analysis technology and stored in a preset garbage feature library, and then the garbage image feature recognition algorithm based on the preset garbage feature library is obtained through training to identify garbage in beach images, which has the advantage of high recognition accuracy.
[0055] As an optional embodiment, the edge computing module 2 includes: a garbage identification unit, a garbage positioning unit, a judgment unit, and an alarm information generation unit, wherein:
[0056] A garbage identification unit is used to identify whether there is garbage in the image of the target beach according to a preset garbage identification algorithm, and if so, the identified garbage is used as the target garbage;
[0057] A garbage locating unit, used to locate the position of target garbage in the image of the current target beach;
[0058] A movement direction determination unit is used to determine the comprehensive movement direction of the target garbage according to the position of the target garbage in the image of the target beach identified and located in multiple frames of target beach images collected by the same camera within a period of collection time;
[0059] A judging unit, used for judging whether the target garbage is moving toward the sea according to the comprehensive moving direction of the target garbage determined by the moving direction determining unit and the direction vector of the preset coastline;
[0060] The alarm information generating unit is used to generate alarm information recording the camera identification, the image of the target beach, the position of the target garbage in the image of the target beach, and whether the target garbage moves toward the sea.
[0061] The beneficial effect of the above technical solution is: when garbage is identified on the beach, it is then determined which of the garbage is moving towards the sea, and then the information on whether the garbage is moving towards the sea is used as part of the alarm information to issue an alarm, so that beach cleaning staff can deal with the garbage moving towards the sea as soon as possible, effectively avoiding garbage pollution of the ocean.
[0062] As an optional embodiment, the garbage positioning unit is specifically used to locate the coordinate value of the target garbage in the target image coordinate system and record the target garbage information of this time; wherein the target image coordinate system is the image coordinate system of the camera corresponding to the image of the target beach where the target garbage is currently identified, and the target garbage information includes: camera identification, acquisition time of the image of the target beach this time, and coordinate value of the target garbage identified this time in the target image coordinate system;
[0063] In this embodiment, the movement direction determination unit is specifically used to determine the comprehensive movement direction of the target garbage based on the first formula according to the recognition results of the target garbage in multiple frames of target beach images collected by the same camera within a period of collection time and the target garbage information corresponding to the recognized target garbage;
[0064] Among them, the first formula is:
[0065]
[0066] In the first formula, [x(t), y(t)] represents the comprehensive movement direction of the target garbage at time t; t represents the current time; t0 represents the time when the target garbage is first identified; (X t ,Y t ) represents the coordinate value of the target garbage located at time t in the target image coordinate system; It represents the coordinate value of the target garbage located at time t0 in the target image coordinate system. represents the coordinate value of the target garbage identified and located for the ath time in the target image coordinate system in the multi-frame target beach image collected by the same camera from time t0 to time t; n represents the total number of times the target garbage is identified in the multi-frame target beach image collected by the same camera from time t0 to time t;
[0067] In this embodiment, the judgment unit includes: a judgment value calculation subunit and a judgment subunit, wherein:
[0068] a determination value calculation subunit, for calculating a predicted value of the target garbage flowing into the sea based on a second formula according to the comprehensive movement direction of the target garbage and a preset direction vector of the coastline;
[0069] Wherein, the second formula is:
[0070]
[0071] In the second formula, G(t) represents the predicted value of the target garbage flowing into the sea at time t, G(t)=1 represents the target garbage moving toward the sea, and G(t)=0 represents the target garbage moving toward the sea; Represents the direction vector of the coastline in the preset target image coordinate system; Indicates the coordinate point (X t ,Y t ) to vector The direction vector of the perpendicular line obtained by drawing a perpendicular line; Indicates the search for the vector [x(t), y(t)] and the vector The angle value between .
[0072] The judging subunit is used to judge whether the predicted value of the target garbage flowing into the sea currently calculated by the judgment value calculating subunit is equal to 1. If so, it is determined that the target garbage moves toward the sea; otherwise, it is determined that the target garbage does not move toward the sea.
[0073] The beneficial effects of the above technical solution are as follows: the first formula (1) is used to obtain the comprehensive movement direction of the garbage according to the plane coordinates of the garbage in the picture from the time when the garbage on the beach is found to the current time, so as to analyze the comprehensive movement direction of the garbage from multiple levels and angles, which provides a basis for the subsequent prediction of whether the garbage will flow into the sea and improves the prediction accuracy; then the second formula (2) is used to judge whether the garbage will flow into the sea according to the comprehensive movement direction of the garbage, and the garbage that needs to be handled in time is screened out, and the garbage that needs to be cleaned is prioritized to facilitate the cleaning of the staff and improve the garbage cleaning efficiency.
[0074] As an optional embodiment, the judgment unit further includes: a time calculation subunit, which is used to calculate the garbage processing time of the target garbage based on the third formula when the judgment result of the judgment subunit is yes; in this embodiment, the alarm information generated by the alarm information generation unit also records the processing time of the target garbage;
[0075] Wherein, the third formula is:
[0076]
[0077] In the third formula, T(t) represents the garbage disposal time of the target garbage at time t; Indicates the coordinate point (X t ,Y t ) to vector The length of the perpendicular line.
[0078] The beneficial effect of the above technical solution is: the garbage disposal time is obtained by using the third formula (3), so as to urge the garbage cleaning personnel to arrive at the garbage site within the garbage disposal time to clean up the garbage, and then the garbage can be cleaned up in time to prevent the garbage from flowing into the sea and causing pollution to the sea.
[0079] It is worth noting that in the above technical solution provided by the embodiment of the present invention, multiple cameras can be set up along the beach, and an edge computing module can be set on each camera to specifically identify and locate the target garbage in the corresponding camera and whether it moves toward the sea. Alternatively, an edge computing module can also be connected to multiple cameras. When the edge computing module is connected to multiple cameras and is used to process the image data of the target beach collected by multiple cameras, when the edge computing module identifies the target garbage in the image of the target beach collected by each camera (the target garbage in the images of the target beach collected by different cameras may not be the same), when determining the comprehensive movement direction of the target garbage and whether the target garbage flows into the sea, it is processed for the data collected by the same camera to achieve consistency of the reference coordinate system.
[0080] As an optional embodiment, the beach garbage monitoring system based on edge computing also includes: a handheld mobile terminal of a garbage cleaning personnel, the handheld mobile terminal is connected to the remote monitoring terminal 3 via a network; the remote monitoring terminal 3 is specifically used to display the most recently received alarm information in a graphical manner and to issue an alarm, and the remote monitoring terminal 3 is also used to determine the number of garbage cleaners corresponding to the target garbage disposal time in the most recently received alarm information according to the correspondence between the preset garbage disposal time and the number of garbage cleaners, as the current target number of people, and send a garbage cleaning instruction to the handheld mobile terminals of the current target number of people; wherein the garbage cleaning instruction includes at least a camera identifier, an image of the target beach, and a target garbage disposal time.
[0081] The beneficial effects of the above technical solution are: equipping garbage collectors with handheld mobile terminals can enable them to timely understand the specific situation of beach garbage, including: camera identification of detected garbage, beach images and garbage processing time, so that garbage collectors can clean up the garbage as soon as possible, effectively improving the efficiency of garbage cleaning, and allocating the number of garbage cleaners according to the garbage processing time, effectively improving the intelligence level of the system.
[0082] As an optional embodiment, the handheld mobile terminal is also used to send its own positioning information in the earth coordinate system to the remote monitoring terminal 3 in real time;
[0083] The remote monitoring terminal 3 comprises:
[0084] The alarm module is used to display the most recently received alarm information in a graphical manner and issue an alarm;
[0085] The number determination module is used to determine the number of garbage cleaners corresponding to the target garbage disposal time in the most recently received alarm information according to the correspondence between the preset garbage disposal time and the number of garbage cleaners, as the current target number of garbage cleaners;
[0086] A coordinate conversion module, used to convert the coordinate value of the target garbage in the target image coordinate system into the earth coordinate system according to the alarm information and a preset conversion relationship between the camera image coordinate system and the earth coordinate system, so as to obtain the coordinate value of the target garbage in the earth coordinate system;
[0087] A distance calculation module, used to calculate the distance between each handheld mobile terminal and the target garbage according to the positioning information of each handheld mobile terminal in the earth coordinate system and the coordinate value of the target garbage in the earth coordinate system;
[0088] The cleaning task scheduling module is used to send garbage cleaning instructions to the handheld mobile terminals closest to the current target number of people and the target garbage according to the distance between each handheld mobile terminal and the target garbage.
[0089] The beneficial effect of the above technical solution is: according to the location information of the handheld mobile terminal held by each garbage cleaning personnel and the location information of the beach garbage, the distance information between each garbage cleaning personnel and the garbage on the beach is determined, and then according to this distance information, the specific information of the garbage is sent to the handheld mobile terminal closest to it, so that the garbage cleaning personnel corresponding to the handheld mobile terminal can understand the garbage cleaning task and effectively reduce the time for the garbage cleaning personnel to rush to the garbage location, thereby improving the efficiency of garbage cleaning and improving the intelligence level of the system.
[0090] It can be seen from the contents of the above embodiments that the edge computing module 2 is added to the camera, and the garbage monitoring function around the beach is added, so that the garbage situation around the beach can be obtained in real time, and an alarm reminder can be issued when the garbage is detected; specifically: after the garbage around the beach is monitored, the movement direction of the garbage is analyzed, and according to the movement direction of the garbage, it is determined whether the garbage flows into the sea. If the garbage flows into the sea, the garbage disposal time is added to the generated alarm reminder to urge the garbage cleaning personnel to arrive at the garbage site within the garbage disposal time to clean up the garbage, so that the garbage can be cleaned up in time to prevent the garbage from flowing into the sea and causing pollution to the sea.
[0091] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 An apparatus for the method specified in one or more blocks.
[0092] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 The method specified in one or more boxes.
[0093] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps of a method specified in one or more boxes.
[0094] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these changes and variations. The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by those skilled in the art within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims
1. A beach garbage monitoring system based on edge computing, characterized in that: include: A camera is installed at a preset position along the target beach to collect images of the target beach in real time; An edge computing module connected to the camera is used to identify whether there is garbage in the image of the target beach according to a preset garbage identification algorithm, and when garbage is identified in the image of the target beach, generate an alarm message and send it to the remote monitoring terminal; A remote monitoring terminal, connected to the edge computing module, for issuing a timely alarm after receiving the alarm information; Wherein, the edge computing module includes: A garbage identification unit is used to identify whether there is garbage in the image of the target beach according to a preset garbage identification algorithm, and if so, the identified garbage is used as the target garbage; A garbage locating unit, used to locate the position of target garbage in the image of the current target beach; A movement direction determination unit is used to determine the comprehensive movement direction of the target garbage according to the position of the target garbage in the image of the target beach identified and located in multiple frames of target beach images collected by the same camera within a period of collection time; A judging unit, used for judging whether the target garbage is moving toward the sea according to the comprehensive moving direction of the target garbage determined by the moving direction determining unit and the direction vector of the preset coastline; An alarm information generating unit, used to generate alarm information recording information including a camera identification, an image of a target beach, a position of the target garbage in the image of the target beach, and whether the target garbage moves toward the sea; The garbage positioning unit is specifically used to locate the coordinate value of the target garbage in the target image coordinate system and record the target garbage information of this time; wherein the target image coordinate system is the image coordinate system of the camera corresponding to the image of the target beach where the target garbage is currently identified, and the target garbage information includes: camera identification, acquisition time of the image of the target beach this time, and coordinate value of the target garbage identified this time in the target image coordinate system; The movement direction determination unit is specifically used to determine the comprehensive movement direction of the target garbage based on the first formula according to the recognition results of the target garbage in multiple frames of target beach images collected by the same camera within a period of collection time and the target garbage information corresponding to the recognized target garbage; The judging unit comprises: a determination value calculation subunit, for calculating a predicted value of the target garbage flowing into the sea based on a second formula according to the comprehensive movement direction of the target garbage and a preset direction vector of the coastline; A judging subunit is used to judge whether the prediction value of the target garbage flowing into the sea currently calculated by the judgment value calculating subunit is equal to 1. If so, it is determined that the target garbage moves toward the sea; otherwise, it is determined that the target garbage does not move toward the sea; Among them, the first formula is: In the first formula, [x(t), y(t)] represents the comprehensive movement direction of the target garbage at time t; t represents the current time; t0 represents the time when the target garbage is first identified; (X t ,Y t ) represents the coordinate value of the target garbage located at time t in the target image coordinate system; It represents the coordinate value of the target garbage located at time t0 in the target image coordinate system. represents the coordinate value of the target garbage identified and located for the ath time in the target image coordinate system in the multi-frame target beach image collected by the same camera from time t0 to time t; n represents the total number of times the target garbage is identified in the multi-frame target beach image collected by the same camera from time t0 to time t; The second formula is: In the second formula, t(t) represents the predicted value of the target garbage flowing into the sea at time t; Represents the direction vector of the coastline in the preset target image coordinate system; Indicates the coordinate point (X t ,Y t ) to vector The direction vector of the perpendicular line obtained by drawing a perpendicular line; Indicates the search for the vector [x(t), y(t)] and the vector The angle value between .
2. The beach garbage monitoring system based on edge computing according to claim 1, characterized in that: The preset garbage recognition algorithm is a garbage image feature recognition algorithm based on a preset garbage feature library.
3. The beach garbage monitoring system based on edge computing as claimed in claim 1, characterized in that: The judging unit further includes: a time calculation subunit, configured to calculate the garbage processing time of the target garbage based on a third formula when the judgment result of the judgment subunit is yes; The alarm information generated by the alarm information generating unit also records the processing time of the target garbage; Wherein, the third formula is: In the third formula, T(t) represents the garbage disposal time of the target garbage at time t; Indicates the coordinate point (Y t ,Y t ) to vector The length of the perpendicular line.
4. The beach garbage monitoring system based on edge computing as claimed in claim 3, characterized in that: The system further comprises: a handheld mobile terminal of a garbage cleaning staff, the handheld mobile terminal being connected to the remote monitoring terminal via a network; The remote monitoring terminal is specifically used to display the most recently received alarm information in a graphical manner and to issue an alarm; the remote monitoring terminal is also used to determine the number of garbage cleaners corresponding to the target garbage disposal time in the most recently received alarm information based on the correspondence between the preset garbage disposal time and the number of garbage cleaners, as the current target number of people, and to send a garbage cleaning instruction to the handheld mobile terminals of the current target number of people; wherein the garbage cleaning instruction includes at least a camera identification, an image of the target beach and a target garbage disposal time.
5. The beach garbage monitoring system based on edge computing as claimed in claim 4, characterized in that: The handheld mobile terminal is also used to send its own positioning information in the earth coordinate system to the remote monitoring terminal in real time; The remote monitoring terminal comprises: The alarm module is used to display the most recently received alarm information in a graphical manner and issue an alarm; The number determination module is used to determine the number of garbage cleaners corresponding to the target garbage disposal time in the most recently received alarm information according to the correspondence between the preset garbage disposal time and the number of garbage cleaners, as the current target number of garbage cleaners; A coordinate conversion module, used to convert the coordinate value of the target garbage in the target image coordinate system into the earth coordinate system according to the alarm information and a preset conversion relationship between the camera image coordinate system and the earth coordinate system, so as to obtain the coordinate value of the target garbage in the earth coordinate system; A distance calculation module, used to calculate the distance between each handheld mobile terminal and the target garbage according to the positioning information of each handheld mobile terminal in the earth coordinate system and the coordinate value of the target garbage in the earth coordinate system; The cleaning task scheduling module is used to send garbage cleaning instructions to the handheld mobile terminals closest to the current target number of people and the target garbage according to the distance between each handheld mobile terminal and the target garbage.
