CN103021000A - Method for automatically generating bar code and automatically fusing bar code with image - Google Patents

Method for automatically generating bar code and automatically fusing bar code with image Download PDF

Info

Publication number
CN103021000A
CN103021000A CN2011102869056A CN201110286905A CN103021000A CN 103021000 A CN103021000 A CN 103021000A CN 2011102869056 A CN2011102869056 A CN 2011102869056A CN 201110286905 A CN201110286905 A CN 201110286905A CN 103021000 A CN103021000 A CN 103021000A
Authority
CN
China
Prior art keywords
bar code
image
automatically
files
file
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.)
Pending
Application number
CN2011102869056A
Other languages
Chinese (zh)
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.)
TIANJIN SUOPUTE NETWORK INFORMATION TECHNOLOGY Co Ltd
Original Assignee
TIANJIN SUOPUTE NETWORK INFORMATION 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 TIANJIN SUOPUTE NETWORK INFORMATION TECHNOLOGY Co Ltd filed Critical TIANJIN SUOPUTE NETWORK INFORMATION TECHNOLOGY Co Ltd
Priority to CN2011102869056A priority Critical patent/CN103021000A/en
Publication of CN103021000A publication Critical patent/CN103021000A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The embodiment of the invention discloses a method for automatically generating a bar code and automatically pasting the bar code. The method comprises the following steps of: 1, scanning materials in cases at first, uploading scanned image materials to a system simultaneously, looking for a blank position for the bar code from an original image by the system according to a blank area algorithm at a scanning client, and recording in a library; 2. downloading the original image by recording personnel, and recording corresponding information according to the original image; 3. automatically generating a bar code image by the system according to the bar code number of a file at a recording client, and then pasting the bar code at the blank position in a floating manner; 4. verifying the position of the bar code by the recording personnel, and if pasting standards are met, then automatically performing fusion between the image and the bar code by a background of the system; and 5. if the pasting standards are not met, then manually choosing a pasting position, and automatically performing the fusion between the image and the bar code by the system.

Description

