Model training method, packaging image identification method and device

A model training and image technology, applied in the computer field, can solve problems such as increasing the workload of staff, and achieve the effect of reducing the workload of labeling and improving efficiency

Pending Publication Date: 2022-06-24
ALIBABA (CHINA) CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, when training different food classification models, it is necessary to collect the packaging images corresponding to the food packaging, and then use OCR (Optical Character Recognition, Optical Character Recognition) to recognize the characters on the packaging images, and then need

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Model training method, packaging image identification method and device
  • Model training method, packaging image identification method and device
  • Model training method, packaging image identification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the objectives, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0026] For the text recognition scene on food packaging, the provided model training method includes: acquiring label information corresponding to a first packaging image, where the label information is actual character information on the first packaging image, and the first packaging image is a first sample The packaging image of...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a model training method, a packaging image identification method and a packaging image identification device. The model training method comprises the steps of obtaining annotation information corresponding to a first packaging image, wherein the first packaging image is a packaging image of first sample food; analyzing the annotation information to obtain a first text; a target preset text is adopted to at least partially replace the first text to obtain a second text, the target preset text and the first text have an association relationship, and semantics of the second text are description of the second sample food; and training a food classification model according to the first text and the second text to obtain a trained food classification model. According to the embodiment of the invention, the target preset text is adopted to at least partially replace the first text on the first packaging image, so that the expansion of the training sample is realized, the situation that characters on the packaging images of various foods need to be manually labeled to obtain enough training samples is avoided, the labeling workload of workers is reduced, and the working efficiency is improved. And the model training efficiency is improved.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular, to a model training method, a method for recognizing packaging images, and a device thereof. Background technique [0002] Usually, the packaging of food is printed with characters of various shapes, such as italics, word art, etc. Some or all of the textual information in the characters is a description of the properties of the food. It is of great value to accurately extract these textual information describing food attributes. [0003] However, due to the variety of food types and the rich information on the packaging, in order to identify the information on different food packaging, it is necessary to train different food classification models for different foods in advance. At present, when training different food classification models, it is necessary to collect packaging images corresponding to food packaging, and then identify the characters on the packagi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06V20/62G06V30/19G06F40/232G06F40/30
CPCG06F40/232G06F40/30G06F18/2431G06F18/214
Inventor 包祖贻李辰章波张月曹俊杰
Owner ALIBABA (CHINA) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products