CN104021419A - Method and device for counting the number of paper - Google Patents

Method and device for counting the number of paper Download PDF

Info

Publication number
CN104021419A
CN104021419A CN201310066494.9A CN201310066494A CN104021419A CN 104021419 A CN104021419 A CN 104021419A CN 201310066494 A CN201310066494 A CN 201310066494A CN 104021419 A CN104021419 A CN 104021419A
Authority
CN
China
Prior art keywords
stacker
opened
paper
analysis image
edge
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.)
Granted
Application number
CN201310066494.9A
Other languages
Chinese (zh)
Other versions
CN104021419B (en
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.)
Huawei Device Co Ltd
Original Assignee
Huawei Device 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 Huawei Device Co Ltd filed Critical Huawei Device Co Ltd
Priority to CN201310066494.9A priority Critical patent/CN104021419B/en
Publication of CN104021419A publication Critical patent/CN104021419A/en
Application granted granted Critical
Publication of CN104021419B publication Critical patent/CN104021419B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method and device for counting the number of paper, and belongs to the field of computers. The method includes the following steps: taking a photo of a stack of paper through a camera, the photo of the stack of paper is processed to obtain an analysis image of the stack of paper, and the stack of paper consists of a plurality of sheets of stacked paper; the analysis image of the stack of paper is identified to obtain the edge number of paper included in the stack of paper; and the number of paper included in the stack of paper is obtained according to the edge number of paper included in the stack of paper. The device comprises a processing module, an identification module and an acquisition module. The method and device for counting the number of paper in the invention can reduce time for counting the number of paper included in a stack of paper, thereby improving the efficiency of counting the number of paper included in the stack of paper.

Description

