[go: up one dir, main page]

CN104899572B - The method, apparatus and terminal of detection content - Google Patents

The method, apparatus and terminal of detection content Download PDF

Info

Publication number
CN104899572B
CN104899572B CN201510331116.8A CN201510331116A CN104899572B CN 104899572 B CN104899572 B CN 104899572B CN 201510331116 A CN201510331116 A CN 201510331116A CN 104899572 B CN104899572 B CN 104899572B
Authority
CN
China
Prior art keywords
scan image
content
relevant information
presumptive area
detection
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.)
Active
Application number
CN201510331116.8A
Other languages
Chinese (zh)
Other versions
CN104899572A (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.)
Samsung Electronics China R&D Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics China R&D Center
Samsung Electronics 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 Samsung Electronics China R&D Center, Samsung Electronics Co Ltd filed Critical Samsung Electronics China R&D Center
Priority to CN201510331116.8A priority Critical patent/CN104899572B/en
Publication of CN104899572A publication Critical patent/CN104899572A/en
Application granted granted Critical
Publication of CN104899572B publication Critical patent/CN104899572B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/41Analysis of document content
    • G06V30/414Extracting the geometrical structure, e.g. layout tree; Block segmentation, e.g. bounding boxes for graphics or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/22Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Artificial Intelligence (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

This application discloses the method, apparatus of detection content and terminals.One specific embodiment of the method includes: the scan image for obtaining content to be detected, wherein the scan image meets scheduled space of a whole page distribution rule;Identify and extract the content of presumptive area in the scan image;Judge whether the content of the presumptive area meets corresponding pre-defined rule;If not, the presumptive area is determined as zone errors;The zone errors are identified.The embodiment realizes the detection that automatically a large amount of contents to be detected are carried out with format or content, improves the accuracy detected to content and detection efficiency.

Description

The method, apparatus and terminal of detection content
Technical field
This application involves field of computer technology, and in particular to the method for field of terminal technology more particularly to detection content, Device and terminal.
Background technique
In daily life and work, people need to fill in a large amount of stencil-type document, such as some contracts, important public affairs Text, document, bill, Product labelling etc., these documents all have the stringent requirement for filling in rule and format, if filling in In the process, it is not filled according to the requirement of regulation, then it is invalid to may cause the information filled in.Therefore, all as above in completion After stating content, the content of completion is detected, to determine whether some information in the content completed are effective.
In the prior art, it usually relies on and manually the content of these documents is checked, but the quantity of these documents is past Past very huge, if only going to check by manpower, workload will be very big, and be easy to appear mistake, so that checking inefficiency.
Summary of the invention
This application provides a kind of method, apparatus of detection content and terminals.
In a first aspect, this application provides a kind of methods of detection content, which comprises obtain content to be detected Scan image, wherein the scan image meets scheduled space of a whole page distribution rule;It identifies and extracts in the scan image and make a reservation for The content in region;Judge whether the content of the presumptive area meets corresponding pre-defined rule;If not, by the presumptive area It is determined as zone errors;The zone errors are identified.
In some embodiments, the corresponding detection relevant information of the scan image is determined based on the operation of user;Or Person determines corresponding detection relevant information with analysis based on the identification to the scan image;Wherein, the detection relevant information Including location information of the presumptive area in scan image and corresponding to the pre-defined rule of the presumptive area.
In some embodiments, the operation based on user determines the related letter of the corresponding detection of the scan image Breath, comprising: it is related that the detection relevant information that user is arranged by operation interface is determined as the corresponding detection of the scan image Information;Or the scanning figure is determined by the contents attribute corresponding to the scan image that operation interface selects according to user As corresponding detection relevant information.
In some embodiments, the identification based on to the scan image determines that corresponding detection is related to analysis Information, comprising: identify subregional content in the middle part of the scan image;The keyword that content according to the partial region includes Determine the contents attribute of the scan image;The corresponding detection relevant information of the contents attribute of the scan image is determined as institute State the corresponding detection relevant information of scan image.
In some embodiments, the method also includes: lookup foundation for the image that searches problem is provided, it is described to ask Topic image is the scan image comprising zone errors.
Second aspect, this application provides a kind of device of detection content, described device includes: acquiring unit, for obtaining Take the scan image of content to be detected, wherein the scan image meets scheduled space of a whole page distribution rule;Identify extraction unit, For identification and extract the content of presumptive area in the scan image that the acquiring unit obtains;Judging unit, for judging Whether the content for stating the presumptive area that identification extraction unit extracts meets corresponding pre-defined rule;Determination unit, for that will be discontented with The presumptive area of the corresponding pre-defined rule of foot is determined as zone errors;Unit is identified, for carrying out to the zone errors Mark.
In some embodiments, described device further include: detection relevant information determination unit;The detection relevant information Determination unit determines the corresponding detection relevant information of the scan image for the operation based on user;Or based on to described The identification of scan image determines corresponding detection relevant information with analysis;Wherein, the detection relevant information includes presumptive area Location information in scan image and the pre-defined rule corresponding to the presumptive area.
In some embodiments, the detection relevant information determination unit is configured to: user is passed through operation interface The detection relevant information of setting is determined as the corresponding detection relevant information of the scan image;Or operation circle is passed through according to user The contents attribute corresponding to the scan image of face selection determines the corresponding detection relevant information of the scan image.
In some embodiments, the detection relevant information determination unit is configured to: being identified in the scan image The content of partial region;The keyword that content according to the partial region includes determines the contents attribute of the scan image; The corresponding detection relevant information of the contents attribute of the scan image is determined as the related letter of the corresponding detection of the scan image Breath.
In some embodiments, described device further include: search according to unit, for providing for the image that searches problem Lookup foundation, described problem image be the scan image comprising zone errors.
The third aspect, this application provides a kind of terminal, the terminal includes: processor, user interface, communication interface; Wherein, the processor controls the scan image that the communication interface obtains content to be detected, and the processor is identified and extracted The content of presumptive area in the scan image, judges whether the content of the presumptive area meets corresponding pre-defined rule, will The presumptive area for being unsatisfactory for corresponding pre-defined rule is determined as zone errors, and is identified to the zone errors;Institute It states user interface to interact for user with the terminal, the user interface includes at least display component, the processor Control the scan image that the display component shows the content to be detected after being identified to the zone errors;Wherein, The scan image meets scheduled space of a whole page distribution rule.
In some embodiments, the processor controls the operation information that the user interface obtains user, the place It manages device and the corresponding detection relevant information of the scan image is determined based on the operation information of the user;Or the processor base Corresponding detection relevant information is determined with analysis in the identification to the scan image;Wherein, the detection relevant information includes Location information of the presumptive area in scan image and the pre-defined rule corresponding to the presumptive area.
The method, apparatus and terminal of detection content provided by the present application are known by obtaining the scan image of content to be detected Content that is other and extracting presumptive area in scan image, is determined as error-zone for the presumptive area for being unsatisfactory for corresponding pre-defined rule Domain, and zone errors are identified.To realize the detection that automatically a large amount of contents to be detected are carried out with format or content, mention The high accuracy that content is detected and detection efficiency.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is the flow chart of one embodiment of the method for detection content provided by the embodiments of the present application;
Fig. 2 is the interface schematic diagram of one embodiment of detection relevant information set interface provided by the embodiments of the present application;
Fig. 3 is the interface signal of another embodiment of detection relevant information set interface provided by the embodiments of the present application Figure;
Fig. 4, which is that the identification provided by the embodiments of the present application based on to scan image is related to the determining corresponding detection of analysis, to be believed The flow chart of one embodiment of the method for breath;
Fig. 5 is the structural schematic diagram of one embodiment of the device of detection content provided by the embodiments of the present application;
Fig. 6 is the structural schematic diagram of one embodiment of terminal provided by the embodiments of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Terminal involved in the application can identify image.Purpose and for simplicity is described for example, is being connect In the discussion got off, the exemplary embodiment of the application is described in conjunction with that can identify the terminal of image.Terminal may include but It is not limited to smart phone, tablet computer, pocket computer on knee and desktop computer etc..
Referring to FIG. 1, it illustrates the processes 100 according to one embodiment of the method for the detection content of the application.
As shown in Figure 1, in a step 101, obtaining the scan image of content to be detected, wherein above-mentioned scan image meets Scheduled space of a whole page distribution rule.
In general, the partial content of such as some contracts and important official document, document, bill, Product labelling etc. all have There is the stringent requirement for filling in rule and format, if do not filled in during filling in, then may be used according to the requirement of regulation The information filled in can be caused invalid.Therefore, after completing such as above content, the content of completion is detected, with true Whether some information in the content completed surely are effective.
In the present embodiment, content to be detected is to need detected content, content to be detected can be a document or The full content or partial content of bill are also possible to the full content or partial content of text document (contract or official document etc.), It can also be the content etc. of Product labelling.It is appreciated that content to be detected can also be the content of other forms, the application couple The concrete form and particular content of content to be detected do not limit.
In one implementation, the image scanning that can have the function of by terminal itself is treated detection content and is directly carried out Scanning, to obtain the scan image of content to be detected.In another implementation, can also obtain that other equipment have scanned to The scan image of detection content, for example, the scan image for the content to be detected that other equipment upload is received by communication interface, or Person obtains the scan image of stored content to be detected from storage equipment, or downloads content to be detected from specified address Scan image, etc..It is appreciated that the scan image of content to be detected, the application couple can also be obtained by another way The concrete mode for obtaining above-mentioned scan image does not limit.
In the present embodiment, above-mentioned scan image will meet scheduled space of a whole page distribution rule, wherein space of a whole page distribution rule is Distribution rule of the content on the space of a whole page of scan image in scan image.For example, scheduled space of a whole page distribution rule can be and sweep The center of content area of the tracing as in is overlapped with the center of the scan image space of a whole page, the content area being also possible in scan image Center and the distance between the top edge of the scan image space of a whole page be predetermined value.It is appreciated that scheduled space of a whole page distribution rule is also It can be other contents, the application does not limit the particular content of space of a whole page distribution rule.
Then, in a step 102, identify and extract the content of presumptive area in above-mentioned scan image.
In the present embodiment, one or more presumptive areas, the content of presumptive area be may include in a scan image The content filled in strict accordance with the requirement for filling in rule and format is needed in content as to be detected.For example, the label in certain file Name region and date fill in region etc..Presumptive area can be pre- in conjunction with content to be detected and scheduled space of a whole page distribution rule First set.
In the present embodiment, the location information of presumptive area is obtained first, it is then, true according to the location information of presumptive area Determine presumptive area, identified by pictograph identification technology and extracts the content of presumptive area in above-mentioned scan image.One In kind implementation, it can be identified using OCR (Optical Character Recognition, optical character identification) technology The content of presumptive area in scan image.It is appreciated that presumptive area in scan image can also be identified in other manners Content, the application do not limit the mode of presumptive area in identification scan image.
Then, in step 103, judge whether the content of above-mentioned presumptive area meets corresponding pre-defined rule.
In the present embodiment, one or more presumptive areas be may include in a scan image, each different makes a reservation for Region can correspond to different pre-defined rules.Wherein, pre-defined rule for the content of the presumptive area content to be met rule Or rule of format etc..For example, the content that pre-defined rule can be presumptive area is unable to blank, the word in presumptive area can be Accord with quantity cannot more than one predetermined threshold, be also possible in the content of presumptive area must comprising certain keyword/keyword, or It cannot include certain keyword/keyword in the content of person's presumptive area, the content for being also possible to presumptive area has to comply with certain Canonical format can also be that the numerical value for the number for including in the content of presumptive area must be in predetermined range etc..It can be with Understand, pre-defined rule can also be that the rule of other contents, the application do not limit the particular content of pre-defined rule.
It should be noted that can by detect relevant information determine location information of the presumptive area in scan image with And pre-defined rule corresponding with the presumptive area.Scan image with different contents attributes corresponds to different detection correlation letters Breath, as certain contract detection relevant information corresponding from the scan image of certain invoice is different.Wherein, detection relevant information includes at least Location information of the presumptive area in scan image and the pre-defined rule corresponding to the presumptive area.
In a kind of realization of the present embodiment, the related letter of the corresponding detection of scan image can be determined based on the operation of user Breath.Specifically, the detection relevant information that user is arranged by operation interface can be determined as above-mentioned scan image corresponding Detect relevant information.For example, as shown in Fig. 2, providing multiple sweeping corresponding to different content attribute in operation interface 201 The detection relevant information template 202 of tracing picture.Using 203 mark of presumptive area mark in each detection relevant information template 202 Position of the presumptive area in the space of a whole page out, also, user (such as can be put the cursor of mouse by the operation in operation interface In detection relevant information template etc.) check the corresponding pre-defined rule of presumptive area.User can be according to the content of scan image Attribute selects suitable detection relevant information template in operation interface, so that it is determined that the related letter of the corresponding detection of scan image Breath.
It should be noted that space of a whole page distribution of the contents attribute of scan image for content to be detected corresponding to scan image And the attribute of format, such as the content of invoice and the corresponding different contents attribute of the content of label, with the not same page of portion contract Content corresponds to different contents attributes, and the arrange content of different invoices of two spaces of a whole page corresponds to different contents attributes etc..
In another example as shown in figure 3, showing the scan image 302, Yong Huke of content to be detected in operation interface 301 With the scan image 302 based on content to be detected, position of the presumptive area 303 in the space of a whole page is marked in operation interface 301, and Input pre-defined rule corresponding with presumptive area.To obtain the corresponding detection relevant information of scan image.
It can also determine that this is swept by the contents attribute corresponding to above-mentioned scan image that operation interface selects according to user Tracing is as corresponding detection relevant information.Specifically, the scan image with different contents attributes corresponds to different detections Relevant information.In operation interface, the contents attribute of different scan images is provided a user, user can be in operation interface Selection corresponds to the contents attribute of the scan image of content to be detected.According to the contents attribute of above-mentioned scan image, from having stored Data in obtain corresponding with scan image detection relevant information.
In another realization of the present embodiment, it is corresponding with analysis determination to be also based on the identification to above-mentioned scan image Detection relevant information.With reference to Fig. 4, it illustrates determine corresponding detection phase with analysis based on the identification to above-mentioned scan image Close the process 400 of one embodiment of the method for information.
As shown in figure 4, in step 401, subregional content in the middle part of identification scan image.
In general, the contents attribute of scan image can be determined according to content subregional in the middle part of scan image.For example, It can be according to the title of the content in scan image or keyword/keyword of a certain section of content, to determine scan image Contents attribute.Therefore, the content that the region of contents attribute of scan image is arbitrarily able to reflect in scan image can be identified.It can To understand, the application does not limit the specific location and range of partial region.In the present embodiment, can be known using OCR technique Subregional content in the middle part of other scan image.
In step 402, the content category of the scan image is determined according to the keyword that the content of above-mentioned partial region includes Property.
In step 403, the corresponding detection relevant information of the contents attribute of above-mentioned scan image is determined as the scanning figure As corresponding detection relevant information.
Then, at step 104, if the content of presumptive area is unsatisfactory for corresponding pre-defined rule, by the presumptive area It is determined as zone errors.
In the present embodiment, if the content of presumptive area is unsatisfactory for corresponding pre-defined rule, illustrate presumptive area Content is not able to satisfy the rule of scheduled content or the rule of format etc..Therefore, detect that the content of the presumptive area is invalid Content, which is determined as zone errors.
Finally, in step 105, being identified to above-mentioned zone errors.
In the present embodiment, after detecting zone errors, which is identified.For example, can be by mistake Region is highlighted, and can also be identified using designated color to zone errors, can also be used dotted line frame or thick line Frame marks off zone errors, etc..It is appreciated that above-mentioned zone errors can also be identified in other manners, The application does not limit mode used by mark zone errors.
The method provided by the above embodiment of the application is identified and is extracted by obtaining the scan image of content to be detected The presumptive area for being unsatisfactory for corresponding pre-defined rule is determined as zone errors by the content of presumptive area in scan image, and right Zone errors are identified.To realize the detection that automatically a large amount of contents to be detected are carried out with formats or content, improve pair The accuracy and detection efficiency that content is detected.
In some optional embodiments, the above method further include: the lookup foundation for the image that searches problem is provided, it should Problem image is the scan image comprising zone errors.
In the present embodiment, after detecting zone errors, other than needing to be identified zone errors, it is also necessary to The lookup foundation for searching the scan image (i.e. problem image) comprising zone errors is provided a user, so that user finds out The image file of problem image.Wherein, it can be the identification information of problem image (such as the lookup foundation for the image that searches problem The file name etc. of problem image), it is also possible to the chained address of the file of problem image, it will be understood that above-mentioned lookup foundation The particular content and form of above-mentioned lookup foundation can not also be limited for other interior perhaps form, the application.
It should be noted that although describing the operation of the method for the present invention in the accompanying drawings with particular order, this is not required that Or hint must execute these operations in this particular order, or have to carry out operation shown in whole and be just able to achieve the phase The result of prestige.On the contrary, the step of describing in flow chart can change and execute sequence.Additionally or alternatively, it is convenient to omit certain Multiple steps are merged into a step and executed, and/or a step is decomposed into execution of multiple steps by step.
With further reference to Fig. 5, it illustrates the structures of one embodiment according to the device of the detection content of the application to show It is intended to.
As shown in figure 5, the device 500 of the present embodiment includes: acquiring unit 501, extraction unit 502, judging unit are identified 503, determination unit 504 and mark unit 505.Wherein, acquiring unit 501 is used to obtain the scan image of content to be detected, In, which meets scheduled space of a whole page distribution rule.It identifies extraction unit 502 for identification and extracts acquiring unit acquisition Scan image in presumptive area content.Judging unit 503 is used to judge to identify the interior of the presumptive area that extraction unit extracts Hold and whether meets corresponding pre-defined rule.The presumptive area that determination unit 504 is used to be unsatisfactory for corresponding pre-defined rule determines For zone errors.Mark unit 505 is for being identified zone errors.
In some optional embodiments, device 500 further include: detection relevant information determination unit (not shown).Wherein, Detection relevant information determination unit is used to determine the corresponding detection relevant information of scan image based on the operation of user.Or it is based on Corresponding detection relevant information is determined with analysis to the identification of scan image.Wherein, detection relevant information includes that presumptive area exists Location information in scan image and the pre-defined rule corresponding to presumptive area.
In some optional embodiments, detection relevant information determination unit is configured to: user is passed through operation interface The detection relevant information of setting is determined as the corresponding detection relevant information of scan image;Or it is selected according to user by operation interface The contents attribute corresponding to scan image selected determines the corresponding detection relevant information of the scan image.
In some optional embodiments, detection relevant information determination unit is configured to: being identified in above-mentioned scan image The content of partial region.The keyword that content according to above-mentioned partial region includes determines the contents attribute of the scan image.It will The corresponding detection relevant information of the contents attribute of the scan image is determined as the corresponding detection relevant information of the scan image.
In some optional embodiments, the device 500 of the present embodiment further include: search according to unit (not shown), use In providing the lookup foundation for the image that searches problem, which is the scan image comprising zone errors.
It should be appreciated that each step in the method that all units or module recorded in device 500 and reference Fig. 1-4 are described It is corresponding.It is equally applicable to device 500 and unit wherein included above with respect to the operation and feature of method description as a result, This is repeated no more.Device 500 can be preset in the terminal, can also be loaded into terminal by modes such as downloadings.Dress Setting the corresponding units in 500 can cooperate with the unit in terminal to realize the scheme of detection content.
With further reference to Fig. 6, it illustrates the structural schematic diagrams according to one embodiment of the terminal of the application.It can manage Solution, which includes but is not limited to smart phone, tablet computer, pocket computer on knee and desktop computer etc..
As shown in fig. 6, the terminal 600 of the present embodiment includes: at least one processor 601, such as CPU (Central Processing Unit, central processing unit), at least one communication interface 602, at least one user interface 603, memory 604, at least one communication bus 605.Communication bus 605 is for realizing the connection communication between said modules.Terminal 600 is optional Include user interface 603, such as display component, keyboard or pointing device are (for example, mouse, trace ball (trackball), touching Feel plate or touch sensitive display screen) etc..Memory 604 may (Random Access Memory, be deposited at random comprising high-speed RAM Access to memory), it is also possible to it further include nonvolatile memory (non-volatile memory), a for example, at least disk is deposited Reservoir.Memory 604 optionally may include at least one storage device for being located remotely from aforementioned processor 601.
In some embodiments, memory 604 stores following element, executable modules or data structures, or Their subset of person or their superset:
Operating system 614 includes various system programs, for realizing various basic businesses and hardware based of processing Business.
Application program 624 includes various application programs, for realizing various applied business.
Specifically, can be, but not limited in application program 624 include:
Acquiring unit, for obtaining the scan image of content to be detected, wherein the scan image meets the scheduled space of a whole page Distribution rule;It identifies extraction unit, for identification and extracts the interior of presumptive area in the scan image that the acquiring unit obtains Hold;Judging unit, for judging whether the content of presumptive area of the identification extraction unit extraction meets corresponding pre- set pattern Then;Determination unit, for the presumptive area for being unsatisfactory for corresponding pre-defined rule to be determined as zone errors;Unit is identified, For being identified to the zone errors.
Further, described device further include: detection relevant information determination unit;The detection relevant information determines single Member determines the corresponding detection relevant information of the scan image for the operation based on user;Or based on to the scanning figure The identification of picture determines corresponding detection relevant information with analysis;Wherein, the detection relevant information includes that presumptive area is scanning Location information in image and the pre-defined rule corresponding to the presumptive area.
Further, the detection relevant information determination unit is configured to: the inspection that user is arranged by operation interface It surveys relevant information and is determined as the corresponding detection relevant information of the scan image;Or selected according to user by operation interface Contents attribute corresponding to the scan image determines the corresponding detection relevant information of the scan image.
Further, the detection relevant information determination unit is configured to: identifying partial region in the scan image Content;The keyword that content according to the partial region includes determines the contents attribute of the scan image;It is swept described The corresponding detection relevant information of contents attribute of tracing picture is determined as the corresponding detection relevant information of the scan image.
Further, described device further include: search according to unit, for provide the lookup for the image that searches problem according to According to described problem image is the scan image comprising zone errors.
In the present embodiment, processor 601 is by calling the program stored in memory 604 or instruction execution accordingly to walk Suddenly.Specifically, processor 601 controls the scan image that communication interface 602 obtains content to be detected, and processor 601 is identified and mentioned The content for taking presumptive area in above-mentioned scan image, judges whether the content of the presumptive area meets corresponding pre-defined rule, will The presumptive area for being unsatisfactory for corresponding pre-defined rule is determined as zone errors, and is identified to zone errors.User interface 603 It is interacted for user and terminal, user interface 603 includes at least display component, and 601 Control Items of processor are shown The scan image of content to be detected after being identified to zone errors.Wherein, above-mentioned scan image meets scheduled version EDS maps rule.
Further, processor 601 controls the operation information that user interface 603 obtains user, and processor 601 is based on user Operation information determine the corresponding detection relevant information of scan image;Or processor 601 based on to scan image identification with Analysis determines corresponding detection relevant information;Wherein, detection relevant information includes position letter of the presumptive area in scan image Breath and corresponding to presumptive area pre-defined rule.
Being described in unit module involved in the embodiment of the present application can be realized by way of software, can also be led to The mode of hardware is crossed to realize.Described unit module also can be set in the processor, for example, can be described as: a kind of Processor includes acquiring unit, identifies extraction unit, judging unit, and determination unit identifies unit.Wherein, these unit modules Title do not constitute the restriction to the unit module itself under certain conditions, for example, acquiring unit is also described as " for obtaining the unit of the scan image of content to be detected ".
As on the other hand, present invention also provides a kind of computer readable storage medium, the computer-readable storage mediums Matter can be computer readable storage medium included in device described in above-described embodiment;It is also possible to individualism, not The computer readable storage medium being fitted into terminal.The computer-readable recording medium storage have one or more than one Program, described program are used to execute the method for being described in the detection content of the application by one or more than one processor.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from the inventive concept, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above has similar function with (but being not limited to) disclosed herein Can technical characteristic replaced mutually and the technical solution that is formed.

Claims (9)

1. a kind of method of detection content, which is characterized in that the described method includes:
Obtain the scan image of content to be detected, wherein the scan image meets scheduled space of a whole page distribution rule;
The corresponding detection relevant information of the scan image is determined based on the operation of user;Or
Corresponding detection relevant information is determined with analysis based on the identification to the scan image;
Wherein, the detection relevant information includes location information of the presumptive area in scan image and corresponds to described predetermined The pre-defined rule in region;
Identify and extract the content of presumptive area in the scan image;
Judge whether the content of the presumptive area meets corresponding pre-defined rule;
If not, the presumptive area is determined as zone errors;
The zone errors are identified.
2. the method according to claim 1, wherein the operation based on user determines the scan image pair The detection relevant information answered, comprising:
The detection relevant information that user is arranged by operation interface is determined as the corresponding detection relevant information of the scan image; Or
The scan image pair is determined by the contents attribute corresponding to the scan image that operation interface selects according to user The detection relevant information answered.
3. the method according to claim 1, wherein the identification based on to the scan image and analysis are true Fixed corresponding detection relevant information, comprising:
Identify subregional content in the middle part of the scan image;
The keyword that content according to the partial region includes determines the contents attribute of the scan image;
The corresponding detection relevant information of the contents attribute of the scan image is determined as the corresponding detection phase of the scan image Close information.
4. the method according to claim 1, wherein the method also includes:
The lookup foundation for the image that searches problem is provided, described problem image is the scan image comprising zone errors.
5. a kind of device of detection content, which is characterized in that described device includes:
Acquiring unit, for obtaining the scan image of content to be detected, wherein the scan image meets scheduled space of a whole page distribution Rule;
Relevant information determination unit is detected, determines the related letter of the corresponding detection of the scan image for the operation based on user Breath;Or corresponding detection relevant information is determined with analysis based on the identification to the scan image;Wherein, the detection is related Information includes location information of the presumptive area in scan image and the pre-defined rule corresponding to the presumptive area;
It identifies extraction unit, for identification and extracts the content of presumptive area in the scan image that the acquiring unit obtains;
Judging unit, for judging whether the content of presumptive area of the identification extraction unit extraction meets corresponding pre- set pattern Then;
Determination unit, for the presumptive area for being unsatisfactory for corresponding pre-defined rule to be determined as zone errors;
Unit is identified, for being identified to the zone errors.
6. device according to claim 5, which is characterized in that the detection relevant information determination unit is configured to:
The detection relevant information that user is arranged by operation interface is determined as the corresponding detection relevant information of the scan image; Or
The scan image pair is determined by the contents attribute corresponding to the scan image that operation interface selects according to user The detection relevant information answered.
7. device according to claim 5, which is characterized in that the detection relevant information determination unit is configured to:
Identify subregional content in the middle part of the scan image;
The keyword that content according to the partial region includes determines the contents attribute of the scan image;
The corresponding detection relevant information of the contents attribute of the scan image is determined as the corresponding detection phase of the scan image Close information.
8. device according to claim 5, which is characterized in that described device further include:
It searches according to unit, for providing the lookup foundation for the image that searches problem, described problem image is to include error-zone The scan image in domain.
9. a kind of terminal characterized by comprising processor, user interface, communication interface;
Wherein, the processor controls the scan image that the communication interface obtains content to be detected, and the processor controls institute The operation information that user interface obtains user is stated, the processor determines the scan image based on the operation information of the user Corresponding detection relevant information;Or the processor determines corresponding detection with analysis based on the identification to the scan image Relevant information;Wherein, the detection relevant information includes location information of the presumptive area in scan image and corresponds to institute The pre-defined rule of presumptive area is stated, the processor identifies and extracts the content of presumptive area in the scan image, judges institute Whether the content for stating presumptive area meets corresponding pre-defined rule, and the presumptive area for being unsatisfactory for corresponding pre-defined rule is true It is set to zone errors, and the zone errors is identified;The user interface is interacted for user with the terminal, The user interface includes at least display component, and the processor controls the display component display by the zone errors The scan image of content to be detected after being identified;Wherein, the scan image meets scheduled space of a whole page distribution rule.
CN201510331116.8A 2015-06-15 2015-06-15 The method, apparatus and terminal of detection content Active CN104899572B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510331116.8A CN104899572B (en) 2015-06-15 2015-06-15 The method, apparatus and terminal of detection content

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510331116.8A CN104899572B (en) 2015-06-15 2015-06-15 The method, apparatus and terminal of detection content

Publications (2)

Publication Number Publication Date
CN104899572A CN104899572A (en) 2015-09-09
CN104899572B true CN104899572B (en) 2019-02-15

Family

ID=54032226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510331116.8A Active CN104899572B (en) 2015-06-15 2015-06-15 The method, apparatus and terminal of detection content

Country Status (1)

Country Link
CN (1) CN104899572B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111062379A (en) * 2018-10-16 2020-04-24 珠海格力电器股份有限公司 Identification error-proofing recognition method, device, storage medium and system
CN109993126B (en) * 2019-04-03 2023-10-24 腾讯科技(深圳)有限公司 File information determining method, device, equipment and readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101807140A (en) * 2010-01-29 2010-08-18 山东新北洋信息技术股份有限公司 Printing control method and system
CN102324004A (en) * 2011-05-26 2012-01-18 重庆猪八戒网络有限公司 Verification method for webpage form input information and device
CN103873436A (en) * 2012-12-11 2014-06-18 金蝶软件(中国)有限公司 Information verification method, and terminal
CN103258198B (en) * 2013-04-26 2015-12-23 四川大学 Character extracting method in a kind of form document image

Also Published As

Publication number Publication date
CN104899572A (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN111476227B (en) Target field identification method and device based on OCR and storage medium
US10824801B2 (en) Interactively predicting fields in a form
CN101542486B (en) Rank graph
TWI685795B (en) Information recognition method and device
CN110569874A (en) A garbage classification method, device, intelligent terminal and storage medium
US11341319B2 (en) Visual data mapping
CN113239227B (en) Image data structuring method, device, electronic equipment and computer readable medium
US9396389B2 (en) Techniques for detecting user-entered check marks
CN109086336A (en) Paper date storage method, device and electronic equipment
US20240143163A1 (en) Digital ink processing system, method, and program
CN111738252B (en) Text line detection method, device and computer system in image
CN112308069A (en) Click test method, device, equipment and storage medium for software interface
CN112015634A (en) Page structure information generation method and device and electronic equipment
CN106650720A (en) Method, device and system for network marking based on character recognition technology
CN104899572B (en) The method, apparatus and terminal of detection content
CN105204752B (en) Projection realizes interactive method and system in reading
CN107168635A (en) Information demonstrating method and device
CN108369647B (en) Image-based quality control
CN106776267A (en) Web application compatibility test method and web application compatibility test equipment
CN107992872A (en) Method for carrying out text recognition on picture and mobile terminal
CN104992136B (en) Identify the method and device of bar code
CN110750501A (en) File retrieval method and device, storage medium and related equipment
US10528852B2 (en) Information processing apparatus, method and computer program product
KR101242878B1 (en) Method and system for extracting and providing item having annotation on electronic book
US20160364458A1 (en) Methods and Systems for Using Field Characteristics to Index, Search For, and Retrieve Forms

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