A kind of bar code generates automatically, the automatic image fusion method
Technical field
The present invention relates to the file management technical field, particularly relate to the method that bar code generates automatically in a kind of file management, barcode image merges automatically.
Background technology
Barcode technology is a kind of advanced person's information transmission and computer input technology, begins to use as far back as commercial field.Because therefore the advantages such as barcode technology has that data high input speed, reliability and accuracy are high, equipment is simple, system cost is low, flexible practicality, degree of freedom are large, be easy to make, practical and convenient have very widely application in all trades and professions.
As everyone knows, the borrowing of files, storehouse is checked, statistics etc. is the important step in the file management, and under traditional way to manage, these work are manual operations fully, and labour intensity is large, efficient is low, error rate is high.
For the problems referred to above, can in file management, introduce the bar code Auto, the operator only need press the scan button of scanner, scanning needs the files data of warehouse-in successively, can utilize computer system automatically to finish the check and correction of files, qualified files are generated bar code automatically according to the system coding principle, and the files image data of bar code image and input is merged, form the files image data with bar code.Like this, traditional manual work has just become simple scanner scan operation, has saved the extensive work of artificial joint strip code, has greatly reduced labour intensity, has improved work efficiency, has finished simultaneously the digitize and informationize management of files.
Summary of the invention
In order to realize the digital management of files, need to scan storage to the files data of papery, generate image data, convenient management.Wherein relate to and how the files data after the scanning is carried out the simple efficiently problem of management, files bar code involved in the present invention generates automatically, the method for automatic adhesion has solved the problem of management of image data well, for file management work provides convenience, also improved work efficiency simultaneously.
The technical scheme that this practicality invention is adopted is: at first the files data is scanned, system is converted to electronic image file with files papery data, at the file input interface, system judges automatically whether the data of current typing are qualified, if qualified, system produces bar code according to file barcode encoding principle automatically to this scanned copy, system is selected suitable position of pasting bar code automatically, operating personnel can check the position that system selectes automatically and adjust, and the information of bar code and current scanning record is preserved warehouse-in in the lump; If defective, then do not produce the file bar code, system also will not preserve the information of operating personnel's typing.When selecting to paste the bar code image position, system selects suitable position automatically, in order to avoid cover the files content, the position that operating personnel select automatically to system checks, inappropriate position is adjusted (can adjust batch documents) at any time, to be confirmed errorless after, system carries out bar code fusion automatically, simultaneously the image after merging is carried out bar-code identification, automatically re-start the work that produces bar code and joint strip code to identifying unsuccessful picture system, to continuous subsides underproof image still more than 5 times, system provides prompting automatically, allow the user process, system automatically with the image transmission of successful joint strip code in file server.
This practical beneficial effect of the invention is, in the digital management process of archives, conveniently image data carried out bar code generates, bar code merges automatically, realizes efficient archival digitalization management work.
Description of drawings
Fig. 1 is the described FB(flow block) of this practical invention.
Fig. 2 is bar code image automatic positioning method schematic diagram in this practical invention.
Fig. 3 is bar code image-region recognizer process flow diagram in this practical invention.
Embodiment
Implementation of the present invention is as described below:
At first utilize scanner that the files data is scanned, the image data after the scanning is carried out verification, if can put in storage, the bar code and the current entry information that then system are produced are automatically preserved together, if cannot put in storage, then do not produce bar code, current information is not put in storage yet.
Wherein, automatically generating the bar code rule is: fixed code " 3 "+5 general archive number (less than 5 with character " 9 " polishing to 5)+5 catalog number (Cat.No.) (less than 5 with character " 9 " polishing to 5)+2 year+7 serial numbers (since 0000001 maximum 9999999).Amount to 20.It is as described below that bar code generates detailed algorithm automatically:
1) according to the general archive of file place files number, catalog number (Cat.No.) with determine 13 prefixes of All Files bar code under these files year.
2) set up the maximum sequence number table of prefix, the file bar code start sequence number of next these prefix files of this table record.Set up existing file bar code number table for files.The start sequence number of the file bar code number under these table record files and end sequence number.
3) produce the processing rule of the files of file bar code for newly-increased need:
A) from the maximum sequence number table of prefix, search whether the record that meets this prefix is arranged, for fear of many people problem that serial number may repeat during simultaneously to the files concurrent processing of same prefix, the maximum sequence number table of lock prefix in inquiry, thereby uniqueness and the accuracy of assurance serial number.
B) the if there is no record of this prefix, the record of newly-increased this prefix in this table then, maximum sequence number is designated as number of files under these files+1.The start sequence number of the file bar code number of this record of a case volume is 1, and finishing sequence number is the number of files of these files.
C) if there is the record of this prefix, the maximum sequence number of then upgrading this record is the number of files of former numerical value+these files.The start sequence number of the file bar code number of this record of a case volume is former numerical value, and finishing sequence number is the former numerical value+number of files-1 of these files.
D) the maximum sequence number table of release prefix.
E) with the start sequence number of the file bar code number of these files with finish sequence number and be recorded in the file bar code number table.
F) this files All Files is carried out file bar code number coding.
4) produce the processing rule of the files of file bar code for the need of revising:
A) from file bar code number table, read the start sequence number that belongs to all files of these files and finish sequence number and with what determine these files sequence number should be arranged.
B) read the bar code number of this files All Files, for the file that does not have bar code number, so that sequence number should be arranged file is filled in order.
C) for the situation that should have sequence number to be not enough to fill All Files, then the corresponding prefix record of the maximum sequence number table of lock prefix revises the maximum sequence number table of prefix and is former numerical value+remain unfilled number of files, the data that last release has locked.
Increase simultaneously start sequence number and the end sequence number of the new file of these files newly at file bar code number table.At last the file that does not have the file bar code number is encoded.
This algorithm can guarantee succession, uniqueness and the accuracy of the bar code of the affiliated file under All Files and a certain files.Can solve under big data quantity the speed issue that many people operate simultaneously.Also can guarantee simultaneously because of revise, delete, when emptying file, but the reusing of bar code.When revising such as case volume informations such as number of files, also can accomplish the uniqueness of bar code, and guarantee to greatest extent the continuity of bar code serial number.Even when the accident of suddenly outage occurs, also can guarantee succession, uniqueness and the accuracy of file bar code.
When selecting to paste the position of bar code, the inactive area size is calculated according to the algorithm of similar image inactive area by system, will meet the inactive area of barcode size as the optimum position of bar code.System is according to from top to bottom, detect, select inactive area by left-to-right rule.When finding first inactive area, it is the bar code paste position that system will automatically lock this position.Consider from the aesthetics that bar code is pasted, during the locking inactive area, system treats the zone in image boundary 10 pixels as the effective coverage.Choose the undesirable situation of blank position for system, the typing personnel can drag bar code by hand, until to suitable position.User's verification interface can customize line number and the columns that every screen display is shown.Raw video is according to setting Scaling, and the file barcode image is also according to the displaying ratio Scaling of raw video.
But whether the barcode position that operating personnel's check system is placed automatically meets the requirements and satisfies demand attractive in appearance, can carry out the adjustment of batch barcode position for unaccommodated barcode position.Laterally put if can not satisfy bar code, also bar code vertically can be put to meet the demands.
After finishing barcode position and determining, barcode image and document image are carried out visual fusion, system carries out bar-code identification to the image after merging automatically, if can not identify bar code, system will regenerate barcode image and again merge, still unsuccessful for repeatedly merging, will provide prompting and allow operating personnel process.Image transmission after system will successfully merge automatically is in file server.Operating personnel and auditor can also be to the image checks after merging: if find this moment to paste less, paste more, cover the mistakes such as image because of the bar code that a variety of causes causes, and can also the re-posted bar code.Files are all examined when passing through, and will delete raw video, only keep the image after merging.

