A license key information extraction method based on small sample data
By improving the BERT and DenseCRF models and combining the relative positional relationships of certificate fields, the problems of poor robustness and large sample requirements of traditional methods are solved. This enables the extraction of key certificate information under small sample data, improving accuracy and robustness.
CN116229494BActive Publication Date: 2026-07-07SHANGHAI WANDA INFORMATION SYST CO LTD
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANGHAI WANDA INFORMATION SYST CO LTD
- Filing Date
- 2023-02-15
- Publication Date
- 2026-07-07
Smart Images

Figure CN116229494B_ABST
Abstract
The technical scheme of the present application provides a license key information extraction method based on small sample data. The present application uses an OCR model to obtain the text and position in the picture. Then, the text, position, picture and other features are fused and input into an improved BERT model to learn the interaction between the features and output the label of each character. The adjacent characters with the same label are combined to form a field with a label. Then, the field position and field label information are input into a DenseCRF model, and the field labels are corrected according to the relative positions and angles between the fields. Since the type and position of the field in the license are relatively fixed, the DenseCRF can achieve a good correction effect. Through language model pre-training, multi-task training, artificial generation of training samples and correction based on position information, the present application realizes accurate extraction of license key information under the condition of small sample data. Only a few artificially labeled images are needed for each license to realize model training.
Need to check novelty before this filing date? Find Prior Art