CN111619992A - Intelligent garbage classification system and method based on machine vision - Google Patents
Intelligent garbage classification system and method based on machine vision Download PDFInfo
- Publication number
- CN111619992A CN111619992A CN202010532678.XA CN202010532678A CN111619992A CN 111619992 A CN111619992 A CN 111619992A CN 202010532678 A CN202010532678 A CN 202010532678A CN 111619992 A CN111619992 A CN 111619992A
- Authority
- CN
- China
- Prior art keywords
- garbage
- sorting
- image
- machine vision
- temporary storage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 239000010813 municipal solid waste Substances 0.000 title claims abstract description 204
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000001514 detection method Methods 0.000 claims abstract description 14
- 238000013135 deep learning Methods 0.000 claims abstract description 10
- 238000012545 processing Methods 0.000 claims abstract description 9
- 230000007246 mechanism Effects 0.000 claims description 11
- 239000002699 waste material Substances 0.000 claims description 7
- 238000004332 deodorization Methods 0.000 claims description 6
- 238000013528 artificial neural network Methods 0.000 claims description 5
- 238000004891 communication Methods 0.000 claims description 5
- 238000005266 casting Methods 0.000 claims 1
- 238000005516 engineering process Methods 0.000 abstract description 8
- 238000012360 testing method Methods 0.000 abstract description 7
- 235000011034 Rubus glaucus Nutrition 0.000 abstract description 2
- 244000235659 Rubus idaeus Species 0.000 abstract description 2
- 235000009122 Rubus idaeus Nutrition 0.000 abstract description 2
- 238000005286 illumination Methods 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 37
- 235000019645 odor Nutrition 0.000 description 16
- 238000007726 management method Methods 0.000 description 14
- 238000012384 transportation and delivery Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 241000234295 Musa Species 0.000 description 6
- 235000018290 Musa x paradisiaca Nutrition 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000004913 activation Effects 0.000 description 5
- 238000011161 development Methods 0.000 description 5
- 230000018109 developmental process Effects 0.000 description 5
- 238000013439 planning Methods 0.000 description 5
- 238000012549 training Methods 0.000 description 5
- 230000000007 visual effect Effects 0.000 description 5
- CBENFWSGALASAD-UHFFFAOYSA-N Ozone Chemical compound [O-][O+]=O CBENFWSGALASAD-UHFFFAOYSA-N 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 4
- 230000007613 environmental effect Effects 0.000 description 4
- 238000004064 recycling Methods 0.000 description 4
- 238000004364 calculation method Methods 0.000 description 3
- 238000007405 data analysis Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 239000010791 domestic waste Substances 0.000 description 3
- 238000010606 normalization Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 2
- 238000003709 image segmentation Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000003062 neural network model Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000012800 visualization Methods 0.000 description 2
- 238000004056 waste incineration Methods 0.000 description 2
- 241000196324 Embryophyta Species 0.000 description 1
- 241000238631 Hexapoda Species 0.000 description 1
- 241000255969 Pieris brassicae Species 0.000 description 1
- CDBYLPFSWZWCQE-UHFFFAOYSA-L Sodium Carbonate Chemical compound [Na+].[Na+].[O-]C([O-])=O CDBYLPFSWZWCQE-UHFFFAOYSA-L 0.000 description 1
- 238000009825 accumulation Methods 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 238000003915 air pollution Methods 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000000052 comparative effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013527 convolutional neural network Methods 0.000 description 1
- 230000001877 deodorizing effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 235000013305 food Nutrition 0.000 description 1
- 239000007789 gas Substances 0.000 description 1
- 231100001261 hazardous Toxicity 0.000 description 1
- 239000002920 hazardous waste Substances 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000011835 investigation Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 210000002569 neuron Anatomy 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 230000001954 sterilising effect Effects 0.000 description 1
- 238000004659 sterilization and disinfection Methods 0.000 description 1
- 239000002341 toxic gas Substances 0.000 description 1
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B65—CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
- B65F—GATHERING OR REMOVAL OF DOMESTIC OR LIKE REFUSE
- B65F1/00—Refuse receptacles; Accessories therefor
- B65F1/0033—Refuse receptacles; Accessories therefor specially adapted for segregated refuse collecting, e.g. receptacles with several compartments; Combination of receptacles
- B65F1/0053—Combination of several receptacles
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B65—CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
- B65F—GATHERING OR REMOVAL OF DOMESTIC OR LIKE REFUSE
- B65F1/00—Refuse receptacles; Accessories therefor
- B65F1/14—Other constructional features; Accessories
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B65—CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
- B65F—GATHERING OR REMOVAL OF DOMESTIC OR LIKE REFUSE
- B65F1/00—Refuse receptacles; Accessories therefor
- B65F1/0033—Refuse receptacles; Accessories therefor specially adapted for segregated refuse collecting, e.g. receptacles with several compartments; Combination of receptacles
- B65F2001/008—Means for automatically selecting the receptacle in which refuse should be placed
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B65—CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
- B65F—GATHERING OR REMOVAL OF DOMESTIC OR LIKE REFUSE
- B65F2210/00—Equipment of refuse receptacles
- B65F2210/138—Identification means
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B65—CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
- B65F—GATHERING OR REMOVAL OF DOMESTIC OR LIKE REFUSE
- B65F2210/00—Equipment of refuse receptacles
- B65F2210/176—Sorting means
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02W—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO WASTEWATER TREATMENT OR WASTE MANAGEMENT
- Y02W30/00—Technologies for solid waste management
- Y02W30/10—Waste collection, transportation, transfer or storage, e.g. segregated refuse collecting, electric or hybrid propulsion
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Image Analysis (AREA)
Abstract
Description
技术领域technical field
本发明涉及一种基于机器视觉的智能垃圾分类系统及方法。The invention relates to an intelligent garbage classification system and method based on machine vision.
背景技术Background technique
随着经济社会发展,我国生活垃圾产生量迅速增长,由此造成的环境问题日 益突出,已经成为新型城镇化发展的制约因素。垃圾分类是生态文明建设的重要 环节和关键领域。我国正强制推动建立生活垃圾分类管理制度,各省市纷纷响应, 长沙市也将在今年10月正式实施垃圾分类。2019年前,我国8个城市已开展垃 圾分类收集试点,但普及效果不太理想。造成垃圾分类无法有效推行的原因包括: (1)居民垃圾分类意识的缺乏;(2)垃圾投放之后的收集、运输、处理等环节 无法配套衔接等。With the development of economy and society, the amount of domestic waste in my country has increased rapidly, and the environmental problems caused by it have become increasingly prominent, which has become a restrictive factor for the development of new urbanization. Garbage classification is an important link and key area in the construction of ecological civilization. my country is forcing the establishment of a domestic waste classification management system, and various provinces and cities have responded one after another. Changsha City will also officially implement waste classification in October this year. Before 2019, 8 cities in my country had carried out pilot projects for waste sorting and collection, but the popularization effect was not satisfactory. The reasons for the ineffective implementation of garbage classification include: (1) the lack of residents' awareness of garbage classification; (2) the inability to link together the collection, transportation, and disposal of garbage after it is put in.
智能分类垃圾桶旨在实现垃圾分类的自动化和智能化,有效促进垃圾分类的 普及。但国内外目前已有的少数系统方案实用性不强、功能较单一,普遍存在的 问题包括:(1)识别准确率不高导致分类错误;(2)识别速度过慢;(3)受 温度、光照等环境影响较明显,性能不稳定;(4)缺少详细数据分析,与回收 环节难以高效对接。其中,识别准确率较低与识别速度过慢是该类垃圾桶难以实 用的关键痛点。The intelligent classification trash can is designed to realize the automation and intelligence of garbage classification and effectively promote the popularization of garbage classification. However, the few existing system solutions at home and abroad are not very practical and have a single function. The common problems include: (1) the recognition accuracy is not high, resulting in classification errors; (2) the recognition speed is too slow; (3) the temperature is affected The environmental impact such as , light, etc. is obvious, and the performance is unstable; (4) lack of detailed data analysis, and it is difficult to efficiently connect with the recycling process. Among them, the low recognition accuracy and the slow recognition speed are the key pain points that this type of trash can is difficult to use.
因此,有必要设计一种基于机器视觉的智能垃圾分类系统及方法。Therefore, it is necessary to design an intelligent garbage classification system and method based on machine vision.
发明内容SUMMARY OF THE INVENTION
本发明所要解决的技术问题是提供一种基于机器视觉的智能垃圾分类系统 及方法,该基于机器视觉的智能垃圾分类系统及方法能实现垃圾的自动检测并分 类投放。The technical problem to be solved by the present invention is to provide an intelligent garbage classification system and method based on machine vision, which can realize automatic detection and classification of garbage.
发明的技术解决方案如下:The technical solution of the invention is as follows:
一种基于机器视觉的智能垃圾分类系统,包括垃圾箱,垃圾箱处设有图像 识别垃圾分类模块、暂存箱和多个分拣箱;An intelligent garbage classification system based on machine vision, including a garbage can, and an image recognition garbage classification module, a temporary storage box and a plurality of sorting boxes are arranged at the garbage can;
图像识别垃圾分类模块包括MCU、触发器、摄像头和分投装置;触发器、摄 像头和分投装置均与MCU相连;The image recognition garbage classification module includes MCU, trigger, camera and distribution device; the trigger, camera and distribution device are all connected to the MCU;
触发器为热释电红外传感器,用于感应人体靠近垃圾桶;The trigger is a pyroelectric infrared sensor, which is used to sense the human body approaching the trash can;
摄像头用于获取位于暂存箱内垃圾的图像;The camera is used to obtain the image of the garbage in the temporary storage box;
MCU用于对所述图像进行图像处理,并识别垃圾的种类;The MCU is used to perform image processing on the image and identify the type of garbage;
分投装置用于根据MCU发出的分类指令将垃圾由暂存箱送入对应的分拣箱 中。MCU中具有基于MobileNet与机器视觉的垃圾分类模块,能基于获取的图像 对垃圾进行识别和分类。The sorting device is used to send the garbage from the temporary storage box to the corresponding sorting box according to the sorting instruction issued by the MCU. The MCU has a garbage classification module based on MobileNet and machine vision, which can identify and classify garbage based on the acquired images.
分投装置包括传送带(2)、带轮(3)以及用于驱动传送带运动的传送带 驱动机构;The distribution device includes a conveyor belt (2), a pulley (3) and a conveyor belt driving mechanism for driving the conveyor belt to move;
带轮为2个,传送带设置在2个带轮上,暂存箱固定在传送带上,暂存箱 底部设有活动板以及控制活动板开闭的活动板驱动机构;分拣箱位于传送带的 下方;There are 2 pulleys, the conveyor belt is set on the 2 pulleys, the temporary storage box is fixed on the conveyor belt, the bottom of the temporary storage box is provided with a movable plate and a movable plate driving mechanism for controlling the opening and closing of the movable plate; the sorting box is located below the conveyor belt ;
分投装置还包括用于检测各分拣箱位置的位置检测机构;The sorting device also includes a position detection mechanism for detecting the position of each sorting box;
配合位置检测机构,当活动板打开时,暂存箱内的垃圾掉落到某一个分拣 箱中;传送带中间具有孔隙,以便从暂存箱中出来的垃圾能经过该孔隙进入分拣 箱中。With the position detection mechanism, when the movable plate is opened, the garbage in the temporary storage box falls into a certain sorting box; there is a hole in the middle of the conveyor belt, so that the garbage from the temporary storage box can enter the sorting box through the hole. .
暂存箱和分拣箱内设有异味传感器和异味除臭装置。异味除臭装置具体采 用臭氧发生器,用于产生臭氧去除异味。There are odor sensors and odor deodorizers in the temporary storage box and the sorting box. The odor deodorizing device specifically adopts an ozone generator, which is used to generate ozone to remove odor.
还包括溢满提醒模块;溢满提醒模块包括设置在分拣箱内的用于检测垃圾 高度的超声波传感器。当检测到垃圾高度大于设定值,则启动报警。Also includes an overfill reminder module; the overfill reminder module includes an ultrasonic sensor placed in the sorting bin for detecting the height of the waste. When it is detected that the garbage height is greater than the set value, the alarm will be activated.
5.根据权利要求1所述的基于机器视觉的智能垃圾分类系统,其特征在于, 还包括服务器;垃圾箱内的MCU通过通信模块与服务器通信连接,操作员能通过 PC机或手机APP访问服务器获取垃圾信息。5. The machine vision-based intelligent garbage classification system according to
6.一种基于机器视觉的智能垃圾分类方法,其特征在于,采用权利要求1-5 任一项所述的智能垃圾分类系统;包括以下步骤:6. An intelligent garbage classification method based on machine vision, characterized in that, adopting the intelligent garbage classification system according to any one of claims 1-5; comprising the following steps:
步骤1:基于触发器检测垃圾投入者接近垃圾桶;Step 1: Based on the trigger, detect the garbage thrower approaching the trash can;
步骤2:启动图像拍摄;Step 2: Start image capture;
垃圾被投入暂存箱内后,启动图像拍摄,获取垃圾图像;对垃圾图像进行 必要的预处理,包括灰度化处理,图像分割处理等,为现有技术。After the garbage is put into the temporary storage box, image shooting is started to obtain the garbage image; necessary preprocessing is performed on the garbage image, including grayscale processing, image segmentation processing, etc., which is the prior art.
步骤3:基于垃圾图像进行垃圾识别;Step 3: Garbage identification based on garbage images;
基于Caffe深度学习框架及神经网络MobileNet模型,对垃圾进行识别;Identify garbage based on the Caffe deep learning framework and the neural network MobileNet model;
步骤4:基于垃圾识别结果对垃圾进行分类;Step 4: classify the garbage based on the garbage identification result;
基于垃圾识别结果,将识别出来的垃圾由暂存箱转入对应的分拣箱内。Based on the garbage identification results, the identified garbage is transferred from the temporary storage box to the corresponding sorting box.
OpenCV是一个基于BSD许可(开源)发行的跨平台计算机视觉库,可以运行 在Linux、Windows、Android和Mac OS操作系统上。它轻量级而且高效一由一 系列C函数和少量C++类构成,同时提供了Python、Ruby、MATLAB等语言的 接口,实现了图像处理和计算机视觉方面的很多通用算法。OpenCV is a cross-platform computer vision library released under the BSD license (open source) and can run on Linux, Windows, Android and Mac OS operating systems. It is lightweight and efficient—consisting of a series of C functions and a small number of C++ classes, and provides interfaces to languages such as Python, Ruby, and MATLAB, and implements many general algorithms in image processing and computer vision.
本发明针对目前城市生活垃圾的分类需求以及所面临的问题,在进行了大量 调研分析的基础上,提出了以下解决方案:The present invention proposes the following solutions on the basis of conducting a large number of investigations and analysis for the classification requirements of the current urban domestic waste and the problems faced:
(1)在微信小程序上及时发布更新关于垃圾分类的咨讯;当智能分类垃圾 桶完成对目标垃圾的识别分类后通过语音播报、告知用户该垃圾的种类,能向市 民科普垃圾分类,帮助降低记忆和分类难度。(1) Publish and update information about garbage classification on the WeChat applet in a timely manner; when the intelligent classification trash can completes the identification and classification of the target garbage, it will broadcast and inform users of the type of garbage through voice broadcast, which can popularize garbage classification to citizens and help reduce the cost of garbage classification. Memory and classification difficulty.
(2)利用大数据平台完成对用户垃圾种类与数量的统计,在网页管理端生 成可视化报表。通过大数据分析可以提醒工作人员进行清理工作,并为清洁的车 辆规划最佳的回收路线,为环卫结构节省运营成本。(2) Use the big data platform to complete the statistics on the type and quantity of user garbage, and generate a visual report on the web page management end. Through big data analysis, workers can be reminded to clean up, and the best recycling route can be planned for clean vehicles, saving operating costs for sanitation structures.
(3)利用智能分类垃圾装置实现干湿垃圾的精准识别分离,大概率避免混 合投放的情况发生,集成运用互联网、大数据、物联网等相关技术,可以合理规 划垃圾场的焚烧周期,减少由于焚烧对大气带来的污染。(3) The use of intelligent garbage sorting devices to achieve accurate identification and separation of dry and wet garbage, high probability to avoid the occurrence of mixed delivery, integrated use of the Internet, big data, Internet of Things and other related technologies, can reasonably plan the incineration cycle of garbage dumps, reduce due to Air pollution caused by incineration.
(4)为本发明安装传送装置,在完成目标垃圾的识别分类后由主控系统驱 动传送装置,将垃圾投入到相应垃圾桶内。(4) Install the conveying device for the present invention, after completing the identification and classification of the target garbage, the main control system drives the conveying device, and throws the garbage into the corresponding trash can.
(5)采用轻量级神经网络MobileNet模型,使识别准确率保证在95%以上, 且将识别分类的时间控制在7秒以内,从而解决准确率低、识别速度慢、受环境 影响明显等问题。(5) Using the lightweight neural network MobileNet model, the recognition accuracy rate is guaranteed to be above 95%, and the recognition and classification time is controlled within 7 seconds, so as to solve the problems of low accuracy rate, slow recognition speed, and obvious environmental impact. .
有益效果:Beneficial effects:
本发明的基于机器视觉的智能垃圾分类系统及方法,运用MobileNet深度学 习与机器视觉技术,采用Raspberry pi、STM32为主控制器,设计实现了传送装 置,实现垃圾的全自动投放,无需人力投入。测试结果显示,本发明的关键性能 比市面上的分类垃圾桶有极大提升,成功实现了:(1)适应不同温度和光照环 境,准确判断;(2)识别精度提高至95%以上;(3)具有出色的处理能力,可 在7秒以内高速完成最多128个点的检测,识别速度快。The intelligent garbage classification system and method based on machine vision of the present invention uses MobileNet deep learning and machine vision technology, adopts Raspberry pi and STM32 as the main controller, and designs and realizes the transmission device, which realizes the automatic throwing of garbage without manpower input. The test results show that the key performance of the present invention is greatly improved compared with the classified trash cans on the market, and it has successfully achieved: (1) adapting to different temperatures and lighting environments, and making accurate judgments; (2) improving the recognition accuracy to more than 95%; ( 3) With excellent processing ability, it can complete the detection of up to 128 points at high speed within 7 seconds, and the recognition speed is fast.
系统的微信小程序功能丰富,包括:(1)未识别垃圾图片上传后台自主训 练模型;(2)一键查询垃圾类别;(3)垃圾溢满提醒;(4)智能消息推送; (5)智能机器人在线聊天功能。Web管理端利用大数据技术搭建智能化监管平 台,可实现基于数据决策、管理、服务的环境精准监管,实现垃圾车路径规划、 垃圾场焚烧周期规划等功能,并为政府、企业和居民之间建立垃圾分类沟通渠道, 构建家庭-社区垃圾分类回收网络,有助于实现垃圾分类长效管理机制。The WeChat applet of the system is rich in functions, including: (1) uploading unrecognized spam pictures to the background self-training model; (2) one-click query of spam categories; (3) garbage overflow reminder; (4) intelligent message push; (5) Intelligent robot online chat function. The web management terminal uses big data technology to build an intelligent supervision platform, which can realize precise environmental supervision based on data decision-making, management, and service, realize functions such as garbage truck path planning, garbage dump incineration cycle planning, etc. Establishing communication channels for waste sorting and building a household-community waste sorting and recycling network will help to achieve a long-term management mechanism for waste sorting.
本发明的主要特色与创新如下:The main features and innovations of the present invention are as follows:
(1)机器视觉智能垃圾分类(1) Machine vision intelligent garbage classification
针对市面上已有“垃圾分类神器”的识别准确率低、识别速度慢等问题,本产品 开发了一款基于人工智能与大数据的机器视觉智能分类系统。利用MobielNet 与计算机视觉,使识别准确率高达95%以上,继而将识别返回值返还至树莓派 主控系统。In view of the low recognition accuracy and slow recognition speed of the existing "garbage classification artifacts" on the market, this product has developed a machine vision intelligent classification system based on artificial intelligence and big data. Using MobileNet and computer vision, the recognition accuracy rate is as high as more than 95%, and then the recognition return value is returned to the Raspberry Pi main control system.
(2)智能化自动投放装置(2) Intelligent automatic delivery device
目前现有的智能垃圾桶仅能提醒用户垃圾类别,仍需用户手动分类。本团队研发了一种智能化全自主投放装置,通过STM32与树莓派串口通信,控制舵机正 反旋转。树莓派利用机器视觉识别系统返回的结果值,带动电机与传送带,使 垃圾投入对应垃圾种类的垃圾桶。At present, the existing smart trash can only remind the user of the garbage category, and the user still needs to manually classify it. The team has developed an intelligent fully autonomous delivery device that communicates with the Raspberry Pi serial port through STM32 to control the forward and reverse rotation of the steering gear. The Raspberry Pi uses the result value returned by the machine vision recognition system to drive the motor and the conveyor belt to put the garbage into the trash can corresponding to the type of garbage.
(3)异味除臭(3) Odor deodorization
大多数垃圾桶无法隔绝异味,天气炎热导致食物容易腐败发酵,使之招引飞虫,还有可能散发有毒气体。为解决这一实际问题,本团队研发的智能分类垃圾桶 配备异味除臭装置,通过异味传感器检测异味、有害气体时,启动杀菌除臭模 块,隔绝垃圾异味,美化家庭环境卫生。Most trash cans can't keep out odors. Hot weather makes food easily spoiled and fermented, attracting flying insects and possibly emitting toxic gases. In order to solve this practical problem, the intelligent sorting trash can developed by this team is equipped with an odor deodorization device. When the odor and harmful gas are detected by the odor sensor, the sterilization and deodorization module is activated to isolate the odor of garbage and beautify the home environment.
(4)溢满检测(4) Overfill detection
家用垃圾桶已经溢满但用户忘记倾倒垃圾这种情况时常发生。针对这一普遍现象,本发明设计了垃圾溢满提醒功能,通过超声波传感器检测垃圾高度,并在 溢满时通过微信小程序智能提醒用户,避免垃圾囤积危害。It often happens that household trash cans are overflowing but users forget to dump. In response to this common phenomenon, the present invention designs a garbage overflow reminder function, detects the garbage height through an ultrasonic sensor, and intelligently reminds the user through a WeChat applet when it overflows, so as to avoid the hazard of garbage hoarding.
(5)实时可视化监测(5) Real-time visual monitoring
考虑到居民垃圾分类意识薄弱、社区管理难以真正推行的难题,本系统基于物联网技术,有效感知传输相关信息,进一步在Web端依托大数据分析技术,统 计居民投放垃圾种类数量等,实现垃圾分类可视化监测,逐步培养用户垃圾分 类意识,构建家庭-社区管理网络。进一步实现:a.垃圾运输车时间路径规划; b.垃圾焚烧厂垃圾焚烧周期管理,致力于建立精细化、运行高效的垃圾回收体 系。Considering the weak awareness of residents' garbage classification and the difficulty of community management, the system is based on the Internet of Things technology to effectively perceive and transmit relevant information, and further relies on big data analysis technology on the Web side to count the types of garbage thrown by residents, etc., to achieve garbage classification. Visual monitoring, gradually cultivate users' awareness of garbage classification, and build a family-community management network. Further realization: a. Time route planning of garbage trucks; b. Waste incineration cycle management of garbage incineration plants, and is committed to establishing a refined and efficient garbage recycling system.
附图说明Description of drawings
图1为功能框图;Figure 1 is a functional block diagram;
图2为系统拓扑图;Fig. 2 is a system topology diagram;
图3为触发器结构图;Fig. 3 is a trigger structure diagram;
图4为实现方案流程图;Fig. 4 is the flow chart of realization scheme;
图5为传送装置结构图;5 is a structural diagram of a transmission device;
图6为其他功能模块图;Figure 6 is a diagram of other functional modules;
图7为传送机构示意图(主视图);Figure 7 is a schematic diagram of the conveying mechanism (front view);
图8为传送机构示意图(俯视图)。FIG. 8 is a schematic diagram (top view) of the conveying mechanism.
标号说明:1-暂存箱,2-传送带,3-带轮,4-分拣箱,11-活动板。Label description: 1-temporary storage box, 2-conveyor belt, 3-belt wheel, 4-sorting box, 11-movable board.
具体实施方式Detailed ways
以下将结合附图和具体实施例对本发明做进一步详细说明:The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments:
实施例1:系统总规划Example 1: System master plan
系统可分为五部分:The system can be divided into five parts:
(1)图像识别垃圾分类;(1) Image recognition garbage classification;
(2)垃圾自主投放装置;(2) Garbage disposal device;
(3)云服务器;(3) Cloud server;
(4)数据库;(4) database;
(5)微信小程序;(5) WeChat applet;
(6)网页端管理后台(6) Web management background
垃圾图像识别分类功能实现Realization of Garbage Image Recognition and Classification
垃圾图像识别与分类是本系统中的核心部分,采用OpenCV对图像进行处 理,提取目标垃圾位置以及特征,供后续深度学习使用。采用Mobile net神经网 络算法对垃圾图像进行分类。Garbage image recognition and classification is the core part of this system. OpenCV is used to process the image to extract the target garbage location and features for subsequent deep learning. The mobile net neural network algorithm is used to classify junk images.
功能组成介绍Function composition introduction
图像识别垃圾分类的设备包括:Equipment for image recognition garbage classification includes:
(1)触发器。触发器热释电红外传感器的主要功能是获取人体靠近信息, 向树莓派发送拍照请求,从而触发整个系统的运转(1) Trigger. The main function of the trigger pyroelectric infrared sensor is to obtain information about the proximity of the human body and send a photo request to the Raspberry Pi, thereby triggering the operation of the entire system
(2)垃圾图像识别。运用树莓派、摄像头、OpenCV,配合完成图像定位识 别功能。(2) Garbage image recognition. Use Raspberry Pi, camera, and OpenCV to complete the image positioning and recognition function.
(3)垃圾分类。MobileNet模型负责垃圾分类。如垃圾识别分类失败则通过 微信小程序上传垃圾图片至数据库。(3) Garbage classification. The MobileNet model is responsible for garbage classification. If the garbage identification and classification fails, upload the garbage pictures to the database through the WeChat applet.
触发器trigger
触发器由热释电红外传感器,树莓派组成,用来感知人体靠近信号。当人体 距离智能分类垃圾桶达到感应距离阈值时,热释电红外传感器将检测到人体红外 温度变化时,传递触发信号给树莓派,继而树莓派开启摄像头模块,以准备图形 识别装置的开启。The trigger is composed of a pyroelectric infrared sensor, a Raspberry Pi, which is used to sense the proximity signal of the human body. When the distance between the human body and the intelligent sorting trash can reaches the sensing distance threshold, the pyroelectric infrared sensor will detect the change of the infrared temperature of the human body, and transmit a trigger signal to the Raspberry Pi, and then the Raspberry Pi will turn on the camera module to prepare for the opening of the graphic recognition device. .
热释电红外传感器:当人在靠近垃圾桶时,传感器后续电路经检测处理后就能 触发开关动作,此时传感器将发送信号给树莓派。Pyroelectric infrared sensor: When a person is close to the trash can, the subsequent circuit of the sensor can trigger the switch action after detection and processing, and the sensor will send a signal to the Raspberry Pi at this time.
树莓派:本系统使用的开发板型号是树莓派3B,1.2GHz,64位处理器芯片, 支能耗低、运行稳定,能完全满足本系统的图像处理需求与速度需求。Raspberry Pi: The development board model used in this system is Raspberry Pi 3B, 1.2GHz, 64-bit processor chip, with low energy consumption and stable operation, which can fully meet the image processing requirements and speed requirements of this system.
摄像头模块:本系统选用的输入设备是无需额外驱动的ov5647摄像头,它通 过CSI接口与树莓派开发板连接。该模块支持500w像素的图像采集,通过此模 块配合代码可以完成目标垃圾的定位。Camera module: The input device used in this system is the ov5647 camera without additional driver, which is connected to the Raspberry Pi development board through the CSI interface. This module supports 500w pixel image acquisition, and the target garbage can be located through this module with the code.
垃圾图像识别Garbage Image Recognition
(1)目标垃圾定位(1) Target garbage location
采用OpenCV实现背景差分算法,先通过cvtColor函数将采集到的三通道 RGB图像转换成单通道的灰度图像。为了减少垃圾桶内背景光照带来的误差, 可以通过threshold函数对已有灰度图像进行二值化处理。再将含有待识别目标 的二值化图像与二值化背景图像进行相减,实现背景差分。Using OpenCV to implement the background difference algorithm, first convert the collected three-channel RGB image into a single-channel grayscale image through the cvtColor function. In order to reduce the error caused by the background illumination in the trash can, the existing grayscale image can be binarized through the threshold function. Then, the binary image containing the target to be recognized is subtracted from the binary background image to realize the background difference.
(2)目标垃圾特征提取(2) Target garbage feature extraction
待检测目标垃圾应在图像中清晰可辨。为了确保检测的准确度,通过morphologyEx函数调用MORPH_CLOSE闭运算的接口,将背景差分结果中大 面积的白色区域连通,去除小面积的白色噪点,增强图像特征。最后,通过 minAreaRect函数从闭运算的结果图像中获取最小包围矩形框,根据矩形框坐标, 在原图中设置感兴趣区域,将待检测目标截出,供后续深度学习使用。The target garbage to be detected should be clearly distinguishable in the image. In order to ensure the detection accuracy, the MORPH_CLOSE closed operation interface is called through the morphologyEx function to connect the large white area in the background difference result, remove the small area of white noise, and enhance the image features. Finally, the minAreaRect function is used to obtain the minimum enclosing rectangle from the result image of the closing operation. According to the coordinates of the rectangle, the region of interest is set in the original image, and the target to be detected is cut out for subsequent deep learning.
(3)背景差分算法(3) Background difference algorithm
利用背景差分算法实现目标垃圾的检测主要分为背景建模、背景更新、目标 垃圾检测、后期处理等四个环节。其中,背景建模的方法采用了单高斯分布模型: 将图像中每一个像素点的灰度值看成是一个随机过程x,x为灰度值,并假设该点 的某一像素灰度值出现的概率服从高斯分布,可表示为:The detection of target garbage by using the background difference algorithm is mainly divided into four steps: background modeling, background update, target garbage detection, and post-processing. Among them, the method of background modeling adopts a single Gaussian distribution model: The gray value of each pixel in the image is regarded as a random process x, x is the gray value, and the gray value of a pixel at this point is assumed. The probability of occurrence obeys a Gaussian distribution and can be expressed as:
δt为x的标准差,μt为x的期望,δt 2为x的方差;δt is the standard deviation of x , μt is the expectation of x , and δt2 is the variance of x;
背景差分的运算过程:首先利用数学建模的方法建立一幅传送带上方容器的 背景图像帧B,记当前图像帧为fn,背景帧和当前帧对应像素点的灰度值分别记 为B(x,y)和fn(x,y),按照式The operation process of the background difference: first, a background image frame B of the container above the conveyor belt is established by the method of mathematical modeling, and the current image frame is denoted as fn, and the gray values of the pixels corresponding to the background frame and the current frame are denoted as B(x , y) and f n (x, y), according to the formula
Dn(x,y)=|fn(x,y)-B(x,y)|Dn(x,y)=| fn (x,y)-B(x,y)|
将两帧图像对应像素点的灰度值进行相减,并取其绝对值,得到差分图像Dn:Subtract the gray values of the corresponding pixels of the two frames of images, and take their absolute values to obtain the difference image D n :
设定阈值T按照式Set the threshold T according to the formula
逐个对像素点进行二值化处理,得到二值化图像Rn′。其中,灰度值为255的 点即为前景(运动的目标垃圾)点,灰度值为0的点即为背景点;对图像Rn′进行连 通性分析,最终可得到含有完整的目标的垃圾图像Rn;Binarize the pixels one by one to obtain a binarized image R n ′. Among them, the point with a gray value of 255 is the foreground (moving target garbage) point, and the point with a gray value of 0 is the background point; the connectivity analysis of the image R n ' is carried out, and finally the image containing the complete target can be obtained. garbage image R n ;
该方法不仅能够在识别过程中精准定位待识别目标,而且可以实现在短时间 内从大量的图片信息中自动截取样本图片,简化了深度学习获取样本的过程。 Caffe卷积神经网络框架This method can not only accurately locate the target to be recognized in the recognition process, but also can automatically intercept sample pictures from a large amount of picture information in a short time, which simplifies the process of deep learning to obtain samples. Caffe Convolutional Neural Network Framework
Caffe具有Python相关接口,为本发明中目标垃圾图像的分类和图像分割提 供了深度学习的架构。Caffe has a Python-related interface, which provides a deep learning architecture for the classification and image segmentation of the target garbage image in the present invention.
轻量级神经网络模型MobileNetLightweight Neural Network Model MobileNet
MobileNet在垃圾图像识别、分类的任务中,可保持较高的准确率。MobileNet can maintain a high accuracy in the task of garbage image recognition and classification.
MobileNet模型对传统的全卷积方式进行了优化,将全卷积操作分解 Depthwise卷积以及深度可分离卷积,减少了需要学习的参数量。在此基础上, MobileNet模型又设置了两个超参数,宽度因子和分辨率因子,以控制模型的大 小和输入图像的分辨率,使得模型在规模和目标垃圾的速度上更可控。当宽度因 子一定时,分辨率因子减小,或者分辨率因子一定,宽度因子减小,网络的参数 和加乘数都会相对减少;宽度因子α的引入可以得到更小和计算损耗更少的模 型。α的作用为控制垃圾图像输入和输出的通道数目,输入通道由M变为αM, 输出通道的数目由N变为αN,α取0.5。分辨率因子ρ可以将计算量和参数降低ρ2倍,可以让使用者方便地调节模型,实例中,ρ取值0.25,设置输入分辨率 为224,192,160和128。The MobileNet model optimizes the traditional full convolution method, and decomposes the full convolution operation into Depthwise convolution and depthwise separable convolution, reducing the amount of parameters that need to be learned. On this basis, the MobileNet model sets two hyperparameters, the width factor and the resolution factor, to control the size of the model and the resolution of the input image, making the model more controllable in scale and speed of target garbage. When the width factor is constant, the resolution factor decreases, or the resolution factor is constant and the width factor decreases, the network parameters and multipliers will be relatively reduced; the introduction of the width factor α can obtain a smaller model with less computational loss . The function of α is to control the number of channels of garbage image input and output, the input channel is changed from M to αM, the number of output channels is changed from N to αN, and α is taken as 0.5. The resolution factor ρ can reduce the amount of calculation and parameters by 2 times, allowing users to easily adjust the model. In the example, the value of ρ is 0.25, and the input resolution is set to 224, 192, 160 and 128.
传统的卷积方式经过3×3卷积后,再经过BN层和Relu激活函数;而 MobileNet算法中所用到的的深度可分离卷积方式:3×3的传统卷积方式被替换 为Depthwise卷积和1×1的Pointwise卷积,然后与传统卷积一样分别经过BN 和ReLU激活函数。The traditional convolution method undergoes 3×3 convolution, and then goes through the BN layer and the Relu activation function; while the depthwise separable convolution method used in the MobileNet algorithm: the 3×3 traditional convolution method is replaced by the Depthwise volume Product and 1×1 Pointwise convolution, and then go through BN and ReLU activation functions respectively like traditional convolution.
MobileNet模型包括以下几层:The MobileNet model consists of the following layers:
(1)卷积层:卷积层由多个局部滤波器组成,主要用于从输入的目标垃圾特 征图中提取不同的局部特征。(1) Convolutional layer: The convolutional layer consists of multiple local filters, which are mainly used to extract different local features from the input target garbage feature map.
(2)批量归一化层:批量归一化层使得整个模型更加稳定,并且加快了深度 卷积网络训练和收敛的速度。(2) Batch normalization layer: The batch normalization layer makes the whole model more stable and speeds up the training and convergence of deep convolutional networks.
(3)缩放层:缩放层对归一化后的神经元N进行比例缩放和位移,由于该发 明采用深度学习框架Caffe进行MobileNet模型的训练和参数的获取,在该框架 中将实际的批量归一化计算分为式(3) Scaling layer: The scaling layer scales and displaces the normalized neurons N. Since the invention uses the deep learning framework Caffe to train the MobileNet model and obtain parameters, the actual batch normalization is carried out in this framework. The unified calculation is divided into formula
其中,mean,variance,scalefactor和ε均为学习得到的参数,mean为与特 征图同维度的均值向量、variance为与垃圾特征图同维度的方差向量,scalefactor 为维缩放因子,ε为一个很小的常数,通常取0.0001;Among them, mean, variance, scalefactor and ε are all learned parameters, mean is the mean vector of the same dimension as the feature map, variance is the variance vector of the same dimension as the garbage feature map, scalefactor is the dimension scaling factor, and ε is a very small The constant of , usually 0.0001;
(4)非线性激活函数层:为了使轻量级神经网络模型MobileNet具有非线性 的学习及表达能力,在其中加入了非线性激活函数层。在基于MobileNet的算法 中采用了非线性整流函数(ReLU)作为非线性激活函数,它的计算公式如式所 示(4) Nonlinear activation function layer: In order to make the lightweight neural network model MobileNet have nonlinear learning and expression capabilities, a nonlinear activation function layer is added to it. In the algorithm based on MobileNet, the nonlinear rectification function (ReLU) is used as the nonlinear activation function, and its calculation formula is as follows:
具体实现方案Specific implementation plan
安装Caffe深度学习框架和MobileNet模型后,将目标垃圾的样本图片进行 训练,训练出对应的神经网络。以有害垃圾打火机为例,改变打火机方向、位置、 形态多次采集构成数据集,并将样本数据集上传至MySQL数据库。After installing the Caffe deep learning framework and the MobileNet model, the sample images of the target garbage are trained to train the corresponding neural network. Taking a hazardous waste lighter as an example, changing the direction, position, and shape of the lighter to collect a data set multiple times, and upload the sample data set to the MySQL database.
获取香蕉皮、易拉罐和电池的样本数据集的方法与打火机通过改变形态获取 样本数据集的方法相同。用于训练的样本数据集大小如下表所示。The sample datasets for banana peels, soda cans, and batteries are obtained in the same way that a lighter is obtained by changing its shape. The sample dataset sizes used for training are shown in the table below.
表1:样本数据集大小Table 1: Sample Dataset Sizes
使用MobileNet模型训练测试结果如表2所示The results of training and testing using the MobileNet model are shown in Table 2.
表2训练测试结果Table 2 Training and testing results
通过测试发现,市面上的普通智能垃圾桶不能保证识别的准确率与识别速 率,甚至时常会受到光线环境的影响。由于准确率不高和识别速率过低,导致了 垃圾错分,垃圾分类效率低下等问题。本系统运用MobileNet模型,很好的解决 以上问题。经查阅文献资料,我们的发明与普通垃圾桶的数据对比如表3-5所示。Through testing, it is found that ordinary smart trash cans on the market cannot guarantee the recognition accuracy and recognition rate, and are often affected by the light environment. Due to the low accuracy rate and the low recognition rate, it leads to problems such as misclassification of garbage and low efficiency of garbage classification. This system uses the MobileNet model to solve the above problems very well. After consulting the literature, the data comparison between our invention and ordinary trash cans is shown in Table 3-5.
表3普通智能垃圾桶与本团队发明识别分类速率对比数据Table 3 Comparison data of ordinary smart trash can and the identification and classification rate invented by this team
表4普通智能垃圾桶与本团队发明识别准确率对比数据Table 4 Comparison data of the recognition accuracy of ordinary smart trash cans and the invention of our team
表5普通智能垃圾桶与本团队发明受光线影响对比数据Table 5 Comparative data of ordinary smart trash can and the invention of this team affected by light
可以看出,利用机器视觉与MoblieNet模型进行分类无论从识别速度、识别 准确率,还是受适应环境的能力,均显著高于市面上的普通智能分类垃圾桶。实 验测试表明,本系统能够胜任参与测试的打火机、香蕉皮、易拉罐、电池4类物 品的分类问题,识别精准度大于95%,在垃圾分类方面具有较高的实际应用价 值。It can be seen that the classification using machine vision and the MoblieNet model is significantly higher than the ordinary intelligent classification trash cans on the market in terms of recognition speed, recognition accuracy, and the ability to adapt to the environment. The experimental test shows that the system can be competent for the classification of 4 types of items including lighters, banana peels, cans, and batteries. The recognition accuracy is greater than 95%, and it has high practical application value in garbage classification.
垃圾传送装置功能实现Function realization of garbage conveying device
为了解放用户双手,贴合用户生活需求,打造全自动投放模式,本产品研发 了垃圾自动投放装置。传送装置结构如图5,7和8所示。In order to free the hands of users, meet the needs of users' life, and create a fully automatic delivery mode, this product has developed an automatic garbage delivery device. The conveyor structure is shown in Figures 5, 7 and 8.
当垃圾识别分类程序运行结束后,给主控系统返回相应的值,再利用树莓派 与STM32串口通信,将所生成的值传递给STM32。STM32向电机发出指令, 电机带动盛有目标垃圾的容器运动。容器到达固定位置后,STM32继续向舵机 发出指令打开容器底部下方的挡板将垃圾投入相应种类的垃圾桶。具体传送装置 所用模块如表6所示。When the garbage identification and classification program finishes running, the corresponding value is returned to the main control system, and then the Raspberry Pi is used to communicate with the STM32 serial port, and the generated value is passed to the STM32. STM32 sends a command to the motor, and the motor drives the container containing the target garbage to move. After the container reaches the fixed position, STM32 continues to send commands to the steering gear to open the baffle at the bottom of the container and put the garbage into the corresponding type of trash can. The modules used in the specific transmission device are shown in Table 6.
表6传送装置模块表Table 6 Conveyor Module Table
其他功能Other functions
除对目标垃圾识别分类,自动投放外,本发明还配备了GPS等卫星定位模 块提供用户位置信息,用于生成可视化报表、异味除臭、溢满检测、语音播报等 功能。In addition to identifying, classifying and automatically throwing target garbage, the present invention is also equipped with satellite positioning modules such as GPS to provide user location information for generating visual reports, odor deodorization, overflow detection, voice broadcast and other functions.
表7其他功能实现方案Table 7 Other function implementation schemes
云服务器Cloud Server
(1)百度云服务器(1) Baidu cloud server
操作系统:centsos7.4Operating system: centsos7.4
硬件平台:单核2GHz主频CPU,2GB内存Hardware platform: single-core 2GHz CPU, 2GB memory
支撑环境和版本:python2.7,MySQL5.7Support environment and version: python2.7, MySQL5.7
(2)服务后台(2) Service background
系统的服务后台使用python和sql编程,利用socket通信方式与硬件建立长 连接实现数据传输。The service background of the system uses python and sql programming, and uses the socket communication method to establish a long connection with the hardware to realize data transmission.
数据库database
基于MySQL开发了投放系统所用数据库。对于本系统来说,需要存放在服 务器的数据库中的信息包括:管理人员的登陆账号、密码;用户信息;垃圾桶投 放垃圾种类和数量等。所以创建一个含有三张数据表的数据库即可满足需求。The database used in the delivery system is developed based on MySQL. For this system, the information that needs to be stored in the database of the server includes: the login account and password of the administrator; user information; the type and quantity of garbage in the trash can. So creating a database with three data tables can meet the needs.
微信小程序采用云开发模式,自带数据库,对于客户端来说,数据库中的信 息包括:管理人员和普通用户的账号密码;网络新闻信息链接;垃圾种类;分类 名称;创建四张数据表即可。The WeChat applet adopts the cloud development model and has its own database. For the client, the information in the database includes: account passwords of administrators and ordinary users; links to online news information; types of garbage; classification names; create four data tables, namely Can.
小程序调用云函数,即可实现客户端与MySQL数据库的通信连接。The applet calls the cloud function to realize the communication connection between the client and the MySQL database.
微信小程序WeChat applet
出于用户使用便捷性的考虑,本产品采用微信小程序来构建客户端,无需安 装,即用即取,可以在微信内被便捷地获取和传播,同时具有出色的使用体验。For the convenience of users, this product uses WeChat applet to build the client, which can be easily acquired and disseminated in WeChat without installation, and has an excellent user experience.
通过手机APP或微信小程序能实现以下功能:The following functions can be realized through the mobile APP or WeChat applet:
(1)三重实时查询方式(1) Triple real-time query method
用户可通过文字搜索、图像识别、配备方言的语音识别三种途径来查询垃圾 种类,极大满足生活所需。Users can query the types of garbage through text search, image recognition, and dialect-equipped voice recognition, which greatly meets the needs of life.
(2)分类信息智能推荐功能(2) Intelligent recommendation function of classified information
小程序会根据用户每日查询垃圾种类及数量、社会的趋势和走向,智能推送 各类垃圾分类消息,提升居民的垃圾分类意愿和投放意识。The mini program will intelligently push various types of garbage classification news based on the user’s daily inquiries about the type and quantity of garbage, social trends and trends, and improve residents’ willingness and awareness of garbage classification.
(3)未识别结果上传功能(3) Unrecognized result upload function
用户可将垃圾桶未识别出结果的垃圾,在小程序上进行查询,未查询到即可 将垃圾图片上传至数据库,经由系统自主训练模型,以达到下次正确识别的目的。Users can query the garbage that is not identified in the trash can on the applet, and upload the garbage pictures to the database if they are not found, and train the model independently through the system to achieve the purpose of correct identification next time.
(4)智能机器人在线聊天功能(4) Intelligent robot online chat function
为达到贴心陪伴,娱乐消遣的目的,小程序客户端还配备了智能闲聊接口,可 根据用户的用词准确判断场景,发出回应。In order to achieve intimate companionship and entertainment purposes, the mini program client is also equipped with an intelligent chat interface, which can accurately judge the scene according to the user's words and send a response.
基于图像识别的智能垃圾管理功能Intelligent garbage management function based on image recognition
(1)垃圾分类自动投放功能(1) Garbage sorting automatic delivery function
本产品可将用户投入的垃圾进行智能自动识别分类,目前可按干垃圾、湿垃 圾、可回收物、有害垃圾这四类标准,分别投入对应的垃圾桶,无需用户手动分 类,即时满足需求,解决分类烦恼。This product can intelligently and automatically identify and classify the garbage thrown by the user. At present, it can be put into the corresponding trash can according to the four standards of dry garbage, wet garbage, recyclables, and hazardous garbage, without the need for users to manually classify, and meet the needs immediately. Solve classification troubles.
(2)GPS等定位功能(2) GPS and other positioning functions
确定用户位置,为网络爬虫获取家庭住址信息提供数据。根据GPS所提供的 信息分析城市各区域不同种类垃圾的产出量,为管理端数据可视化收集信息。Determine the user's location and provide data for web crawlers to obtain home address information. According to the information provided by GPS, the output of different types of garbage in various areas of the city is analyzed, and information is collected for the visualization of management data.
(3)异味除臭功能(3) Odor deodorization function
受环境影响,垃圾可能会在桶内发酵生出异味。当智能分类垃圾桶内的传感 器检测到异味且达到异味传感器所设阈值时则向主控制器发出信号,由主控制器 供电开启臭氧发生模块消除异味,当气味水平恢复到阈值以下则断电关闭臭氧发 生器。Affected by the environment, the garbage may ferment in the barrel and produce peculiar smell. When the sensor in the intelligent sorting trash can detects the odor and reaches the threshold set by the odor sensor, it will send a signal to the main controller, and the main controller will supply power to turn on the ozone generation module to eliminate the odor. When the odor level returns to below the threshold, the power will be turned off. Ozone generator.
(4)溢满提醒功能(4) Overfill reminder function
当垃圾到达规定高度是则认为是溢满,此时由智能分类垃圾桶的主控制器向小程序发出一个溢满提示信号用以提醒用户。When the garbage reaches the specified height, it is considered to be overflowing. At this time, the main controller of the intelligent sorting trash can sends an overflow prompt signal to the applet to remind the user.
(5)语音播报及按键检测功能(5) Voice broadcast and key detection function
当智能分类垃圾桶成功识别垃圾后则通过声卡播报垃圾类别,在节省人力的 情况下,也借此提高市民垃圾分类意识。如识别未成功,则利用语音播报提醒用 户垃圾无法识别,此时用户可以通过微信小程序的多重查询方式确定垃圾类别, 若可以确定则通过按键来控制目标垃圾的自动投放,若不能则通过微信小程序拍 照上传。When the intelligent sorting trash can successfully identify the garbage, it will broadcast the type of garbage through the sound card, which can also improve the citizens' awareness of garbage sorting in the case of saving manpower. If the identification is unsuccessful, a voice broadcast will be used to remind the user that the garbage cannot be identified. At this time, the user can determine the type of garbage through the multiple inquiries of the WeChat applet. Small program photo upload.
网页版后台管理功能Web version background management function
垃圾分类数据可视化:本发明将用户日常生活中的垃圾分类投放数据进行采集分析,建立用户垃圾分类数据库,统计用户投放垃圾的种类及数量,按照可视化图 标形式显示,提升管理的便捷性。Visualization of garbage classification data: The present invention collects and analyzes the garbage classification and delivery data in the user's daily life, establishes a user garbage classification database, counts the type and quantity of garbage thrown by the user, and displays it in the form of visual icons, improving the convenience of management.
(1)垃圾车行驶时间及路线规划(1) Garbage truck travel time and route planning
管理端采用大数据、网络爬虫技术及GPS定位功能,将用户名、产品编号等作 为关键字,在互联网爬取用户垃圾分类数据,将收集到的垃圾分类数据归类。结 合云计算估计小区垃圾溢满程度,按时间通知垃圾车回收垃圾。采用GPS卫星 定位技术,分析垃圾车行驶最优路线,做到及时回收小区垃圾,避免垃圾堆积, 方便用户生活。The management terminal adopts big data, web crawler technology and GPS positioning function, uses user name, product number, etc. as keywords, crawls user garbage classification data on the Internet, and classifies the collected garbage classification data. Combined with cloud computing, the garbage overflow level of the community is estimated, and garbage trucks are notified to recycle garbage according to time. GPS satellite positioning technology is used to analyze the optimal route of garbage trucks, so as to timely recycle garbage in the community, avoid garbage accumulation, and facilitate the life of users.
(2)垃圾场垃圾焚烧周期规划。(2) Planning of the waste incineration cycle of the landfill.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010532678.XA CN111619992A (en) | 2020-06-11 | 2020-06-11 | Intelligent garbage classification system and method based on machine vision |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010532678.XA CN111619992A (en) | 2020-06-11 | 2020-06-11 | Intelligent garbage classification system and method based on machine vision |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111619992A true CN111619992A (en) | 2020-09-04 |
Family
ID=72269122
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010532678.XA Pending CN111619992A (en) | 2020-06-11 | 2020-06-11 | Intelligent garbage classification system and method based on machine vision |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111619992A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112158483A (en) * | 2020-09-18 | 2021-01-01 | 安徽工业经济职业技术学院 | Automatic garbage collection, identification and classification system based on artificial intelligence |
CN112733958A (en) * | 2021-01-22 | 2021-04-30 | 北京农业信息技术研究中心 | Greenhouse ozone concentration control method and system |
CN112827846A (en) * | 2021-01-04 | 2021-05-25 | 西安建筑科技大学 | Device and method for automatic garbage classification |
CN112830129A (en) * | 2021-03-05 | 2021-05-25 | 湘潭大学 | An intelligent garbage classification system for scenic spots |
CN113120461A (en) * | 2021-04-21 | 2021-07-16 | 河南科技大学 | Garbage classification and identification system and method for smart city |
CN114435790A (en) * | 2020-11-04 | 2022-05-06 | 瑞斯哲智能科技(苏州)有限公司 | A categorised dustbin for municipal domestic waste handles |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100107241A (en) * | 2009-03-25 | 2010-10-05 | 강종원 | Total control system for garbage collection place |
CN110254997A (en) * | 2019-06-10 | 2019-09-20 | 徐娇娇 | Automatic classification dustbin |
CN110654739A (en) * | 2019-09-18 | 2020-01-07 | 西安理工大学 | Machine vision-based automatic recyclable garbage classification recycling device and method |
US20200050922A1 (en) * | 2018-08-13 | 2020-02-13 | National Chiao Tung University | Recycling system and method based on deep-learning and computer vision technology |
CN110884791A (en) * | 2019-11-28 | 2020-03-17 | 石家庄邮电职业技术学院(中国邮政集团公司培训中心) | Vision garbage classification system and classification method based on TensorFlow |
-
2020
- 2020-06-11 CN CN202010532678.XA patent/CN111619992A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100107241A (en) * | 2009-03-25 | 2010-10-05 | 강종원 | Total control system for garbage collection place |
US20200050922A1 (en) * | 2018-08-13 | 2020-02-13 | National Chiao Tung University | Recycling system and method based on deep-learning and computer vision technology |
CN110254997A (en) * | 2019-06-10 | 2019-09-20 | 徐娇娇 | Automatic classification dustbin |
CN110654739A (en) * | 2019-09-18 | 2020-01-07 | 西安理工大学 | Machine vision-based automatic recyclable garbage classification recycling device and method |
CN110884791A (en) * | 2019-11-28 | 2020-03-17 | 石家庄邮电职业技术学院(中国邮政集团公司培训中心) | Vision garbage classification system and classification method based on TensorFlow |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112158483A (en) * | 2020-09-18 | 2021-01-01 | 安徽工业经济职业技术学院 | Automatic garbage collection, identification and classification system based on artificial intelligence |
CN114435790A (en) * | 2020-11-04 | 2022-05-06 | 瑞斯哲智能科技(苏州)有限公司 | A categorised dustbin for municipal domestic waste handles |
CN112827846A (en) * | 2021-01-04 | 2021-05-25 | 西安建筑科技大学 | Device and method for automatic garbage classification |
CN112827846B (en) * | 2021-01-04 | 2023-08-22 | 西安建筑科技大学 | Device and method for automatically sorting garbage |
CN112733958A (en) * | 2021-01-22 | 2021-04-30 | 北京农业信息技术研究中心 | Greenhouse ozone concentration control method and system |
CN112733958B (en) * | 2021-01-22 | 2024-06-07 | 北京农业信息技术研究中心 | Greenhouse ozone concentration control method and system |
CN112830129A (en) * | 2021-03-05 | 2021-05-25 | 湘潭大学 | An intelligent garbage classification system for scenic spots |
CN113120461A (en) * | 2021-04-21 | 2021-07-16 | 河南科技大学 | Garbage classification and identification system and method for smart city |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111619992A (en) | Intelligent garbage classification system and method based on machine vision | |
WO2020206862A1 (en) | Automatic sorting system | |
CN110210635A (en) | A kind of intelligent classification recovery system that can identify waste | |
Sreelakshmi et al. | Capsule neural networks and visualization for segregation of plastic and non-plastic wastes | |
CN110697273A (en) | Intelligent household garbage identification and automatic classification system and method based on iterative learning control | |
CN110119662A (en) | A kind of rubbish category identification system based on deep learning | |
CN111814750A (en) | Intelligent garbage classification method and system based on deep learning target detection and image recognition | |
CN106874954A (en) | The method and relevant apparatus of a kind of acquisition of information | |
CN111301886A (en) | Garbage sorting and recycling system and control method based on RBF neural network | |
CN113052005B (en) | Garbage sorting method and garbage sorting device for household service | |
CN108001898A (en) | One kind is based on Internet of Things intelligent classification garbage container | |
CN108839980A (en) | A kind of intelligent garbage recovery system based on artificial intelligence Yu big data technology | |
CN110738131A (en) | Garbage classification management method and device based on deep learning neural network | |
CN113222063A (en) | Express carton garbage classification method, device, equipment and medium | |
CN111652214A (en) | A deep learning-based garbage bottle sorting method | |
Wong et al. | ESS-IoT: The Smart Waste Management System for General Household. | |
CN111137602B (en) | Garbage classification method and garbage classification system based on artificial intelligence | |
CN115583448A (en) | An integrated platform and method for intelligent garbage delivery management | |
CN215708916U (en) | Intelligent recognition garbage can | |
Yu et al. | Garbage detection algorithm based on deep learning | |
CN113998338A (en) | Intelligent waste sorting system | |
Qu | Application of artificial intelligence in waste classification management at university | |
CN113895819A (en) | Intelligent environmental sanitation garbage classification monitoring method and system based on visual identification | |
LU500437B1 (en) | System and method for intelligent garbage sorting based on machine vision | |
CN118968375A (en) | Intelligent garbage delivery and transfer method, system and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200904 |
|
RJ01 | Rejection of invention patent application after publication |