The disclosure generally relates to a garbage sorting and recycling method.
When disposing of garbage, people do not have time to accurately identify the type of garbage, or will randomly throw all garbage. The intended type of garbage may be marked on garbage bins, but ordinary garbage bins can only passively store garbage, they do not help people to accurately sort the garbage.
Implementations of the present technology will now be described, by way of embodiments, with reference to the attached figures.
It will be appreciated that for simplicity and clarity of illustration, where appropriate, reference numerals have been repeated among the different figures to indicate corresponding or analogous elements. In addition, numerous specific details are set forth in order to provide a thorough understanding of the embodiments described herein. However, it will be understood by those of ordinary skill in the art that the embodiments described herein can be practiced without these specific details. In other instances, methods, procedures, and components have not been described in detail so as not to obscure the related relevant feature being described. The drawings are not necessarily to scale and the proportions of certain parts may be exaggerated to better illustrate details and features. The description is not to be considered as limiting the scope of the embodiments described herein.
The term “comprising” means “including, but not necessarily limited to”, it specifically indicates open-ended inclusion or membership in a so-described combination, group, series, and the like.
The number of garbage collecting devices 20 may be one or more. The garbage collecting device 20 includes a temporary storage box 21 and a collecting box 22 connected to the temporary storage box 21. The temporary storage box 21 is used for temporarily storing garbage, and the collecting box 22 may be located below the temporary storage box 21 and used for collecting garbage to be recycled. The temporary storage box 21 is provided with a feeding port, and the collecting box 22 is provided with an inlet. The garbage collecting device 20 may further include a driving member such as a motor for controlling the feeding port of the temporary storage box 21 and the inlet of the collecting box 22. It can be understood that one temporary storage box 21 may be connected to one or more collecting boxes 22.
The acquisition device 30 is configured to collect images and voice information. In one embodiment, the acquisition device 30 includes a camera 31 and a microphone 32. In other embodiments, the acquisition device 30 may include either the camera 31 or the microphone 32.
In one embodiment, the acquisition device 30 is further configured to collect commands and information for sorting garbage (“sort information”), and the sort information includes at least one of an initial image of garbage to be classified and user voice information. The acquisition device 30 is further configured to collect a detection image of the garbage in the temporary storage box 21.
The prompting device 40 is configured to issue a voice prompt or an image prompt. The prompting device 40 may include at least one of a display screen and a speaker.
The acquisition device 30 and the prompting device 40 can be installed on or adjacent to the garbage collecting device 20. It can be understood that the prompting device 40 may be omitted.
The control device 10 may be installed in the garbage collecting device 20 as a controller of the garbage collecting device 20. The control device 10 may also be a computer or a mobile terminal disposed in a user's home, or a cloud server.
The number of the control devices 10 may be one or more. For example, the control device 10 may be installed on the garbage collecting device 20 and the cloud server at the same time. The control device 10 installed on the garbage collecting device 20 obtains sort information through the acquisition device 30, and sends the obtained sort information to the cloud server for processing and then receives information processed by the cloud server to control the garbage collecting device 20 and the prompting device 40.
The processor 11 may include one or more central processors (CPUs), a microprocessor, a digital processing chip, a graphics processor, or a combination of various control chips. The processor 11 may use various interfaces and communication buses to connect various parts of the control device 10.
The storage device 12 stores various types of data in the control device 10, such as program codes and the like. The storage device 12 can be, but is not limited to, read-only memory (ROM), random-access memory (RAM), programmable read-only memory (PROM), erasable programmable ROM (EPROM), one-time programmable read-only memory (OTPROM), electrically EPROM (EEPROM), compact disc read-only memory (CD-ROM), hard disk, solid-state drive, or other forms of electronic, electromagnetic, or optical recording medium.
In one embodiment, the control device 10 may further include a communicating device 14, and the communicating device 14 can communicate with other computing devices wirelessly or by wires.
Other examples of the control device 10 may include more or fewer components than those illustrated, or combine some other components, or be otherwise different. For example, the control device 100 may also include network access devices, buses, and the like.
The acquisition module 101 acquires sort information for sorting garbage, through the acquisition device 30. The sort information includes at least one of the initial images of garbage and user voice information.
The acquisition module 101 further acquires an image of the garbage in the temporary storage box 21 of the garbage collecting device 20, through the acquisition device 30.
The acquisition module 101 further acquires an image of user through the acquisition device 30.
The sorting module 102 analyzes the image or images to obtain a first classification information of the garbage.
The sorting module 102 further analyzes the sort information for sorting garbage to obtain a second classification information of the garbage.
The prompting module 103 is configured to send a prompting information and an alarm information, and the prompting information includes the second classification information of the garbage.
The determination module 104 determines whether the first classification information matches the recycling category of the garbage collecting device 20.
The controlling module 105 controls the collecting box 22 of the garbage collecting device 20 to open so that the collecting box 22 receives the garbage. In one embodiment, the controlling module 105 further controls the temporary storage box 21 of the garbage collection device 20 to open.
The modeling module 106 establishes a classification model, and the classification model is used to analyze the category of the garbage according to the image. The classification model may be a deep learning neural network model, such as a convolutional neural network model.
The matching module 107 matches the image of user with a preset user database to obtain an identity of the user.
The information sending module 108 sends the user's identity and the current garbage placement information to a credit system.
A method for sorting and recycling garbage of a first embodiment is illustrated in
At block S401, an image of garbage in the temporary storage box 21 of the garbage collecting device 20 is acquired.
After the user puts the garbage in the temporary storage box 21 of the garbage collecting device 20, the control device 10 can acquire the image of the garbage through the acquisition device 30.
At block S402, the image is analyzed to obtain a first classification information of the garbage.
The control device 10 can input the image into a preset classification model to obtain the first classification information of the garbage. The classification model may be a deep learning neural network model, such as a convolutional neural network model.
At block S403, it is determined whether the first classification information from the image matches the recycling category of the garbage collecting device 20.
If yes, the process proceeds to block S404; if no, the process proceeds to block S405.
At block S404, the collecting box 22 is controlled to be opened, so that the collecting box 22 receives the garbage.
In one embodiment, the control device 10 can control the inlet of the collecting box 22 to open, and the garbage can move or drop into the collecting box 22 from the temporary storage box 21.
At block S405, a first prompting information is issued.
If the first classification information does not match the recycling category of the garbage collecting device 20, the inlet of the collecting box 22 is not opened, and the first prompting information is issued. The first prompt information may include at least one of the first classification information of the garbage, a warning information indicating that the category is error, and a prompt information indicating that the garbage needs to be disposed of in different manner. The first prompt information may be sent through voice reminders, image reminders, short message reminders, APP notifications, and the like.
For example, the first prompt information includes the first classification information, so that the user understands the correct classification of garbage. The first prompt information may also include the warning information, and the user is requested to confirm whether the category of the garbage and the recycling category of the garbage collecting device 20 are the same, to avoid errors of the system.
When the control device 10 is installed in the garbage collecting device 20, the prompting device 40 can be directly controlled to send the first prompting information.
When the control device 10 is a cloud server, the control device 10 may send the alarm information to the prompting device 40, so that the prompting device 40 issues the alarm information.
The above garbage sorting and recycling method can analyze the image of the garbage in the temporary storage box 21 to obtain the first classification information of the garbage, and determine whether the first classification information and the recycling category of the garbage collecting device 20 are consistent. In this case, the collecting box 22 is opened, so that the collecting box 22 can only store garbage of a certain category, to prevent misclassification. Therefore, the above method improves the accuracy of garbage classification, gradually guides people to understand the type of garbage, and enhances awareness of garbage classifications.
At block S501, a sort information for sorting garbage is acquired.
The sort information includes at least one of the initial images of garbage to be classified and user voice information.
The control device 10 may obtain the sort information through the garbage collecting device 20.
It can be understood that the garbage collecting device 20 may be equipped with a sensor. When the sensor senses that the user is approaching, the acquisition device 30 is automatically invoked. It can be understood that the acquisition device 30 may also receive a startup instruction to collect the sort information.
At block S502, the sort information is analyzed to obtain a second classification information.
The process at block S502 can be performed by the sorting module 102.
The second classification information of the garbage may be dry garbage, wet garbage, recyclable garbage, hazardous garbage, and the like.
When the sort information includes only the initial image or the voice information, the initial image or the voice information can be analyzed. When the sort information includes both the initial image and the voice information, the initial image and voice information can be analyzed separately, and the priority of the analysis is set to determine the second classification information. For example, it is set to preferentially obtain the second classification information of garbage according to the analysis of the voice information, as detailed later.
At block S503, a second prompting information is issued.
The second prompting information includes a second classification information of the garbage.
The control device 10 can control the prompting device 40 to issue the second prompting information, which can be a voice prompt or an image prompt, so that the user can know the category of garbage to be accepted.
In one embodiment, after the second prompting message is issued in step S503, the method further includes: controlling the temporary storage box 21 of the garbage collecting device 20 to open only if the second classification information is matching so that the temporary storage box 21 receives the garbage.
In one embodiment, the sort information may include only the initial image. At block S502, the initial image is input into a preset classification model to obtain the second classification information of the garbage. The classification model may be a deep learning neural network model.
The sort information may only include the user voice information. At block S502, the information of the garbage is extracted from the user voice information, and then matched with a preset garbage classification database to obtain the second classification information of garbage.
At block S5021, an initial image is input into a preset classification model to obtain a second classification information of garbage.
At block S5022, it is determined whether the second classification information is obtained.
If yes, the process proceeds to block S503. If no, the process proceeds to block S5023.
At block S5023, a user voice information is acquired, and an information of the garbage is extracted from the user voice information.
At block S5024, the information of the garbage to be classified is matched with a preset garbage classification database to obtain the second classification information of the garbage.
The above method can analyze the sort information to obtain the second classification information of the garbage, and issue the second prompt information according to the second classification information, so that the user can clearly understand the category of acceptable garbage, and prevent wrong classification.
At block S601, a user image is acquired.
At block S602, the user image is matched with a preset user database to obtain an identity of the user.
At block S603, the identity of the user and the garbage placement information are sent to a credit system.
If the garbage which is delivered is correct in category, the garbage placement information is recorded normally; if there is an alarm information, the garbage placement information is recorded as abnormal. After the user's identity and garbage placement information are recorded in the credit system, the user can be urged to manage his credit and raise the awareness of garbage classification. Furthermore, the user's willingness for garbage classification can be enhanced through commercial rewards.
The above control device 10, method and computer-readable storage medium can improve the accuracy rate of garbage classification, cultivate users' awareness and cognition of garbage classification, and improve the use of resources.
A person skilled in the art can understand that all or part of the processes in the above embodiments can be implemented by a computer program to instruct related hardware, and that the program can be stored in a computer readable storage medium. When the program is executed, a flow of steps of the methods as described above may be included.
In addition, each functional device in each embodiment may be integrated in one processor, or each device may exist physically separately, or two or more devices may be integrated in one device. The above integrated device can be implemented in the form of hardware or in the form of hardware plus software function modules.
It is believed that the present embodiments and their advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the spirit and scope of the disclosure or sacrificing all of its material advantages, the examples hereinbefore described merely being embodiments of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
202010131482.X | Feb 2020 | CN | national |