Claims (5)

1. the bar code method that automatically generates, automatically merge, the bar code that is applied to the files image generates automatically, in the automatic image emerging system, it is characterized in that, may further comprise the steps:
A) the electronic record file that current been scanned is generated generates specific bar code value according to certain cryptoprinciple;
B) system locates the fusion position of bar code automatically on original electron archives image file;
C) after determining not cover the position of image original contents, system merges bar code and the raw file image file that generates; Test in the position and the bar code that generates is read identification to merging after the image co-registration;
D) underproof image file returns and rescans, and re-starts the image co-registration of bar code and electronic record.
E) typing personnel verification floating strip code position if meet the stickup standard, is then transferred to the system backstage and is automatically carried out image and bar code fusion; If do not meet the stickup standard, artificial selection paste position then, the system that then transfers to carries out image and bar code fusion automatically.
2. the method for claim 1 is characterized in that, generation principle and the algorithm of system's bar code: this algorithm can guarantee succession, uniqueness and the accuracy of the bar code of the affiliated file under All Files and a certain files.Can solve under big data quantity the speed issue that many people operate simultaneously.Also can guarantee simultaneously because of revise, delete, when emptying file, but the reusing of bar code.When revising such as case volume informations such as number of files, also can accomplish the uniqueness of bar code, and guarantee to greatest extent the continuity of bar code serial number.Even when the accident of suddenly outage occurs, also can guarantee succession, uniqueness and the accuracy of file bar code.
3. the method for claim 1 is characterized in that, system selects suitable blank position process to comprise: the inactive area size is calculated according to the algorithm of similar image inactive area by system, will meet the inactive area of barcode size as the optimum position of bar code.System is according to from top to bottom, detect, select inactive area by left-to-right rule.When finding first inactive area, it is the bar code paste position that system will automatically lock this position.During the locking inactive area, system treats the zone in image boundary 10 pixels as the effective coverage.
4. the method for claim 1, it is characterized in that, automatically the process that generates bar code comprises: the coordinate position that bar code is pasted has the automatic identification of system to position, characteristics according to files, upper left corner coordinate position is made as: (150,45), size be the 450*65 pixel unit respectively 3 pixel *, 3 pixels carry out the zone and divide, detect the mean value of pixel RGB in the All Ranges, then get standard deviation take all these mean values as sample; And then according to the carrying out of 5 pixel *, 5 pixels again divide to the zone in RGB mean value get standard deviation, carry out the zone division according to 7 pixel *, 7 pixels more at last and get standard deviation, at last get the coefficient of variation according to the data of three standard deviations, and the poor result of cube is cumulative, if the accumulated value of standard deviation less than or equal to 1 and the coefficient of variation less than or equal to 0.15, then accept current stickup coordinate; Otherwise with vertical mobile 15 pixels of bar code paste position, repeat above-mentioned analytic process, until satisfy the coefficient of variation less than or equal to 0.15 and the standard deviation accumulated value less than or equal to 1.Usually coordinate position can be determined within 3 steps.
5. the method for claim 1 is characterized in that, the image check of floating after pasting is comprised: the result who pastes that floats is checked, if the paste position that floats meets standard, then transfer to the system backstage and carry out bar code and visual fusion; If the standard of not meeting is then manually adjusted the unsteady paste position of bar code, and uploads the image coordinate after the adjustment, then system carries out bar code and visual fusion on the backstage.
CN2011102869056A 2011-09-26 2011-09-26 Method for automatically generating bar code and automatically fusing bar code with image Pending CN103021000A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011102869056A CN103021000A (en) 2011-09-26 2011-09-26 Method for automatically generating bar code and automatically fusing bar code with image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011102869056A CN103021000A (en) 2011-09-26 2011-09-26 Method for automatically generating bar code and automatically fusing bar code with image

