Movatterモバイル変換


[0]ホーム

URL:


CN116128500A - Automatic identification method and device for weighing articles, computer equipment and medium - Google Patents

Automatic identification method and device for weighing articles, computer equipment and medium
Download PDF

Info

Publication number
CN116128500A
CN116128500ACN202211413255.1ACN202211413255ACN116128500ACN 116128500 ACN116128500 ACN 116128500ACN 202211413255 ACN202211413255 ACN 202211413255ACN 116128500 ACN116128500 ACN 116128500A
Authority
CN
China
Prior art keywords
display value
item
reading
display
picture
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.)
Granted
Application number
CN202211413255.1A
Other languages
Chinese (zh)
Other versions
CN116128500B (en
Inventor
张晓华
陈勇
李建
胡天
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Smdt Technology Co ltd
Original Assignee
Shenzhen Smdt Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Smdt Technology Co ltdfiledCriticalShenzhen Smdt Technology Co ltd
Priority to CN202211413255.1ApriorityCriticalpatent/CN116128500B/en
Publication of CN116128500ApublicationCriticalpatent/CN116128500A/en
Application grantedgrantedCritical
Publication of CN116128500BpublicationCriticalpatent/CN116128500B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请涉及智能识别技术领域,特别是涉及到一种物品称重自动识别方法、装置、计算机设备及存储介质,所述方法包括如下步骤:获取所述物品称重时的读数图片,根据所述读数图片获取第一显示值;将所述第一显示值进行排序,获取最大的第一显示值;当所述读数图片的第一相似度达到第一阈值时,则展示所述读数图片的最大的第一显示值;据所述第一显示值获取第二显示值;判断所述物品称重时的读数是否稳定,若稳定,则根据所述第二显示值获取第三显示值;将所述第三显示值进行排序,获取最大的第三显示值;当所述读数图片的第一相似度达到第二阈值时,则展示所述读数图片的最大的第三显示值。通过上述方法,提高了对商品识别的效率以及识别准确率。

Figure 202211413255

The present application relates to the field of intelligent identification technology, and in particular to a method, device, computer equipment and storage medium for automatic identification of item weighing. Acquiring the first display value of the reading picture; sorting the first display values to obtain the largest first display value; when the first similarity of the reading picture reaches the first threshold, display the maximum value of the reading picture The first display value; obtain the second display value according to the first display value; judge whether the reading when the item is weighed is stable, and if it is stable, obtain the third display value according to the second display value; The third display value is sorted to obtain the largest third display value; when the first similarity of the reading picture reaches the second threshold, the largest third display value of the reading picture is displayed. Through the above method, the efficiency and recognition accuracy of commodity recognition are improved.

Figure 202211413255

Description

Translated fromChinese
物品称重自动识别方法、装置、计算机设备及介质Item weighing automatic identification method, device, computer equipment and medium

技术领域technical field

本申请涉及到智能识别技术领域,特别是涉及到一种物品称重自动识别方法、装置、计算机设备及存储介质。The present application relates to the technical field of intelligent identification, in particular to an automatic item weighing identification method, device, computer equipment and storage medium.

背景技术Background technique

随着人们生活水平的提高,去超市购物的频率逐渐增大,在去超市购物的时候,往往为了给购买的商品称重需要排很久的队才可以完成,由于在现有技术中,当对商品称重时,放在称上的商品从开始有读数到读数稳定需要一段时间,在这段时间中,摄像头拍摄的商品图片可能存在运动导致的模糊和手拿商品导致商品主体被手遮挡的情况,导致商品识别的准确率降低,如果等称稳定之后再识别,则从称有读数开始到读数稳定的时间太久,整个过程消耗的时间太久。所以如何提高对商品识别的效率以及识别准确率是急需解决的问题。With the improvement of people's living standards, the frequency of shopping in supermarkets is gradually increasing. When shopping in supermarkets, it is often necessary to queue for a long time in order to weigh the purchased goods. When the product is weighed, it takes a period of time for the product on the scale to start to have a reading until the reading is stable. During this time, the product picture taken by the camera may be blurred by motion and the main body of the product is blocked by the hand when the product is held. In this case, the accuracy of commodity identification is reduced. If the identification is performed after the scale is stable, the time from the scale reading to the reading stabilization will be too long, and the entire process will take too long. Therefore, how to improve the efficiency and accuracy of commodity recognition is an urgent problem to be solved.

发明内容Contents of the invention

本申请的主要目的为提供一种物品称重自动识别方法、装置、计算机设备及存储介质,旨在解决如何提高对商品识别的效率以及识别准确率的问题。The main purpose of this application is to provide an automatic item weighing identification method, device, computer equipment and storage medium, aiming to solve the problem of how to improve the efficiency and accuracy of item identification.

为了实现上述发明目的,本申请提出一种物品称重自动识别方法,包括:In order to achieve the purpose of the above invention, this application proposes an automatic identification method for item weighing, including:

获取所述物品称重时的读数图片,根据所述读数图片获取第一显示值;Acquiring a picture of the reading when the item is weighed, and acquiring a first display value according to the picture of the reading;

将所述第一显示值进行排序,获取最大的第一显示值;sorting the first display values to obtain the largest first display value;

当所述读数图片的第一相似度达到第一阈值时,则展示所述读数图片的最大的第一显示值;When the first similarity of the reading picture reaches a first threshold, then display the largest first display value of the reading picture;

根据所述第一显示值获取第二显示值;acquiring a second display value according to the first display value;

判断所述物品称重时的读数是否发生变化,若未发生变化,则根据所述第二显示值获取第三显示值;judging whether the reading of the item when weighing has changed, if not, obtaining a third display value according to the second display value;

将所述第三显示值进行排序,获取最大的第三显示值;sorting the third display values to obtain the largest third display value;

当所述读数图片的第一相似度达到第二阈值时,则展示所述读数图片的最大的第三显示值;When the first similarity of the reading picture reaches the second threshold, then display the largest third display value of the reading picture;

基于所述第一显示值、所述第二显示值和所述第三显示值获取所述物品称重自动识别结果。Acquiring the item weighing automatic identification result based on the first display value, the second display value and the third display value.

进一步地,所述获取所述物品称重时的读数图片,根据所述读数图片获取第一显示值的步骤之前,包括:Further, before the step of obtaining the reading picture when the item is weighed, the step of acquiring the first display value according to the reading picture includes:

判断所述物品称重时的读数是否达到第三阈值;judging whether the reading when the item is weighed reaches a third threshold;

若所述物品称重时的读数达到第三阈值时,则获取第一显示值;If the reading when the item is weighed reaches the third threshold, then acquire the first display value;

若所述物品称重时的读数没有达到第三阈值时,则不获取第一显示值。If the reading when the item is weighed does not reach the third threshold, the first display value is not acquired.

进一步地,所述当所述读数图片的第一相似度达到第一阈值时,则展示所述读数图片的最大的第一显示值,包括:Further, when the first similarity of the reading picture reaches the first threshold, then displaying the largest first display value of the reading picture includes:

判断所述物品称重时的读数图片的第一相似度是否达到第一阈值;judging whether the first similarity of the reading picture when the item is weighed reaches the first threshold;

若所述物品称重时的读数图片的第一相似度达到第一阈值时,则展示所述读数图片的最大的第一显示值;If the first similarity of the reading picture when the item is weighed reaches the first threshold, then display the largest first display value of the reading picture;

若所述物品称重时的读数图片的第一相似度没有达到第一阈值时,则不展示所述读数图片的最大的第一显示值。If the first similarity of the reading picture when the item is weighed does not reach the first threshold, then the maximum first display value of the reading picture is not displayed.

进一步地,所述当所述读数图片的第一相似度达到第二阈值时,则展示所述读数图片的最大的第三显示值,包括:Further, when the first similarity of the reading picture reaches the second threshold, then displaying the largest third display value of the reading picture includes:

判断所述物品称重时的读数图片的第二相似度否达到第二阈值;Judging whether the second similarity of the reading picture when the item is weighed reaches the second threshold;

若所述物品称重时的读数图片的第二相似度达到第二阈值时,则展示所述读数图片的最大的第三显示值;If the second similarity of the reading picture when the item is weighed reaches the second threshold, then display the largest third display value of the reading picture;

若所述物品称重时的读数图片的第二相似度没有达到第二阈值时,则展示所述读数图片的最大的第三显示值。If the second similarity of the reading picture when the item is weighed does not reach the second threshold, then display the third largest display value of the reading picture.

进一步地,所述获取所述物品称重时的读数,获取第一显示值,包括:Further, the acquiring the reading when the item is weighed, and acquiring the first display value include:

基于摄像头获取所述物品的图片;Obtaining a picture of the item based on a camera;

基于所述物品的图片提取所述物品图片的特征;extracting features of the item image based on the item image;

基于所述物品图片的特征在数据库中搜素与所述物品图片特征相似度最高的第一参照图片;Searching the database for the first reference picture with the highest similarity to the features of the item picture based on the features of the item picture;

将所述相似度最高的第一参照图片的相似度值作为所述第一显示值。The similarity value of the first reference picture with the highest similarity is used as the first display value.

进一步地,所述当所述读数图片的第一相似度达到第一阈值时的步骤之前,包括:Further, before the step when the first similarity of the reading picture reaches the first threshold, it includes:

在所述物品称重时的读数稳定之前,基于摄像头获取所述物品的图片;Obtaining a picture of the item based on the camera before the reading of the item is stable when weighing;

基于所述物品的图片提取所述物品图片的特征;extracting features of the item image based on the item image;

将所述物品图片的特征在数据库中进行N次搜素,每次搜素操作均获得获取一个所述第一相似度。The features of the item picture are searched for N times in the database, and one of the first similarities is obtained for each search operation.

进一步地,所述基于所述第一显示值、第二显示值、第三显示值获取所述物品称重时的自动识别结果,包括:Further, said obtaining the automatic identification result when the item is weighed based on the first display value, the second display value, and the third display value includes:

分别将所述第一显示值、第二显示值、第三显示值里的值从高到低排序;Respectively sort the values in the first display value, the second display value, and the third display value from high to low;

将所述显示值最高的对应的第二参照图片作为所述物品称重时的自动识别结果。The corresponding second reference picture with the highest display value is used as the automatic recognition result when the item is weighed.

一种物品称重自动识别装置,包括:An automatic item weighing identification device, comprising:

第一显示值获取模块,用于获取所述物品称重时的读数图片,根据所述读数图片获取第一显示值;The first display value obtaining module is used to obtain the reading picture when the item is weighed, and obtain the first display value according to the reading picture;

排序模块,用于将所述第一显示值进行排序,获取最大的第一显示值;A sorting module, configured to sort the first display values to obtain the largest first display value;

第一显示值展示模块,用于当所述读数图片的第一相似度达到第一阈值时,则展示所述读数图片的最大的第一显示值;The first display value display module is used to display the largest first display value of the reading picture when the first similarity of the reading picture reaches a first threshold;

第二显示值获取模块,用于根据所述第一显示值获取第二显示值;A second display value acquiring module, configured to acquire a second display value according to the first display value;

判断模块,用于判断所述物品称重时的读数是否稳定,若稳定,则根据所述第二显示值获取第三显示值;A judging module, configured to judge whether the reading when the item is weighed is stable, and if it is stable, obtain a third display value according to the second display value;

第三显示值获取模块,用于将所述第三显示值进行排序,获取最大的第三显示值;A third display value acquisition module, configured to sort the third display values and obtain the largest third display value;

第三显示值展示模块,用于当所述读数图片的第一相似度达到第二阈值时,则展示所述读数图片的最大的第三显示值;The third display value display module is used to display the largest third display value of the reading picture when the first similarity of the reading picture reaches the second threshold;

识别结果获取模块,用于基于所述第一显示值、所述第二显示值、所述第三显示值获取所述物品称重自动识别结果。An identification result acquisition module, configured to acquire the item weighing automatic identification result based on the first display value, the second display value, and the third display value.

本申请还提供一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现上述任一项物品称重自动识别方法的步骤。The present application also provides a computer device, including a memory and a processor, the memory stores a computer program, and when the processor executes the computer program, the steps of any one of the above-mentioned automatic item weighing identification methods are realized.

本申请还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一项物品称重自动识别方法的步骤。The present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any one of the above-mentioned automatic item weighing identification methods are realized.

本申请涉及智能识别技术领域,特别是涉及到一种物品称重自动识别方法、装置、计算机设备及存储介质,所述方法包括如下步骤:获取所述物品称重时的读数图片,根据所述读数图片获取第一显示值;将所述第一显示值进行排序,获取最大的第一显示值;当所述读数图片的第一相似度达到第一阈值时,则展示所述读数图片的最大的第一显示值;据所述第一显示值获取第二显示值;判断所述物品称重时的读数是否稳定,若稳定,则根据所述第二显示值获取第三显示值;将所述第三显示值进行排序,获取最大的第三显示值;当所述读数图片的第一相似度达到第二阈值时,则展示所述读数图片的最大的第三显示值;。通过上述方法,提高了对商品识别的效率以及识别准确率。The present application relates to the field of intelligent identification technology, and in particular to a method, device, computer equipment and storage medium for automatic identification of item weighing. Acquiring the first display value of the reading picture; sorting the first display values to obtain the largest first display value; when the first similarity of the reading picture reaches the first threshold, then displaying the maximum value of the reading picture The first display value; obtain the second display value according to the first display value; judge whether the reading when weighing the item is stable, if stable, obtain the third display value according to the second display value; The third display value is sorted to obtain the largest third display value; when the first similarity of the reading picture reaches the second threshold, the largest third display value of the reading picture is displayed; Through the above method, the efficiency and recognition accuracy of commodity recognition are improved.

附图说明Description of drawings

图1为本申请物品称重自动识别方法的一实施例流程示意图;Fig. 1 is a schematic flow chart of an embodiment of the automatic identification method for item weighing in the present application;

图2为本申请物品称重自动识别装置的一实施例结构示意图;Fig. 2 is a structural schematic diagram of an embodiment of the automatic item weighing identification device of the present application;

图3为本申请计算机设备的一实施例结构示意框图。Fig. 3 is a schematic structural block diagram of an embodiment of the computer equipment of the present application.

本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional features and advantages of the present application will be further described in conjunction with the embodiments and with reference to the accompanying drawings.

具体实施方式Detailed ways

为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not intended to limit the present application.

参照图1,本申请实施例提供一种物品称重自动识别方法,包括步骤S10-S80,对于物品称重自动识别方法的各个步骤的详细阐述如下。Referring to FIG. 1 , an embodiment of the present application provides an automatic identification method for item weighing, including steps S10-S80. The detailed description of each step of the automatic item weighing identification method is as follows.

S10-30、获取所述物品称重时的读数图片,根据所述读数图片获取第一显示值;将所述第一显示值进行排序,获取最大的第一显示值;当所述读数图片的第一相似度达到第一阈值时,则展示所述读数图片的最大的第一显示值。S10-30. Obtain the reading picture when the item is weighed, and obtain the first display value according to the reading picture; sort the first display values to obtain the largest first display value; when the reading picture is When the first similarity reaches the first threshold, the maximum first display value of the reading picture is displayed.

本实施例中,所述读数图片为将称重物品放在称上,当称上的读数达到了一定的读数,则通过摄像头拍摄称重物品,获取称重物品的图片,所述所述第一显示值为所述物品称重时的读数图片的相似度,所述物品包括服饰、水产、五金、化工、食品等大类,具体地,在一实施例中,物品在称重时,当称上的读数达到第三阈值时,在该实施例中,第二阈值设置为2克,摄像头拍摄物品,获取物品的照片,识别并提取所述物品图片的特征,将所述物品的照片放在数据库进行搜素,获取与该物品相似度最高对应的物品,将该相似度作为第一显示值,将显示值最高的物品图片展示在屏幕上。通过上述技术方式,对物品图片进行第一次的识别,获取了与该物品相似度最高的物品图片。In this embodiment, the reading picture is that the weighing item is placed on the scale. When the reading on the scale reaches a certain reading, the weighing item is photographed by the camera to obtain a picture of the weighing item. The said first One display value is the similarity of the reading picture when the item is weighed, and the item includes clothing, aquatic products, hardware, chemical industry, food and other categories. Specifically, in one embodiment, when the item is weighed, when When the reading on the scale reaches the third threshold, in this embodiment, the second threshold is set to 2 grams, the camera takes pictures of the item, obtains a photo of the item, identifies and extracts the features of the picture of the item, and puts the photo of the item in the Search the database to obtain the item corresponding to the item with the highest similarity, use the similarity as the first display value, and display the picture of the item with the highest display value on the screen. Through the above-mentioned technical means, the item picture is identified for the first time, and the item picture with the highest similarity to the item is obtained.

S40、根据所述第一显示值获取第二显示值。S40. Acquire a second display value according to the first display value.

本实施例中,所述第一相似度值是指所述物品图片的当前显示值与历史显示值的配比,所述第二显示值等于前一次显示值*a+相似度*(1-a),其中,a为第一阈值,相似度为第一显示值,具体地,在一实施例中,在物品称重时的读数稳定之前,且当物体的图片的第一相似度达到第一阈值时,对物品图片进行多次识别,在该实施例中,第一阈值为0.8,则根据摄像头获取称重物品的图片,按照一定的间隔时间对所述物品的图片进行识别,在该实施例中,间隔时间为1s,每间隔1秒根据上述的公式获取第二显示值。通过上述技术方式,获取了物品称重时在读数稳定之前的多个显示值。In this embodiment, the first similarity value refers to the ratio of the current display value of the item picture to the historical display value, and the second display value is equal to the previous display value*a+similarity*(1-a ), wherein, a is the first threshold, and the similarity is the first display value. Specifically, in an embodiment, before the reading of the item is stable when weighing, and when the first similarity of the picture of the object reaches the first When the threshold value is reached, the item picture is identified multiple times. In this embodiment, the first threshold value is 0.8, then the picture of the item to be weighed is obtained according to the camera, and the picture of the item is identified according to a certain interval time. In this implementation In the example, the interval time is 1s, and the second display value is acquired according to the above formula every 1 second. Through the above-mentioned technical method, multiple display values before the reading is stable when the item is weighed are obtained.

S50-S70、判断所述物品称重时的读数是否发生变化,若未发生变化,则根据所述第二显示值获取第三显示值;将所述第三显示值进行排序,获取最大的第三显示值;当所述读数图片的第一相似度达到第二阈值时,则展示所述读数图片的最大的第三显示值。S50-S70. Judging whether the reading of the item when weighing has changed, and if there is no change, obtain the third display value according to the second display value; sort the third display values to obtain the largest first Three display values; when the first similarity of the reading picture reaches the second threshold, then display the largest third display value of the reading picture.

本实施例中,所述第二相似度为所述物品在称重时的读数稳定以后,所述物品图片的第三显示值与历史显示值的配比,第三显示值等于前一次显示值*b+相似度*(1-b),其中,b为第二阈值,所述前一次的显示值为在物品称重读数稳定之前的最后一次计算得到的的显示值,具体地,在一实施例中,当读数图片的第二相似度达到第二阈值时,在该实施例中,第二阈值为0.6,将第二阈值代入上述公式获取第三显示值。通过上述技术方式,获取了所述物品的第三显示值。In this embodiment, the second similarity is the ratio of the third display value of the item picture to the historical display value after the reading of the item is stable during weighing, and the third display value is equal to the previous display value *b+similarity*(1-b), wherein, b is the second threshold, and the previous display value is the display value obtained from the last calculation before the item weighing reading is stable, specifically, in an implementation In an example, when the second similarity of the reading pictures reaches the second threshold, in this embodiment, the second threshold is 0.6, and the second threshold is substituted into the above formula to obtain the third display value. Through the above technical means, the third display value of the item is obtained.

S80、基于所述第一显示值、所述第二显示值和所述第三显示值获取所述物品称重自动识别结果。S80. Acquire the item weighing automatic identification result based on the first display value, the second display value, and the third display value.

本实施例中,所述基于所述第一显示值、第二显示值、第三显示值获取所述物品称重自动识别结果包括将所述第一显示值、第二显示值、第三显示值从高到低排序;将所述显示值最高的对应的第二参照图片作为所述物品称重时的自动识别结果。具体地,在一实施例中,将通过上述步骤中计算得到的显示值从大到小排列,将显示值最高的对应的图片作为所述物品图片的识别结果。通过上述技术方式,获得物品的识别结果,提高了物品识别的效率和准确率。In this embodiment, the acquiring the item weighing automatic identification result based on the first display value, the second display value, and the third display value includes combining the first display value, the second display value, and the third display value The values are sorted from high to low; the corresponding second reference picture with the highest display value is used as the automatic recognition result when the item is weighed. Specifically, in one embodiment, the display values calculated in the above steps are arranged in descending order, and the corresponding picture with the highest display value is used as the recognition result of the item picture. Through the above-mentioned technical means, the identification result of the item is obtained, and the efficiency and accuracy of item identification are improved.

在一个实施例中,所述获取所述物品称重时的读数图片,根据所述读数图片获取第一显示值的步骤之前,包括:判断所述物品称重时的读数是否达到第三阈值;若所述物品称重时的读数达到第三阈值时,则获取第一显示值;若所述物品称重时的读数没有达到第三阈值时,则不获取第一显示值。In one embodiment, before the step of obtaining the reading picture when the item is weighed, the step of acquiring the first display value according to the reading picture includes: judging whether the reading when the item is weighed reaches a third threshold; If the reading of the item when weighing reaches the third threshold, the first display value is acquired; if the reading of the item when weighing does not reach the third threshold, the first display value is not acquired.

本实施例中,通过判断所述物品称重时的读数是否达到第三阈值确定是否获取物品的第一显示值,具体地,在一实施例中,将待称重的物品放入称上,当称的读数达到第三阈值时,在该实施例中,第三阈值设置为3克,将物品进行称重时,当称上的读数达到3克时,通过摄像头获取物品的图片,提取物品图片的特征,根据物品图片的特征在数据库中搜素与该图片相似度最高的商品,将该相似度作为该物品的第一显示值,将该商品作为物品识别到的结果,当称的读数没有达到第三阈值时,则不获取该物品的显示值,称上的读数达到第三阈值后获取物品的图片,获得的第一显示值才是有效值,最后对物品的识别结果才有效。通过上述技术方式,获得了称重物品对应的显示值最高的商品,提高了识别称重物品的准确率。In this embodiment, it is determined whether to obtain the first display value of the item by judging whether the reading when the item is weighed reaches the third threshold. Specifically, in one embodiment, the item to be weighed is put on the scale, When the reading on the scale reaches the third threshold, in this embodiment, the third threshold is set to 3 grams, when the item is weighed, when the reading on the scale reaches 3 grams, the picture of the item is obtained through the camera, and the item is extracted The characteristics of the picture, according to the characteristics of the item picture, search the database for the product with the highest similarity to the picture, and use the similarity as the first display value of the item, and use the product as the result of item recognition. When the third threshold is reached, the display value of the item will not be obtained, and the picture of the item will be obtained after the reading on the scale reaches the third threshold. The obtained first display value is the effective value, and finally the recognition result of the item is valid. Through the above-mentioned technical method, the commodity with the highest display value corresponding to the weighing item is obtained, and the accuracy rate of identifying the weighing item is improved.

在一个实施例中,所述当所述读数图片的第一相似度达到第一阈值时,则展示所述读数图片的最大的第一显示值,包括:判断所述物品称重时的读数图片的第一相似度是否达到第一阈值;若所述物品称重时的读数图片的第一相似度达到第一阈值时,则展示所述读数图片的最大的第一显示值;若所述物品称重时的读数图片的第一相似度没有达到第一阈值时,则不展示所述读数图片的最大的第一显示值。In one embodiment, when the first similarity of the reading picture reaches the first threshold, displaying the maximum first display value of the reading picture includes: judging the reading picture when the item is weighed Whether the first similarity of the reading picture reaches the first threshold; if the first similarity of the reading picture when the item is weighed reaches the first threshold, then display the largest first display value of the reading picture; if the item When the first similarity degree of the reading picture during weighing does not reach the first threshold, the maximum first display value of the reading picture is not displayed.

本实施例中,通过判断物品称重时的读数图片的第一相似度是否达到第一阈值来确定是否需要获取第二显示值,所述第一相似度是指所述物品图片的当前显示值与前一次显示值的比重,所述第二显示值是由第一阈值与物品图片与搜素到的商品图片的相似度决定,具体地,在一实施例中,获取称重物品的图片,提取图片的特征,在数据库中进行搜素,所述数据库可以是标准数据库,也可以人为设定,在该实施例中,所述第一阈值为0.4,当第一相似度达到0.4,则获取第二显示值,第二显示值=前一次显示值*a+相似度*(1-a),在该实施例中,a为0.4,获取第二显示值。通过上述方式,确定了是否获取第二显示值。In this embodiment, it is determined whether the second display value needs to be acquired by judging whether the first similarity of the reading picture when the item is weighed reaches the first threshold, and the first similarity refers to the current display value of the item picture Compared with the previous display value, the second display value is determined by the first threshold and the similarity between the item picture and the searched product picture. Specifically, in one embodiment, the picture of the weighing item is obtained, Extract the features of the picture and search in the database. The database can be a standard database or can be set artificially. In this embodiment, the first threshold is 0.4. When the first similarity reaches 0.4, the The second display value, second display value=previous display value*a+similarity*(1−a), in this embodiment, a is 0.4, and the second display value is obtained. In the above manner, it is determined whether to acquire the second display value.

在一个实施例中,所述当所述读数图片的第一相似度达到第二阈值时,则展示所述读数图片的最大的第三显示值,包括:判断所述物品称重时的读数图片的第二相似度否达到第二阈值;若所述物品称重时的读数图片的第二相似度达到第二阈值时,则展示所述读数图片的最大的第三显示值;若所述物品称重时的读数图片的第二相似度没有达到第二阈值时,则展示所述读数图片的最大的第三显示值。In one embodiment, when the first similarity of the reading picture reaches the second threshold, displaying the third largest display value of the reading picture includes: judging the reading picture when the item is weighed Whether the second similarity of the item reaches the second threshold; if the second similarity of the reading picture when the item is weighed reaches the second threshold, then display the largest third display value of the reading picture; if the item When the second similarity degree of the reading picture during weighing does not reach the second threshold value, the third largest display value of the reading picture is displayed.

本实施例中,在对物品称重时,当称的读数稳定以后,通过判断物品图片的相似度来确定是否获取第三显示值,所述第二相似度为当前照片的显示值与历史显示值的配比,具体地,在一实施例中,若待称重物品为“苹果”,将苹果放在称上,当称上的读数稳定以后,拍摄苹果的照片,搜素与该照片相似度的参照图片,当当前照片的相似度与上一次搜素计算得到的相似度的权重达到第二阈值时,则获取第三显示值,在该实施例中,第三显示值设置为0.8,第三显示值等于前一次显示值*b+相似度*(1-b),此时,b为0.8,用户可根据需要自行设置,相似度的计算公式:similar(F1_norm,F2_norm)=(cos(min((d2(F1_norm,F2_norm)+0.3)2,π))+1)*0.5。通过上述方式,获取了第三显示值,提高了对称重物品识别的准确率。In this embodiment, when the item is weighed, after the scale reading is stable, it is determined whether to obtain the third display value by judging the similarity of the item picture, the second similarity is the display value of the current photo and the historical display value. The proportioning of values, specifically, in one embodiment, if the item to be weighed is "apple", put the apple on the scale, when the reading on the scale is stable, take a photo of the apple, and search for something similar to the photo Degree of reference picture, when the weight of the similarity of the current photo and the similarity calculated by the previous search reaches the second threshold, the third display value is obtained. In this embodiment, the third display value is set to 0.8, The third display value is equal to the previous display value*b+similarity*(1-b). At this time, b is 0.8, which can be set by the user according to needs. The calculation formula of similarity is similar(F1_norm , F2_norm )=( cos(min((d2 (F1_norm , F2_norm )+0.3)2 , π))+1)*0.5. Through the above method, the third display value is obtained, which improves the accuracy of identifying the weighing item.

在一个实施例中,所述获取所述物品称重时的读数图片,根据所述读数图片获取第一显示值,包括:基于摄像头获取所述物品的读数图片;基于所述物品的读数图片提取所述物品读数图片的特征;基于所述物品读数图片的特征在数据库中搜素与所述物品读数图片特征相似度最高的第一参照图片;将所述相似度最高的第一参照图片的相似度值作为所述第一显示值。In one embodiment, the acquiring the reading picture of the item when weighing, and acquiring the first display value according to the reading picture include: acquiring the reading picture of the item based on the camera; extracting the reading picture based on the item The feature of the item reading picture; based on the feature of the item reading picture, search the database for the first reference picture with the highest similarity with the item reading picture feature; compare the similarity of the first reference picture with the highest similarity value as the first displayed value.

本实施例中,通过搜素与称重物品的图片相似度最高的商品图片来确定第一显示值值,具体地,在一实施例中,称重物品的称上安装有摄像头,当将物品放在称上,获取到物品的图片,提取该物品图片的特征,在数据库中搜素与称重物品的特征图片相似度最高对应的参照图片,将该参照图片作为搜素结果展示在屏幕上,将该参照图片与称重物品图片的相似度作为第一显示值。需要说明的是,每一待称重物品可以对应对张参照图片,多张参照图片存在一定差异,该差异可能是由于待称重物品摆放的位置不同、拍摄角度不同等外界原因造成的。通过将存在一定差异的多张参照图片与实际图片对比,可以避免外界因素对识别过程造成影响,从而可以提高识别的准确度。通过上述方式,获得了第一显示值,进一步提高了对称重物品图片的识别的效率。In this embodiment, the first display value is determined by searching for the commodity picture with the highest similarity with the picture of the weighing item. Specifically, in one embodiment, the scale of the weighing item is equipped with a camera. Put it on the scale, get the picture of the item, extract the features of the picture of the item, search the database for the reference picture corresponding to the highest similarity with the feature picture of the weighing item, and display the reference picture on the screen as the search result. The similarity between the reference picture and the weighing item picture is used as the first display value. It should be noted that each item to be weighed can correspond to a reference picture, and there are certain differences among multiple reference pictures, which may be caused by external factors such as different positions of the items to be weighed and different shooting angles. By comparing a plurality of reference pictures with certain differences with actual pictures, the impact of external factors on the recognition process can be avoided, thereby improving the recognition accuracy. Through the above method, the first display value is obtained, which further improves the recognition efficiency of the picture of the weighing item.

在一个实施例中,所述当所述读数图片的第一相似度达到第一阈值时的步骤之前,包括:在所述物品称重时的读数稳定之前,基于摄像头获取所述物品的图片;基于所述物品的图片提取所述物品图片的特征;将所述物品图片的特征在数据库中进行N次搜素,每次搜素操作均获得获取一个所述第一相似度。In one embodiment, before the step when the first similarity of the reading picture reaches the first threshold, it includes: before the reading of the item is stable, acquiring the picture of the item based on the camera; Extracting the feature of the item picture based on the item picture; searching the database for N times for the feature of the item picture, each search operation obtains one of the first similarities.

本实施例中,在获取了第一显示值以后与待称重物品的读数稳定之前,对待称重物品图片进行多次识别以及搜素,计算第二显示值,所述搜素是在数据库中搜素与称重物品图片特征达到第一相似度的参考照片对应的商品,所述数据库可以是系统数据库,也可以由用户自己设定,所述第二显示值等于前一次显示值*a+相似度*(1-a),a可通过需要自行设定,所述N次茛据用户的具体需求来设定,具体地,在一实施例中,将提取到的物品图片的特征在数据库中搜素,在该实施例中,可以设置10次搜素,每一次搜素获得一个第一相似度,当第一相似度达第一阈值时,才通过上述公式计算第二显示值,此时获得的第二显示值才是有效值,对识别称重物品才能够起到识别作用;在另一实施例中,也可以设置一定的时间间隔来进行搜素,比如,设置1或2s的时间间隔对物品图片搜素,或者设定每隔固定数量的帧数,如每隔40帧就对物品图片进行搜素,通过上述步骤,实现了多次获取第二显示值,提高称重物品识别的准确率。In this embodiment, after the first display value is obtained and before the reading of the item to be weighed is stable, the pictures of the item to be weighed are identified and searched for multiple times, and the second display value is calculated, and the search is searched in the database. The product corresponding to the reference photo whose features of the picture of the weighed item reach the first degree of similarity, the database can be a system database, or can be set by the user himself, and the second display value is equal to the previous display value*a+similarity *(1-a), a can be set by itself according to needs, and the N times can be set according to the specific needs of users. Specifically, in one embodiment, the features of the extracted item pictures are searched in the database , in this embodiment, 10 search times can be set, each search obtains a first similarity degree, and when the first similarity degree reaches the first threshold value, the second display value is calculated by the above formula, and the obtained The second display value is an effective value, which can only be used to identify the weighing item; in another embodiment, a certain time interval can also be set to search, for example, the time interval of 1 or 2s is set to Item picture search, or set the number of frames every fixed number of frames, for example, search item pictures every 40 frames. Through the above steps, the second display value can be obtained multiple times, and the accuracy of weighing item identification can be improved. Rate.

在一个实施例中,所述基于所述第一显示值、第二显示值、第三显示值获取所述物品称重时的自动识别结果,包括:分别将所述第一显示值、第二显示值、第三显示值里的值从高到低排序;将所述显示值最高的对应的第二参照图片作为所述物品称重时的自动识别结果。In one embodiment, the acquiring the automatic identification result when the item is weighed based on the first display value, the second display value and the third display value includes: respectively taking the first display value, the second display value The values in the displayed value and the third displayed value are sorted from high to low; the corresponding second reference picture with the highest displayed value is used as the automatic identification result when the item is weighed.

本实施例中,将获取的第一显示值、第二显示值,第三显示值按照大小排序,将显示值最高的对应的参照图片作为称重图片的识别结果,具体地,在一实施例中,当所有的显示值分别为0.6,0.5,0.4......0.7时,将显示值按照从高到低的顺序来排序,将显示值最高的对应的参考图片作为称重物品的读数图片的识别结果,在该实施例中,显示值最高的即为0.7,通过上述方式,获取了待称重物品图片的识别结果,通过对此识别搜素,提高了对物品识别的准确率。In this embodiment, the obtained first display value, second display value, and third display value are sorted according to size, and the corresponding reference picture with the highest display value is used as the identification result of the weighing picture. Specifically, in an embodiment In , when all the display values are 0.6, 0.5, 0.4...0.7, the display values are sorted from high to low, and the corresponding reference picture with the highest display value is used as the weighing item The recognition result of the reading picture, in this embodiment, the highest displayed value is 0.7. Through the above method, the recognition result of the picture of the item to be weighed is obtained, and the accuracy of item recognition is improved by identifying and searching for this .

本申请涉及智能识别技术领域,特别是涉及到一种物品称重自动识别方法、装置、计算机设备及存储介质,所述方法包括如下步骤:获取所述物品称重时的读数图片,根据所述读数图片获取第一显示值;将所述第一显示值进行排序,获取最大的第一显示值;当所述读数图片的第一相似度达到第一阈值时,则展示所述读数图片的最大的第一显示值;据所述第一显示值获取第二显示值;判断所述物品称重时的读数是否稳定,若稳定,则根据所述第二显示值获取第三显示值;将所述第三显示值进行排序,获取最大的第三显示值;当所述读数图片的第一相似度达到第二阈值时,则展示所述读数图片的最大的第三显示值;。通过上述方法,提高了对商品识别的效率以及识别准确率。The present application relates to the field of intelligent identification technology, and in particular to a method, device, computer equipment and storage medium for automatic identification of item weighing. Acquiring the first display value of the reading picture; sorting the first display values to obtain the largest first display value; when the first similarity of the reading picture reaches the first threshold, then displaying the maximum value of the reading picture The first display value; obtain the second display value according to the first display value; judge whether the reading when weighing the item is stable, if stable, obtain the third display value according to the second display value; The third display value is sorted to obtain the largest third display value; when the first similarity of the reading picture reaches the second threshold, the largest third display value of the reading picture is displayed; Through the above method, the efficiency and recognition accuracy of commodity recognition are improved.

参照图2,本申请提供一种物品称重自动识别装置,所述装置包括:Referring to Fig. 2, the present application provides an automatic identification device for item weighing, the device includes:

第一显示值获取模块10,用于获取所述物品称重时的读数图片,根据所述读数图片获取第一显示值;The first displayvalue obtaining module 10 is used to obtain the reading picture when the item is weighed, and obtain the first display value according to the reading picture;

排序模块20,用于将所述第一显示值进行排序,获取最大的第一显示值;A sortingmodule 20, configured to sort the first display values to obtain the largest first display value;

第一显示值展示模块30,用于当所述读数图片的第一相似度达到第一阈值时,则展示所述读数图片的最大的第一显示值;The first displayvalue display module 30 is configured to display the largest first display value of the reading picture when the first similarity of the reading picture reaches a first threshold;

第二显示值获取模块40,用于根据所述第一显示值获取第二显示值;A second displayvalue acquisition module 40, configured to acquire a second display value according to the first display value;

判断模块50,用于判断所述物品称重时的读数是否稳定,若稳定,则根据所述第二显示值获取第三显示值;A judgingmodule 50, configured to judge whether the reading when the item is weighed is stable, and if it is stable, obtain a third display value according to the second display value;

第三显示值获取模块60,用于将所述第三显示值进行排序,获取最大的第三显示值;The third displayvalue acquisition module 60 is configured to sort the third display values and obtain the largest third display value;

第三显示值展示模块70,用于当所述读数图片的第一相似度达到第二阈值时,则展示所述读数图片的最大的第三显示值;The third displayvalue display module 70 is configured to display the largest third display value of the reading picture when the first similarity of the reading picture reaches the second threshold;

识别结果获取模块80,用于基于所述第一显示值、所述第二显示值所述第三显示值获取所述物品称重自动识别结果。The identification resultacquisition module 80 is configured to acquire the item weighing automatic identification result based on the first display value, the second display value, and the third display value.

如上所述,可以理解地,本申请中提出的所述的物品称重自动识别装置的各组成部分可以实现如上所述的物品称重自动识别方法任一项的功能。As mentioned above, it can be understood that each component of the automatic item weighing identification device proposed in this application can realize the function of any one of the above-mentioned automatic item weighing identification methods.

在一个实施例中,所述第一显示值获取模块10还包括执行:In one embodiment, the first displayvalue acquisition module 10 also includes:

判断所述物品称重时的读数是否达到第三阈值;judging whether the reading when the item is weighed reaches a third threshold;

若所述物品称重时的读数达到第三阈值时,则获取第一显示值;If the reading when the item is weighed reaches the third threshold, then acquire the first display value;

若所述物品称重时的读数没有达到第三阈值时,则不获取第一显示值。If the reading when the item is weighed does not reach the third threshold, the first display value is not acquired.

在一个实施例中,所述第一显示值展示模块30还包括执行:In one embodiment, the first displayvalue presentation module 30 also includes:

判断所述物品称重时的读数图片的第一相似度是否达到第一阈值;judging whether the first similarity of the reading picture when the item is weighed reaches the first threshold;

若所述物品称重时的读数图片的第一相似度达到第一阈值时,则展示所述读数图片的最大的第一显示值;If the first similarity of the reading picture when the item is weighed reaches the first threshold, then display the largest first display value of the reading picture;

若所述物品称重时的读数图片的第一相似度没有达到第一阈值时,则不展示所述读数图片的最大的第一显示值。If the first similarity of the reading picture when the item is weighed does not reach the first threshold, then the largest first display value of the reading picture is not displayed.

在一个实施例中,所述第三显示值获取模块60还包括执行:In one embodiment, the third displayvalue acquisition module 60 also includes:

判断所述物品称重时的读数图片的第二相似度否达到第二阈值;Judging whether the second similarity of the reading picture when the item is weighed reaches the second threshold;

若所述物品称重时的读数图片的第二相似度达到第二阈值时,则展示所述读数图片的最大的第三显示值;If the second similarity of the reading picture when the item is weighed reaches the second threshold, then display the largest third display value of the reading picture;

若所述物品称重时的读数图片的第二相似度没有达到第二阈值时,则展示所述读数图片的最大的第三显示值。If the second similarity of the reading picture when the item is weighed does not reach the second threshold, then display the third largest display value of the reading picture.

在一个实施例中,所述第一显示值展示模块30还包括执行:In one embodiment, the first displayvalue presentation module 30 also includes:

基于摄像头获取所述物品的读数图片;Acquiring a reading picture of the item based on the camera;

基于所述物品的读数图片提取所述物品读数图片的特征;extracting features of the item reading image based on the item reading image;

基于所述物品读数图片的特征在数据库中搜素与所述物品读数图片特征相似度最高的第一参照图片;Searching the database for the first reference picture with the highest similarity to the features of the item reading picture based on the features of the item reading picture;

将所述相似度最高的第一参照图片的相似度值作为所述第一显示值。The similarity value of the first reference picture with the highest similarity is used as the first display value.

在一个实施例中,所述第一显示值展示模块30还包括执行:In one embodiment, the first displayvalue presentation module 30 also includes:

在所述物品称重时的读数稳定之前,基于摄像头获取所述物品的图片;Obtaining a picture of the item based on the camera before the reading of the item is stable when weighing;

基于所述物品的图片提取所述物品图片的特征;extracting features of the item image based on the item image;

将所述物品图片的特征在数据库中进行N次搜素,每次搜素操作均获得获取一个所述第一相似度。The features of the item picture are searched for N times in the database, and one of the first similarities is obtained for each search operation.

在一个实施例中,所述识别结果获取模块80还包括执行:In one embodiment, the recognitionresult acquisition module 80 also includes:

分别将所述第一显示值、第二显示值、第三显示值里的值从高到低排序;Respectively sort the values in the first display value, the second display value, and the third display value from high to low;

将所述显示值最高的对应的第二参照图片作为所述物品称重时的自动识别结果。The corresponding second reference picture with the highest display value is used as the automatic recognition result when the item is weighed.

参照图3,本申请实施例中还提供一种计算机设备,该计算机设备的内部结构可以如图3所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和显示装置及输入装置。其中,该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机设备的显示装置用于显示交互页面。该计算机设备的输入装置用于接收用户的输入。该计算机设备设计的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质。该非易失性存储介质存储有操作系统、计算机程序和数据库。该计算机设备的数据库用于存放原始数据。该计算机程序被处理器执行时以实现一种物品称重自动识别方法。Referring to FIG. 3 , an embodiment of the present application further provides a computer device, and the internal structure of the computer device may be as shown in FIG. 3 . The computer equipment includes a processor, a memory, a network interface, and a display device and an input device connected through a system bus. Wherein, the network interface of the computer device is used to communicate with external terminals through a network connection. The display device of the computer equipment is used for displaying interactive pages. The input device of the computer equipment is used for receiving user's input. The computer device is designed with a processor to provide computing and control capabilities. The memory of the computer device includes non-volatile storage media. The non-volatile storage medium stores an operating system, computer programs and databases. The database of the computer device is used to store raw data. When the computer program is executed by the processor, an automatic identification method for item weighing is realized.

上述处理器执行上述的命名实体识别的推荐方法,包括:本申请涉及智能识别技术领域,特别是涉及到一种物品称重自动识别方法、装置、计算机设备及存储介质,所述方法包括如下步骤:获取所述物品称重时的读数图片,根据所述读数图片获取第一显示值;将所述第一显示值进行排序,获取最大的第一显示值;当所述读数图片的第一相似度达到第一阈值时,则展示所述读数图片的最大的第一显示值;据所述第一显示值获取第二显示值;判断所述物品称重时的读数是否稳定,若稳定,则根据所述第二显示值获取第三显示值;将所述第三显示值进行排序,获取最大的第三显示值;当所述读数图片的第一相似度达到第二阈值时,则展示所述读数图片的最大的第三显示值。通过上述方法,当对商品称重时,提高了对商品识别的效率以及识别准确率。The recommended method for performing the above-mentioned named entity recognition by the above-mentioned processor includes: This application relates to the field of intelligent recognition technology, in particular to a method, device, computer equipment and storage medium for automatic identification of item weighing, and the method includes the following steps : Obtain the reading picture when the item is weighed, and obtain the first display value according to the reading picture; sort the first display value to obtain the largest first display value; when the first similarity of the reading picture When the degree reaches the first threshold value, then display the maximum first display value of the reading picture; obtain the second display value according to the first display value; judge whether the reading when the item is weighed is stable, if stable, then Obtain a third display value according to the second display value; sort the third display values to obtain the largest third display value; when the first similarity of the reading pictures reaches a second threshold, display the The third largest display value for the readout picture. Through the above method, when the commodity is weighed, the efficiency and recognition accuracy of the commodity are improved.

本申请还提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被所述处理器执行时实现一种物品称重自动识别方法,包括步骤:获取所述物品称重时的读数图片,根据所述读数图片获取第一显示值;将所述第一显示值进行排序,获取最大的第一显示值;当所述读数图片的第一相似度达到第一阈值时,则展示所述读数图片的最大的第一显示值;据所述第一显示值获取第二显示值;判断所述物品称重时的读数是否稳定,若稳定,则根据所述第二显示值获取第三显示值;将所述第三显示值进行排序,获取最大的第三显示值;当所述读数图片的第一相似度达到第二阈值时,则展示所述读数图片的最大的第三显示值。通过上述方法,当对商品称重时,提高了对商品识别的效率以及识别准确率。The present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by the processor, a method for automatic identification of item weighing is realized, including the steps of: According to the reading picture, the first display value is obtained according to the reading picture; the first display value is sorted to obtain the largest first display value; when the first similarity of the reading picture reaches the first threshold, then Displaying the largest first display value of the reading picture; obtaining a second display value according to the first display value; judging whether the reading when weighing the item is stable, if stable, obtaining according to the second display value The third display value; sort the third display values to obtain the largest third display value; when the first similarity of the reading picture reaches the second threshold, then display the largest third display value of the reading picture Display value. Through the above method, when the commodity is weighed, the efficiency and recognition accuracy of the commodity are improved.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的和实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可以包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双速据率SDRAM(SSRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the computer programs can be stored in a non-volatile computer-readable memory In the medium, when the computer program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, any reference to memory, storage, database or other media provided in the present application and used in the embodiments may include non-volatile and/or volatile memory. Nonvolatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、装置、物品或者方法不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、装置、物品或者方法所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、装置、物品或者方法中还存在另外的相同要素。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, apparatus, article or method comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, apparatus, article, or method. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional same elements in the process, apparatus, article or method comprising the element.

以上所述仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of the application, and are not intended to limit the patent scope of the application. Any equivalent structure or equivalent process conversion made by using the specification and drawings of the application, or directly or indirectly used in other related All technical fields are equally included in the patent protection scope of the present application.

Claims (10)

Translated fromChinese
1.一种物品称重自动识别方法,其特征在于,所述方法包括:1. An automatic identification method for item weighing, characterized in that, the method comprises:获取所述物品称重时的读数图片,根据所述读数图片获取第一显示值;Acquiring a picture of the reading when the item is weighed, and acquiring a first display value according to the picture of the reading;将所述第一显示值进行排序,获取最大的第一显示值;sorting the first display values to obtain the largest first display value;当所述读数图片的第一相似度达到第一阈值时,则展示所述读数图片的最大的第一显示值;When the first similarity of the reading picture reaches a first threshold, then display the largest first display value of the reading picture;根据所述第一显示值获取第二显示值;acquiring a second display value according to the first display value;判断所述物品称重时的读数是否发生变化,若未发生变化,则根据所述第二显示值获取第三显示值;judging whether the reading of the item when weighing has changed, if not, obtaining a third display value according to the second display value;将所述第三显示值进行排序,获取最大的第三显示值;sorting the third display values to obtain the largest third display value;当所述读数图片的第一相似度达到第二阈值时,则展示所述读数图片的最大的第三显示值;When the first similarity of the reading picture reaches the second threshold, then display the largest third display value of the reading picture;基于所述第一显示值、所述第二显示值和所述第三显示值获取所述物品称重自动识别结果。Acquiring the item weighing automatic identification result based on the first display value, the second display value and the third display value.2.根据权利要求1所述的物品称重自动识别方法,其特征在于,所述获取所述物品称重时的读数图片,根据所述读数图片获取第一显示值的步骤之前,包括:2. The method for automatic identification of item weighing according to claim 1, characterized in that, before the step of acquiring the first display value according to the step of obtaining the first display value according to the reading picture when the said item is weighed, said acquisition comprises:判断所述物品称重时的读数是否达到第三阈值;judging whether the reading when the item is weighed reaches a third threshold;若所述物品称重时的读数达到第三阈值时,则获取第一显示值;If the reading when the item is weighed reaches the third threshold, then acquire the first display value;若所述物品称重时的读数没有达到第三阈值时,则不获取第一显示值。If the reading when the item is weighed does not reach the third threshold, the first display value is not acquired.3.根据权利要求1所述的物品称重自动识别方法,其特征在于,所述当所述读数图片的第一相似度达到第一阈值时,则展示所述读数图片的最大的第一显示值,包括:3. The method for automatic identification of item weighing according to claim 1, characterized in that, when the first similarity of the reading picture reaches a first threshold, the largest first display of the reading picture is displayed values, including:判断所述物品称重时的读数图片的第一相似度是否达到第一阈值;judging whether the first similarity of the reading picture when the item is weighed reaches the first threshold;若所述物品称重时的读数图片的第一相似度达到第一阈值时,则展示所述读数图片的最大的第一显示值;If the first similarity of the reading picture when the item is weighed reaches the first threshold, then display the largest first display value of the reading picture;若所述物品称重时的读数图片的第一相似度没有达到第一阈值时,则不展示所述读数图片的最大的第一显示值。If the first similarity of the reading picture when the item is weighed does not reach the first threshold, then the maximum first display value of the reading picture is not displayed.4.根据权利要求1所述的物品称重自动识别方法,其特征在于,所述当所述读数图片的第一相似度达到第二阈值时,则展示所述读数图片的最大的第三显示值,包括:4. The method for automatic identification of item weighing according to claim 1, characterized in that, when the first similarity of the reading picture reaches a second threshold, then the largest third display of the reading picture is displayed values, including:判断所述物品称重时的读数图片的第二相似度否达到第二阈值;Judging whether the second similarity of the reading picture when the item is weighed reaches the second threshold;若所述物品称重时的读数图片的第二相似度达到第二阈值时,则展示所述读数图片的最大的第三显示值;If the second similarity of the reading picture when the item is weighed reaches the second threshold, then display the largest third display value of the reading picture;若所述物品称重时的读数图片的第二相似度没有达到第二阈值时,则展示所述读数图片的最大的第三显示值。If the second similarity of the reading picture when the item is weighed does not reach the second threshold, then display the third largest display value of the reading picture.5.根据权利要求1所述的物品称重自动识别方法,其特征在于,所述获取所述物品称重时的读数图片,根据所述读数图片获取第一显示值,包括:5. The article weighing automatic identification method according to claim 1, characterized in that, said obtaining the reading picture when said article is weighing, and obtaining a first display value according to said reading picture comprises:基于摄像头获取所述物品的读数图片;Acquiring a reading picture of the item based on the camera;基于所述物品的读数图片提取所述物品读数图片的特征;extracting features of the item reading image based on the item reading image;基于所述物品读数图片的特征在数据库中搜素与所述物品读数图片特征相似度最高的第一参照图片;Searching the database for the first reference picture with the highest similarity to the features of the item reading picture based on the features of the item reading picture;将所述相似度最高的第一参照图片的相似度值作为所述第一显示值。The similarity value of the first reference picture with the highest similarity is used as the first display value.6.根据权利要求1所述的物品称重自动识别方法,其特征在于,所述当所述读数图片的第一相似度达到第一阈值时的步骤之前,包括:6. The article weighing automatic identification method according to claim 1, characterized in that, before the step when the first similarity of the reading picture reaches the first threshold, it includes:在所述物品称重时的读数稳定之前,基于摄像头获取所述物品的图片;Obtaining a picture of the item based on the camera before the reading of the item is stable when weighing;基于所述物品的图片提取所述物品图片的特征;extracting features of the item image based on the item image;将所述物品图片的特征在数据库中进行N次搜素,每次搜素操作均获得获取一个所述第一相似度。The features of the item picture are searched for N times in the database, and one of the first similarities is obtained for each search operation.7.根据权利要求1所述的物品称重自动识别方法,其特征在于,所述基于所述第一显示值、第二显示值、第三显示值获取所述物品称重时的自动识别结果,包括:7. The article weighing automatic identification method according to claim 1, characterized in that, the automatic identification result when the article is weighed is obtained based on the first display value, the second display value, and the third display value ,include:分别将所述第一显示值、第二显示值、第三显示值里的值从高到低排序;Respectively sort the values in the first display value, the second display value, and the third display value from high to low;将所述显示值最高的对应的第二参照图片作为所述物品称重时的自动识别结果。The corresponding second reference picture with the highest display value is used as the automatic recognition result when the item is weighed.8.一种物品称重自动识别装置,其特征在于,所述装置包括:8. An automatic item weighing identification device, characterized in that the device comprises:第一显示值获取模块,用于获取所述物品称重时的读数图片,根据所述读数图片获取第一显示值;The first display value obtaining module is used to obtain the reading picture when the item is weighed, and obtain the first display value according to the reading picture;排序模块,用于将所述第一显示值进行排序,获取最大的第一显示值;A sorting module, configured to sort the first display values to obtain the largest first display value;第一显示值展示模块,用于当所述读数图片的第一相似度达到第一阈值时,则展示所述读数图片的最大的第一显示值;The first display value display module is used to display the largest first display value of the reading picture when the first similarity of the reading picture reaches a first threshold;第二显示值获取模块,用于根据所述第一显示值获取第二显示值;A second display value acquiring module, configured to acquire a second display value according to the first display value;判断模块,用于判断所述物品称重时的读数是否稳定,若稳定,则根据所述第二显示值获取第三显示值;A judging module, configured to judge whether the reading when the item is weighed is stable, and if it is stable, obtain a third display value according to the second display value;第三显示值获取模块,用于将所述第三显示值进行排序,获取最大的第三显示值;A third display value acquisition module, configured to sort the third display values and obtain the largest third display value;第三显示值展示模块,用于当所述读数图片的第一相似度达到第二阈值时,则展示所述读数图片的最大的第三显示值;The third display value display module is used to display the largest third display value of the reading picture when the first similarity of the reading picture reaches the second threshold;识别结果获取模块,用于基于所述第一显示值、所述第二显示值所述第三显示值获取所述物品称重自动识别结果。An identification result acquisition module, configured to acquire the item weighing automatic identification result based on the first display value, the second display value, and the third display value.9.一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,其特征在于,所述处理器执行所述计算机程序时实现权利要求1至7中任一项所述的物品称重自动识别方法的步骤。9. A computer device, comprising a memory and a processor, the memory stores a computer program, wherein the processor implements the item described in any one of claims 1 to 7 when executing the computer program Repeat the steps of the automatic identification method.10.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现权利要求1至7中任一项物品称重自动识别方法的步骤。10. A computer-readable storage medium, on which a computer program is stored, characterized in that, when the computer program is executed by a processor, the steps of any one of the method for automatic weighing of items in claims 1 to 7 are realized.
CN202211413255.1A2022-11-112022-11-11 Method, device, computer equipment and medium for automatic identification of item weighingActiveCN116128500B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202211413255.1ACN116128500B (en)2022-11-112022-11-11 Method, device, computer equipment and medium for automatic identification of item weighing

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202211413255.1ACN116128500B (en)2022-11-112022-11-11 Method, device, computer equipment and medium for automatic identification of item weighing

Publications (2)

Publication NumberPublication Date
CN116128500Atrue CN116128500A (en)2023-05-16
CN116128500B CN116128500B (en)2025-10-03

Family

ID=86308801

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202211413255.1AActiveCN116128500B (en)2022-11-112022-11-11 Method, device, computer equipment and medium for automatic identification of item weighing

Country Status (1)

CountryLink
CN (1)CN116128500B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110033023A (en)*2019-03-112019-07-19北京光年无限科技有限公司It is a kind of based on the image processing method and system of drawing this identification
CN110793607A (en)*2019-09-242020-02-14浙江大华技术股份有限公司Self-service weighing method, system and computer readable storage medium
CN114078299A (en)*2021-11-152022-02-22烟台创迹软件有限公司Commodity settlement method, commodity settlement device, electronic equipment and medium
CN114299395A (en)*2021-12-302022-04-08百富计算机技术(深圳)有限公司Commodity settlement processing method, commodity settlement processing device, terminal device and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110033023A (en)*2019-03-112019-07-19北京光年无限科技有限公司It is a kind of based on the image processing method and system of drawing this identification
CN110793607A (en)*2019-09-242020-02-14浙江大华技术股份有限公司Self-service weighing method, system and computer readable storage medium
CN114078299A (en)*2021-11-152022-02-22烟台创迹软件有限公司Commodity settlement method, commodity settlement device, electronic equipment and medium
CN114299395A (en)*2021-12-302022-04-08百富计算机技术(深圳)有限公司Commodity settlement processing method, commodity settlement processing device, terminal device and storage medium

Also Published As

Publication numberPublication date
CN116128500B (en)2025-10-03

Similar Documents

PublicationPublication DateTitle
US11514260B2 (en)Information recommendation method, computer device, and storage medium
US11809393B2 (en)Image and text data hierarchical classifiers
CN111340126B (en)Article identification method, apparatus, computer device, and storage medium
CN110793607B (en)Self-service weighing method, system and computer readable storage medium
CN111382635B (en)Commodity category identification method and device and electronic equipment
CN109766491A (en) Commodity search method, device, computer equipment and storage medium
US11853368B2 (en)Method and system for identifying and displaying an object
EP3814987A1 (en)Computer vision systems and methods for automatically detecting, classifying, and pricing objects captured in images or videos
JP2020514681A (en) Substance detection method, device, electronic device, and computer-readable storage medium
CN110659892A (en)Method and device for acquiring total price of article, computer equipment and storage medium
JP2023527239A (en) Methods and devices for acquiring information and systems for detecting attention
US11580721B2 (en)Information processing apparatus, control method, and program
CN117690136A (en)Intelligent commodity shelf life identification and reminding method and system
CN113158037A (en)Object-oriented information recommendation method and device
CN106777201B (en)Method and device for sorting recommended data on search result page
CN112581232A (en)E-commerce commodity recommendation method and system based on images
KR101901645B1 (en)Method, apparatus, system and computer program for image retrieval
WO2019109246A1 (en)Picture lookup method and device
CN116128500A (en)Automatic identification method and device for weighing articles, computer equipment and medium
CN113486946A (en)Garment commodity gender classification method and device based on image data
US20140341436A1 (en)Classifying materials using texture
CN113495987B (en) Data search method, device, equipment and storage medium
CN110134812A (en)A kind of face searching method and its device
CN118608757A (en) A smart shopping cart commodity identification method, medium and computer
CN110147459B (en) An image retrieval method, device and electronic device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp