Method for intelligently segmenting film characters of soft pharmaceutical bag

A character and film technology, applied in the field of intelligent character segmentation of pharmaceutical soft bag films, can solve the problems of template failure, inconsistent standards, poor algorithm stability, etc., and achieve the effect of easy maintenance and unified template standards.

Inactive Publication Date: 2016-04-13
TIANJIN PUDA SOFTWARE TECH
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, one method of extracting character templates is to use morphological algorithms such as opening and closing operations, but the algorithm has poor stability, poor applicability, and is easily affected by the quality of character images.
The other is manual segmentation, that is, to manually delineate a single character on the image. This method is simple to implement, but the delineated character area varies from person to person. Although personnel have been trained before operation, it still leads to templates caused by inconsistent standards. Failure and other issues

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
  • Method for intelligently segmenting film characters of soft pharmaceutical bag
  • Method for intelligently segmenting film characters of soft pharmaceutical bag
  • Method for intelligently segmenting film characters of soft pharmaceutical bag

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The present invention will be described in detail below in conjunction with the accompanying drawings and embodiments.

[0025] 1) Collect a character image of pharmaceutical soft bag film. Such as figure 1 As shown, there are 3 lines of characters in the image, which are the production batch number, production date and expiration date.

[0026] 2) Calculate the exact width and height of a single character as follows:

[0027] a) Manually delineate a row of character areas and lock the calculation area;

[0028] b) apply median filtering and dynamic threshold processing to obtain more accurate character regions;

[0029] c) get single character width and character height on average according to the overall width and height of the character area obtained in b) step, which are only rough values ​​at this moment;

[0030] d) Applying the pattern matching method to separate the characters conforming to the feature vector. There are 14 types of feature vectors required ...

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 relates to a method for intelligently segmenting film characters of a soft pharmaceutical bag. The method comprises the following steps: collecting a film character image of a soft pharmaceutical bag; calculating the width of a single character and rough values of character heights; segmenting characters according with a feature vector by using a mode matching method; comparing whether the number of segmented characters is equal to that of practical characters or not, if not, correcting the character widths and the character heights in d), reducing the character widths if the number of the obtained characters is less than that of the practical characters in the product batch number, and otherwise, increasing the character widths; re-suing mode matching till each character is completely segmented so as to obtain precision values of the character widths and the character heights; matching characters of the whole image by using the precise character widths and the precise character heights; and segmenting all the characters according with requirements. By means of the invention, character segmentation can be carried out precisely.

Description

technical field [0001] The invention relates to a method for intelligently segmenting pharmaceutical soft bag film characters. Background technique [0002] Otsuka Pharmaceutical's soft bag film is a packaging bag for infusion medicine. Before filling and sealing, it is necessary to detect the characters printed on the film to prevent unprinted characters, wrong characters, reprinted characters, and unclear characters. Before recognizing characters, it is necessary to extract character templates to train artificial neural networks (hereinafter referred to as neural networks). [0003] At present, one method of extracting character templates is to use morphological algorithms such as opening and closing operations, but the algorithm has poor stability, poor applicability, and is easily affected by the quality of character images. The other is manual segmentation, that is, to manually delineate a single character on the image. This method is simple to implement, but the delin...

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): G06K9/34
CPCG06V30/158G06V30/10
Inventor 郭大庆于振任海燕马永发
Owner TIANJIN PUDA SOFTWARE TECH
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