CN101702204A - Paper counter - Google Patents

Paper counter Download PDF

Info

Publication number
CN101702204A
CN101702204A CN200910228936A CN200910228936A CN101702204A CN 101702204 A CN101702204 A CN 101702204A CN 200910228936 A CN200910228936 A CN 200910228936A CN 200910228936 A CN200910228936 A CN 200910228936A CN 101702204 A CN101702204 A CN 101702204A
Authority
CN
China
Prior art keywords
image
counting
analysis
accounts
paper
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
CN200910228936A
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 Polytechnic University
Original Assignee
Tianjin Polytechnic University
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 Polytechnic University filed Critical Tianjin Polytechnic University
Priority to CN200910228936A priority Critical patent/CN101702204A/en
Publication of CN101702204A publication Critical patent/CN101702204A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Image Analysis (AREA)
  • Image Processing (AREA)

Abstract

The invention belongs to the field of image processing and target identification, and discloses a paper counter which comprises an image sensor, a central processor, a display module and a keyboard input module. The keyboard input module starts a system to prepare counting, and the image sensor shoots lateral surfaces of paper to be counted and sends the shot image to memory of the central processor. The central processor completes tasks of processing the image and counting, and displays the processing result on the display module. The content of image processing and counting analysis mainly comprises image filtration, image edge detection, image edge filtration, image slant correction, image histogram segmentation-counting and the like. The paper counter has simple structure, and is mainly used in situations of quick identification, counting and the like of paper pages.

Description