A kind of method and apparatus of adding up paper number
Technical field
The present invention relates to computer realm, particularly a kind of method and apparatus of adding up paper number.
Background technology
At present, when user need to add up a stacker while opening the paper number comprising, user usually adopts artificial mode to open and carry out one by one geo-statistic a stacker, obtains a stacker and opens the paper number comprising.
Open the paper number comprising when larger when a stacker, add up when a stacker is opened the paper number comprising and can expend a large amount of manpowers by artificial mode, and the speed of statistics paper number is slower, the inefficiency that causes adding up paper number.
Summary of the invention
In order to solve the problem of prior art, the embodiment of the present invention provides a kind of method and apparatus of adding up paper number.Described technical scheme is as follows:
First aspect, a kind of method of adding up paper number, described method comprises:
Take by camera the photo that a stacker is opened, and the photo disposal that a described stacker is opened obtains the analysis image that a described stacker is opened, a described stacker opens by multiple paper stacked groups;
The analysis image that a described stacker is opened is identified, the amount of edge of opening the paper comprising to obtain a described stacker;
The amount of edge of opening the paper comprising according to a described stacker, obtains a described stacker and opens the paper number comprising.
In conjunction with first aspect, in the possible implementation of the first of above-mentioned first aspect, describedly take by camera the photo that a stacker is opened, and the photo disposal that a described stacker is opened obtains the analysis image that a described stacker is opened, comprising:
Take by camera the photo that a stacker is opened, and described photo is converted to gray-scale map;
From described gray-scale map, identify the analysis image that a described stacker is opened.
In conjunction with first aspect, in the possible implementation of the second of above-mentioned first aspect, the described analysis image that a described stacker is opened is identified, and the amount of edge of opening the paper comprising to obtain a described stacker, comprising:
The analysis image that a described stacker is opened is identified, and obtains a described stacker and open the edge of the paper comprising;
Open the edge of the paper comprising according to a described stacker, obtain the amount of edge that a described stacker is opened the paper comprising.
In conjunction with the possible implementation of the second of first aspect, in the third possible implementation of above-mentioned first aspect, the described analysis image that a described stacker is opened is identified, and obtains a described stacker and open the edge of the paper comprising, comprising:
The first row pixel that the first row pixel comprising from sample band or the analysis image of opening from a described stacker comprise, obtain the gray-scale value of the one-row pixels point that analysis image that a stacker that described sample band comprises or described opens comprises, described sample band is the image of the predetermined width chosen the analysis image of opening from a described stacker, the height of described sample band is more than or equal to the height of the analysis image that a described stacker opens, and the direction of described sample band is vertical with coboundary or the lower limb of the analysis image that a described stacker is opened;
The average gray value of the one-row pixels point obtaining described in calculating according to the gray-scale value of the described one-row pixels point obtaining, if described in the one-row pixels point that obtains average gray value first preset tonal range within, the one-row pixels point obtaining described in mark;
A line of continued labelling or multirow pixel are formed to a described stacker and open the edge that a piece of paper of comprising is opened.
In conjunction with the possible implementation of the second of first aspect, in the 4th kind of possible implementation of above-mentioned first aspect, the described analysis image that a described stacker is opened is identified, and obtains a described stacker and open the edge of the paper comprising, comprising:
The first row pixel that the first row pixel comprising from sample band or the analysis image of opening from a described stacker comprise, obtain the gray-scale value of the one-row pixels point that analysis image that a stacker that described sample band comprises or described opens comprises, described sample band is the image of the predetermined width chosen the analysis image of opening from a described stacker, the height of described sample band is more than or equal to the height of the analysis image that a described stacker opens, and the direction of described sample band is vertical with coboundary or the lower limb of the analysis image that a described stacker is opened;
The average gray value of the one-row pixels point obtaining described in calculating according to the gray-scale value of the described one-row pixels point obtaining;
If described in the average gray value of the one-row pixels point that obtains within the first default tonal range, the one-row pixels point obtaining described in mark;
If described in the average gray value of the one-row pixels point that obtains not within the described first default tonal range and have a line or the multirow pixel of mark in the analysis image opened of described sample band or a described stacker, a line of described mark or multirow pixel are formed to a described stacker and open the edge that a piece of paper of comprising is opened, remove the mark in the analysis image that described sample band or a described stacker open.
In conjunction with the 4th kind of possible implementation of above-mentioned first aspect, in the 5th kind of possible implementation of above-mentioned first aspect, the described edge of opening the paper comprising according to a described stacker, obtains the amount of edge that a described stacker is opened the paper comprising, comprising:
In the time that the described stacker of composition is opened the edge that a piece of paper of comprising opens, increase the amount of edge that a described stacker is opened the paper comprising.
In conjunction with above-mentioned first aspect, in the 6th kind of possible implementation of above-mentioned first aspect, described amount of edge of opening the paper comprising according to a described stacker, obtains a described stacker and opens the paper number comprising, comprising:
Judge in the analysis image that a described stacker opens and whether comprise the direct picture that a described stacker is opened;
If so, the quantity of a described stacker being opened to the paper edge comprising deducts 1, obtains a described stacker and opens the paper number comprising;
The quantity of if not, a described stacker being opened to the paper edge comprising is defined as a described stacker and opens the paper number comprising.
In conjunction with the third possible implementation of above-mentioned first aspect, in the 7th kind of possible implementation of above-mentioned first aspect, the first row pixel that the described the first row pixel comprising from sample band or the analysis image of opening from a described stacker comprise, before obtaining the gray-scale value of the one-row pixels point that analysis image that a stacker that described sample band comprises or described opens comprises, also comprise:
If the coboundary of the analysis image that a described stacker is opened or lower limb not with horizontal direction parallel, the analysis image of a described stacker being opened is adjusted, and makes coboundary or lower limb and the horizontal direction parallel of the analysis image that a described stacker opens; Or,
If the coboundary of the analysis image that a described stacker is opened or lower limb not with horizontal direction parallel, adjust terminal and obtain the angle of pixel, the angle that described terminal is obtained between the angle of pixel and coboundary or lower limb and the horizontal direction of the analysis image that a described stacker is opened equates.
In conjunction with the possible implementation of the first of above-mentioned first aspect or first aspect to any the possible implementation in the 7th kind of possible implementation of first aspect, in the 8th kind of possible implementation of above-mentioned first aspect, a described stacker is opened for wad.
Second aspect, a kind of statistics paper is counted destination device, and described device comprises:
Processing module, for take the photo that a stacker is opened by camera, and the photo disposal that a described stacker is opened obtains the analysis image that a described stacker is opened, and a described stacker opens by multiple paper stacked groups;
Identification module, the analysis image of opening for the stacker that described processing module processing is obtained is identified, the amount of edge of opening the paper comprising to obtain a described stacker;
Acquisition module, the amount of edge of opening the paper comprising for a stacker of obtaining according to described identification module, obtains a described stacker and opens the paper number comprising.
In conjunction with second aspect, in the possible implementation of the first of above-mentioned second aspect, described processing module comprises:
Converting unit, for take the photo that a stacker is opened by camera, and is converted to gray-scale map by described photo;
The first recognition unit, identifies for the gray-scale map being converted to from described converting unit the analysis image that a described stacker is opened.
In conjunction with second aspect, in the possible implementation of the second of above-mentioned second aspect, described identification module comprises:
The second recognition unit, the analysis image of opening for the stacker that described processing module processing is obtained is identified, and obtains a described stacker and open the edge of the paper comprising;
Acquiring unit, opens the edge of the paper comprising for obtaining a stacker according to described the second recognition unit identification, obtain the amount of edge that a described stacker is opened the paper comprising.
In conjunction with the possible implementation of the second of second aspect, in the third possible implementation of above-mentioned second aspect, described the second recognition unit comprises:
First obtains subelement, the first row pixel comprising for the first row pixel that comprises from sample band or the analysis image opened from a described stacker, obtain the gray-scale value of the one-row pixels point that analysis image that a stacker that described sample band comprises or described opens comprises, described sample band is the image of the predetermined width chosen the analysis image of opening from a described stacker, the height of described sample band is more than or equal to the height of the analysis image that a described stacker opens, and the direction of described sample band is vertical with coboundary or the lower limb of the analysis image that a described stacker is opened;
The first mark subelement, for according to the described first average gray value that obtains the one-row pixels point obtaining described in the gray-scale value calculating of the one-row pixels point that subelement obtains, if described in the average gray value of the one-row pixels point that obtains within the first default tonal range, the one-row pixels point obtaining described in mark;
The first composition subelement, opens for a line of described the first mark subelement continued labelling or multirow pixel being formed to a described stacker edge that a piece of paper of comprising is opened.
In conjunction with the possible implementation of the second of second aspect, in the 4th kind of possible implementation of above-mentioned second aspect, described the second recognition unit comprises:
Second obtains subelement, the first row pixel comprising for the first row pixel that comprises from sample band or the analysis image opened from a described stacker, obtain the gray-scale value of the one-row pixels point that analysis image that a stacker that described sample band comprises or described opens comprises, described sample band is the image of the predetermined width chosen the analysis image of opening from a described stacker, the height of described sample band is more than or equal to the height of the analysis image that a described stacker opens, and the direction of described sample band is vertical with coboundary or the lower limb of the analysis image that a described stacker is opened;
Computation subunit, for the average gray value of the one-row pixels point that obtains described in calculating according to the described second gray-scale value that obtains the one-row pixels point that subelement obtains;
The second mark subelement, if calculate for described computation subunit described in the average gray value of the one-row pixels point that obtains within the first default tonal range, the one-row pixels point obtaining described in mark;
The second composition subelement, if described in calculating for described computation subunit the average gray value of the one-row pixels point that obtains not described first preset tonal range within and the analysis image opened of described sample band or a described stacker there is a line or the multirow pixel of mark, a line of described mark or multirow pixel are formed to a described stacker and open the edge that a piece of paper of comprising is opened, remove the mark in the analysis image that described sample band or a described stacker open.
In conjunction with the 4th kind of possible implementation of second aspect, in the 5th kind of possible implementation of above-mentioned second aspect, described acquiring unit comprises:
Increase subelement, in the time that described second forms subelement and form a described stacker and open the edge that a piece of paper of comprising opens, increase the amount of edge that a described stacker is opened the paper comprising.
In conjunction with above-mentioned second aspect, in the 6th kind of possible implementation of above-mentioned second aspect, described acquisition module comprises:
Judging unit, for judging whether the analysis image that a described stacker is opened comprises the direct picture that a described stacker is opened;
Deduct unit, for if the quantity of a described stacker being opened to the paper edge comprising deducts 1, obtains a described stacker and opens the paper number comprising;
Determining unit, for if not, the quantity of a described stacker being opened to the paper edge comprising is defined as a stacker and opens the paper number comprising.
In conjunction with the third possible implementation of above-mentioned second aspect, in the 7th kind of possible implementation of above-mentioned second aspect, described the second recognition unit also comprises:
First adjusts subelement, if the coboundary of the analysis image of opening for a described stacker or lower limb not with horizontal direction parallel, the analysis image of a described stacker being opened is adjusted, and makes coboundary or lower limb and the horizontal direction parallel of the analysis image that a described stacker opens; Or,
If the coboundary of the analysis image that a described stacker is opened or lower limb not with horizontal direction parallel, adjust terminal and obtain the angle of pixel, the angle that described terminal is obtained between the angle of pixel and coboundary or lower limb and the horizontal direction of the analysis image that a described stacker is opened equates.
In conjunction with the possible implementation of the first of above-mentioned second aspect or second aspect to any the possible implementation in the 7th kind of possible implementation of second aspect, in the 8th kind of possible implementation of above-mentioned second aspect, described device is smart mobile phone.
The third aspect, a kind of statistics paper is counted destination device, and described device comprises storer and processor, for carrying out a kind of described method of adding up paper number.
In embodiments of the present invention, obtain the photo that a stacker is opened, and obtain the analysis image that a stacker is opened from this photo, a stacker opens by multiple paper stacked groups; The analysis image that one stacker is opened is identified, and opens the amount of edge of the paper comprising to obtain a stacker; Open the amount of edge of the paper comprising according to a stacker, obtain this stacker and open the paper number comprising.Wherein, by a stacker Zhang Jinhang is taken pictures, the photo of opening according to a stacker is added up a stacker and is opened the paper number comprising, can reduce statistics one stacker and open the paper comprising and count object time, and then improve the efficiency that statistics one stacker is opened the paper number comprising.
Brief description of the drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is a kind of method flow diagram of adding up paper number that the embodiment of the present invention provides;
Fig. 2 is the method flow diagram of the another kind statistics paper number that provides of the embodiment of the present invention;
Fig. 3 is the method flow diagram of the another kind statistics paper number that provides of the embodiment of the present invention;
Fig. 4 is a kind of apparatus structure schematic diagram of adding up paper number that the embodiment of the present invention provides;
Fig. 5 is the apparatus structure schematic diagram of the another kind statistics paper number that provides of the embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
The embodiment of the present invention provides a kind of method of adding up paper number, and referring to Fig. 1, the method comprises:
Step 101: take by camera the photo that a stacker is opened, and the photo disposal that this stacker is opened obtains the analysis image that a stacker is opened, this stacker opens by multiple paper stacked groups;
Step 102: the analysis image that this stacker is opened is identified, the amount of edge of opening the paper comprising to obtain this stacker;
Step 103: the amount of edge of opening the paper comprising according to this stacker, obtain this stacker and open the paper number comprising.
In embodiments of the present invention, obtain the photo that a stacker is opened, and obtain the analysis image that a stacker is opened from this photo, a stacker opens by multiple paper stacked groups; The analysis image that one stacker is opened is identified, and opens the amount of edge of the paper comprising to obtain a stacker; Open the amount of edge of the paper comprising according to a stacker, obtain this stacker and open the paper number comprising.Wherein, by a stacker Zhang Jinhang is taken pictures, the photo of opening according to a stacker is added up a stacker and is opened the paper number comprising, can reduce statistics one stacker and open the paper comprising and count object time, and then improve the efficiency that statistics one stacker is opened the paper number comprising.
The embodiment of the present invention provides a kind of method of adding up paper number, and referring to Fig. 2, the method comprises:
Step 201: obtain the photo that a stacker is opened, and the photo obtaining is converted to gray-scale map;
Particularly, by camera, one stacker Zhang Jinhang is taken pictures, obtain the photo that a stacker is opened, the photo obtaining is converted to gray-scale map, a stacker opens by multiple paper stacked groups.
Wherein, the photo that one stacker is opened is converted to gray-scale map, adding up according to this gray-scale map the number that a stacker opens is a possibility, in fact the photo that also can directly open according to a stacker, add up the number that a stacker is opened, the photo of in embodiments of the present invention a stacker being opened is converted to gray-scale map explanation.
Wherein, while obtaining the photo that a stacker opens, in the photo obtaining, only include a stacker as far as possible and open, and do not comprise some other thing, so can reduce the error of statistics paper number as far as possible.
Step 202: identify the analysis image that a stacker is opened in this gray-scale map;
Wherein, the mode that the analysis image that in gray-scale map, a stacker is opened is identified is a lot, describes in embodiments of the present invention as an example of the histogram of gray-scale map example.
Particularly, the method for identifying the analysis image that a stacker opens according to the histogram of gray-scale map can be divided into the step of (1)-(7) as follows, comprising:
(1), the first row pixel that comprises from this gray-scale map, obtain the gray-scale value of the one-row pixels point in this gray-scale map;
(2) if the gray-scale value of the one-row pixels point obtaining within the second default tonal range, is selected the pixel of gray-scale value within the second default tonal range in the one-row pixels point obtaining;
Wherein, the second default tonal range is to be more than or equal to the scope that the first gray threshold is less than or equal to the second gray threshold.
(3), whether the one-row pixels point that obtains of judgement be last column pixel in this gray-scale map, if so, perform step (4), otherwise, continue to obtain the gray-scale value of next line pixel, return to execution step (2);
(4), the first row pixel that comprises from this gray-scale map, obtain the gray-scale value of the row pixel in this gray-scale map;
(5) if the gray-scale value of the row pixel obtaining within the second default tonal range, is selected the pixel of gray-scale value within the second default tonal range in the row pixel obtaining;
(6), whether the row pixel that obtains of judgement be last row pixel in this gray-scale map, if so, execution step (7), otherwise, continue to obtain the gray-scale value of next line pixel, return to execution step (5);
(7), the pixel selected by the pixel of selecting in every row pixel with in every row pixel merges, and obtains the analysis image that a stacker is opened.
Step 203: the analysis image of opening from a stacker, a definite stacker is opened the edge of the paper comprising;
Particularly, this step can be divided into the step of (1)-(6) as follows, comprising:
(1) if the coboundary of the analysis image that a stacker is opened or lower limb not with horizontal direction parallel, the analysis image of a stacker being opened is adjusted, and makes coboundary or lower limb and the horizontal direction parallel of the analysis image that a stacker opens;
Particularly, in gray-scale map, identify the coboundary of the analysis image that judges that a stacker opens after the analysis image that a stacker opens or lower limb whether with horizontal direction parallel, if a stacker is opened coboundary or lower limb and the horizontal direction parallel of analysis image, do not need the direction that a stacker is opened to adjust, if a stacker open the coboundary of analysis image or lower limb not with horizontal direction parallel, need the direction that a stacker is opened to adjust, make coboundary or lower limb and the horizontal direction parallel of the analysis image opened of a stacker after adjusting.
Alternatively, if the coboundary of the analysis image that a stacker is opened or lower limb not with horizontal direction parallel, adjust terminal and obtain the angle of pixel, make terminal obtain the angle that the angle of pixel and a stacker open between coboundary or lower limb and the horizontal direction of analysis image and equate.
(2), the first row pixel that comprises of the analysis image opened since a stacker, obtain the gray-scale value of one-row pixels point in the analysis image that a stacker opens;
(3), according to the gray-scale value of the one-row pixels point that obtains, the average gray value of the one-row pixels point that calculating is obtained;
For example, in the analysis image that a stacker is opened, the first row comprises 10 pixels, obtains 10 pixels of the first row, the gray-scale value of 10 pixels that obtain is respectively 120,124,125,130,136,134,126,127,135,140, be 129.7 according to the average gray value of the gray-scale value calculating the first row pixel of 10 pixels that obtain.
(4) if the average gray value of the one-row pixels point obtaining within the first default tonal range, the one-row pixels point that mark obtains;
Wherein, the first default tonal range is to be more than or equal to the scope that the 3rd gray threshold is less than or equal to the 4th gray threshold.
For example, the 3rd gray threshold is 125, the 4th gray threshold is 132, because the average gray value 129.7 of the first row pixel is greater than the 3rd gray threshold 125 and is less than the 4th gray threshold 132, represent that the average gray value of the first row pixel is within the first default tonal range, mark the first row pixel.
(5), whether the one-row pixels point that obtains of judgement be last column pixel that analysis image that a stacker is opened comprises, if so, perform step (5), otherwise, continue to obtain next line pixel, return to execution step (3);
(6), a line of continued labelling or multirow pixel are formed to a stacker and open the edge that a piece of paper of comprising is opened.
For example, the line number of a line of mark or multirow pixel is 1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 19, 20, the 1st row of continued labelling and the 2nd row pixel are formed to a stacker and open the edge that a piece of paper of comprising is opened, the 4th row of continued labelling and the 5th row pixel are formed to a stacker and open the edge that a piece of paper of comprising is opened, the 7th row of continued labelling and eighth row pixel are formed to a stacker and open the edge that a piece of paper of comprising is opened, the 10th row of continued labelling and the 11st row pixel are formed to a stacker and open the edge that a piece of paper of comprising is opened, the 13rd row of continued labelling and the 14th row pixel are formed to a stacker and open the edge that a piece of paper of comprising is opened, the 16th row of continued labelling and the 17th row pixel are formed to a stacker and open the edge that a piece of paper of comprising is opened, the 19th row of continued labelling and the 20th row pixel are formed to a stacker and open the edge that a piece of paper of comprising is opened.
Step 204: the edge of opening according to a stacker, determine that a stacker opens the paper number comprising.
Particularly, this step can be divided into the step of (1)-(3) as follows, comprising:
(1), judge in the analysis image that a stacker opens whether comprise the direct picture that a stacker is opened, if so, execution step (2), otherwise, execution step (3);
Particularly, the analysis image that one stacker is opened is divided into multiple regions, in each region, extract the feature that a stacker is opened, and form the array data in this region according to the eigenwert of feature of extracting, so, can obtain multiple array datas, the array data of having stored in multiple array datas of respectively stacker obtaining being opened and database compares, if exist the array data of having stored in certain array data and database unequal in multiple array datas that a stacker is opened, determine that the analysis image that a stacker is opened comprises the direct picture that a stacker is opened.
Wherein, the analysis image that one stacker is opened is divided into multiple regions, in each region, extract the feature that a stacker is opened, and form the array data in this region according to the eigenwert of feature of extracting, thereby obtain multiple array datas that a stacker is opened, no longer this part content is described in detail in the present embodiment.
(2), the statistics one stacker quantity of opening the paper edge comprising, the quantity of a stacker being opened to the paper edge comprising deducts 1, obtains a stacker and opens the paper number comprising;
(3), the statistics one stacker quantity of opening the paper edge comprising, the quantity that a stacker is opened to the paper edge comprising is defined as a stacker and opens the paper number comprising.
Preferably, the analysis image that can open a stacker is repeatedly identified, and in the time that repeatedly the stacker that obtains of identification is opened the paper invariable number comprising, can determine that a stacker opens the paper number comprising.
For example, the analysis image that a stacker is opened comprises the direct picture that a stacker is opened, and the quantity that statistics one stacker is opened the paper edge comprising is 7, and to open the paper number comprising be 6 to a stacker.
In embodiments of the present invention, obtain the photo that a stacker is opened, and obtain the analysis image that a stacker is opened from this photo, a stacker opens by multiple paper stacked groups; The analysis image that one stacker is opened is identified, and opens the amount of edge of the paper comprising to obtain a stacker; Open the amount of edge of the paper comprising according to a stacker, obtain this stacker and open the paper number comprising.Wherein, by a stacker Zhang Jinhang is taken pictures, the photo of opening according to a stacker is added up a stacker and is opened the paper number comprising, can reduce statistics one stacker and open the paper comprising and count object time, and then improve the efficiency that statistics one stacker is opened the paper number comprising.
The embodiment of the present invention provides a kind of method of adding up paper number, and referring to Fig. 3, the method comprises:
Step 301: obtain the photo that a stacker is opened, and the photo obtaining is converted to gray-scale map;
Particularly, by camera, one stacker Zhang Jinhang is taken pictures, obtain the photo that a stacker is opened, the photo obtaining is converted to gray-scale map, a stacker opens by multiple paper stacked groups.
Wherein, the photo that one stacker is opened is converted to gray-scale map, adding up according to this gray-scale map the number that a stacker opens is a possibility, in fact the photo that also can directly open according to a stacker, add up the number that a stacker is opened, the photo of in embodiments of the present invention a stacker being opened is converted to gray-scale map explanation.
Wherein, while obtaining the photo that a stacker opens, in the photo obtaining, only include a stacker as far as possible and open, and do not comprise some other thing, so can reduce the error of statistics paper number as far as possible.
Step 302: identify the analysis image that a stacker is opened in this gray-scale map;
Wherein, the mode that the analysis image that in gray-scale map, a stacker is opened is identified is a lot, describes in embodiments of the present invention as an example of the histogram of gray-scale map example.
Particularly, the method for identifying the analysis image that a stacker opens according to the histogram of gray-scale map can be divided into the step of (1)-(7) as follows, comprising:
(1), the first row pixel that comprises from this gray-scale map, obtain the gray-scale value of the one-row pixels point in this gray-scale map;
(2) if the gray-scale value of the one-row pixels point obtaining within the second default tonal range, is selected the pixel of gray-scale value within the second default tonal range in the one-row pixels point obtaining;
Wherein, the second default tonal range is to be more than or equal to the scope that the first gray threshold is less than or equal to the second gray threshold.
(3), whether the one-row pixels point that obtains of judgement be last column pixel in this gray-scale map, if so, perform step (4), otherwise, continue to obtain the gray-scale value of next line pixel, return to execution step (2);
(4), the first row pixel that comprises from this gray-scale map, obtain the gray-scale value of the row pixel in this gray-scale map;
(5) if the gray-scale value of the row pixel obtaining within the second default tonal range, is selected the pixel of gray-scale value within the second default tonal range in the row pixel obtaining;
(6), whether the row pixel that obtains of judgement be last row pixel in this gray-scale map, if so, execution step (7), otherwise, continue to obtain the gray-scale value of next line pixel, return to execution step (5);
(7), the pixel selected by the pixel of selecting in every row pixel with in every row pixel merges, and obtains the analysis image that a stacker is opened.
Step 303: the analysis image of opening from a stacker, a definite stacker is opened the edge of the paper comprising;
Particularly, this step can be divided into the step of (1)-(7) as follows, comprising:
(1) if the coboundary of the analysis image that a stacker is opened or lower limb not with horizontal direction parallel, the analysis image of a stacker being opened is adjusted, and makes coboundary or lower limb and the horizontal direction parallel of the analysis image that a stacker opens;
Particularly, in gray-scale map, identify the coboundary of the analysis image that judges that a stacker opens after the analysis image that a stacker opens or lower limb whether with horizontal direction parallel, if a stacker is opened coboundary or lower limb and the horizontal direction parallel of analysis image, do not need the direction that a stacker is opened to adjust, if a stacker open the coboundary of analysis image or lower limb not with horizontal direction parallel, need the direction that a stacker is opened to adjust, make coboundary or lower limb and the horizontal direction parallel of the analysis image opened of a stacker after adjusting.
Alternatively, if the coboundary of the analysis image that a stacker is opened or lower limb not with horizontal direction parallel, adjust terminal and obtain the angle of pixel, make terminal obtain the angle that the angle of pixel and a stacker open between coboundary or lower limb and the horizontal direction of analysis image and equate.
(2), the first row pixel that comprises of the analysis image opened since a stacker, obtain the gray-scale value of one-row pixels point in the analysis image that a stacker opens, and a stacker is set opens the initial value of the paper edge quantity comprising;
Wherein, the initial value that a stacker is opened the paper edge quantity comprising can be set to 0.
(3), according to the gray-scale value of the one-row pixels point that obtains, the average gray value of the one-row pixels point that calculating is obtained;
For example, in the analysis image that a stacker is opened, the first row comprises 10 pixels, obtains 10 pixels of the first row, the gray-scale value of 10 pixels that obtain is respectively 120,124,125,130,136,134,126,127,135,140, be 129.7 according to the average gray value of the gray-scale value calculating the first row pixel of 10 pixels that obtain.
(4) if the average gray value of the one-row pixels point obtaining within the first default tonal range, the one-row pixels point that mark obtains;
Wherein, the first default tonal range is to be more than or equal to the scope that the 3rd gray threshold is less than or equal to the 4th gray threshold.
Particularly, the average gray value of the one-row pixels point obtaining and the 3rd gray threshold and the 4th gray threshold are compared, if the average gray value of the one-row pixels point obtaining is more than or equal to the 3rd gray threshold and is less than or equal to the 4th gray threshold, show that the average gray value of the one-row pixels point obtaining is within the first default tonal range, the one-row pixels point that mark obtains.
For example, the 3rd gray threshold is 125, the 4th gray threshold is 132, because the average gray value 129.7 of the first row pixel is greater than the 3rd gray threshold 125 and is less than the 4th gray threshold 132, represent that the average gray value of the first row pixel is within the first default tonal range, mark the first row pixel.
(5) if the average gray value of the one-row pixels point obtaining not within the first default tonal range, judge a line or the multirow pixel that in the analysis image that a stacker opens, whether there are mark, if so, execution step (6), otherwise, execution step (7);
Particularly, the average gray value of the one-row pixels point obtaining and the 3rd gray threshold and the 4th gray threshold are compared, if the average gray value of the one-row pixels point obtaining is less than the 3rd gray threshold or is greater than the 4th gray threshold, judge a line or the multirow pixel that in the analysis image that a stacker opens, whether there are mark, if existed, execution step (6), otherwise, execution step (7).
(6), a line of mark or multirow pixel formed to a stacker open the edge that a piece of paper of comprising is opened, increase by a stacker and open the paper edge quantity comprising, and remove the mark in the analysis image that a stacker opens;
Wherein, increasing the concrete operations that a stacker opens the paper edge quantity comprising is: a stacker is opened to the paper edge quantity comprising and add 1.
For example, the pixel of the 1st row and the 2nd row is tape label, and the average gray value of the pixel of the 3rd row is less than the 3rd threshold value, the pixel of the 1st row of mark and the 2nd row is formed to a stacker and open the edge that a piece of paper of comprising is opened, one stacker is opened to the paper edge quantity comprising and add 1, and remove the mark in the analysis image that a stacker opens.
(7), whether the one-row pixels point that obtains of judgement be last column pixel that analysis image that a stacker is opened comprises, if so, end operation, otherwise, continue to obtain next line pixel, return to execution step (3).
Step 304: open the paper edge quantity comprising according to a stacker, determine that a stacker opens the paper number comprising.
Particularly, this step can be divided into the step of (1)-(3) as follows, comprising:
(1), judge in the analysis image that a stacker opens whether comprise the direct picture that a stacker is opened, if so, execution step (2), otherwise, execution step (3);
Particularly, the analysis image that one stacker is opened is divided into multiple regions, in each region, extract the feature that a stacker is opened, and form the array data in this region according to the eigenwert of feature of extracting, so, can obtain multiple array datas, the array data of having stored in multiple array datas of respectively stacker obtaining being opened and database compares, if exist the array data of having stored in certain array data and database unequal in multiple array datas that a stacker is opened, determine that the analysis image that a stacker is opened comprises the direct picture that a stacker is opened.
Wherein, the analysis image that one stacker is opened is divided into multiple regions, in each region, extract the feature that a stacker is opened, and form the array data in this region according to the eigenwert of feature of extracting, thereby obtain multiple array datas that a stacker is opened, no longer this part content is described in detail in the present embodiment.
(2), quantity that a stacker is opened to the paper edge comprising deducts 1, obtain a stacker and open the paper number comprising;
(3) quantity of, a stacker being opened to the paper edge comprising is defined as a stacker and opens the paper number comprising.
For example, the analysis image that a stacker is opened comprises the direct picture that a stacker is opened, and the quantity that a stacker is opened the paper edge comprising is 7, and to open the paper number comprising be 6 to a stacker.
In embodiments of the present invention, obtain the photo that a stacker is opened, and obtain the analysis image that a stacker is opened from this photo, a stacker opens by multiple paper stacked groups; The analysis image that one stacker is opened is identified, and opens the amount of edge of the paper comprising to obtain a stacker; Open the amount of edge of the paper comprising according to a stacker, obtain this stacker and open the paper number comprising.Wherein, by a stacker Zhang Jinhang is taken pictures, the photo of opening according to a stacker is added up a stacker and is opened the paper number comprising, can reduce statistics one stacker and open the paper comprising and count object time, and then improve the efficiency that statistics one stacker is opened the paper number comprising.
The embodiment of the present invention provides a kind of method of adding up paper number, and the method comprises:
Step 401: obtain the photo that a stacker is opened, and the photo obtaining is converted to gray-scale map;
Particularly, by camera, one stacker Zhang Jinhang is taken pictures, obtain the photo that a stacker is opened, the photo obtaining is converted to gray-scale map, a stacker opens by multiple paper stacked groups.
Wherein, the photo that one stacker is opened is converted to gray-scale map, adding up according to this gray-scale map the number that a stacker opens is a possibility, in fact the photo that also can directly open according to a stacker, add up the number that a stacker is opened, the photo of in embodiments of the present invention a stacker being opened is converted to gray-scale map explanation.
Wherein, while obtaining the photo that a stacker opens, in the photo obtaining, only include a stacker as far as possible and open, and do not comprise some other thing, so can reduce the error of statistics paper number as far as possible.
Step 402: identify the analysis image that a stacker is opened in this gray-scale map;
Wherein, the mode that the analysis image that in gray-scale map, a stacker is opened is identified is a lot, describes in embodiments of the present invention as an example of the histogram of gray-scale map example.
Particularly, the method for identifying the analysis image that a stacker opens according to the histogram of gray-scale map can be divided into the step of (1)-(7) as follows, comprising:
(1), the first row pixel that comprises from this gray-scale map, obtain the gray-scale value of the one-row pixels point in this gray-scale map;
(2) if the gray-scale value that obtains one-row pixels point, within the second default tonal range, is selected the pixel of gray-scale value within the second default tonal range in the one-row pixels point obtaining;
Wherein, the second default tonal range is to be more than or equal to the scope that the first gray threshold is less than or equal to the second gray threshold.
(3), whether the one-row pixels point that obtains of judgement be last column pixel in this gray-scale map, if so, perform step (4), otherwise, continue to obtain the gray-scale value of next line pixel, return to execution step (2);
(4), the first row pixel that comprises from this gray-scale map, obtain the gray-scale value of the row pixel in this gray-scale map;
(5) if the gray-scale value of the row pixel obtaining within the second default tonal range, is selected the pixel of gray-scale value within the second default tonal range in the row pixel obtaining;
(6), whether the row pixel that obtains of judgement be last row pixel in this gray-scale map, if so, execution step (7), otherwise, continue to obtain the gray-scale value of next line pixel, return to execution step (5);
(7), the pixel selected by the pixel of selecting in every row pixel with in every row pixel merges, and obtains the analysis image that a stacker is opened.
Step 403: the analysis image of opening from a stacker, a definite stacker is opened the edge of the paper comprising;
Particularly, this step can be divided into the step of (1)-(6) as follows, comprising:
(1) if the coboundary of the analysis image that a stacker is opened or lower limb not with horizontal direction parallel, the analysis image of a stacker being opened is adjusted, and makes coboundary or lower limb and the horizontal direction parallel of the analysis image that a stacker opens;
Particularly, in gray-scale map, identify the coboundary of the analysis image that judges that a stacker opens after the analysis image that a stacker opens or lower limb whether with horizontal direction parallel, if a stacker is opened coboundary or lower limb and the horizontal direction parallel of analysis image, do not need the direction that a stacker is opened to adjust, if a stacker open the coboundary of analysis image or lower limb not with horizontal direction parallel, need the direction that a stacker is opened to adjust, make coboundary or lower limb and the horizontal direction parallel of the analysis image opened of a stacker after adjusting.
Alternatively, if a stacker open the coboundary of analysis image or lower limb not with horizontal direction parallel, adjust terminal and obtain the angle of pixel, make terminal obtain the angle that the angle of pixel and a stacker open between coboundary or lower limb and the horizontal direction of analysis image and equate.
(2), select in the analysis image opened in a stacker sample band of a predetermined width, the height of sample band to be more than or equal to the height of the analysis image that a stacker opens, and coboundary or lower limb that the direction of sample band is opened with a stacker are vertical;
Wherein, the edge of analysis image can be opened in a stacker in the position of sample band, also can open in a stacker centre position of analysis image, in the present embodiment the position of sample band is not limited.
(3), the first row pixel that comprises from this sample band starts, and obtains the gray-scale value of the one-row pixels point in this sample band;
(4), according to the gray-scale value of the one-row pixels point that obtains, the average gray value of the one-row pixels point that calculating is obtained;
For example, in the analysis image that one stacker is opened, the first row comprises 5 pixels, obtain 5 pixels of the first row, the gray-scale value of 5 pixels that obtain is respectively 120,124,125,136,134, be 127.8 according to the average gray value of the gray-scale value calculating the first row pixel of 5 pixels that obtain.
(5) if the average gray value of the one-row pixels point obtaining within the first default tonal range, the one-row pixels point that mark obtains;
Wherein, the first default tonal range is to be more than or equal to the scope that the 3rd gray threshold is less than or equal to the 4th gray threshold.
Particularly, the average gray value of the one-row pixels point obtaining and the 3rd gray threshold and the 4th gray threshold are compared, if the average gray value of the one-row pixels point obtaining is more than or equal to the 3rd gray threshold and is less than or equal to the 4th gray threshold, show that the average gray value of the one-row pixels point obtaining is within the first default tonal range, the one-row pixels point that mark obtains.
For example, the 3rd gray threshold is 125, the 4th gray threshold is 132, the average gray value of the first row pixel 127.8 and the 3rd gray threshold 125 are compared, because the average gray value 127.8 of the first row pixel is greater than the 3rd gray threshold 125 and is less than the 4th gray threshold 132, represent that the average gray value of the first row pixel is within the first default tonal range, mark the first row pixel.
(6), whether the one-row pixels point that obtains of judgement be last column pixel that sample band comprises, if so, perform step (7), otherwise, continue to obtain next line pixel, return to execution step (4);
(7), a line of continued labelling or multirow pixel are formed to a stacker and open the edge that a piece of paper of comprising is opened.
Wherein, in the analysis image of opening in a stacker, select the sample band of a predetermined width, the gray-scale value of every row pixel that this sample band is comprised and the 3rd gray threshold and the 4th gray threshold compare, and can reduce the time of comparison, and then improve the efficiency of statistics paper number.
For example, the line number of a line of mark or multirow pixel is 1, 2, 4, 5, 7, 8, 10, 11, 13, 14, 16, 17, 19, 20, the 1st row of continued labelling and the 2nd row pixel are formed to a stacker and open the edge that a piece of paper of comprising is opened, the 4th row of continued labelling and the 5th row pixel are formed to a stacker and open the edge that a piece of paper of comprising is opened, the 7th row of continued labelling and eighth row pixel are formed to a stacker and open the edge that a piece of paper of comprising is opened, the 10th row of continued labelling and the 11st row pixel are formed to a stacker and open the edge that a piece of paper of comprising is opened, the 13rd row of continued labelling and the 14th row pixel are formed to a stacker and open the edge that a piece of paper of comprising is opened, the 16th row of continued labelling and the 17th row pixel are formed to a stacker and open the edge that a piece of paper of comprising is opened, the 19th row of continued labelling and the 20th row pixel are formed to a stacker and open the edge that a piece of paper of comprising is opened.
Step 404: the edge of opening according to a stacker, determine that a stacker opens the paper number comprising.
Particularly, this step can be divided into the step of (1)-(3) as follows, comprising:
(1), judge in the analysis image that a stacker opens whether comprise the direct picture that a stacker is opened, if so, execution step (2), otherwise, execution step (3);
Particularly, the analysis image that one stacker is opened is divided into multiple regions, in each region, extract the feature that a stacker is opened, and form the array data in this region according to the eigenwert of feature of extracting, so, can obtain multiple array datas, the array data of having stored in multiple array datas of respectively stacker obtaining being opened and database compares, if exist the array data of having stored in certain array data and database unequal in multiple array datas that a stacker is opened, determine that the analysis image that a stacker is opened comprises the direct picture that a stacker is opened.
Wherein, the analysis image that one stacker is opened is divided into multiple regions, in each region, extract the feature that a stacker is opened, and form the array data in this region according to the eigenwert of feature of extracting, thereby obtain multiple array datas that a stacker is opened, no longer this part content is described in detail in the present embodiment.
(2), the statistics one stacker quantity of opening the paper edge comprising, the quantity of a stacker being opened to the paper edge comprising deducts 1, obtains a stacker and opens the paper number comprising;
(3), the statistics one stacker quantity of opening the paper edge comprising, the quantity that a stacker is opened to the paper edge comprising is defined as a stacker and opens the paper number comprising.
For example, the analysis image that a stacker is opened comprises the direct picture that a stacker is opened, and the quantity that statistics one stacker is opened the paper edge comprising is 7, and to open the paper number comprising be 6 to a stacker.
In embodiments of the present invention, obtain the photo that a stacker is opened, and from this photo, obtain the analysis image that a stacker is opened, in the analysis image of opening in a stacker, select the sample band of a predetermined width, the gray-scale value of the every row pixel comprising according to this sample, obtains a stacker and opens the edge of the paper comprising; The edge of opening the paper comprising according to a stacker obtains a stacker and opens the paper number comprising.Wherein, by a stacker Zhang Jinhang is taken pictures, the gray-scale value of the photo of opening according to a stacker and every row pixel of comprising according to this sample band, add up a stacker and open the paper number comprising, can reduce statistics one stacker and open the paper comprising and count object time, and then improve the efficiency that statistics one stacker is opened the paper number comprising.
The embodiment of the present invention provides a kind of method of adding up paper number, and the method comprises:
Step 501: obtain the photo that a stacker is opened, and the photo obtaining is converted to gray-scale map;
Particularly, by camera, one stacker Zhang Jinhang is taken pictures, obtain the photo that a stacker is opened, the photo obtaining is converted to gray-scale map, a stacker opens by multiple paper stacked groups.
Wherein, the photo that one stacker is opened is converted to gray-scale map, adding up according to this gray-scale map the number that a stacker opens is a possibility, in fact the photo that also can directly open according to a stacker, add up the number that a stacker is opened, the photo of in embodiments of the present invention a stacker being opened is converted to gray-scale map explanation.
Wherein, while obtaining the photo that a stacker opens, in the photo obtaining, only include a stacker as far as possible and open, and do not comprise some other thing, so can reduce the error of statistics paper number as far as possible.
Step 502: identify the analysis image that a stacker is opened in this gray-scale map;
Wherein, the mode that the analysis image that in gray-scale map, a stacker is opened is identified is a lot, describes in embodiments of the present invention as an example of the histogram of gray-scale map example.
Particularly, the method for identifying the analysis image that a stacker opens according to the histogram of gray-scale map can be divided into the step of (1)-(7) as follows, comprising:
(1), the first row pixel that comprises from this gray-scale map, obtain the gray-scale value of the one-row pixels point in this gray-scale map;
(2) if the gray-scale value that obtains one-row pixels point, within the second default tonal range, is selected the pixel of gray-scale value within the second default tonal range in the one-row pixels point obtaining;
Wherein, the second default tonal range is to be more than or equal to the scope that the first gray threshold is less than or equal to the second gray threshold.
(3), whether the one-row pixels point that obtains of judgement be last column pixel in this gray-scale map, if so, perform step (4), otherwise, continue to obtain the gray-scale value of next line pixel, return to step (2);
(4), the first row pixel that comprises from this gray-scale map, obtain the gray-scale value of the row pixel in this gray-scale map;
(5) if the gray-scale value of the row pixel obtaining within the second default tonal range, is selected the pixel of gray-scale value within the second default tonal range in the row pixel obtaining;
(6), whether the row pixel that obtains of judgement be last row pixel in this gray-scale map, if so, execution step (7), otherwise, continue to obtain the gray-scale value of next line pixel, return to execution step (5);
(7), the pixel selected by the pixel of selecting in every row pixel with in every row pixel merges, and obtains the analysis image that a stacker is opened.
Step 503: the analysis image of opening from a stacker, a definite stacker is opened the edge of the paper comprising;
Particularly, this step can be divided into the step of (1)-(6) as follows, comprising:
(1) if the coboundary of the analysis image that a stacker is opened or lower limb not with horizontal direction parallel, the analysis image of a stacker being opened is adjusted, and makes coboundary or lower limb and the horizontal direction parallel of the analysis image that a stacker opens;
Particularly, in gray-scale map, identify the coboundary of the analysis image that judges that a stacker opens after the analysis image that a stacker opens or lower limb whether with horizontal direction parallel, if a stacker is opened coboundary or lower limb and the horizontal direction parallel of analysis image, do not need the direction that a stacker is opened to adjust, if a stacker open the coboundary of analysis image or lower limb not with horizontal direction parallel, need the direction that a stacker is opened to adjust, make coboundary or lower limb and the horizontal direction parallel of the analysis image opened of a stacker after adjusting.
Alternatively, if a stacker open the coboundary of analysis image or lower limb not with horizontal direction parallel, adjust terminal and obtain the angle of pixel, make terminal obtain the angle that the angle of pixel and a stacker open between coboundary or lower limb and the horizontal direction of analysis image and equate.
(2), select in the analysis image opened in a stacker sample band of a predetermined width, the height of sample band to be more than or equal to the height of the analysis image that a stacker opens, and coboundary or lower limb that the direction of sample band is opened with a stacker are vertical;
Wherein, the edge of analysis image can be opened in a stacker in the position of sample band, also can open in a stacker centre position of analysis image, in the present embodiment the position of sample band is not limited.
(3), the first row pixel that comprises from sample band, obtain the gray-scale value of the one-row pixels point in this sample band, and a stacker is set opens the initial value of the paper edge quantity comprising;
Wherein, the initial value that a stacker is opened the paper edge quantity comprising can be set to 0.
(4), according to the gray-scale value of the one-row pixels point that obtains, the average gray value of the one-row pixels point that calculating is obtained;
For example, in the analysis image that one stacker is opened, the first row comprises 5 pixels, obtain 5 pixels of the first row, the gray-scale value of 5 pixels that obtain is respectively 120,124,125,136,134, be 127.8 according to the average gray value of the gray-scale value calculating the first row pixel of 5 pixels that obtain.
(5) if the average gray value of the one-row pixels point obtaining within the first default tonal range, the one-row pixels point that mark obtains;
Wherein, the first default tonal range is to be more than or equal to the scope that the 3rd gray threshold is less than or equal to the 4th gray threshold.
Particularly, the average gray value of the one-row pixels point obtaining and the 3rd gray threshold and the 4th gray threshold are compared, if the average gray value of the one-row pixels point obtaining is more than or equal to the 3rd gray threshold and is less than or equal to the 4th gray threshold, show that the average gray value of the one-row pixels point obtaining is within the first default tonal range, the one-row pixels point that mark obtains.
For example, the 3rd gray threshold is 125, the 4th gray threshold is 132, the average gray value of the first row pixel 127.8 and the 3rd gray threshold 125 are compared, because the average gray value 127.8 of the first row pixel is greater than the 3rd gray threshold 125, and be less than the 4th gray threshold 132, represent that the average gray value of the first row pixel is within the first default tonal range, mark the first row pixel.
(6) if whether the average gray value of the one-row pixels point obtaining, not within the first default tonal range, there is a line or the multirow pixel of mark in judgement sample band, if so, execution step (7), otherwise, execution step (8);
Particularly, the average gray value of the one-row pixels point obtaining and the 3rd gray threshold and the 4th gray threshold are compared, if the average gray value of the one-row pixels point obtaining is less than the 3rd gray threshold or is greater than the 4th gray threshold, in judgement sample band, whether there is a line or the multirow pixel of mark, if existed, execution step (7), otherwise, execution step (8).
(7), a line of mark or multirow pixel formed to a stacker open the edge that a piece of paper of comprising is opened, increase by a stacker and open the paper edge quantity comprising, and remove the mark in sample band;
Wherein, increasing the concrete operations that a stacker opens the paper edge quantity comprising is: a stacker is opened to the paper edge quantity comprising and add 1.
For example, the average gray value of the 1st row pixel is 129.7, the average gray value of the 2nd row pixel is 128, the average gray value of the 3rd row pixel is 110, and the 1st row and the 2nd provisional capital are tape labels, open so the 1st row and the 2nd row pixel are formed to a stacker edge that a piece of paper of comprising is opened, a stacker is opened to the paper edge quantity comprising and add 1, and remove the mark in sample band.
(8), whether the one-row pixels point that obtains of judgement be last column pixel that analysis image that a stacker is opened comprises, if so, end operation, otherwise, continue to obtain next line pixel, return to execution step (4).
Step 504: open the paper edge quantity comprising according to a stacker, determine that a stacker opens the paper number comprising.
Particularly, this step can be divided into the step of (1)-(3) as follows, comprising:
(1), judge in the analysis image that a stacker opens whether comprise the direct picture that a stacker is opened, if so, execution step (2), otherwise, execution step (3);
Particularly, the analysis image that one stacker is opened is divided into multiple regions, in each region, extract the feature that a stacker is opened, and form the array data in this region according to the eigenwert of feature of extracting, so, can obtain multiple array datas, the array data of having stored in multiple array datas of respectively stacker obtaining being opened and database compares, if exist the array data of having stored in certain array data and database unequal in multiple array datas that a stacker is opened, determine that the analysis image that a stacker is opened comprises the direct picture that a stacker is opened.
Wherein, the analysis image that one stacker is opened is divided into multiple regions, in each region, extract the feature that a stacker is opened, and form the array data in this region according to the eigenwert of feature of extracting, thereby obtain multiple array datas that a stacker is opened, no longer this part content is described in detail in the present embodiment.
(2), quantity that a stacker is opened to the paper edge comprising deducts 1, obtain a stacker and open the paper number comprising;
(3) quantity of, a stacker being opened to the paper edge comprising is defined as a stacker and opens the paper number comprising.
For example, the analysis image that a stacker is opened comprises the direct picture that a stacker is opened, and the quantity that a stacker is opened the paper edge comprising is 7, and to open the paper number comprising be 6 to a stacker.
In embodiments of the present invention, obtain the photo that a stacker is opened, and from this photo, obtain the analysis image that a stacker is opened, in the analysis image of opening in a stacker, select the sample band of a predetermined width, the gray-scale value of the every row pixel comprising according to this sample, obtains a stacker and opens the edge of the paper comprising; The edge of opening the paper comprising according to a stacker obtains a stacker and opens the paper number comprising.Wherein, by a stacker Zhang Jinhang is taken pictures, the gray-scale value of the photo of opening according to a stacker and every row pixel of comprising according to this sample band, add up a stacker and open the paper number comprising, can reduce statistics one stacker and open the paper comprising and count object time, and then improve the efficiency that statistics one stacker is opened the paper number comprising.
The embodiment of the present invention provides a kind of statistics paper to count destination device, and referring to Fig. 4, this device comprises:
Processing module 401, for take the photo that a stacker is opened by camera, and the photo disposal that this stacker is opened obtains the analysis image that this stacker is opened, and this stacker opens by multiple paper stacked groups;
Identification module 402, identifies the amount of edge of opening the paper comprising to obtain this stacker for processing module 401 being processed to the analysis image that the stacker that obtains opens;
Acquisition module 403, the amount of edge of opening the paper comprising for a stacker of obtaining according to identification module 402, obtains a stacker and opens the paper number comprising.
Wherein, processing module 401 comprises:
Converting unit, for take the photo that a stacker is opened by camera, and is converted to gray-scale map by this photo;
The first recognition unit, identifies for this gray-scale map being converted to from converting unit the analysis image that a stacker is opened.
Wherein, identification module 402 comprises:
The second recognition unit, identifies for processing module 401 being processed to the analysis image that the stacker that obtains opens, and obtains a stacker and open the edge of the paper comprising;
Acquiring unit, opens the edge of the paper comprising for obtaining a stacker according to the second recognition unit identification, the amount of edge of obtaining a stacker and opening the paper comprising.
Wherein, the second recognition unit comprises:
First obtains subelement, be used for the first row pixel that the first row pixel comprising from sample band or the analysis image of opening since a stacker comprise, obtain the gray-scale value of the one-row pixels point that analysis image that sample band comprises or that a stacker is opened comprises, sample band is the image of the predetermined width chosen the analysis image of opening from a stacker, the height of sample band is more than or equal to the height of the analysis image that a stacker opens, and coboundary or the lower limb of the analysis image that the direction of sample band is opened with a stacker are vertical;
The first mark subelement, for according to the first average gray value that obtains gray-scale value that one-row pixels point that subelement obtains comprises and calculate the one-row pixels point obtaining, if the average gray value of the one-row pixels point obtaining within the first default tonal range, the one-row pixels point that mark obtains;
The first composition subelement, opens for a line of the first mark subelement continued labelling or multirow pixel being formed to a stacker edge that a piece of paper of comprising is opened.
Further, the second recognition unit comprises:
Second obtains subelement, be used for the first row pixel that the first row pixel comprising from sample band or the analysis image of opening since a stacker comprise, obtain the gray-scale value of the one-row pixels point that analysis image that this sample band comprises or that this stacker is opened comprises, this sample band is the image of the predetermined width chosen the analysis image of opening from a stacker, the height of this sample band is more than or equal to the height of the analysis image that a stacker opens, and coboundary or the lower limb of the analysis image that the direction of this sample band is opened with a stacker are vertical;
Computation subunit, for calculating the average gray value of the one-row pixels point obtaining according to the second gray-scale value that obtains the one-row pixels point that subelement obtains;
The second mark subelement, if the average gray value of the one-row pixels point obtaining calculating for computation subunit within the first default tonal range, the one-row pixels point that mark obtains;
The second composition subelement, if the average gray value of the one-row pixels point obtaining calculating for computation subunit not first preset tonal range within and the analysis image opened of sample band or a stacker there is a line or the multirow pixel of mark, a line of mark or multirow pixel are formed to a stacker and open the edge that a piece of paper of comprising is opened, remove the mark in the analysis image that sample band or a stacker open.
Wherein, acquiring unit comprises:
Increase subelement, while opening for form this stacker when the second composition subelement the edge that a piece of paper of comprising opens, the amount of edge that increase by one stacker is opened the paper comprising.
Wherein, acquisition module 403 comprises:
Judging unit, for judging whether the analysis image that this stacker is opened comprises the direct picture that a stacker is opened;
Deduct unit, for if the quantity of this stacker being opened to the paper edge comprising deducts 1, obtains this stacker and opens the paper number comprising;
Determining unit, for if not, the quantity of a stacker being opened to the paper edge comprising is defined as a stacker and opens the paper number comprising.
Further, the second recognition unit also comprises:
First adjusts subelement, if the coboundary of the analysis image of opening for this stacker or lower limb not with horizontal direction parallel, the analysis image of this stacker being opened is adjusted, and makes coboundary or lower limb and the horizontal direction parallel of the analysis image that this stacker opens; Or,
If the coboundary of the analysis image that a stacker is opened or lower limb not with horizontal direction parallel, adjust terminal and obtain the angle of pixel, the angle that terminal is obtained between the angle of pixel and coboundary or lower limb and the horizontal direction of the analysis image that a stacker is opened equates.
Wherein, to count destination device be smart mobile phone to a kind of statistics paper.
In embodiments of the present invention, obtain the photo that a stacker is opened, and obtain the analysis image that a stacker is opened from this photo, a stacker opens by multiple paper stacked groups; The analysis image that one stacker is opened is identified, and opens the amount of edge of the paper comprising to obtain a stacker; Open the amount of edge of the paper comprising according to a stacker, obtain this stacker and open the paper number comprising.Wherein, by a stacker Zhang Jinhang is taken pictures, the photo of opening according to a stacker is added up a stacker and is opened the paper number comprising, can reduce statistics one stacker and open the paper comprising and count object time, and then improve the efficiency that statistics one stacker is opened the paper number comprising.
The embodiment of the present invention provides a kind of statistics paper to count destination device, and referring to Fig. 5, this device comprises:
Storer 501 and processor 502, for carrying out the method for following statistics paper number:
Take by camera the photo that a stacker is opened, and the photo disposal that a described stacker is opened obtains the analysis image that a described stacker is opened, a described stacker opens by multiple paper stacked groups;
The analysis image that a described stacker is opened is identified, the amount of edge of opening the paper comprising to obtain a described stacker;
The amount of edge of opening the paper comprising according to a described stacker, obtains a described stacker and opens the paper number comprising.
Wherein, describedly take by camera the photo that a stacker is opened, and the photo disposal that a described stacker is opened obtains the analysis image that a described stacker is opened, comprising:
Take by camera the photo that a stacker is opened, and described photo is converted to gray-scale map;
From described gray-scale map, identify the analysis image that a described stacker is opened.
Wherein, the described analysis image that a described stacker is opened is identified, and the amount of edge of opening the paper comprising to obtain a described stacker, comprising:
The analysis image that a described stacker is opened is identified, and obtains a described stacker and open the edge of the paper comprising;
Open the edge of the paper comprising according to a described stacker, obtain the amount of edge that a described stacker is opened the paper comprising.
Wherein, the described analysis image that a described stacker is opened is identified, and obtains a described stacker and open the edge of the paper comprising, comprising:
The first row pixel that the first row pixel comprising from sample band or the analysis image of opening from a described stacker comprise, obtain the gray-scale value of the one-row pixels point that analysis image that a stacker that described sample band comprises or described opens comprises, described sample band is the image of the predetermined width chosen the analysis image of opening from a described stacker, the height of described sample band is more than or equal to the height of the analysis image that a described stacker opens, and the direction of described sample band is vertical with coboundary or the lower limb of the analysis image that a described stacker is opened;
The average gray value of the one-row pixels point obtaining described in calculating according to the gray-scale value of the described one-row pixels point obtaining, if described in the one-row pixels point that obtains average gray value first preset tonal range within, the one-row pixels point obtaining described in mark;
A line of continued labelling or multirow pixel are formed to a described stacker and open the edge that a piece of paper of comprising is opened.
Wherein, the described analysis image that a described stacker is opened is identified, and obtains a described stacker and open the edge of the paper comprising, comprising:
The first row pixel that the first row pixel comprising from sample band or the analysis image of opening from a described stacker comprise, obtain the gray-scale value of the one-row pixels point that analysis image that a stacker that described sample band comprises or described opens comprises, described sample band is the image of the predetermined width chosen the analysis image of opening from a described stacker, the height of described sample band is more than or equal to the height of the analysis image that a described stacker opens, and the direction of described sample band is vertical with coboundary or the lower limb of the analysis image that a described stacker is opened;
The average gray value of the one-row pixels point obtaining described in calculating according to the gray-scale value of the described one-row pixels point obtaining;
If described in the average gray value of the one-row pixels point that obtains within the first default tonal range, the one-row pixels point obtaining described in mark;
If described in the average gray value of the one-row pixels point that obtains not within the described first default tonal range and have a line or the multirow pixel of mark in the analysis image opened of described sample band or a described stacker, a line of described mark or multirow pixel are formed to a described stacker and open the edge that a piece of paper of comprising is opened, remove the mark in the analysis image that described sample band or a described stacker open.
Wherein, the described edge of opening the paper comprising according to a described stacker obtains the amount of edge that a described stacker is opened the paper comprising, comprising:
In the time that the described stacker of composition is opened the edge that a piece of paper of comprising opens, increase the amount of edge that a described stacker is opened the paper comprising.
Wherein, described amount of edge of opening the paper comprising according to a described stacker, obtains a described stacker and opens the paper number comprising, comprising:
Judge in the analysis image that a described stacker opens and whether comprise the direct picture that a described stacker is opened;
If so, the quantity of a described stacker being opened to the paper edge comprising deducts 1, obtains a described stacker and opens the paper number comprising;
If not, the number of a described stacker being opened to the paper edge comprising is defined as a stacker and opens the paper number comprising.
Wherein, the first row pixel that the described the first row pixel comprising from sample band or the analysis image of opening from a described stacker comprise, before obtaining the gray-scale value of the one-row pixels point that analysis image that a stacker that described sample band comprises or described opens comprises, also comprise:
If the coboundary of the analysis image that a described stacker is opened or lower limb not with horizontal direction parallel, the analysis image of a described stacker being opened is adjusted, and makes coboundary or lower limb and the horizontal direction parallel of the analysis image that a described stacker opens; Or,
If the coboundary of the analysis image that a described stacker is opened or lower limb not with horizontal direction parallel, adjust terminal and obtain the angle of pixel, the angle that described terminal is obtained between the angle of pixel and coboundary or lower limb and the horizontal direction of the analysis image that a described stacker is opened equates.
Wherein, a stacker is in embodiments of the present invention opened for wad.
In embodiments of the present invention, obtain the photo that a stacker is opened, and obtain the analysis image that a stacker is opened from this photo, a stacker opens by multiple paper stacked groups; The analysis image that one stacker is opened is identified, and opens the amount of edge of the paper comprising to obtain a stacker; Open the amount of edge of the paper comprising according to a stacker, obtain this stacker and open the paper number comprising.Wherein, by a stacker Zhang Jinhang is taken pictures, the photo of opening according to a stacker is added up a stacker and is opened the paper number comprising, can reduce statistics one stacker and open the paper comprising and count object time, and then improve the efficiency that statistics one stacker is opened the paper number comprising.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can carry out the hardware that instruction is relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any amendment of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (19)