Publications (1)

Publication Number Publication Date
CN103021000A true CN103021000A (en) 2013-04-03

Family

ID=47969566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011102869056A Pending CN103021000A (en) 2011-09-26 2011-09-26 Method for automatically generating bar code and automatically fusing bar code with image

Country Status (1)

Country Link
CN (1) CN103021000A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246638A (en) * 2013-05-13 2013-08-14 北京小米科技有限责任公司 Information pasting method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1396538A (en) * 2002-08-07 2003-02-12 深圳矽感科技有限公司 Method and system for electronizing character and chart information on ordinary carrier
US20050199721A1 (en) * 2004-03-15 2005-09-15 Zhiguo Chang 2D coding and decoding barcode and its method thereof
CN101021431A (en) * 2007-03-28 2007-08-22 北京东方捷码科技开发中心 Table type bar code detector
CN101089745A (en) * 2006-06-12 2007-12-19 新彩科技股份有限公司 Base point position device and method of printer
CN101387946A (en) * 2008-09-27 2009-03-18 纬衡浩建科技(深圳)有限公司 Electronic file archiving method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1396538A (en) * 2002-08-07 2003-02-12 深圳矽感科技有限公司 Method and system for electronizing character and chart information on ordinary carrier
US20050199721A1 (en) * 2004-03-15 2005-09-15 Zhiguo Chang 2D coding and decoding barcode and its method thereof
CN101089745A (en) * 2006-06-12 2007-12-19 新彩科技股份有限公司 Base point position device and method of printer
CN101021431A (en) * 2007-03-28 2007-08-22 北京东方捷码科技开发中心 Table type bar code detector
CN101387946A (en) * 2008-09-27 2009-03-18 纬衡浩建科技(深圳)有限公司 Electronic file archiving method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246638A (en) * 2013-05-13 2013-08-14 北京小米科技有限责任公司 Information pasting method and device

Similar Documents

Publication Publication Date Title
CN108550060B (en) Multi-size advertisement generation method and system
CN101848303B (en) Image processing apparatus, image forming apparatus, and image processing method
CN101223595B (en) Method and system for remote digital editing by narrow-band channel
US8331671B2 (en) Image processing apparatus and image encoding method related to non-photo image regions
JP5761322B2 (en) Terminal, image processing method, program
JP5036430B2 (en) Image processing apparatus and control method thereof
US8045801B2 (en) Image processing apparatus and method
CN102147911B (en) Image processing device
CN104954605A (en) Image forming apparatus, image forming system, and image forming method
AU2013216732B2 (en) Motion picture project management system
JPH0991450A (en) Document processing unit and document processing method
CN101884221A (en) System and method for encoding video
US8300944B2 (en) Image processing method, image processing apparatus, image reading apparatus, image forming apparatus, image processing system, and storage medium
JP4708888B2 (en) Image processing apparatus, image processing method, and computer program
JP6887816B2 (en) Image processing equipment, control methods, and programs
CN102801900B (en) Image processing apparatus and image processing method
US8463847B2 (en) System for image rendering in a computer network
US20040136597A1 (en) Image processing device
CN106534485A (en) Method and device for setting group head portrait
CN103021000A (en) Method for automatically generating bar code and automatically fusing bar code with image
CN105404636B (en) The electronic platform realization method and system of papery document based on SAP system
US8514246B2 (en) Method for image rendering in a computer network
JP2005259017A (en) Image processing apparatus, image processing program and storage medium
CN108628920A (en) A kind of Art Design internet auxiliary puzzle system and design method
CN110009646B (en) Electronic album generation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
DD01 Delivery of document by public notice

Addressee: Tianjin Suopute Network Information Technology Co., Ltd. Yang Liu

Document name: Notification of Passing Preliminary Examination of the Application for Invention

C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
DD01 Delivery of document by public notice

Addressee: Tianjin Suopute Network Information Technology Co., Ltd.

Document name: Notification of Publication and of Entering the Substantive Examination Stage of the Application for Invention

DD01 Delivery of document by public notice

Addressee: Tianjin Suopute Network Information Technology Co., Ltd.

Document name: the First Notification of an Office Action

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130403