%0 Journal Article
%T 基于CNN与OpenCV的智能高校食堂管理系统
Intelligent University Canteen Management System Based on CNN and OpenCV
%A 常宁
%A 徐贞顺
%A 秦怀玉
%J Software Engineering and Applications
%P 226-240
%@ 2325-2278
%D 2026
%I Hans Publishing
%R 10.12677/sea.2026.152022
%X 全球范围内,传统食堂普遍面临供需失衡问题。此外,食堂与就餐者间信息不通畅,影响服务优化与用餐体验。为此,本文设计了一套基于深度学习的智能食堂管理系统,通过实时数据建模实现库存动态调整与菜品余量监控。本项目基于深度学习技术,采用CNN卷积神经网络与计算机视觉算法,通过部署高清摄像头采集图像数据,结合OpenCV进行动态分析,识别菜品的种类和剩余量,并综合历史消耗、反馈与菜品评价信息,为食堂提供调整建议。系统采用B/S架构,前端使用Vue.js,后端使用Django框架。核心功能包括:1) 基于CNN与OpenCV的菜品余量实时识别模型;2) 融合实时余量、历史销量与学生反馈数据的三层决策树补货建议模块;3) 基于协同过滤算法与评论情感分析的菜品优化推荐模块。实验表明,菜品余量识别模型在自建数据集(4000余张图像)上的准确率达到95.27%。本系统将深度学习技术应用于传统食堂管理场景,为校园餐饮的智能化升级提供了有价值的解决方案。
Traditional cafeterias globally are commonly confronted with the imbalance between supply and demand. Furthermore, the information asymmetry between cafeterias and diners hampers service optimization and the dining experience. To address these issues, this paper proposes an intelligent cafeteria management system based on deep learning, which enables dynamic inventory adjustment and real-time dish leftover monitoring through data modeling. This project leverages deep learning technologies, employing Convolutional Neural Networks (CNN) and computer vision algorithms. High-definition cameras are deployed to capture image data, which is dynamically analyzed using OpenCV to accurately identify dish types and remaining quantities. By integrating historical consumption data, real-time feedback, and dish evaluations, the system provides recommendations for supply adjustments. The system adopts a B/S architecture, with a frontend built using Vue.js and a backend using the Django framework. Core functionalities include: 1) A real-time dish leftover recognition model based on CNN and OpenCV; 2) A three-tier decision tree replenishment suggestion module that integrates real-time leftovers, historical sales, and student feedback data; 3) A dish optimization recommendation module based on collaborative filtering algorithms and sentiment analysis of comments. Experimental results show that the dish leftover recognition model achieves an accuracy of 95.27% on a self-constructed dataset of over 4000 images. This system applies deep learning technologies to traditional cafeteria management scenarios, offering a valuable solution for the intelligent upgrading of campus dining services.
%K 深度学习,
%K 卷积神经网络,
%K 食堂管理,
%K 数据决策,
%K 协同过滤
Deep Learning
%K Convolutional Neural Network
%K Cafeteria Management
%K Data-Driven Decision Making
%K Collaborative Filtering
%U http://www.hanspub.org/journal/PaperInformation.aspx?PaperID=140326