1. a method of adding up paper number, is characterized in that, described method comprises:
Take by camera the photo that a stacker is opened, and the photo disposal that a described stacker is opened obtains the analysis image that a described stacker is opened, a described stacker opens by multiple paper stacked groups;
The analysis image that a described stacker is opened is identified, the amount of edge of opening the paper comprising to obtain a described stacker;
The amount of edge of opening the paper comprising according to a described stacker, obtains a described stacker and opens the paper number comprising.
2. method according to claim 1, is characterized in that, describedly takes by camera the photo that a stacker is opened, and the photo disposal that a described stacker is opened obtains the analysis image that a described stacker is opened, and comprising:
Take by camera the photo that a stacker is opened, and described photo is converted to gray-scale map;
From described gray-scale map, identify the analysis image that a described stacker is opened.
3. method according to claim 1, is characterized in that, the described analysis image that a described stacker is opened is identified, and the amount of edge of opening the paper comprising to obtain a described stacker, comprising:
The analysis image that a described stacker is opened is identified, and obtains a described stacker and open the edge of the paper comprising;
Open the edge of the paper comprising according to a described stacker, obtain the amount of edge that a described stacker is opened the paper comprising.
4. method according to claim 3, is characterized in that, the described analysis image that a described stacker is opened is identified, and obtains a described stacker and open the edge of the paper comprising, comprising:
The first row pixel that the first row pixel comprising from sample band or the analysis image of opening from a described stacker comprise, obtain the gray-scale value of the one-row pixels point that analysis image that a stacker that described sample band comprises or described opens comprises, described sample band is the image of the predetermined width chosen the analysis image of opening from a described stacker, the height of described sample band is more than or equal to the height of the analysis image that a described stacker opens, and the direction of described sample band is vertical with coboundary or the lower limb of the analysis image that a described stacker is opened;
The average gray value of the one-row pixels point obtaining described in calculating according to the gray-scale value of the described one-row pixels point obtaining, if described in the one-row pixels point that obtains average gray value first preset tonal range within, the one-row pixels point obtaining described in mark;
A line of continued labelling or multirow pixel are formed to a described stacker and open the edge that a piece of paper of comprising is opened.
5. method according to claim 3, is characterized in that, the described analysis image that a described stacker is opened is identified, and obtains a described stacker and open the edge of the paper comprising, comprising:
The first row pixel that the first row pixel comprising from sample band or the analysis image of opening from a described stacker comprise, obtain the gray-scale value of the one-row pixels point that analysis image that a stacker that described sample band comprises or described opens comprises, described sample band is the image of the predetermined width chosen the analysis image of opening from a described stacker, the height of described sample band is more than or equal to the height of the analysis image that a described stacker opens, and the direction of described sample band is vertical with coboundary or the lower limb of the analysis image that a described stacker is opened;
The average gray value of the one-row pixels point obtaining described in calculating according to the gray-scale value of the described one-row pixels point obtaining;
If described in the average gray value of the one-row pixels point that obtains within the first default tonal range, the one-row pixels point obtaining described in mark;
If described in the average gray value of the one-row pixels point that obtains not within the described first default tonal range and have a line or the multirow pixel of mark in the analysis image opened of described sample band or a described stacker, a line of described mark or multirow pixel are formed to a described stacker and open the edge that a piece of paper of comprising is opened, remove the mark in the analysis image that described sample band or a described stacker open.
6. method according to claim 5, is characterized in that, the described edge of opening the paper comprising according to a described stacker, obtains the amount of edge that a described stacker is opened the paper comprising, comprising:
In the time that the described stacker of composition is opened the edge that a piece of paper of comprising opens, increase the amount of edge that a described stacker is opened the paper comprising.
7. method according to claim 1, is characterized in that, described amount of edge of opening the paper comprising according to a described stacker is obtained a described stacker and opened the paper number comprising, comprising:
Judge in the analysis image that a described stacker opens and whether comprise the direct picture that a described stacker is opened;
If so, the quantity of a described stacker being opened to the paper edge comprising deducts 1, obtains a described stacker and opens the paper number comprising;
The quantity of if not, a described stacker being opened to the paper edge comprising is defined as a described stacker and opens the paper number comprising.
8. method according to claim 4, it is characterized in that, the first row pixel that the described the first row pixel comprising from sample band or the analysis image of opening from a described stacker comprise, before obtaining the gray-scale value of the one-row pixels point that analysis image that a stacker that described sample band comprises or described opens comprises, also comprise:
If the coboundary of the analysis image that a described stacker is opened or lower limb not with horizontal direction parallel, the analysis image of a described stacker being opened is adjusted, and makes coboundary or lower limb and the horizontal direction parallel of the analysis image that a described stacker opens; Or,
If the coboundary of the analysis image that a described stacker is opened or lower limb not with horizontal direction parallel, adjust terminal and obtain the angle of pixel, the angle that described terminal is obtained between the angle of pixel and coboundary or lower limb and the horizontal direction of the analysis image that a described stacker is opened equates.
9. according to the method described in the arbitrary claim of claim 1 to 8, it is characterized in that, a described stacker is opened for wad.
10. statistics paper is counted a destination device, it is characterized in that, described device comprises:
Processing module, for take the photo that a stacker is opened by camera, and the photo disposal that a described stacker is opened obtains the analysis image that a described stacker is opened, and a described stacker opens by multiple paper stacked groups;
Identification module, the analysis image of opening for the stacker that described processing module processing is obtained is identified, the amount of edge of opening the paper comprising to obtain a described stacker;
Acquisition module, the amount of edge of opening the paper comprising for a stacker of obtaining according to described identification module, obtains a described stacker and opens the paper number comprising.
11. devices according to claim 10, is characterized in that, described processing module comprises:
Converting unit, for take the photo that a stacker is opened by camera, and is converted to gray-scale map by described photo;
The first recognition unit, identifies for the gray-scale map being converted to from described converting unit the analysis image that a described stacker is opened.
12. devices according to claim 10, is characterized in that, described identification module comprises:
The second recognition unit, the analysis image of opening for the stacker that described processing module processing is obtained is identified, and obtains a described stacker and open the edge of the paper comprising;
Acquiring unit, opens the edge of the paper comprising for obtaining a stacker according to described the second recognition unit identification, obtain the amount of edge that a described stacker is opened the paper comprising.
13. devices according to claim 12, is characterized in that, described the second recognition unit comprises:
First obtains subelement, the first row pixel comprising for the first row pixel that comprises from sample band or the analysis image opened from a described stacker, obtain the gray-scale value of the one-row pixels point that analysis image that a stacker that described sample band comprises or described opens comprises, described sample band is the image of the predetermined width chosen the analysis image of opening from a described stacker, the height of described sample band is more than or equal to the height of the analysis image that a described stacker opens, and the direction of described sample band is vertical with coboundary or the lower limb of the analysis image that a described stacker is opened;
The first mark subelement, for according to the described first average gray value that obtains the one-row pixels point obtaining described in the gray-scale value calculating of the one-row pixels point that subelement obtains, if described in the average gray value of the one-row pixels point that obtains within the first default tonal range, the one-row pixels point obtaining described in mark;
The first composition subelement, opens for a line of described the first mark subelement continued labelling or multirow pixel being formed to a described stacker edge that a piece of paper of comprising is opened.
14. devices according to claim 12, is characterized in that, described the second recognition unit comprises:
Second obtains subelement, the first row pixel comprising for the first row pixel that comprises from sample band or the analysis image opened from a described stacker, obtain the gray-scale value of the one-row pixels point that analysis image that a stacker that described sample band comprises or described opens comprises, described sample band is the image of the predetermined width chosen the analysis image of opening from a described stacker, the height of described sample band is more than or equal to the height of the analysis image that a described stacker opens, and the direction of described sample band is vertical with coboundary or the lower limb of the analysis image that a described stacker is opened;
Computation subunit, for the average gray value of the one-row pixels point that obtains described in calculating according to the described second gray-scale value that obtains the one-row pixels point that subelement obtains;
The second mark subelement, if calculate for described computation subunit described in the average gray value of the one-row pixels point that obtains within the first default tonal range, the one-row pixels point obtaining described in mark;
The second composition subelement, if described in calculating for described computation subunit the average gray value of the one-row pixels point that obtains not described first preset tonal range within and the analysis image opened of described sample band or a described stacker there is a line or the multirow pixel of mark, a line of described mark or multirow pixel are formed to a described stacker and open the edge that a piece of paper of comprising is opened, remove the mark in the analysis image that described sample band or a described stacker open.
15. devices according to claim 14, is characterized in that, described acquiring unit comprises:
Increase subelement, in the time that described second forms subelement and form a described stacker and open the edge that a piece of paper of comprising opens, increase the amount of edge that a described stacker is opened the paper comprising.
16. devices according to claim 10, is characterized in that, described acquisition module comprises:
Judging unit, for judging whether the analysis image that a described stacker is opened comprises the direct picture that a described stacker is opened;
Deduct unit, for if the quantity of a described stacker being opened to the paper edge comprising deducts 1, obtains a described stacker and opens the paper number comprising;
Determining unit, for if not, the quantity of a described stacker being opened to the paper edge comprising is defined as a stacker and opens the paper number comprising.
17. devices according to claim 13, is characterized in that, described the second recognition unit also comprises:
First adjusts subelement, if the coboundary of the analysis image of opening for a described stacker or lower limb not with horizontal direction parallel, the analysis image of a described stacker being opened is adjusted, and makes coboundary or lower limb and the horizontal direction parallel of the analysis image that a described stacker opens; Or,
If the coboundary of the analysis image that a described stacker is opened or lower limb not with horizontal direction parallel, adjust terminal and obtain the angle of pixel, the angle that described terminal is obtained between the angle of pixel and coboundary or lower limb and the horizontal direction of the analysis image that a described stacker is opened equates.
18. according to claim 10 to the device described in 17 arbitrary claims, it is characterized in that, described device is smart mobile phone.
19. 1 kinds of statistics paper are counted destination device, it is characterized in that, described device comprises storer and processor, for carrying out a kind of method of adding up paper number as described in claim as arbitrary in claim 1 to 9.
CN201310066494.9A 2013-02-28 2013-02-28 A kind of method and apparatus for counting paper number Active CN104021419B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310066494.9A CN104021419B (en) 2013-02-28 2013-02-28 A kind of method and apparatus for counting paper number

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310066494.9A CN104021419B (en) 2013-02-28 2013-02-28 A kind of method and apparatus for counting paper number