Teller
Technical field
The present invention relates to a kind of paper counting apparatus.Be particularly related to a kind of simple, portable, paper page count device fast.
Background technology
In the production and life of reality, often need make an inventory of fast the paper number of pages.Generally adopt manual type to make an inventory of.Manually making an inventory of needs a large amount of personnel that make an inventory of, and exist the speed of making an inventory of slow, make an inventory of the not high shortcoming of efficient.Therefore designing a kind of simple high speed paper counting equipment has certain actual application value.
Summary of the invention
Technical matters to be solved by this invention is to propose a kind of teller simple in structure.
The technical solution adopted in the present invention is: a kind of teller includes imageing sensor (1), central processing unit (2), display module (3), keyboard load module (4).
Keyboard load module (4) start-up system is prepared counting, and imageing sensor (1) is taken the side of estimated amount paper, and captured image is sent in the internal memory of central processing unit (2).Central processing unit (2) is finished treatment of picture and counting task, and result is gone up demonstration at display module (3).The content of Flame Image Process and analysis of accounts mainly comprises the filtering of image, and edge of image detects, edge of image filtering, and the inclination rectification of image and the histogram of image are cut apart counting etc.
The objective of the invention is to propose a kind of simple and easy, portable sheets counting device, can finish the number of pages tally function of paper quickly and easily.
Description of drawings
Fig. 1 is a hardware configuration synoptic diagram of the present invention.
Fig. 2 is a mode of operation process flow diagram of the present invention.
Fig. 3 is Flame Image Process and analysis of accounts program flow diagram.
Wherein:
1: imageing sensor 2: central processing unit
3: display module 4: the keyboard load module
Embodiment
Below in conjunction with the drawings and specific embodiments the present invention is described in further detail.
As shown in Figure 1, the important collection that is used for image of imageing sensor (1), central processing unit (2) is important to be used for the image that imageing sensor (1) is gathered is handled and analysis of accounts, display module (3) is important to be used to show that count results and counting failure error message, keyboard load module (4) are mainly used in signals such as the On/Off of generator and enabling counting.
As shown in Figure 2, behind the paper side in alignment imageing sensor of operating personnel with estimated amount, open counter, system enters power-up initializing.System enters the cycle detection state subsequently, waits for and detect the enabling counting signal.After operating personnel press paper counting button in the lower keyboard load module (4), central processing unit (2) will detect this button and press, be that system detects signal arrival, the image that central processing unit (2) reading images sensor (1) is gathered is in Installed System Memory, carry out Flame Image Process and analysis of accounts then, finish tally function, and the result deposited in the viewing area, and control display module (3) net result that the viewing area is deposited shows on display unit, and prepares counting next time.
The system operation programs step is as follows:
A, system's power-up initializing.
B, wait detection signal.The system wait operating personnel press the paper counting button, when button is pressed, change step c over to, otherwise system are in the inquiry waiting status always.
C, system are read into imageing sensor (1) current shooting image in the Installed System Memory, and prepare to carry out image processing and analyzing.
D, system's starting Flame Image Process and routine analyzer, and finish Flame Image Process and analysis of accounts.
E, system show the result who deposits in the results display area on display module (4).
F, return step b, prepare to count next time.
As shown in Figure 3, imageing sensor (1) images acquired and be input to central processing unit (2) after, central processing unit (2) carries out Flame Image Process and analysis of accounts to the image of being gathered.
At first the image with input is divided into three zones of upper, middle and lower, respectively Flame Image Process and analysis of accounts is carried out in three zones then.When trizonal count results is identical, then counts successfully, and count results is stored in the viewing area is used for showing.Otherwise, think the counting failure error message to be stored in the viewing area.The concrete operations content of Flame Image Process and analysis of accounts comprises:
1. the filtering and noise reduction of image.Utilize Gauss's smoothing filter to come smoothed image to remove noise (promptly doing convolution) with Gauss's smoothing filter and image.
2. edge of image detects.Utilize the Canny operator to realize that edge of image detects, image is converted into bianry image after the rim detection.
3. isolated edge noise point filtering.The part isolated noise point is removed.Calculate the connected domain of each marginal point,, think that this marginal point is caused by noise, then removes this marginal point when connected domain during less than threshold value.
4. the inclination of image is corrected.Because the angle of input picture is not a vertical direction, therefore need be rotated rectification to image, the parallel edge oblique line after the image segmentation is modified to vertical straight line.
To the image rotating that makes correction for direction, the quantity of edge pixel forms histogram to concrete grammar in the every row pixel of each rotation back statistics for gradually.When certain is listed as histogrammic height greater than threshold value c MaxThe time determine that this classifies edge columns as, when certain is listed as histogrammic height less than threshold value c MinThe time determine that this classifies non-edge columns as.Carry out the number of edges statistics then.When adjacent column was edge columns, number of edges only added 1, and pairing RA is best RA when number of edges is maximum.Finish the inclination rotation of image corrects by this angle.
5. analysis count results.Number of edges after the rectification is this regional paper number of pages.If three determined numbers of pages in zone of upper, middle and lower are identical, then count successfully, otherwise the counting failure.
The program step of Flame Image Process and analysis of accounts is as follows:
The parameter initialization of a, Flame Image Process and analysis of accounts.
B, images acquired is divided into three zones by upper, middle and lower.
C, initialization area label i=1.
D, smothing filtering is carried out in i zone, remove noise spot, reduce noise effect.
E, rim detection is carried out in i zone.
F, the bianry image after the rim detection is carried out secondary filtering handle, remove the isolated noise marginal point.
G, the angle of inclination correction process is carried out in i zone.
The paper number of pages in h, i zone of calculating.
I, region labeling increase 1, i.e. i=i+1.
If j is i>and 3, then counting operation is all finished in three zones of upper, middle and lower, then changes step k over to, otherwise changes steps d over to, carries out the analysis of accounts in next zone.
If the trizonal count results of k upper, middle and lower is identical, then count successfully, count results is stored in the viewing area, otherwise the counting failure is stored in the viewing area with error message.
L, Flame Image Process and analysis of accounts finish.
Imageing sensor among the present invention (1) adopts ccd video camera, and central processing unit (2) adopts single-chip microcomputer, and display module (3) adopts charactron or liquid crystal display, and keyboard load module (4) contains 2 buttons at least, i.e. on ﹠ off switch and enabling counting key.Handling procedure adopts C Plus Plus to write.

Claims (5)

