The invention discloses a method for grain depot management, which includes: acquiring the reference image in the barn when the barn is sealed; acquiring the real-time image in the barn after the barn is sealed; calculating the difference between the real-time image in the barn and the reference image in the barn based on the preset rules; and judging whether the difference value is within the allowable range. If not, an alarm signal is issued. By capturing the reference image in the warehouse and the real-time image in the warehouse after the warehouse closure and analyzing and comparing them, the changes of the grain in the warehouse after the warehouse closure can be checked in time, without the need for staff to inspect the scene, and without staff to view the surveillance video remotely to find problems, thus saving a large number of people. Resources and material resources, and alarm when problems are found through calculation and analysis, can facilitate staff to find problems and deal with them in time. The invention also provides an equipment for grain depot management and a computer readable storage medium, which has the above beneficial effects and is not repeated here.
【技术实现步骤摘要】
一种粮库管理的方法、设备及计算机可读存储介质
本专利技术涉及粮食监督管理领域,特别是涉及一种粮库管理的方法、设备及计算机可读存储介质。
技术介绍
为了全面查清国家库存粮食的数量和质量,准确掌握粮食库存的真实情况,确保国家粮食安全,需要定期对粮库进行“清仓查库”。在现有技术中,清仓查库主要分两种方式,一种是对粮食库存实物进行现场检查,由检查人员对被检查企业的全部粮食货位进行逐一清点检查,认定每个货位中粮食实物的数量、品种和性质,并与粮食库存分仓保管账、保管总账相互印证;另一种是在粮库中安装监控摄像头,由工作人员远程对粮库库存进行监控并与账目进行对比。无论采用哪种方式,若要全面查清库存,都需要耗费大量人力物力。因此,如何在全面查清粮仓库存的基础上,节约人力物力,是本领域技术人员需要解决的技术问题。
技术实现思路
本专利技术的目的是提供一种粮库管理的方法、设备及计算机可读存储介质,用于在全面查清粮仓库存的基础上,节约人力物力。为解决上述技术问题,本专利技术提供一种粮库管理的方法,包括:当检测到粮仓封仓完毕时,获取仓内基准图像;在所述粮仓封仓之后,获取仓内实时图像;基于预设的规则,计算所述仓内实时图像相对于所述仓内基准图像的差异值;判断所述差异值是否在允许范围内,如果否,则发出报警信号。可选地,所述差异值具体为高度差异值;所述基于预设的规则,计算所述仓内实时图像相对于所述仓内基准图像的差异值具体包括:在所述粮仓侧壁生成高度标识线;识别所述仓内基准图像得到所述粮仓中的粮堆的边缘与所述高度标识线的基准相交点;识别所述仓内实时图像得到所述边缘与所述高度标识线的实时相交点;计 ...
【技术保护点】
1.一种粮库管理的方法,其特征在于,包括:当检测到粮仓封仓完毕时,获取仓内基准图像;在所述粮仓封仓之后,获取仓内实时图像;基于预设的规则,计算所述仓内实时图像相对于所述仓内基准图像的差异值;判断所述差异值是否在允许范围内,如果否,则发出报警信号。
【技术特征摘要】
1.一种粮库管理的方法,其特征在于,包括:当检测到粮仓封仓完毕时,获取仓内基准图像;在所述粮仓封仓之后,获取仓内实时图像;基于预设的规则,计算所述仓内实时图像相对于所述仓内基准图像的差异值;判断所述差异值是否在允许范围内,如果否,则发出报警信号。2.根据权利要求1所述的方法,其特征在于,所述差异值具体为高度差异值;所述基于预设的规则,计算所述仓内实时图像相对于所述仓内基准图像的差异值具体包括:在所述粮仓侧壁生成高度标识线;识别所述仓内基准图像得到所述粮仓中的粮堆的边缘与所述高度标识线的基准相交点;识别所述仓内实时图像得到所述边缘与所述高度标识线的实时相交点;计算所述基准相交点与所述实时相交点之间的所述高度差异值。3.根据权利要求1所述的方法,其特征在于,所述差异值具体为体积差异值;所述基于预设的规则,计算所述仓内实时图像相对于所述仓内基准图像的差异值具体包括:以所述仓内基准图像为基准,在所述粮仓中的粮堆的表面所在的空间建立空间坐标系;基于所述空间坐标系,识别所述仓内实时图像中所述表面与所述空间坐标系的交点;计算在所述仓内实时图像中所述粮堆与在所述仓内基准图像中所述粮堆之间的所述体积差异值。4.根据权利要求1所述的方法,其特征在于,还包括:当检测到所述粮仓...
【专利技术属性】
技术研发人员:吴秋生,
申请(专利权)人:长沙沃哲信息技术有限公司,
类型:发明
国别省市:湖南,43
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。