Publications (2)

Publication Number Publication Date
CN104021419A true CN104021419A (en) 2014-09-03
CN104021419B CN104021419B (en) 2017-09-19

Family

ID=51438161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310066494.9A Active CN104021419B (en) 2013-02-28 2013-02-28 A kind of method and apparatus for counting paper number

Country Status (1)

Country Link
CN (1) CN104021419B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105590318A (en) * 2015-12-16 2016-05-18 中科院广州电子技术有限公司 Laminated paper counting method and device
CN107084707A (en) * 2017-04-25 2017-08-22 南京三宝弘正视觉科技有限公司 A kind of paper production exception monitoring apparatus and method
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
CN108304910A (en) * 2018-02-27 2018-07-20 华北理工大学 A kind of slip sheet of air conditioner compressor method of counting based on machine vision
CN108830872A (en) * 2018-06-23 2018-11-16 昆山瑞琪信息科技有限公司 One kind being used for paper number of pages method of counting
CN109889682A (en) * 2019-03-20 2019-06-14 曹红娟 Mission requirements cloud handles assessment system and method
CN110737411A (en) * 2019-03-20 2020-01-31 曹红娟 Task demand cloud processing evaluation system
CN110942054A (en) * 2019-12-30 2020-03-31 福建天晴数码有限公司 Page content identification method
CN111753672A (en) * 2020-06-03 2020-10-09 宁波傲视智绘光电科技有限公司 Method for counting number of objects to be measured and related device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI257072B (en) * 2003-06-20 2006-06-21 Ind Tech Res Inst 3D color information acquisition method and device thereof
CN101901332A (en) * 2009-05-31 2010-12-01 上海点佰趣信息科技有限公司 Fingerprint identification system and method
JP5482803B2 (en) * 2010-01-28 2014-05-07 富士通株式会社 Biological information processing apparatus, biological information processing method, and biological information processing program
CN202512620U (en) * 2012-03-30 2012-10-31 上海中晶科技有限公司 Document counting device, document feeder and image capturing system

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105590318A (en) * 2015-12-16 2016-05-18 中科院广州电子技术有限公司 Laminated paper counting method and device
CN107084707A (en) * 2017-04-25 2017-08-22 南京三宝弘正视觉科技有限公司 A kind of paper production exception monitoring apparatus and method
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
CN108304910A (en) * 2018-02-27 2018-07-20 华北理工大学 A kind of slip sheet of air conditioner compressor method of counting based on machine vision
CN108830872A (en) * 2018-06-23 2018-11-16 昆山瑞琪信息科技有限公司 One kind being used for paper number of pages method of counting
CN109889682A (en) * 2019-03-20 2019-06-14 曹红娟 Mission requirements cloud handles assessment system and method
CN110737411A (en) * 2019-03-20 2020-01-31 曹红娟 Task demand cloud processing evaluation system
CN110737411B (en) * 2019-03-20 2020-12-08 上海阿塔云科技有限公司 Task demand cloud processing evaluation system
CN110942054A (en) * 2019-12-30 2020-03-31 福建天晴数码有限公司 Page content identification method
CN111753672A (en) * 2020-06-03 2020-10-09 宁波傲视智绘光电科技有限公司 Method for counting number of objects to be measured and related device
CN111753672B (en) * 2020-06-03 2023-10-03 宁波傲视智绘光电科技有限公司 Method for counting number of targets to be measured and related device

