I基于 物联网和 OpenCV 的小 型猫犬智能宠物小屋的设计 摘要在现代社会,随着科学与技术的飞速变化和进步,我们的日常生活也呈现出了科技化、现代化的色彩。尽管社会在进步,但是在当下社会中,从古至今人们之间最重要的交流却一点点的淡化。也是伴随着当下社会的巨大压力,很多人把饲养宠物作为自己消遣和排解压力的形式和办法。这也导致宠物行业的产品如雨后春笋般的增长了起来。其中,宠物智能小屋的发展存在单一性,比如只能喂食等等。并且没有考虑到宠物的领地意识,造成宠物之间以及对幼儿可能形成的伤害。所以研究一款具有多种功能的专属的智能宠物小屋是具有发展前景的。本文主要介绍了一种基于物联网和 OpenCV 的小型猫犬智能宠物小屋的设计与实现。目的是集合主流宠物小屋的功能,并考虑到宠物领地意识,打造一个拥有多种功能且专属的智能宠物小屋。主要的功能有喂食、以及通过风扇和加热毯对小屋环境进行调节。专属性通过 OpenCV 识别来判定是宠物猫或者宠物狗,并作出开关门的动作。整个系统以 STM32f407vet6 和树莓派 4B 作为控制核心。检测模块由 BME280 传感器和 ov5647 传感器构成,通过舵机和继电器来实现对环境调节,喂食,开关门功能的实现。由 OpenCV+Python 进行图片识别,但是为了提高准确度由百度 AI 接口进行二次识别。使用微信小程序作为移动 UI端进行数据的查看和硬件的控制。关键词:微信小程序;STM32;树莓派;OpenCV;智能宠物小屋IIABSTRACTIn modern society, with the rapid change and progress of science and technology, our daily life also presents the color of technology and modernization. Although the society is progressing, but in the current society, the most important communication between people from ancient times to now is a little diluted. It is also accompanied by the tremendous pressure of contemporary society. Many people regard raising pets as a way to relax themselves and relieve their stress. This has also led to the rapid growth of products in the pet industry. Among them, the development of pet smart house is unitary, such as feeding only. And it doesn't take into account the territorial awar...