摘要
以开发一种具有自动识别功能的超市蔬果称重装置为目标,使用STM32F103ZET6单片机作为核心控制器,配合使用图像采集模块、称重模块、显示模块、以太网连接模块以及打印模块等。为实现自动识别功能,通过连接百度云自动识别平台,将蔬果的图片信息上传,百度云通过计算,得出图片中的蔬果信息,随后将结果发送回单片机,单片机调用事先输入的蔬果单价,计算得到顾客应付费用,通过打印机打印出小票并在液晶屏上显示蔬果品种、单价、总价和重量。
In order to develop a supermarket vegetable and fruit weighing device with automatic identification function,STM32F103ZET6 single chip microcomputer is used as the core controller,and image acquisition module,weighing module,display module,Ethernet connection module and printing module are used together as auxiliary devices.In order to realize the automatic identification function,by connecting with the automatic identification platform of Baidu cloud and uploading the picture information of vegetables and fruits,Baidu cloud obtains the information of vegetables and fruits in the pictures through calculation,and then sends the results back to the single chip microcomputer.The single chip microcomputer calls the unit price of vegetables and fruits input in advance,calculates the expenses payable by customers,prints out the small ticket through the printer,and displays the variety,unit price,total price and weight of vegetables and fruits on the LCD screen.
作者
杨京
焦亭
杨雅婷
樊冰芬
平家乐
廉宇凯
YANG Jing;JIAO Ting;YANG Ya-ting;FAN Bing-fen;PING Jia-le;LIAN Yu-kai(Department of Automation,Shanxi University,Taiyuan 030006 China)
出处
《科技创新与生产力》
2020年第7期75-78,共4页
Sci-tech Innovation and Productivity
基金
山西大学第十七期本科生科研训练计划项目(2019017517)。