1. a teller includes imageing sensor (1), central processing unit (2), display module (3), keyboard load module (4); It is characterized in that keyboard load module (4) start-up system preparation counting, imageing sensor (1) is taken the side of estimated amount paper, and captured image is sent in the internal memory of central processing unit (2); Central processing unit (2) is finished treatment of picture and counting task, and result is gone up demonstration at display module (3).
2. teller according to claim 1, the content that it is characterized in that Flame Image Process and analysis of accounts mainly comprises the filtering of image, edge of image detects, edge of image filtering, the inclination rectification of image and the histogram of image are cut apart counting.
3. teller according to claim 1 is characterized in that the system operation programs step is as follows:
A, system's power-up initializing;
B, wait detection signal; The system wait operating personnel press the paper counting button, when button is pressed, change step c over to, otherwise system are in the inquiry waiting status always;
C, system are read into imageing sensor (1) current shooting image in the Installed System Memory, and prepare to carry out image processing and analyzing;
D, system's starting Flame Image Process and routine analyzer, and finish Flame Image Process and analysis of accounts;
E, system show the result who deposits in the results display area on display module (4);
F, return step b, prepare to count next time.
4. teller according to claim 1 is characterized in that the program step of Flame Image Process and analysis of accounts is as follows:
The parameter initialization of a, Flame Image Process and analysis of accounts;
B, images acquired is divided into three zones by upper, middle and lower;
C, initialization area label i=1;
D, smothing filtering is carried out in i zone, remove noise spot, reduce noise effect;
E, rim detection is carried out in i zone;
F, the bianry image after the rim detection is carried out secondary filtering handle, remove the isolated noise marginal point;
G, the angle of inclination correction process is carried out in i zone;
The paper number of pages in h, i zone of calculating;
I, region labeling increase 1, i.e. i=i+1;
If j is i>and 3, then counting operation is all finished in three zones of upper, middle and lower, then changes step k over to, otherwise changes steps d over to, carries out the analysis of accounts in next zone;
If the trizonal count results of k upper, middle and lower is identical, then count successfully, count results is stored in the viewing area, otherwise the counting failure is stored in the viewing area with error message;
L, Flame Image Process and analysis of accounts finish.
5. the method that teller according to claim 1, its feature are corrected in the image inclination in Flame Image Process and analysis of accounts for gradually to the image rotating that makes correction for direction, the quantity of edge pixel in the every row pixel of each rotation back statistics, formation histogram; When certain is listed as histogrammic height greater than threshold value c MaxThe time determine that this classifies edge columns as, when certain is listed as histogrammic height less than threshold value c MinThe time determine that this classifies non-edge columns as; Carry out the number of edges statistics then; When adjacent column was edge columns, number of edges only added 1, and pairing RA is best RA when number of edges is maximum; Finish the inclination rotation of image corrects by this angle.
CN200910228936A 2009-12-02 2009-12-02 Paper counter Pending CN101702204A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910228936A CN101702204A (en) 2009-12-02 2009-12-02 Paper counter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910228936A CN101702204A (en) 2009-12-02 2009-12-02 Paper counter

Publications (1)

Publication Number Publication Date
CN101702204A true CN101702204A (en) 2010-05-05

Family

ID=42157118

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910228936A Pending CN101702204A (en) 2009-12-02 2009-12-02 Paper counter

Country Status (1)