Also Published As

Publication number Publication date
CN104021419B (en) 2017-09-19

Similar Documents

Publication Publication Date Title
CN104021419A (en) Method and device for counting the number of paper
CN101908136B (en) Table identifying and processing method and system
CN108805076B (en) Method and system for extracting table characters of environmental impact evaluation report
CN111353491B (en) Text direction determining method, device, equipment and storage medium
CN103927387A (en) Image retrieval system, method and device
CN104484643A (en) Intelligent identification method and system for hand-written table
CN110751146B (en) Text region detection method, device, electronic terminal and computer readable storage medium
CN106875542B (en) Method and device for identifying paper money version
CN109271910A (en) A kind of Text region, character translation method and apparatus
CN108509988B (en) Test paper score automatic statistical method and device, electronic equipment and storage medium
CN105243729B (en) A kind of method and system for identifying bank note version
WO2019041442A1 (en) Method and system for structural extraction of figure data, electronic device, and computer readable storage medium
CN108154132A (en) A kind of identity card text extraction method, system and equipment and storage medium
CN109308465A (en) Table line detecting method, apparatus, equipment and computer-readable medium
CN108009536A (en) Scan method to go over files and system
CN109948521A (en) Image correcting error method and device, equipment and storage medium
CN112861842A (en) Case text recognition method based on OCR and electronic equipment
CN107766854A (en) It is a kind of to realize that the quick page number knows method for distinguishing based on template matches
CN115062186A (en) Video content retrieval method, device, equipment and storage medium
CN103106412B (en) Flaky medium recognition methods and recognition device
CN105095889B (en) Feature extraction, character recognition, engine generates, information determines method and device
CN104077557A (en) Method and device for acquiring card information
CN114359533A (en) Page number identification method based on page text and computer equipment
WO2017069741A1 (en) Digitized document classification
CN110796145B (en) Multi-certificate segmentation association method and related equipment based on intelligent decision

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20171107

Address after: Metro Songshan Lake high tech Industrial Development Zone, Guangdong Province, Dongguan City Road 523808 No. 2 South Factory (1) project B2 -5 production workshop

Patentee after: HUAWEI terminal (Dongguan) Co., Ltd.

Address before: 518129 Longgang District, Guangdong, Bantian HUAWEI base B District, building 2, building No.

Patentee before: Huawei Device Co., Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee after: Huawei Device Co., Ltd.

Address before: 523808 Southern Factory Building (Phase I) Project B2 Production Plant-5, New Town Avenue, Songshan Lake High-tech Industrial Development Zone, Dongguan City, Guangdong Province

Patentee before: HUAWEI terminal (Dongguan) Co., Ltd.