Garbage disposal monitoring method, device, equipment and readable storage medium
By setting up monitoring equipment in the garbage disposal area, judging and recording delivery behavior, identifying the identity information of the disposal user, and deducting points in violation of regulations, the problem of lack of monitoring during the garbage room is solved, and the supervision effect of garbage classification is improved.
Patent Information
- Application Number
- CN202111329935.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-10
- Publication Date
- 2025-06-20
- Estimated Expiration
- 2041-11-10
AI Technical Summary
During the time when the garbage room is not open, there is a lack of standardized monitoring of garbage classification and disposal behavior, resulting in poor supervision of garbage classification.
By determining whether there is a delivery behavior, if it exists, the monitoring device will be awakened to collect images of the garbage disposal area, identify the identity information of the disposal user, and store it in association with the garbage disposal image, and deduct points for the user's violation type based on the identity information.
The standardized monitoring of garbage classification and disposal behavior during the time when the garbage room is not open has been realized, the supervision effect of garbage classification has been improved, and residents' awareness of garbage classification has been enhanced.
Smart Images

Figure CN114241352B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of garbage disposal, and particularly to a garbage disposal monitoring method, device, equipment and readable storage medium. Background Art
[0002] With the increasing total amount of urban garbage year by year, garbage disposal has become one of the important factors affecting urban development. For this reason, the policy of garbage classification has been proposed. At present, when monitoring garbage classification, most areas open the garbage room in time periods and arrange staff on duty. However, outside the opening hours, residents still throw garbage directly around the garbage room. When the opening time arrives, the staff need to classify and put the garbage placed around the garbage room into the garbage room one by one. That is, there is a lack of monitoring of the standardized garbage classification behavior during the non-opening hours of the garbage room, resulting in poor supervision effect of garbage classification. In the long run, it will reduce the awareness of residents for garbage classification and is not conducive to the implementation of garbage classification.
[0003] The above content is only used to assist in understanding the technical solution of this application, and does not represent an admission that the above content is prior art. Summary of the Invention
[0004] The main purpose of this application is to provide a garbage disposal monitoring method, device, equipment and readable storage medium, aiming to solve the technical problem in the prior art that there is a lack of monitoring of the standardized garbage classification behavior during the non-opening hours of the garbage room, resulting in poor supervision effect of garbage classification.
[0005] To achieve the above purpose, this application provides a garbage disposal monitoring method, including:
[0006] Judge whether there is a disposal behavior;
[0007] If there is a disposal behavior, wake up the monitoring device to collect images of the garbage disposal area to obtain the first garbage disposal image and the image of the disposal user;
[0008] Identify the image of the disposal user to determine the identity information of the disposal user;
[0009] Associate and store the identity information with the first garbage disposal image, and deduct points for the violation type corresponding to the user according to the identity information.
[0010] Optionally, the step of judging whether there is a disposal behavior includes:
[0011] Obtain the weight of the garbage disposal area at the current moment, and compare the weight with the reference weight, where the reference weight is the weight of the garbage disposal area at the previous moment;
[0012] If the said weight is greater than the control weight, it is determined that there is a feeding behavior, and the said weight is recorded as the control weight for the next moment;
[0013] If the said weight is less than or equal to the control weight, it is determined that there is no feeding behavior, and the said weight is recorded as the control weight for the next moment.
[0014] Optionally, the step of identifying the said feeding user image to determine the identity information of the feeding user includes:
[0015] Performing contour extraction on the said feeding user image to obtain a first contour;
[0016] Performing feature point extraction on the said feeding user image to obtain a first set of feature points;
[0017] Traversing the face images in the face image database to obtain the second contour and the second set of feature points corresponding to each of the said face images;
[0018] Matching the said first contour with the second contour to obtain a first matching value;
[0019] Matching the said first set of feature points with the second set of feature points to obtain a second matching value;
[0020] Calculating the weights of the said first matching value and the second matching value to obtain the weight matching value of each of the said face images;
[0021] Sorting all the said weight matching values, and taking the identity information associated with the face image corresponding to the maximum weight matching value as the identity information of the feeding user.
[0022] Optionally, when there are multiple said feeding user images,
[0023] The step of performing contour extraction on the said feeding user image to obtain a first contour includes:
[0024] Performing contour extraction on multiple said feeding user images, calculating the clarity of the extracted contours of each of the said feeding user images, and taking the extracted contour with the highest clarity as the first contour;
[0025] The step of performing feature point extraction on the said feeding user image to obtain a first set of feature points includes:
[0026] Performing feature point extraction on multiple said feeding user images, and integrating the feature points of the said feeding user images to obtain the first set of feature points.
[0027] Optionally, after the step of associatively storing the identity information with the first feeding garbage image, further includes:
[0028] Send a pickup instruction to the supervisor, where the pickup instruction is used to notify the supervisor to collect images and scan codes of the garbage placed in the garbage disposal area;
[0029] Obtain the second garbage disposal image and the scan code information uploaded by the supervisor, where the scan code information includes user identity information and garbage category information;
[0030] Match the second garbage disposal image with the first garbage image;
[0031] If the matching degree is higher than the first matching threshold, compare the user identity information included in the scan code information with the identity information;
[0032] If the comparison is unsuccessful, replace the identity information with the user identity information included in the scan code information.
[0033] Optionally, when the second garbage disposal image and the scan code information are uploaded encrypted, the step of obtaining the second garbage disposal image and the scan code information uploaded by the supervisor includes:
[0034] Obtain the encrypted data packet uploaded by the supervisor;
[0035] According to the encryption rule, reverse decrypt the encrypted data packet to obtain the second garbage disposal image and the scan code information.
[0036] Optionally, the step of reverse decrypting the encrypted data packet according to the encryption rule to obtain the second garbage disposal image and the scan code information includes:
[0037] Generate a decryption password associated with the identity information for the first garbage disposal image according to the encryption rule and the identity information;
[0038] Use the decryption password to decrypt the encrypted data packet to obtain the second garbage disposal image and the scan code information;
[0039] Among them, the encryption rule includes:
[0040] Obtain the user identity information included in the scan code information, where the user identity information includes the username, user birthday, user address, and user contact number;
[0041] Extract the numbers in the user birthday, user address, and user contact number, and sort them in sequence to obtain the first string;
[0042] Obtain the garbage category information included in the scan code information, and obtain the corresponding encrypted string, where the encrypted string is composed of "0" and "1";
[0043] Delete the characters in the first string whose position numbers are relatively prime to the number of "0"s in the encrypted string, based on the number of "0"s in the encrypted string, to obtain a second string;
[0044] Based on the number of "1"s in the encrypted string, add a preset digital character before the characters in the second string whose position numbers are relatively prime to the number of "1"s, to obtain a third string as the encrypted password;
[0045] Encrypt the data packet including the second garbage placement image and the code scanning information according to the encrypted password, to obtain an encrypted data packet.
[0046] In addition, to achieve the above object, the present application further provides a garbage placement monitoring device, including:
[0047] A judgment module, configured to judge whether there is a placement behavior;
[0048] A wake-up module, configured to wake up the monitoring device to collect images of the garbage placement area when there is a placement behavior;
[0049] A receiving module, configured to obtain a first garbage placement image and a placement user image;
[0050] An identification module, configured to identify the placement user image to determine the identity information of the placement user;
[0051] A result module, configured to associate and store the identity information with the first garbage placement image, and deduct points for the violation type corresponding to the user according to the identity information.
[0052] In addition, to achieve the above object, the present application further provides a garbage placement monitoring device, including a processor, a memory, and a garbage placement monitoring program stored on the memory and executable on the processor. When the garbage placement monitoring program is executed by the processor, the steps of the garbage placement monitoring method described above are implemented.
[0053] In addition, to achieve the above object, the present application further provides a readable storage medium, on which a garbage placement monitoring program is stored. When the garbage placement monitoring program is executed by a processor, the steps of the garbage placement monitoring method described above are implemented.
[0054] The present application discloses a garbage disposal monitoring method, device, equipment and readable storage medium. Compared with the prior art, in which there is a lack of monitoring of the garbage classification and disposal behavior norms during the non-opening hours of the garbage room, resulting in poor supervision effect of garbage classification, the present application determines whether there is a disposal behavior; if there is a disposal behavior, the monitoring device is awakened to collect images of the garbage disposal area, obtaining the first garbage disposal image and the image of the disposal user; the image of the disposal user is identified to determine the identity information of the disposal user; the identity information is stored in association with the first garbage disposal image, and the corresponding violation type of the user is deducted according to the identity information, realizing the monitoring of the garbage classification and disposal behavior norms even during the non-opening hours of the garbage room, and improving the supervision effect of garbage classification. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] The accompanying drawings are incorporated herein and form a part of this specification, showing embodiments consistent with the present application and, together with the specification, are used to explain the principles of the present application.
[0056] To more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following briefly introduces the accompanying drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0057] Figure 1 It is a schematic flowchart of the first embodiment of the garbage disposal monitoring method of the present application;
[0058] Figure 2 It is a schematic structural diagram of a terminal / device of the hardware operating environment involved in the solution of the embodiment of the present application.
[0059] The implementation, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0060] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0061] The embodiment of the present application provides a garbage disposal monitoring method. It should be noted that the scenario applied in the embodiment of the present application is the garbage disposal area during non-opening hours, and the garbage disposal area can be set in a community, an office place or a public place.
[0062] In the first embodiment of the garbage disposal monitoring method of the present application, referring to Figure 1 , the garbage disposal monitoring method includes:
[0063] Step S10: Determine whether there is a disposal behavior.
[0064] Further, the step of determining whether there is a throwing behavior specifically includes:
[0065] Step S101: Obtain the weight of the garbage throwing area at the current moment, and compare the weight with a reference weight, where the reference weight is the weight of the garbage throwing area at the previous moment;
[0066] Step S102: If the weight is greater than the reference weight, it is determined that there is a throwing behavior, and record the weight as the reference weight for the next moment;
[0067] Step S103: If the weight is less than or equal to the reference weight, it is determined that there is no throwing behavior, and record the weight as the reference weight for the next moment.
[0068] Among them, the garbage throwing area includes the garbage house and the open space with a radius of R centered on the garbage house around the garbage house. The specific value of R can be set according to actual needs and is not specifically limited in this embodiment. Since the garbage house is in a closed state during non-opening hours, obtaining the weight of the garbage throwing area at the current moment can be considered as obtaining the weight on the open space with a radius of R centered on the garbage house around the garbage house. In this embodiment, pressure sensors or gravity sensors can be densely arranged regularly on the open space, so as to obtain the weight of the garbage throwing area at the current moment by converting the pressure detected by the pressure sensors into weight or directly obtain the weight of the garbage throwing area at the current moment through the gravity sensors.
[0069] Step S20: If there is no throwing behavior, return to step S10.
[0070] Step S30: If there is a throwing behavior, wake up the monitoring device to collect images of the garbage throwing area, and obtain the first garbage throwing image and the throwing user image.
[0071] Among them, the monitoring device can be set in the garbage throwing area or near the garbage throwing area. In addition, the monitoring camera located near the garbage throwing area in the security monitoring system can also be directly used as the monitoring device without re-deploying the monitoring camera.
[0072] It should be noted that in this embodiment, the monitoring device can collect images of the garbage disposal area by directly taking pictures of the garbage disposal area to obtain the first garbage disposal image and the disposing user image; or it can take videos of the garbage disposal area and upload the captured videos to the background service center. After the background service center performs preprocessing such as noise reduction and format conversion on the videos, the preprocessed videos are divided into several video frames according to a preset frame interval, and image recognition is performed on each video frame. The video frames containing garbage are identified and screened out as the first garbage disposal images, and the video frames containing users are used as the disposing user images.
[0073] Step S40: Identify the disposing user image to determine the identity information of the disposing user.
[0074] Further, the step of identifying the disposing user image to determine the identity information of the disposing user specifically includes:
[0075] Step S401: Extract the contour of the disposing user image to obtain the first contour;
[0076] Step S402: Extract feature points from the disposing user image to obtain the first set of feature points;
[0077] Step S403: Traverse the face images in the face image database to obtain the second contour and the second set of feature points corresponding to each face image;
[0078] Step S404: Match the first contour with the second contour to obtain the first matching value;
[0079] Step S405: Match the first set of feature points with the second set of feature points to obtain the second matching value;
[0080] Step S406: Calculate the weights of the first matching value and the second matching value to obtain the weighted matching value of each face image;
[0081] Step S407: Sort all the weighted matching values, and use the identity information associated with the face image corresponding to the largest weighted matching value as the identity information of the disposing user.
[0082] It should be noted that in step S40, the first contour and the first feature point set of the user image to be placed are obtained, and the second contour and the second feature point set corresponding to each face image in the face image database are obtained. The first contour is matched with the second contour to obtain a first matching value, and the first feature point set is matched with the second feature point set to obtain a second matching value. Weight calculation is performed on the first matching value and the second matching value to obtain the weight matching value of each face image. The identity information associated with the face image corresponding to the largest weight matching value is used as the identity information of the user to be placed, which improves the accuracy of face image recognition and thus the accuracy of identifying the identity information of the user to be placed.
[0083] Further, when there are multiple user images to be placed, in step S401, the step of performing contour extraction on the user images to be placed to obtain the first contour specifically includes:
[0084] Perform contour extraction on multiple user images to be placed, and calculate the clarity of the extracted contour of each user image to be placed. The extracted contour with the highest clarity is used as the first contour.
[0085] Among them, when performing contour extraction on multiple user images to be placed, a two-dimensional image containing the extracted contour is obtained. Therefore, the calculation process of clarity is as follows:
[0086] Take the brightness values of 3 to 6 pixel points in each row of the two-dimensional image as a group, calculate the maximum value, minimum value, and average value of the brightness values of each group in each row of data, and calculate the sum of the squares of the brightness values of each group in each row of data. Add the sums of squares of each group to obtain the temporary clarity of each row of data. Select the largest 4 temporary clarities and then calculate the average value to obtain the final clarity.
[0087] Further, when there are multiple user images to be placed, in step S402, the step of performing feature point extraction on the user images to be placed to obtain the first feature point set includes:
[0088] Perform feature point extraction on multiple user images to be placed, and integrate the feature points of the user images to be placed to obtain the first feature point set.
[0089] Among them, integrating the feature points of the user images to be placed means taking the feature points extracted from one of the user images to be placed as the basic feature point set, and then adding the feature points extracted from other multiple user images to be placed and not appearing in the basic feature point set to the basic feature point set to obtain the first feature point set. It should be noted that in this embodiment, the feature points include eyes, eyebrows, nose, mouth, ears, eyes, and scars, etc.
[0090] Step S50: Associatively store the identity information with the first garbage disposal image, and deduct points for the violation type corresponding to the user according to the identity information.
[0091] It should be noted that in this embodiment, associatively storing the identity information with the first garbage disposal image facilitates subsequent queries. Among them, since the application scenario of this embodiment is the garbage disposal area during non-opening hours, the violation type corresponding to the user is uniformly garbage disposal during non-opening hours.
[0092] Compared with the prior art, during the non-opening hours of the garbage house, there is a lack of monitoring of the norms for garbage classification and disposal, resulting in poor supervision effects for garbage classification. In this application, it is determined whether there is a disposal behavior; if there is a disposal behavior, the monitoring device is awakened to collect images of the garbage disposal area, obtaining the first garbage disposal image and the image of the disposal user; the image of the disposal user is recognized to determine the identity information of the disposal user; the identity information is associatively stored with the first garbage disposal image, and points are deducted for the violation type corresponding to the user according to the identity information, realizing the monitoring of the norms for garbage classification and disposal during the non-opening hours of the garbage house and improving the supervision effect of garbage classification.
[0093] Based on the first embodiment of the garbage disposal monitoring method of this application, a second embodiment is further provided. In step S50 of the second embodiment: Associatively store the identity information with the first garbage disposal image, and deduct points for the violation type corresponding to the user according to the identity information, which specifically includes:
[0094] Step S501: Associatively store the identity information with the first garbage disposal image.
[0095] Step S502: Send a pickup instruction to the supervisor, and the pickup instruction is used to notify the supervisor to collect images and scan the code of the disposed garbage in the garbage disposal area.
[0096] It should be noted that in this embodiment, after the supervisor arrives at the garbage disposal area, images of the disposed garbage are taken according to the shooting angle of the monitoring device to obtain the second garbage disposal image, and the two-dimensional code on the garbage bag is scanned to obtain the scanned code information. It is also determined whether the time interval between the image shooting time and the two-dimensional code scanning is less than a preset time interval. If it is less than or equal, the data packet including the second garbage disposal image and the scanned code information is encrypted according to the encryption rule to obtain the encrypted data packet; if it is greater, an alarm message is sent to prompt the supervisor to re-perform the image shooting time and the two-dimensional code scanning.
[0097] Among them, the encryption rule includes:
[0098] Obtain the user identity information included in the scanned code information, where the user identity information includes the user name, user birthday, user address, and user contact phone number;
[0099] Extract the numbers in the user birthday, user address, and user contact phone number, and sort them in sequence to obtain the first string;
[0100] Obtain the garbage category information included in the scanned code information, and obtain the encrypted string corresponding to the garbage category information, where the encrypted string is composed of "0" and "1";
[0101] According to the number of "0" in the encrypted string, delete the characters in the first string whose position numbers are relatively prime to the number of "0" to obtain the second string;
[0102] According to the number of "1" in the encrypted string, add a preset digital character before the characters in the second string whose position numbers are relatively prime to the number of "1" to obtain the third string as the encryption password;
[0103] Encrypt the data packet including the second garbage disposal image and the scanned code information according to the encryption password to obtain the encrypted data packet.
[0104] Among them, the garbage category information includes four types: kitchen waste, recyclables, hazardous waste, and other waste. Each type of garbage category information is respectively corresponding to an encrypted string, and the total length of the characters of the encrypted string corresponding to each type of garbage category information is equal.
[0105] After completing the encryption of the data packet, rename the encrypted data packet, and the new file name is composed of the garbage category, the garbage disposal area number, and the disposal time.
[0106] Step S503: Obtain the second garbage disposal image and the scanned code information encrypted and uploaded by the supervisor, where the scanned code information includes the user identity information and the garbage category information.
[0107] Further, the step of obtaining the second garbage disposal image and the scanned code information encrypted and uploaded by the supervisor, where the scanned code information includes the user identity information and the garbage category information, specifically includes:
[0108] Obtain the encrypted data packet uploaded by the supervisor;
[0109] Inverse decrypt the encrypted data packet according to the encryption rule to obtain the second garbage disposal image and the scanned code information.
[0110] Among them, the step of inverse decrypting the encrypted data packet according to the encryption rule to obtain the second garbage disposal image and the scanned code information specifically includes:
[0111] Generate a decryption password for the first junk image associated with the identity information according to the encryption rule and the identity information;
[0112] Decrypt the encrypted data packet with the decryption password to obtain the second junk image and the scanning code information.
[0113] In this embodiment, image recognition can be performed on the first junk image, that is, the color of the garbage bag in the first junk image is recognized. The colors of the garbage bags corresponding to the four garbage categories of kitchen waste, recyclables, hazardous waste, and other waste are green, blue, red, and gray respectively. After identifying the garbage category in the first junk image, a decryption string corresponding to the garbage category information can be obtained. Among them, the encrypted string corresponding to the garbage category information is the same as the decryption string. Then, obtain the username, user birthday, user address, and user contact phone number included in the identity information associated with the first junk image, extract the numbers in the user birthday, user address, and user contact phone number, and sort them in sequence to obtain a fourth string; according to the number of "0"s in the decryption string, delete the characters in the fourth string whose position numbers are relatively prime to the number of "0"s to obtain a fifth string; according to the number of "1"s in the decryption string, add a preset digital character before the characters in the fifth string whose position numbers are relatively prime to the number of "1"s to obtain a sixth string as the decryption password.
[0114] Step S504: Match the second junk image with the first junk image.
[0115] Step S505: If the matching degree is higher than the first matching threshold, compare the user identity information included in the scanning code information with the identity information;
[0116] Step S506: If the comparison is unsuccessful, replace the identity information with the user identity information included in the scanning code information, and execute step S507;
[0117] Step S507: Deduct points for the violation type corresponding to the user according to the identity information.
[0118] Among them, in this embodiment, when the matching degree in step S505 is lower than or equal to the first matching threshold or the comparison in step S506 is successful, step S507 is directly executed.
[0119] Compared with the first embodiment, in this embodiment, the command supervisor is required to take an image of the garbage being put after arriving at the garbage disposal area according to the shooting angle of the monitoring device, obtain the second garbage disposal image, scan the two-dimensional code on the garbage bag to obtain the scanned code information, encrypt and upload the second garbage disposal image and the scanned code information, and match the second garbage disposal image with the first garbage image. If the matching degree is higher than the first matching threshold, the user identity information included in the scanned code information is compared with the identity information; if the comparison is unsuccessful, the identity information is replaced with the user identity information included in the scanned code information, effectively preventing the supervisor from tampering with the above two pieces of information when uploading the second garbage disposal image and the scanned code information, and further improving the accuracy of user identity information confirmation.
[0120] In addition, an embodiment of the present application further provides a garbage disposal monitoring device, including:
[0121] A judgment module, configured to judge whether there is a disposal behavior;
[0122] A wake-up module, configured to wake up the monitoring device to collect images of the garbage disposal area when there is a disposal behavior;
[0123] A receiving module, configured to obtain the first garbage disposal image and the disposal user image;
[0124] An identification module, configured to identify the disposal user image to determine the identity information of the disposal user;
[0125] A result module, configured to associate and store the identity information with the first garbage disposal image, and deduct points for the violation type corresponding to the user according to the identity information.
[0126] Optionally, the result module is further configured to send a picking-up instruction to the supervisor, and the picking-up instruction is used to notify the supervisor to go to the garbage disposal area to collect images and scan the code of the garbage being put;
[0127] Obtain the second garbage disposal image and the scanned code information uploaded by the supervisor, where the scanned code information includes user identity information and garbage category information;
[0128] Match the second garbage disposal image with the first garbage image;
[0129] If the matching degree is higher than the first matching threshold, the user identity information included in the scanned code information is compared with the identity information;
[0130] If the comparison is unsuccessful, the identity information is replaced with the user identity information included in the scanned code information.
[0131] The specific implementation of the garbage disposal monitoring device in this application is basically the same as the embodiments of the above-mentioned garbage disposal monitoring method, and will not be elaborated here.
[0132] In addition, the embodiments of this application also provide a garbage disposal monitoring device, as Figure 2 shown, Figure 2 which is a schematic structural diagram of the hardware operating environment involved in the embodiment solution of this application.
[0133] As Figure 2 shown, the garbage disposal monitoring device may include: a processor 1001, such as a CPU, a memory 1005, a user interface 1003, a network interface 1004, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard). Optionally, the user interface 1003 may further include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. Optionally, the memory 1005 may also be a storage device independent of the foregoing processor 1001.
[0134] Optionally, the garbage disposal monitoring device may further include an RF (Radio Frequency) circuit, sensors, an audio circuit, a WiFi module, and so on.
[0135] Those skilled in the art can understand that Figure 2 the structure of the garbage disposal monitoring device shown in
[0136] As Figure 2 shown, the memory 1005, as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a garbage disposal monitoring program. Among them, the operating system is a program for managing and controlling the hardware and software resources of the garbage disposal monitoring device, and supports the operation of the garbage disposal monitoring program and other software or programs.
[0137] In Figure 2In the electronic device shown, the user interface 1003 is mainly used to connect to a terminal and communicate with the terminal for data, such as receiving requests sent by the terminal; the network interface 1004 is mainly used to communicate with a background server for data; the processor 1001 can be used to call the garbage disposal monitoring program stored in the memory 1005 and execute the steps of the garbage disposal monitoring method as described above.
[0138] The specific implementation of the garbage disposal monitoring device in this application is basically the same as that of each embodiment of the above-mentioned garbage disposal monitoring method, and will not be elaborated here.
[0139] In addition, an embodiment of this application also proposes a readable storage medium, on which a garbage disposal monitoring program is stored. When the garbage disposal monitoring program is executed by a processor, the steps of the garbage disposal monitoring method as described above are implemented.
[0140] The specific implementation of the readable storage medium of this application is basically the same as that of each embodiment of the above-mentioned garbage disposal monitoring method, and will not be elaborated here.
[0141] It should be noted that in this article, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including one..." does not exclude the existence of another identical element in the process, method, article or device including that element.
[0142] The serial numbers of the embodiments of this application are only for description and do not represent the superiority or inferiority of the embodiments.
[0143] Through the description of the above embodiments, those skilled in the art can clearly understand that the above embodiment methods can be implemented by means of software plus a necessary general hardware platform. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation. Based on such an understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions for causing a terminal device (which can be a mobile phone, computer, server, device, or network device, etc.) to execute the methods described in each embodiment of this application.
[0144] The above are only the preferred embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, shall be similarly included in the patent protection scope of the present application.
Claims
1. A garbage disposal monitoring method, characterized in that, The garbage classification and placement monitoring method includes: Determine whether there is a placement behavior; If there is a placement behavior, wake up the monitoring device to collect images of the garbage placement area, obtaining the first garbage placement image and the placement user image; Identify the placement user image to determine the identity information of the placement user; Associate and store the identity information with the first garbage placement image, and deduct points for the violation type corresponding to the user according to the identity information; After the step of associating and storing the identity information with the first garbage placement image, it further includes: Send a pickup instruction to the supervisor, and the pickup instruction is used to notify the supervisor to collect images and scan codes of the placed garbage in the garbage placement area; Obtain the second garbage placement image and the scan code information uploaded by the supervisor, and the scan code information includes user identity information and garbage category information; Match the second garbage placement image with the first garbage image; If the matching degree is higher than the first matching threshold, compare the user identity information included in the scan code information with the identity information; If the comparison is unsuccessful, replace the identity information with the user identity information included in the scan code information; When the second garbage placement image and the scan code information are encrypted and uploaded, the step of obtaining the second garbage placement image and the scan code information uploaded by the supervisor includes: Obtain the encrypted data packet uploaded by the supervisor; Reverse decrypt the encrypted data packet according to the encryption rule to obtain the second garbage placement image and the scan code information; The step of reverse decrypting the encrypted data packet according to the encryption rule to obtain the second garbage placement image and the scan code information includes: Generate a decryption password for the first garbage placement image associated with the identity information according to the encryption rule and the identity information; Decrypt the encrypted data packet using the decryption password to obtain the second garbage placement image and the scan code information; Among them, the encryption rule includes: Obtain the user identity information included in the scan code information, where the user identity information includes the user name, user birthday, user address, and user contact number; Extract the numbers in the user birthday, user address, and user contact number, and sort them in sequence to obtain the first string; Obtain the garbage category information included in the scan code information, and obtain the corresponding encrypted string, and the encrypted string is composed of "0" and "1"; According to the number of "0" in the encrypted string, delete the characters in the first string whose position numbers are relatively prime to the number of "0" to obtain the second string; According to the number of "1" in the encrypted string, add a preset digital character before the characters in the second string whose position numbers are relatively prime to the number of "1" to obtain the third string as the encryption password; Encrypt the data packet including the second garbage placement image and the scan code information according to the encryption password to obtain the encrypted data packet.
2. The garbage disposal monitoring method according to claim 1, characterized in that, The step of determining whether there is a placement behavior includes: Obtain the weight of the garbage disposal area at the current moment, and compare the weight with a reference weight, where the reference weight is the weight of the garbage disposal area at the previous moment; If the weight is greater than the reference weight, it is determined that there is a disposal behavior, and record the weight as the reference weight for the next moment; If the weight is less than or equal to the reference weight, it is determined that there is no disposal behavior, and record the weight as the reference weight for the next moment.
3. The garbage disposal monitoring method according to claim 1, characterized in that, The step of identifying the image of the disposal user to determine the identity information of the disposal user includes: Extract the contour of the image of the disposal user to obtain a first contour; Extract feature points from the image of the disposal user to obtain a first set of feature points; Traverse the face images in the face image database, and obtain the second contour and the second set of feature points corresponding to each face image; Match the first contour with the second contour to obtain a first matching value; Match the first set of feature points with the second set of feature points to obtain a second matching value; Calculate the weights of the first matching value and the second matching value to obtain the weight matching value of each face image; Sort all the weight matching values, and use the identity information associated with the face image corresponding to the largest weight matching value as the identity information of the disposal user.
4. The garbage disposal monitoring method according to claim 3, wherein When there are multiple images of the disposal user, The step of extracting the contour of the image of the disposal user to obtain a first contour includes: Extract the contours of multiple images of the disposal user, and calculate the clarity of the extracted contour of each image of the disposal user, and use the extracted contour with the highest clarity as the first contour; The step of extracting feature points from the image of the disposal user to obtain a first set of feature points includes: Extract feature points from multiple images of the disposal user, and integrate the feature points of the images of the disposal user to obtain the first set of feature points.
5. A garbage disposal monitoring device, wherein The garbage disposal monitoring device includes: A judgment module for judging whether there is a disposal behavior; A wake-up module for waking up the monitoring device to collect images of the garbage disposal area when there is a disposal behavior; A receiving module for obtaining a first image of the disposed garbage and an image of the disposal user; An identification module for identifying the image of the disposal user to determine the identity information of the disposal user; A result module for associatively storing the identity information with the first image of the disposed garbage, and deducting points for the violation type corresponding to the user according to the identity information; The garbage disposal monitoring device is also used to implement: Send a pickup instruction to the supervisor, and the pickup instruction is used to notify the supervisor to collect images and scan codes of the disposed garbage in the garbage disposal area; Obtain the second image of the disposed garbage and the scan code information uploaded by the supervisor, and the scan code information includes user identity information and garbage category information; Match the second image of the disposed garbage with the first image of the garbage; If the matching degree is higher than the first matching threshold, compare the user identity information included in the scan code information with the identity information; If the comparison is unsuccessful, replace the identity information with the user identity information included in the scanned code information; The garbage disposal monitoring device is further configured to: Obtain the encrypted data packet uploaded by the supervisor; Inverse decrypt the encrypted data packet according to the encryption rule to obtain the second garbage disposal image and the scanned code information; The garbage disposal monitoring device is further configured to: Generate a decryption password for the first garbage disposal image associated with the identity information according to the encryption rule and the identity information; Decrypt the encrypted data packet with the decryption password to obtain the second garbage disposal image and the scanned code information; Wherein, the encryption rule includes: Obtain the user identity information included in the scanned code information, where the user identity information includes the user name, user birthday, user address, and user contact number; Extract the numbers in the user birthday, user address, and user contact number, and sort them in sequence to obtain a first string; Obtain the garbage category information included in the scanned code information, and obtain an encrypted string corresponding to the garbage category information, where the encrypted string is composed of "0" and "1"; According to the number of "0" in the encrypted string, delete the characters in the first string whose position numbers are relatively prime to the number of "0" to obtain a second string; According to the number of "1" in the encrypted string, add a preset digital character before the characters in the second string whose position numbers are relatively prime to the number of "1" to obtain a third string as the encryption password; Encrypt the data packet including the second garbage disposal image and the scanned code information according to the encryption password to obtain an encrypted data packet.
6. A garbage disposal monitoring device, wherein Comprising a processor, a memory, and a garbage disposal monitoring program stored on the memory and executable on the processor, the garbage disposal monitoring program, when executed by the processor, implements the steps of the garbage disposal monitoring method according to any one of claims 1 to 4.
7. A readable storage medium, wherein The readable storage medium stores a garbage disposal monitoring program, and the garbage disposal monitoring program, when executed by a processor, implements the steps of the garbage disposal monitoring method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Intelligent garbage recycling system and method
CN109703939A
User registration method of garbage classification platform and related products
CN111832750A
Garbage delivery violation behavior detection method and system based on monitoring video
CN112488021A
Illegal garbage throwing behavior monitoring method and device and computer equipment
CN113111769A