Country Link
CN (1) CN101702204A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102867212A (en) * 2012-09-26 2013-01-09 成都理工大学 Answer sheet quantity counting method implemented by portable device
CN103164740A (en) * 2013-03-04 2013-06-19 无锡市飞云球业有限公司 Steel ball intelligent automatic counting device and automatic counting method thereof
CN103824113A (en) * 2014-01-09 2014-05-28 广东工业大学 Printed paper product number identification apparatus based on image identification technology, and identification method thereof
CN105590318A (en) * 2015-12-16 2016-05-18 中科院广州电子技术有限公司 Laminated paper counting method and device
CN105800348A (en) * 2016-04-28 2016-07-27 上海捷坤机械有限公司 Page counting device controlled by cams
CN107300408A (en) * 2017-08-07 2017-10-27 赵思俨 A kind of combination image procossing and the examination paper counting equipment and examination paper method of counting of weight calculation
CN108615067A (en) * 2018-05-21 2018-10-02 昆山市工研院智能制造技术有限公司 A kind of paper number of pages measuring device
CN108830872A (en) * 2018-06-23 2018-11-16 昆山瑞琪信息科技有限公司 One kind being used for paper number of pages method of counting
CN110705679A (en) * 2019-10-15 2020-01-17 河海大学常州校区 FDC 2214-based paper quantity detection system and method
CN111595844A (en) * 2020-06-03 2020-08-28 山西医科大学第二医院 Glucometer test paper storage counting device and counting method thereof

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102867212A (en) * 2012-09-26 2013-01-09 成都理工大学 Answer sheet quantity counting method implemented by portable device
CN102867212B (en) * 2012-09-26 2016-02-10 成都理工大学 A kind of answer sheet takeoff method that device is portable
CN103164740A (en) * 2013-03-04 2013-06-19 无锡市飞云球业有限公司 Steel ball intelligent automatic counting device and automatic counting method thereof
CN103164740B (en) * 2013-03-04 2016-04-06 无锡市飞云球业有限公司 A kind of steel ball intelligence robot scaler and automatic counting method thereof
CN103824113A (en) * 2014-01-09 2014-05-28 广东工业大学 Printed paper product number identification apparatus based on image identification technology, and identification method thereof
CN105590318A (en) * 2015-12-16 2016-05-18 中科院广州电子技术有限公司 Laminated paper counting method and device
CN105800348A (en) * 2016-04-28 2016-07-27 上海捷坤机械有限公司 Page counting device controlled by cams
CN107300408A (en) * 2017-08-07 2017-10-27 赵思俨 A kind of combination image procossing and the examination paper counting equipment and examination paper method of counting of weight calculation
CN108615067A (en) * 2018-05-21 2018-10-02 昆山市工研院智能制造技术有限公司 A kind of paper number of pages measuring device
CN108830872A (en) * 2018-06-23 2018-11-16 昆山瑞琪信息科技有限公司 One kind being used for paper number of pages method of counting
CN110705679A (en) * 2019-10-15 2020-01-17 河海大学常州校区 FDC 2214-based paper quantity detection system and method
CN110705679B (en) * 2019-10-15 2023-06-13 河海大学常州校区 FDC 2214-based paper quantity detection system and method
CN111595844A (en) * 2020-06-03 2020-08-28 山西医科大学第二医院 Glucometer test paper storage counting device and counting method thereof

Similar Documents

Publication Publication Date Title
CN101702204A (en) Paper counter
CN103235938B (en) The method and system of car plate detection and indentification
KR101877570B1 (en) Apparatus for setting parking position based on around view image and method thereof
CN105447436B (en) Fingerprint recognition system and fingerprint identification method and electronic equipment
US9241102B2 (en) Video capture of multi-faceted documents
CN107480658A (en) Face identification device and method based on multi-angle video
WO2015058381A1 (en) Method and terminal for selecting image from continuous images
WO2010136593A2 (en) Methods and apparatuses for foreground, top-of-the-head separation from background
CN101577812A (en) Method and system for post monitoring
CN103077388A (en) Rapid text scanning method oriented to portable computing equipment
CN107292223A (en) A kind of online verification method and system of real-time gesture detection
CN105427088A (en) Intelligent issuing machine for real estate certificate and issuing control method thereof
CN101976334A (en) Anti-interference touch identification method and device
WO2023231262A1 (en) Hoisting wire rope tension measurement method based on visual vibration frequency identification
WO2015021877A1 (en) Method and device for adsorbing straight line/line segment, and method and device for constructing polygon
CN113828948B (en) Plate edge searching method, calibration system and edge searching system of laser cutting machine
CN102298695B (en) Visual analyzing and processing method for detecting paper money bundle
CN101807297B (en) Medical ultrasonic image line detection method
CN102915522A (en) Smart phone name card extraction system and realization method thereof
CN102508582B (en) Optical touch calibration automatic adjusting method
WO2015018337A1 (en) Method and device for snapping to line segment in image, method and device for constructing polygon
JP2017120503A (en) Information processing device, control method and program of information processing device
CN108011953A (en) Cloud service system based on recognition of face
CN102023163B (en) System and method for detecting connector based on digital signal processor (DSP)
CN102902421A (en) Touch screen stroke thickness identification method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 300160 Tianjin city Xiqing District West Binshui Road No. 399

Applicant after: Tianjin Polytechnic University

Address before: 300160 Tianjin City Hedong District Forest Road No. 63

Applicant before: Tianjin Polytechnic University

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100505