Facilitate the professional notebook of electronization and add the method in electronic calendar to
Technical field
The invention belongs to electronic computer technology field, relate to a kind of method adding backlog in electronic calendar, relate to especially
And the professional notebook of a kind of convenient electronization and add the method in electronic calendar to.
Background technology
In daily life, people it is frequently necessary to shoot paper document, preserves into the photo of jpeg format, or generates PDF
The document of form, thus realize the electronization of paper document, convenient management.Smart mobile phone is exactly conventional by paper document electronics
One of instrument changed.Utilize the photographic head on mobile phone can shoot paper document because general on smart mobile phone all with photographic head,
And the electronic document that shooting obtained carry out certain image procossing after reconvert become the photo of jpeg format, or generate PDF
The document of form.The application software possessing above-mentioned functions has compared universal, as Fructus Mali pumilae application shop and google apply business
Application CamScanner in shop.These application softwaries can detect four of captured document from the image of shooting automatically
Limit, as background outside document areas in benchmark excision image, and is corrected document areas and image enhaucament etc. processes,
Obtain an effect being similar to the shipshape electronization document obtained by scanner scanning, carry out with the form that user specifies
Preserve and management.
It is the paper notebook page that common needs carry out the paper document of electronization, and people are through common paper part notebook for a long time
Do various record, such as minutes, memorandum transaction record etc., a paper notebook have dozens or even hundreds of page paper,
And same type of notebook, the pattern of its all pages being used for recording is usually unified.In real life, people
It is frequently necessary to join in electronic calendar using some content on the notebook page of hand-written record as backlog, this time
Standby family needs artificial to open electronic calendar, finds intended date-time, then this date-time set up one pending
Item, and it is manually entered the content acting on behalf item, this is very inconvenient.
Summary of the invention
The shortcoming of prior art in view of the above, it is an object of the invention to provide a kind of convenient electronization professional notebook and
It adds the method in electronic calendar to, the content of hand-written backlog can only add electronic calendar to for solving in prior art
In the problem of appointed day time.
For achieving the above object and other relevant purposes, the present invention provides the professional notebook of a kind of convenient electronization and adds to
Method in electronic calendar.
A kind of professional notebook of convenient electronization, the papery page of the professional notebook of described convenient electronization is printed with for
Indicate the date region of date-time.
Preferably, described date region is fixed at the appointment position on the described papery page.
The professional notebook of a kind of convenient electronization adds the method in electronic calendar to, and the method includes:
The papery page-images of the professional notebook of the convenient electronization of shooting;
Determine the type of the described papery page according to described papery page-images, thus obtain the paper being printed on described specialty notebook
Position in the described papery page, the date region on the matter page;
Determined the four edges edge line of described papery page-images by the line detection method in image, and four edges edge line is limited
Fixed page area is corrected to square region, determines the accurate location of date region in described square region;
Identify the date-time in described date region, automatically open up electronic calendar, described in electronic calendar, identify the day obtained
Time phase sets up backlog, using the content of the square region after described correction as the content of backlog.
Preferably, the type of the described papery page is by the size of this papery page and format determination;The form bag of the described papery page
Include the number of branch's line of printing on the papery page, or/and whether there is the size and location of date region and date region;Described
Date region is fixed at the appointment position on the described papery page.
Preferably, the detailed process of the date-time in the described date region of described identification is: if described date region includes using
The content that family adds, then add backlog in the date-time shown in this content;If described date region does not include user
The content added, then without backlog.
Preferably, it is judged that the detailed process whether including the content that user adds in described date region is: to described date region
Image block carry out binary conversion treatment, detection wherein represents the number of the foreground point pixel of user handwriting, if this number is whole
Ratio shared in date region exceedes predetermined threshold value, and the most described date region includes the content that user adds, and does not wraps
The content added containing user;If comprising the content that user adds, then according to date-time, this content is identified, then judges
The date-time identified is the most legal, if legal, carries out backlog interpolation, otherwise without backlog.
Preferably, the content of the square region after described correction is included as the detailed process of the content of backlog: by described
The full content of the square region after correction is as the content of backlog, or is made by the thumbnail of the square region after described correction
Content for backlog.
Preferably, in the case of the type of the described papery page is previously known, determine described according to described papery page-images
The specific implementation of the type of the papery page is: the type of the described papery page is manually specified.
Preferably, in the case of the type of the described papery page is previously known, determine described according to described papery page-images
The specific implementation of the type of the papery page is: be printed with a type mark at the fixed position on the described papery page;Inspection
Surveying the type mark in described papery page-images, the type mark this detected and previously known type mark are carried out one by one
Relatively, the type belonging to the described papery page is found out.
Preferably, in the case of the type of the described papery page is not know in advance, determine described according to described papery page-images
The specific implementation of the type of the papery page is: create the type of the new papery page, inputs the papery page big of this unknown
Little and form.
Facilitate electronic professional notebook as it has been described above, of the present invention and add the method in electronic calendar to, having
Following beneficial effect:
The present invention by the notebook page date of printing region, and with application softwaries such as CamScanner to the notebook page
Automatically check described date region when of carrying out electronization, identify the date that user is hand-written in date region, and automatically exist
Electronic calendar adds backlog, using the document after electronization or its thumbnail as in the backlog being attached to electronic calendar
Content, thus facilitate user, it is to avoid the trouble being manually entered.
Accompanying drawing explanation
Fig. 1 is shown as a kind of structural representation of the professional notebook of convenient electronization of the present invention.
Fig. 2 is shown as the another kind of structural representation of the professional notebook of convenient electronization of the present invention.
Fig. 3 is shown as convenient electronic professional notebook of the present invention and adds the flow process signal of the method in electronic calendar to
Figure.
Element numbers explanation
The 100 papery pages;
101 date region.
Detailed description of the invention
Below by way of specific instantiation, embodiments of the present invention being described, those skilled in the art can be by disclosed by this specification
Content understand other advantages and effect of the present invention easily.The present invention can also be added by the most different detailed description of the invention
To implement or application, the every details in this specification can also be based on different viewpoints and application, in the essence without departing from the present invention
Various modification or change is carried out under god.
Refer to accompanying drawing.It should be noted that the diagram provided in the present embodiment illustrates that the present invention's is basic the most in a schematic way
Conception, the most graphic in component count, shape and size time only display with relevant assembly in the present invention rather than is implemented according to reality
Drawing, during its actual enforcement, the kenel of each assembly, quantity and ratio can be a kind of random change, and its assembly layout kenel is also
It is likely more complexity.
Below in conjunction with embodiment and accompanying drawing, the present invention is described in detail.
Embodiment one
The present embodiment provides the professional notebook of a kind of convenient electronization, as it is shown in figure 1, the specialty notes of described convenient electronization
It is printed with the date region 101 for indicating date-time on this papery page 100.Specifically, described date region 101
It is fixed at the appointment position on the described papery page 100.So just can be accurate this papery page 100 electronization when
Scan date region 101, according to the date-time in date region 101, the content of the electronic document of this papery page is made
Join for backlog in the described date-time of electronic calendar.Above-mentioned appointment position can be the optional position of the papery page,
Such as the header position of the papery page, or footer position etc., see Fig. 1 and Fig. 2.
The present embodiment also provides for the method that the professional notebook of a kind of convenient electronization adds in electronic calendar, wherein said convenience
The professional notebook of electronization is the professional notebook of the convenient electronization that the present embodiment provides, as it is shown on figure 3, the method bag
Include:
The papery page-images of the professional notebook of the convenient electronization of shooting.In the present embodiment, the professional pen of described convenient electronization
It is printed with date region on the note papery page originally.Described date region is fixed at the appointment position on the described papery page.This
Sample just can identify the date-time in this date region with accurate scanning to date region this papery page electronization when.
In addition it is also necessary to printed the convenient electronization of described date region known to writing down in advance in the application softwaries such as CamScanner
The type of professional notebook, and the position that the described date region of correspondence is in the different types of notebook page.
Determine the type of the described papery page according to described papery page-images, thus obtain the paper being printed on described specialty notebook
Position in the described papery page, the date region on the matter page.In the present embodiment, the type of the described papery page is by this papery
The size of the page and format determination;The form of the described papery page includes the number of branch's line of printing on the papery page, or/and be
The no size and location having date region and date region.It is to say, the form of the described papery page can be any number of feelings
Only it is printed with branch's line in condition, such as this papery page or is only printed with the size and location of date region and this date region
Etc. feature, or be both printed with branch line be also printed with date region.
Determined the four edges edge line of described papery page-images by the line detection method in image, and four edges edge line is limited
Fixed page area is corrected to square region, determines the accurate location of date region in described square region.In the present embodiment, logical
Cross the straight-line detection in image and obtain four outer peripheral straight lines of representing pages in page-images, cut away these four representatives in image
The background area beyond scope that page outward flange straight line limits, and to shooting on the basis of these four representing pages outward flange straight lines
Correct image, the page area that these four outer peripheral straight lines of representing pages are limited is corrected into square region, permissible
It is rectangular region, it is also possible to be square area.Page area after type according to the described papery page and correction
Determine the accurate location of date region in the papery page, thus obtain the content of this papery page exactly as backlog needs
Add which date-time in electronic calendar to.
Identify the date-time in described date region, automatically open up electronic calendar, described in electronic calendar, identify the day obtained
Time phase sets up backlog, using the content of the square region after described correction as the content of backlog.Wherein, described knowledge
The detailed process of the date-time in the most described date region is: if described date region includes the content that user adds, then exist
This date-time adds backlog;If described date region not including the content that user adds, then without backlog.
The present invention is by date of printing region on the notebook page, and is carrying out the notebook page with application softwaries such as CamScanner
Check in described date region whether be that blank is to determine whether user requires that automatic foundation in electronic calendar is treated the when of electronization
Working item.Require the content of this notebook page is added electronic calendar even the most careless standardized pen of user show also
In backlog.The later document of electronization or its thumbnail are attached to the date and time specified in electronic calendar by the present invention,
Thus automatically set up the content of the backlog in electronic calendar, it is to avoid the trouble that user manually enters.
Further, it is judged that the detailed process whether including the content that user adds in described date region is: to described date region
Image block carry out binary conversion treatment, detection wherein represents the number of the foreground point pixel of user handwriting, if this number is whole
Ratio shared in date region exceedes predetermined threshold value, and the most described date region includes the content that user adds, and does not wraps
The content added containing user.If comprising the content that user adds, then according to date-time, this content is identified, then judges
The date-time identified is the most legal, if legal, carries out backlog interpolation, otherwise without backlog.Such as,
2012.11.21 it is a legal date-time, but 2012.11.32 is then an illegal date-time.The present invention passes through
Identify that the hand-written date and time of user determines the date and time of backlog needing automatically to set up in electronic calendar.This
According to the form of date-time, the content that user adds is identified time in step, because the content of previously known addition is inevitable
It is date-time, therefore the scope identified is limited in the format write of date and time, and the character comprised in date and time,
The accuracy rate of identification can be greatly improved.
Further, the content of the square region after described correction is included as the detailed process of the content of backlog: by institute
Stating the full content of the square region after correction (should as certain date-time that the content of backlog is added in electronic calendar
Date-time is the time that user in date region adds), or the thumbnail of the square region after described correction is handled affairs as waiting
The content of item adds certain date-time (this date-time is the time that in date region, user adds) in electronic calendar to.
Additionally, user can also select to manually enter the content of backlog.This step is come by the date and time that identification user is hand-written
Determine and need the date and time of the backlog of foundation in electronic calendar automatically.
The present invention by the notebook page date of printing region, and with application softwaries such as CamScanner to the notebook page
Automatically check described date region when of carrying out electronization, identify the date that user is hand-written in date region, and automatically exist
Electronic calendar adds backlog, using the document after electronization or its thumbnail as in the backlog being attached to electronic calendar
Content, thus facilitate user, it is to avoid the trouble being manually entered.
Embodiment two
The present embodiment provides the professional notebook of a kind of convenient electronization to add the method in electronic calendar to, itself and embodiment one institute
The professional notebook of the convenient electronization stated adds the difference of the method in electronic calendar to and is: the previously known described papery page
Type, determine that according to described papery page-images the specific implementation of the type of the described papery page is: be manually specified described
The type of the papery page;I.e. user is before capturing the image, or before the post processing image of shooting image, notes is manually specified
This type belonging to the papery page, such as from a series of notebook pages being pre-stored in the application softwaries such as camScanner
Type selects one.
Embodiment three
The present embodiment provides the professional notebook of a kind of convenient electronization to add the method in electronic calendar to, its with embodiment one and
The professional notebook of the convenient electronization described in two adds the difference of the method in electronic calendar to and is: previously known described papery
The type of the page, determines that according to described papery page-images the specific implementation of the type of the described papery page is:
It is printed with a type mark at fixed position on the described papery page;Described type mark can be word, symbol,
Figure or any two or the combination of three.
Detecting the type mark in described papery page-images, the type mark this detected enters with previously known type mark
Row compares one by one, finds out the type belonging to the described papery page.It is printed with a type at fixed position on the described papery page
Labelling;A pre-designed labelling (i.e. type is printed in position of specifying at each the papery page of notebook the most in advance
Labelling), after shooting obtains the image of the papery page of notebook, first detect the papery page of notebook in the picture
Article four, outward flange, determines the approximate location of described labelling in the image of the papery page with these four outward flanges for reference, thus real
Existing described labelling detection in the picture, then the labelling detected with the multiple different types of notebook of representative pre-saved
The labelling of the papery page compare one by one, find out the type belonging to the papery page of captured notebook.By detect
The labelling of the labelling multiple different types of notebook papery page of representative with pre-saving compares one by one, finds out captured
The type belonging to the papery page of notebook, the step for relate to handwriting recognition, Text region, in this area such as images match
Mature technology, therefore not to repeat here.
Embodiment four
The present embodiment provides the professional notebook of a kind of convenient electronization to add the method in electronic calendar to, itself and embodiment one institute
The professional notebook of the convenient electronization stated adds the difference of the method in electronic calendar to and is: do not know the described papery page in advance
Type, in this case, determine that according to described papery page-images the specific implementation of the type of the described papery page is:
Create the type of the new papery page, input size and the form of the papery page of this unknown.
Add if the papery page of the most captured notebook is not belonging to the previously known printing of the application softwaries such as CamScanner
It is thick or/and branch's line of lengthening is or/and point alignment is or/and the type of the papery page of Title area, the most in subsequent steps
After first the type of the papery page of this unknown being added in the type of the newly created papery page, then carry out follow-up process.
In sum, the present invention effectively overcomes various shortcoming of the prior art and has high industrial utilization.
The principle of above-described embodiment only illustrative present invention and effect thereof, not for limiting the present invention.Any it is familiar with this skill
Above-described embodiment all can be modified under the spirit and the scope of the present invention or change by the personage of art.Therefore, such as
All that in art, tool usually intellectual is completed under without departing from disclosed spirit and technological thought etc.
Effect is modified or changes, and must be contained by the claim of the present invention.