CN109902684A - Information acquisition method and device, equipment and storage medium - Google Patents

Information acquisition method and device, equipment and storage medium Download PDF

Info

Publication number
CN109902684A
CN109902684A CN201910172223.9A CN201910172223A CN109902684A CN 109902684 A CN109902684 A CN 109902684A CN 201910172223 A CN201910172223 A CN 201910172223A CN 109902684 A CN109902684 A CN 109902684A
Authority
CN
China
Prior art keywords
image
recognized
images
information
patterned grid
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
CN201910172223.9A
Other languages
Chinese (zh)
Other versions
CN109902684B (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.)
Suzhou Da Jia Ying Information Technology Co Ltd
Original Assignee
Suzhou Da Jia Ying Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Da Jia Ying Information Technology Co Ltd filed Critical Suzhou Da Jia Ying Information Technology Co Ltd
Priority to CN201910172223.9A priority Critical patent/CN109902684B/en
Publication of CN109902684A publication Critical patent/CN109902684A/en
Application granted granted Critical
Publication of CN109902684B publication Critical patent/CN109902684B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

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

Abstract

The embodiment of the invention discloses a kind of information acquisition method and devices, equipment and storage medium.The described method includes: obtaining image to be divided by setting patterned grid, and image to be divided is divided into the images to be recognized of setting quantity according to setting patterned grid;Determine whether each images to be recognized is effective;Obtain the corresponding image information of effective images to be recognized.The technical solution of the embodiment of the present invention solves in the prior art, the process for obtaining ID card information by image recognition is relatively complicated, it is time-consuming and laborious, reduce the technological deficiency of the working efficiency of the staff in labor service conveyor chain, it realizes and is obtained by an image, it can information that is easy, quickly and accurately obtaining multiple identity cards.

Description

Information acquisition method and device, equipment and storage medium
Technical field
The present embodiments relate to image identification technical field more particularly to a kind of information acquisition methods and device, equipment And storage medium.
Background technique
Image recognition technology is a key areas of artificial intelligence, refers to and is handled using computer image, divided Analysis and understanding, to identify the target of various different modes and to the technology of picture.Image recognition technology is in finance, security protection, exploration etc. Multiple fields play a crucial role.
In the chain of labor service conveying, the identity information of one or many a large amount of labor service personnel of acquisition is needed.Existing skill In art, generally by the image of the proof of identification (such as identity card etc.) of shooting labor service personnel, then pass through image recognition skill The identity information of art acquisition labor service personnel.Further, since existing image recognition technology is only capable of to comprising only a body The image that part proves carries out accurate image recognition, therefore, in the identity for obtaining labor service personnel by image recognition technology When information, the identity information of a labor service personnel can only be once obtained.
In the implementation of the present invention, the discovery prior art has following defects that be obtained inventor by image recognition The process of ID card information is relatively complicated, time-consuming and laborious, reduces the working efficiency of the staff in labor service conveyor chain.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of information acquisition method and devices, equipment and storage medium, with reality Now obtained by an image, it can information that is easy, quickly and accurately obtaining multiple identity cards.
In a first aspect, the embodiment of the invention provides a kind of information acquisition methods, comprising:
Image to be divided is obtained by setting patterned grid, and according to the setting patterned grid by the image to be divided It is divided into the images to be recognized of setting quantity;
Determine whether each images to be recognized is effective;
Obtain the corresponding image information of the effective images to be recognized.
In the above-mentioned methods, optionally, it is included at least in the setting patterned grid there are two division figure, it is described to set Fixed number amount is equal to the quantity of the division figure in the setting patterned grid included.
In the above-mentioned methods, optionally, it before the image to be divided by setting patterned grid acquisition, also wraps It includes:
Instruction is chosen according to the grid received, selection and institute from the customized patterned grid or patterned grid template It states grid and chooses the patterned grid of instructions match as the setting patterned grid.
In the above-mentioned methods, optionally, in selection and institute from the customized patterned grid or patterned grid template State grid choose instructions match patterned grid as the setting patterned grid before, further includes:
The patterned grid image being plotted in bearer plane in kind is obtained as image to be processed;
According to the image to be processed, the patterned grid is generated;
Customized patterned grid is set by the patterned grid of generation.
In the above-mentioned methods, optionally, customized patterned grid is set by the patterned grid of generation, comprising:
Judge whether the total quantity for the division figure for including in the patterned grid generated is less than or equal to given threshold;
It, will if the total quantity for the division figure for including in the patterned grid generated is less than or equal to the given threshold The patterned grid is set as customized patterned grid;
If the total quantity for the division figure for including in the patterned grid generated is greater than the given threshold, it is determined that institute It is invalid to state patterned grid.
In the above-mentioned methods, optionally, whether each images to be recognized of the determination is effective, comprising:
Determine in each images to be recognized whether include facial image, and/or setting text information.
In the above-mentioned methods, optionally, described to obtain the corresponding image information of the effective images to be recognized, packet It includes:
The effective images to be recognized is respectively sent to first equipment with image identification function and the second equipment;
The images to be recognized fed back respectively according to first equipment and second equipment that receive is corresponding First image recognition information and the second image recognition information determine the corresponding image information of the images to be recognized.
In the above-mentioned methods, optionally, first equipment and second equipment difference that the basis receives Corresponding first image recognition information of the images to be recognized and the second image recognition information of feedback, determine the figure to be identified As corresponding image information, comprising:
If the images to be recognized that first equipment and second equipment that receive are fed back respectively is corresponding First image recognition information and the second image recognition information are different, then the images to be recognized are sent to image recognition function The third equipment of energy;
According to the first image identification information, second image recognition information and the third equipment received The corresponding third image recognition information of the images to be recognized of feedback, determines the corresponding image information of the images to be recognized;
If the images to be recognized that first equipment and second equipment that receive are fed back respectively is corresponding First image recognition information and the second image recognition information are identical, it is determined that the corresponding image information of the images to be recognized is the One image recognition information or the second image recognition information.
In second aspect, the embodiment of the invention provides a kind of information acquisition devices, comprising:
Images to be recognized obtains module, for obtaining image to be divided by setting patterned grid, and according to the setting The image to be divided is divided into the images to be recognized of setting quantity by patterned grid;
Validity determining module, for determining whether each images to be recognized is effective;
Image information acquisition module, for obtaining the corresponding image information of the effective images to be recognized.
In the third aspect, the embodiment of the invention provides a kind of equipment, the equipment includes:
One or more processors;
Storage device, for storing one or more programs;
Camera, for acquiring image;When one or more of programs are executed by one or more of processors, make It obtains one or more of processors and realizes information acquisition method described in any embodiment of that present invention.
It is described the embodiment of the invention provides a kind of storage medium comprising computer executable instructions in fourth aspect Computer executable instructions as computer processor when being executed for executing acquisition of information described in any embodiment of that present invention Method.
The embodiment of the invention provides a kind of information acquisition method and devices, equipment and storage medium, by setting figure Grid obtains image, and divides the image according to the setting patterned grid, and then obtain the figure for dividing obtained each effective image It as information, solves in the prior art, the process for obtaining ID card information by image recognition is relatively complicated, time-consuming and laborious, drop The technological deficiency of the working efficiency of staff in low labor service conveyor chain is realized and is obtained by an image, can be with Information that is easy, quickly and accurately obtaining multiple identity cards.
Detailed description of the invention
Fig. 1 is a kind of flow chart for information acquisition method that the embodiment of the present invention one provides;
Fig. 2 a is a kind of flow chart of information acquisition method provided by Embodiment 2 of the present invention;
Fig. 2 b is the signal that identity card is put in the patterned grid provided by Embodiment 2 of the present invention drawn on paper Figure;
Fig. 2 c is that information acquisition device provided by Embodiment 2 of the present invention passes through setting patterned grid acquisition image to be divided Schematic diagram;
Fig. 2 d is that information acquisition device provided by Embodiment 2 of the present invention passes through setting patterned grid acquisition image to be divided Schematic diagram;
Fig. 3 is a kind of structure chart for information acquisition device that the embodiment of the present invention three provides;
Fig. 4 is a kind of structure chart for equipment that the embodiment of the present invention four provides.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawing to of the invention specific real Example is applied to be described in further detail.It is understood that specific embodiment described herein is used only for explaining the present invention, Rather than limitation of the invention.
It also should be noted that only the parts related to the present invention are shown for ease of description, in attached drawing rather than Full content.It should be mentioned that some exemplary embodiments are described before exemplary embodiment is discussed in greater detail At the processing or method described as flow chart.Although operations (or step) are described as the processing of sequence by flow chart, It is that many of these operations can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be by again It arranges.The processing can be terminated when its operations are completed, it is also possible to have the additional step being not included in attached drawing. The processing can correspond to method, function, regulation, subroutine, subprogram etc..
Embodiment one
Fig. 1 is the flow chart of a kind of information acquisition method that the embodiment of the present invention one provides, and the method for the present embodiment can be with It is executed by information acquisition device, which can be realized by way of hardware and/or software, and can generally be integrated in equipment In, such as tablet computer, smart phone etc..The method of the present embodiment specifically includes:
S110, image to be divided is obtained by setting patterned grid, and drawn image to be divided according to setting patterned grid It is divided into the images to be recognized of setting quantity.
In the present embodiment, what setting patterned grid specifically referred to be made of a plurality of intersecting straight lines includes multiple grid Grid typically can be the nine grids etc. being made of orthogonal horizontal line and vertical line.Included by setting in patterned grid The shape and area of grid both may be the same or different, and the present embodiment is not limited this.
Further, if the shape of grid included in setting patterned grid and area are not exactly the same, for Guarantee that the image in each grid is complete display, the shape and area between different grid should not have big difference.
In the present embodiment, the acquisition and division of image to be divided are in accordance with what setting patterned grid was completed.
Specifically, it when obtaining image to be divided, can be shown built in information acquisition device or in external display It is shown with setting patterned grid, setting patterned grid can be shown in a manner of occupying whole display as far as possible.Acquisition of information dress Image acquired in the camera set can be shown in whole display, need user by adjusting camera with it is each to be obtained The distance between object (such as identity card, business card etc.) of image, so that the image of the object of each image to be obtained is distinguished It falls into the grid of setting patterned grid.After receiving the photographing instruction, information acquisition device can obtain current in display Image (including setting patterned grid in the image).Both can be using current acquired image as image to be divided, it can also With by current acquired image, the outer edge along setting patterned grid is intercepted, and the image that interception is obtained is as wait draw Partial image, the present embodiment are not limited this.
Further, when being divided to image to be divided, (here according to the grid in setting patterned grid therein Refer to the smallest grid) image to be divided is divided.How many grid in patterned grid is set, it will be by figure to be divided As being divided into how many images to be recognized.Therefore, in order to can it is easy, quickly and accurately according to the lattice in setting patterned grid Son divides image to be divided, and the shape for setting the grid in patterned grid should not be excessively complicated, should be in meet demand It is simple as far as possible simultaneously.
In the present embodiment, setting quantity is equal to the total quantity for the grid that setting patterned grid includes.
S120, determine whether each images to be recognized is effective.
In the present embodiment, after obtaining images to be recognized, can first determine whether images to be recognized is effective, having here Effect specifically refer to content in images to be recognized whether with the object matches in image to be obtained.Illustratively, when figure to be obtained When object as in is identity card, effective images to be recognized should be the image for including facial image.
It is understood that if user needs while obtaining the certificate information of 5 identity cards, but set patterned grid In include 8 grid, then, only will include the identity card that 5 are located in different grid in image to be divided Image, after division obtains images to be recognized, just having in 3 images to be recognized does not include ID Card Image.At this point, with regard to nothing All images to be recognized need to all be carried out with the acquisition of image information.
Therefore, in the present embodiment, the determination of validity is first carried out to images to be recognized, and only to effective figure to be identified Operation as executing step S130, i.e. acquisition image information.
S130, the corresponding image information of effective images to be recognized is obtained.
In the present embodiment, it after determining the validity of images to be recognized, can be obtained by image recognition technology effective The corresponding image information of images to be recognized.Wherein, image recognition technology typically can be optical character recognition technology etc..Figure As information specifically can be the text information for including in images to be recognized, graphical information and color information etc..
Further, when the information acquisition method in through this embodiment is to obtain certificate information, due to different cards The information that part is included is different, emphasis is different, therefore, can in the corresponding image information of the effective images to be recognized of acquisition First to identify the classification of the certificate in images to be recognized, then according to the classification of certificate, image information is obtained.
The embodiment of the invention provides a kind of information acquisition methods, obtain image by setting patterned grid, and according to this Setting patterned grid divides the image, and then obtains the image information for dividing obtained each effective image, solves the prior art In, the process for obtaining ID card information by image recognition is relatively complicated, and it is time-consuming and laborious, reduce the work in labor service conveyor chain The technological deficiency for making the working efficiency of personnel is realized and is obtained by an image, can easy, quickly and accurately be obtained more Open the information of identity card.
Embodiment two
Fig. 2 a is a kind of flow chart of information acquisition method provided by Embodiment 2 of the present invention.The present embodiment is with above-mentioned implementation It is optimized based on example, in the present embodiment, gives a kind of content for embodying setting patterned grid, increase setting figure The obtaining step of grid increases the obtaining step of customized patterned grid, embodies the determination method of image validity, embodies The specific embodiment of the acquisition methods of image information.
Correspondingly, the method for the present embodiment specifically includes:
The patterned grid image that S210, acquisition are plotted in bearer plane in kind is as image to be processed.
In the present embodiment, setting patterned grid is either existing patterned grid template, can also be that user makes by oneself The patterned grid of justice.Step S210 to step S230 is the acquisition process of customized patterned grid.
In the present embodiment, customized patterned grid is not drawn by electronic equipment, by user in material object Freehandhand-drawing obtains in bearer plane (such as on paper).It is specifically described by taking paper as an example below, the following contents is equally applicable In other with plane and the carrier in kind that can draw a design.Specifically, user can on the paper of blank by pen and The drawing tools such as ruler draw satisfactory patterned grid.It wherein, is the paper of pure color for the paper of graphing grid, The preferably paper of white background.Further, for the paper of graphing grid either the biggish paper jam of hardness, It can be the A4 paper etc. of ordinary hard, the present embodiment is not limited this.Wherein, the pen for graphing grid specifically may be used It, can be by line segment that camera accurately identifies i.e. as long as can be drawn out on paper to be pencil, watercolor pencil, signature pen etc. It can.
Further, in order to be more clear image to be divided, for obtaining the customized figure of image to be divided The length-width ratio of grid should be close with the length-width ratio of display as far as possible.
In the present embodiment, image to be processed should be specifically the image for including the whole figure grid that user draws, can Not include the complete image of paper.
S220, according to image to be processed, generate patterned grid.
In the present embodiment, after obtaining image to be processed, can by image processing techniques such as OpenCV, according to It handles image and generates patterned grid, the length ratio in patterned grid generated between each line segment should be with bearer plane in kind Length ratio in the patterned grid of upper drafting between each line segment is consistent.It specifically, can be by each in patterned grid The coordinate of the starting point of line segment (refer here to minimum line segment, i.e., cannot be subdivided line segment) and terminal records the figure net Lattice.
S230, customized patterned grid is set by the patterned grid of generation.
In the present embodiment, the patterned grid that can be generated step S220, is set as customized grid.User can pass through The customized multiple patterned grids of step S210 to step S230, and the attribute of patterned grid can also be set.Example Property, the corresponding type of credential of patterned grid can be set, when obtaining the information of corresponding type of credential, corresponding customized grid It can be used as alternative setting patterned grid.
S240, instruction is chosen according to the grid that receives, chosen from customized patterned grid or patterned grid template with Grid chooses the patterned grid of instructions match as setting patterned grid, wherein there are two including at least in setting patterned grid Divide figure.
In the present embodiment, before obtaining image to be divided, user can be from customized patterned grid or existing figure The patterned grid for obtaining image to be divided is actively chosen in shape net template.
Further, it is mainly used for obtaining simultaneously in more parts of different images by information acquisition method in this present embodiment Image information, therefore, in the present embodiment, either customized patterned grid or patterned grid template have all included at least Two division figures.Wherein, it divides figure and just refers to " grid " as described in the examples set in patterned grid.
S250, image to be divided is obtained by setting patterned grid, and drawn image to be divided according to setting patterned grid It is divided into the images to be recognized of setting quantity, setting quantity is equal to the quantity of the division figure in setting patterned grid included.
In the present embodiment, how many division figure is set in patterned grid includes, will be according to each division figure True form and size, image to be divided is divided into how many a images to be recognized, each images to be recognized divided Shape and size it is identical with each division shape and size of figure respectively.
Herein it should be noted that when setting patterned grid as customized patterned grid, and customized patterned grid is By user when the image of the patterned grid of Freehandhand-drawing on paper is generated, the acquisition process of image to be divided can carry out as follows:
Firstly, the corresponding object (such as identity card) of all images to be obtained is disposably placed into above-mentioned paper respectively In each grid of the patterned grid of middle drafting, Fig. 2 b is signal that identity card is put in the patterned grid drawn on paper Figure, as shown in Figure 2 b, drawing in paper 1 has patterned grid 2, is placed with identity card A respectively extremely in each grid of patterned grid 2 I;Then the built-in or external camera and display of use information acquisition device obtains and shows the figure net of above-mentioned paper Table images, Fig. 2 c, which is information acquisition device, obtains the schematic diagram of image to be divided by setting patterned grid, exemplary in Fig. 2 c Information acquisition device is expressed as mobile terminal 3 by ground, and as shown in Figure 2 c, dashed graph grid (setting patterned grid) is by scheming The customized patterned grid that the image of patterned grid 2 in 2b generates, due to paper 1 in information acquisition device and Fig. 2 b away from From farther out, therefore the image occupied area of the patterned grid 2 in Fig. 2 c is less than dashed graph grid occupied area.Further, By customized patterned grid be generated by the image for the patterned grid drawn on above-mentioned paper, so, can pass through at this time The relative position of the camera of adjustment information acquisition device and above-mentioned paper, so that information acquisition device is built-in or external The frame for the patterned grid drawn in the frame and above-mentioned paper of shown customized patterned grid in display is completely heavy It closes, so that all line segments of the two patterned grid inside and outsides are overlapped, so that each image to be obtained is corresponding Object quickly, is correctly fallen into each grid of customized patterned grid.Fig. 2 d is that information acquisition device passes through setting figure Grid obtains the schematic diagram of image to be divided, by adjusting the opposite position of the paper 1 in the mobile terminal 3 and Fig. 2 b in Fig. 2 c It sets, so that the frame of the patterned grid 2 in the frame of the dashed graph grid in Fig. 2 c and paper 1 is completely coincident (in Fig. 2 c It is the position of the dashed graph grid in Fig. 2 c, big during the relative position of the adjustment of mobile terminal 3 and the paper 1 in Fig. 2 b Small is all constant), obtain image shown in Fig. 2 d.
On the other hand, when setting patterned grid as the patterned grid in patterned grid template, user is difficult to disposably The object of each image to be obtained is placed into position completely corresponding with the patterned grid in patterned grid template, is generally required By repeatedly adjusting, it can just determine the final placement position of the corresponding object of each image to be obtained, guarantee image to be processed Corresponding object is all correctly fallen into each grid of patterned grid, and the process is more time-consuming.
It can be seen that using the customized patterned grid in the present embodiment obtain image to be divided can greatly reduce to The lay-by time for obtaining the corresponding object of image, greatly improves the information acquisition efficiency of the corresponding object of image to be obtained. This application scenarios is conveyed for labour, the body of multiple workers is obtained using the customized patterned grid in the present embodiment Part card information, can greatly shorten the acquisition time of ID card information, improve the working efficiency of staff.
S260, determine in each images to be recognized whether include facial image or setting text information.
In the present embodiment, be by judging in images to be recognized whether to include facial image or setting text information, To determine whether images to be recognized is effective.
Specifically, if the object of current image to be obtained is identity card, due to all can be with someone on identity card Whether face image, at this time can be by judging in images to be recognized to include facial image, to determine whether images to be recognized has Effect;If the object of current image to be obtained is employee's card, due to generally can all be printed with Business Name on employee's card, this When can be by judging in images to be recognized whether to include text corresponding with Business Name, whether to judge images to be recognized Effectively.
Further, if in the object of current image to be obtained not only including facial image, but also the text including key, that Can by judge in images to be recognized whether and meanwhile include facial image and setting text information, to determine figure to be identified Seem it is no effectively, with the differentiation accuracy of this validity that images to be recognized can be improved.
S270, it effective images to be recognized is respectively sent to first equipment with image identification function and second sets It is standby.
In the present embodiment, the corresponding image information of effective images to be recognized is according to the with image identification function Image information that one equipment and the second equipment obtain respectively and determine.
In the present embodiment, after obtaining effective images to be recognized, each effective images to be recognized can be sent out respectively It send to the first equipment and the second equipment with image identification function, so that the first equipment and the second equipment are respectively to each effective Images to be recognized carry out image information identification.First equipment and the second equipment typically can be server etc..
Further, more accurate image recognition information, the first equipment and the second equipment are preferably belonging in order to obtain The equipment of different service providers.
S280, corresponding first image of images to be recognized fed back respectively according to the first equipment and the second equipment that receive Identification information and the second image recognition information determine the corresponding image information of images to be recognized.
In the present embodiment, in the images to be recognized corresponding first for receiving the first equipment and the second equipment and feeding back respectively After image recognition information and the second image recognition information, can according to the first image recognition information and the second image recognition information come It is common to determine the corresponding image information of images to be recognized.
It specifically, can be by the first image if the first image recognition information and the second image recognition information are identical Identification information or the second image recognition information are as the corresponding image information of images to be recognized;If the first image recognition information and Second image recognition information is different, then effective images to be recognized can be sent to the third with image identification function again and set It is standby, with the image information further fed back according to third equipment, finally determine the corresponding image letter of the effective images to be recognized Breath.
The embodiment of the invention provides a kind of information acquisition method, this method embodies the content of setting patterned grid, The obtaining step for increasing setting patterned grid allows user to choose matched patterned grid according to current actual demand Image information is obtained, the accuracy of image information acquisition is improved, increases the obtaining step of customized patterned grid, so that figure The acquisition modes of shape grid are more diversified, the actual demand for also allowing the shape of patterned grid to be more close to the users, tool The body determination method of image validity, improves the differentiation accuracy of images to be recognized validity, embodies image letter The acquisition methods of breath, the correctness of the image information further improved.
On the basis of the various embodiments described above, customized patterned grid is set by patterned grid, is embodied as: judgement life At patterned grid in include the total quantity of division figure whether be less than or equal to given threshold;If being wrapped in the patterned grid generated The total quantity of the division figure included is less than or equal to given threshold, then sets customized patterned grid for patterned grid;If generating Patterned grid in include division figure total quantity be greater than given threshold, it is determined that patterned grid is invalid.
It is understood that the size due to display is limited, it is unsuitable primary in order to guarantee the clarity of image to be divided Property obtain the information of object in excessive image to be obtained, therefore, the total quantity for the division figure for including in patterned grid It is just unsuitable excessive.
So in the present embodiment, it, can be according to the division figure for including in the patterned grid after generating patterned grid Total quantity and given threshold size relation, whether correct determine the patterned grid, if correctly, just can be by the patterned grid It is set as customized patterned grid.
The benefit being arranged in this way is: it ensure that the clarity of the image to be divided obtained by customized patterned grid, into And improve the accuracy of the image information identification of images to be recognized.
On the basis of the various embodiments described above, by according to the first equipment for receiving and the second equipment feed back respectively wait know Corresponding first image recognition information of other image and the second image recognition information, determine the corresponding image information of images to be recognized, It is embodied as: if corresponding first image recognition of images to be recognized that the first equipment and the second equipment that receive are fed back respectively Images to be recognized, then is sent to the third equipment with image identification function by information and the second image recognition information difference;Root Images to be recognized according to the first image recognition information, the second image recognition information and the third equipment feedback received is corresponding Third image recognition information determines the corresponding image information of images to be recognized;If the first equipment and the second equipment that receive Corresponding first image recognition information of the images to be recognized fed back respectively and the second image recognition information are identical, it is determined that be identified The corresponding image information of image is the first image recognition information or the second image recognition information.
In the present embodiment, it when the first image recognition information and the second image recognition information difference, then will continue to have The images to be recognized of effect is sent to the third equipment with image identification function, is obtained with obtaining after third equipment carries out image recognition The image information arrived.Then, then simultaneously according to the first image recognition information, the second image recognition information and third image recognition Information determines the corresponding image information of images to be recognized jointly.
Further, the equipment that the first equipment, the second equipment and third equipment are preferably belonging to different service providers.
The benefit being arranged in this way is: improving the accuracy of image information.
Embodiment three
Fig. 3 is a kind of structure chart for information acquisition device that the embodiment of the present invention three provides.As shown in figure 3, described device It include: that images to be recognized obtains module 301, validity determining module 302 and image information acquisition module 303, in which:
Images to be recognized obtains module 301, for obtaining image to be divided by setting patterned grid, and is schemed according to setting Image to be divided is divided into the images to be recognized of setting quantity by shape grid;
Validity determining module 302, for determining whether each images to be recognized is effective;
Image information acquisition module 303, for obtaining the corresponding image information of effective images to be recognized.
The embodiment of the invention provides a kind of information acquisition device, which passes through images to be recognized first and obtains module 301 obtain image to be divided by setting patterned grid, and image to be divided is divided into setting number according to setting patterned grid Then the images to be recognized of amount determines whether each images to be recognized is effective by validity determining module 302, finally by figure As data obtaining module 303 obtains the corresponding image information of effective images to be recognized.
Which solves in the prior art, the process for obtaining ID card information by image recognition is relatively complicated, time-consuming Arduously, the technological deficiency for reducing the working efficiency of the staff in labor service conveyor chain is realized and is obtained by an image It takes, it can information that is easy, quickly and accurately obtaining multiple identity cards.
On the basis of the various embodiments described above, setting in patterned grid at least may include that there are two divide figure, setting Quantity can be equal to the quantity of the division figure in setting patterned grid included.
On the basis of the various embodiments described above, can also include:
Patterned grid determining module is set, for before obtaining image to be divided by setting patterned grid, according to connecing The grid received chooses instruction, and the figure that instructions match is chosen with grid is chosen from customized patterned grid or patterned grid template Shape grid is as setting patterned grid.
On the basis of the various embodiments described above, can also include:
Image collection module to be processed, for being chosen from customized patterned grid or patterned grid template and grid choosing Before the matched patterned grid of instruction fetch is as setting patterned grid, the patterned grid figure being plotted in bearer plane in kind is obtained As being used as image to be processed;
Patterned grid obtains module, for generating patterned grid according to image to be processed;
Customized patterned grid determining module, for setting customized patterned grid for the patterned grid of generation.
On the basis of the various embodiments described above, customized patterned grid determining module may include:
Judging unit, for judging whether the total quantity for the division figure for including in the patterned grid generated is less than or equal to set Determine threshold value;
Customized patterned grid setting unit, if for generation patterned grid in include division figure total quantity it is small In being equal to given threshold, then customized patterned grid is set by patterned grid;
The invalid module of grid is determined, if the total quantity for the division figure for including in the patterned grid for generation is greater than setting Threshold value, it is determined that patterned grid is invalid.
On the basis of the various embodiments described above, validity determining module 302 specifically can be used for:
Determine in each images to be recognized whether include facial image, and/or setting text information.
On the basis of the various embodiments described above, image information acquisition module 303 be can specifically include:
Image transmission unit, for being respectively sent to have the first of image identification function to set effective images to be recognized Standby and the second equipment;
Image information determination unit, the figure to be identified for being fed back respectively according to the first equipment and the second equipment that receive As corresponding first image recognition information and the second image recognition information, the corresponding image information of images to be recognized is determined.
On the basis of the various embodiments described above, image information determination unit may include:
Images to be recognized transmission sub-unit, if the first equipment and the second equipment for receiving feed back respectively wait know Corresponding first image recognition information of other image and the second image recognition information are different, then being sent to images to be recognized has figure As the third equipment of identification function;
First image information determines subelement, for according to the first image recognition information, the second image recognition information and The corresponding third image recognition information of images to be recognized of the third equipment feedback received, determines the corresponding figure of images to be recognized As information;
Second image information determines subelement, if the first equipment and the second equipment for receiving feed back respectively to Identify that corresponding first image recognition information of image and the second image recognition information are identical, it is determined that the corresponding figure of images to be recognized As information is the first image recognition information or the second image recognition information.
Information acquisition device provided by the embodiment of the present invention can be used for executing the information of any embodiment of that present invention offer Acquisition methods have corresponding functional module, realize identical beneficial effect.
Example IV
Fig. 4 is a kind of structural schematic diagram for equipment that the embodiment of the present invention four provides.Fig. 4, which is shown, to be suitable for being used to realizing this The block diagram of the example devices 12 of invention embodiment.The equipment 12 that Fig. 4 is shown is only an example, should not be to of the invention real The function and use scope for applying example bring any restrictions.
As shown in figure 4, equipment 12 is showed in the form of universal computing device.The component of equipment 12 may include but unlimited In one or more processor or processing unit 16, system storage 28, connecting different system components, (including system is deposited Reservoir 28 and processing unit 16) bus 18, camera 17.
Bus 18 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Equipment 12 typically comprises a variety of computer system readable media.These media can be it is any can be by equipment 12 The usable medium of access, including volatile and non-volatile media, moveable and immovable medium.
System storage 28 may include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Equipment 12 may further include it is other it is removable/nonremovable, Volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing irremovable , non-volatile magnetic media (Fig. 4 do not show, commonly referred to as " hard disk drive ").Although not shown in fig 4, use can be provided In the disc driver read and write to removable non-volatile magnetic disk (such as " floppy disk "), and to removable anonvolatile optical disk The CD drive of (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver can To be connected by one or more data media interfaces with bus 18.Memory 28 may include at least one program product, The program product has one group of (for example, at least one) program module, these program modules are configured to perform each implementation of the invention The function of example.
Program/utility 40 with one group of (at least one) program module 42 can store in such as memory 28 In, such program module 42 include but is not limited to operating system, one or more application program, other program modules and It may include the realization of network environment in program data, each of these examples or certain combination.Program module 42 is usual Execute the function and/or method in embodiment described in the invention.
Camera 17 is for acquiring image.The image that camera 17 obtains can with through the processing unit 16, bus 18 and Input/output (I/O) interface 22 is sent to external display 24 and is shown.
Equipment 12 can also be communicated with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.), Can also be enabled a user to one or more equipment interacted with the equipment 12 communication, and/or with enable the equipment 12 with One or more of the other any equipment (such as network interface card, modem etc.) communication for calculating equipment and being communicated.It is this logical Letter can be carried out by input/output (I/O) interface 22.Also, equipment 12 can also by network adapter 20 and one or The multiple networks of person (such as local area network (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown, Network adapter 20 is communicated by bus 18 with other modules of equipment 12.It should be understood that although not shown in the drawings, can combine Equipment 12 use other hardware and/or software module, including but not limited to: microcode, device driver, redundant processing unit, External disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 by the program that is stored in system storage 28 of operation, thereby executing various function application and Data processing, such as realize information acquisition method provided by the embodiment of the present invention.Namely: by setting patterned grid obtain to Image is divided, and the image to be divided is divided into the images to be recognized of setting quantity according to the setting patterned grid;Really Whether fixed each images to be recognized is effective;Obtain the corresponding image information of the effective images to be recognized.
Embodiment five
The embodiment of the present invention five additionally provides a kind of storage medium comprising computer executable instructions, and the computer can It executes instruction when being executed as computer processor for executing information acquisition method described in the embodiment of the present invention.Namely: it is logical It crosses setting patterned grid and obtains image to be divided, and the image to be divided is divided by setting according to the setting patterned grid The images to be recognized of quantity;Determine whether each images to be recognized is effective;It is corresponding to obtain the effective images to be recognized Image information.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device, or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes: tool There are electrical connection, the portable computer diskette, hard disk, random access memory (RAM), read-only memory of one or more conducting wires (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.? Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (11)

1. a kind of information acquisition method characterized by comprising
Image to be divided is obtained by setting patterned grid, and is divided the image to be divided according to the setting patterned grid For the images to be recognized for setting quantity;
Determine whether each images to be recognized is effective;
Obtain the corresponding image information of the effective images to be recognized.
2. the method according to claim 1, wherein including at least in the setting patterned grid, there are two divide Figure, the setting quantity are equal to the quantity of the division figure in the setting patterned grid included.
3. the method according to claim 1, wherein obtaining image to be divided by setting patterned grid described Before, further includes:
Instruction is chosen according to the grid received, is chosen and the net from the customized patterned grid or patterned grid template Lattice choose the patterned grid of instructions match as the setting patterned grid.
4. according to the method described in claim 3, it is characterized in that, from the customized patterned grid or patterned grid template Before the patterned grid of middle selection and grid selection instructions match is as the setting patterned grid, further includes:
The patterned grid image being plotted in bearer plane in kind is obtained as image to be processed;
According to the image to be processed, the patterned grid is generated;
Customized patterned grid is set by the patterned grid of generation.
5. according to the method described in claim 4, it is characterized in that, setting customized figure for the patterned grid of generation Grid, comprising:
Judge whether the total quantity for the division figure for including in the patterned grid generated is less than or equal to given threshold;
It, will be described if the total quantity for the division figure for including in the patterned grid generated is less than or equal to the given threshold Patterned grid is set as customized patterned grid;
If the total quantity for the division figure for including in the patterned grid generated is greater than the given threshold, it is determined that the figure Shape grid is invalid.
6. the method according to claim 1, wherein whether each images to be recognized of the determination is effective, Include:
Determine in each images to be recognized whether include facial image, and/or setting text information.
7. the method according to claim 1, wherein described obtain the corresponding figure of the effective images to be recognized As information, comprising:
The effective images to be recognized is respectively sent to first equipment with image identification function and the second equipment;
The images to be recognized corresponding first fed back respectively according to first equipment and second equipment that receive Image recognition information and the second image recognition information determine the corresponding image information of the images to be recognized.
8. the method according to the description of claim 7 is characterized in that first equipment and described that the basis receives Corresponding first image recognition information of the images to be recognized that two equipment are fed back respectively and the second image recognition information, determine institute State the corresponding image information of images to be recognized, comprising:
If the images to be recognized corresponding first that first equipment and second equipment that receive are fed back respectively Image recognition information and the second image recognition information are different, then the images to be recognized are sent to image identification function Third equipment;
According to the first image identification information, second image recognition information and the third equipment feedback received The corresponding third image recognition information of the images to be recognized, determine the corresponding image information of the images to be recognized;
If the images to be recognized corresponding first that first equipment and second equipment that receive are fed back respectively Image recognition information and the second image recognition information are identical, it is determined that the corresponding image information of the images to be recognized is the first figure As identification information or the second image recognition information.
9. a kind of information acquisition device characterized by comprising
Images to be recognized obtains module, for obtaining image to be divided by setting patterned grid, and according to the setting figure The image to be divided is divided into the images to be recognized of setting quantity by grid;
Validity determining module, for determining whether each images to be recognized is effective;
Image information acquisition module, for obtaining the corresponding image information of the effective images to be recognized.
10. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs;
Camera, for acquiring image;
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as information acquisition method of any of claims 1-8.
11. a kind of storage medium comprising computer executable instructions, the computer executable instructions are by computer disposal For executing such as information acquisition method of any of claims 1-8 when device executes.
CN201910172223.9A 2019-03-07 2019-03-07 Information acquisition method and device, equipment and storage medium Active CN109902684B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910172223.9A CN109902684B (en) 2019-03-07 2019-03-07 Information acquisition method and device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910172223.9A CN109902684B (en) 2019-03-07 2019-03-07 Information acquisition method and device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109902684A true CN109902684A (en) 2019-06-18
CN109902684B CN109902684B (en) 2022-03-18

Family

ID=66946773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910172223.9A Active CN109902684B (en) 2019-03-07 2019-03-07 Information acquisition method and device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109902684B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1667640A (en) * 2004-03-12 2005-09-14 松下电器产业株式会社 Multi-identification method and multi-identification apparatus
CN1691736A (en) * 2004-04-23 2005-11-02 联想(北京)有限公司 A method for scanning photographs
CN102243739A (en) * 2011-07-04 2011-11-16 中国建设银行股份有限公司 Mobile-phone bank payment method, mobile-phone bank payment system and mobile-phone bank client based on two-dimension code
CN102880850A (en) * 2012-09-19 2013-01-16 腾讯科技(深圳)有限公司 Batch scanning method of two-dimensional codes, and scanning equipment
CN103955660A (en) * 2014-04-22 2014-07-30 广州闪购软件服务有限公司 Method for recognizing batch two-dimension code images
US20160055393A1 (en) * 2014-08-22 2016-02-25 International Business Machines Corporation Protecting Specific Information
CN106156675A (en) * 2015-04-09 2016-11-23 阿里巴巴集团控股有限公司 A kind of method and device obtaining 2 D code information
CN109241806A (en) * 2018-08-10 2019-01-18 北京龙贝世纪科技股份有限公司 A kind of multi-code recognition methods and identifying system simultaneously

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1667640A (en) * 2004-03-12 2005-09-14 松下电器产业株式会社 Multi-identification method and multi-identification apparatus
CN1691736A (en) * 2004-04-23 2005-11-02 联想(北京)有限公司 A method for scanning photographs
CN102243739A (en) * 2011-07-04 2011-11-16 中国建设银行股份有限公司 Mobile-phone bank payment method, mobile-phone bank payment system and mobile-phone bank client based on two-dimension code
CN102880850A (en) * 2012-09-19 2013-01-16 腾讯科技(深圳)有限公司 Batch scanning method of two-dimensional codes, and scanning equipment
CN103955660A (en) * 2014-04-22 2014-07-30 广州闪购软件服务有限公司 Method for recognizing batch two-dimension code images
US20160055393A1 (en) * 2014-08-22 2016-02-25 International Business Machines Corporation Protecting Specific Information
CN106156675A (en) * 2015-04-09 2016-11-23 阿里巴巴集团控股有限公司 A kind of method and device obtaining 2 D code information
CN109241806A (en) * 2018-08-10 2019-01-18 北京龙贝世纪科技股份有限公司 A kind of multi-code recognition methods and identifying system simultaneously

Also Published As

Publication number Publication date
CN109902684B (en) 2022-03-18

Similar Documents

Publication Publication Date Title
US9741137B2 (en) Image-based color palette generation
US9396560B2 (en) Image-based color palette generation
US9311889B1 (en) Image-based color palette generation
US20220237812A1 (en) Item display method, apparatus, and device, and storage medium
WO2021196389A1 (en) Facial action unit recognition method and apparatus, electronic device, and storage medium
CN107885430B (en) Audio playing method and device, storage medium and electronic equipment
US9734591B2 (en) Image data processing method and electronic device supporting the same
CN106303599B (en) Information processing method, system and server
CN111429338B (en) Method, apparatus, device and computer readable storage medium for processing video
CN109150990B (en) Take down notes sharing method, equipment and computer storage medium
CN110263792B (en) Image recognizing and reading and data processing method, intelligent pen, system and storage medium
CN110232111A (en) A kind of text display method, device and terminal device
CN107766349A (en) A kind of method, apparatus, equipment and client for generating text
US20210390299A1 (en) Techniques to determine document recognition errors
CN112380566A (en) Method, apparatus, electronic device, and medium for desensitizing document image
JP2019215593A (en) Image processing apparatus, image processing method, image processing program and recording medium storing program thereof
CN109598250A (en) Feature extracting method, device, electronic equipment and computer-readable medium
CN111753744A (en) Method, device and equipment for classifying bill images and readable storage medium
CN109902684A (en) Information acquisition method and device, equipment and storage medium
US20220392243A1 (en) Method for training text classification model, electronic device and storage medium
WO2020124442A1 (en) Pushing method and related product
CN109829516A (en) Image processing method and device, equipment and storage medium
CN114494751A (en) License information identification method, device, equipment and medium
CN108229378A (en) Face image data generation method and device, computer storage media, terminal
CN111160265A (en) File conversion method and device, storage medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant