CN111160285B - Method, device, medium and electronic equipment for acquiring blackboard writing information - Google Patents

Method, device, medium and electronic equipment for acquiring blackboard writing information Download PDF

Info

Publication number
CN111160285B
CN111160285B CN201911412137.7A CN201911412137A CN111160285B CN 111160285 B CN111160285 B CN 111160285B CN 201911412137 A CN201911412137 A CN 201911412137A CN 111160285 B CN111160285 B CN 111160285B
Authority
CN
China
Prior art keywords
information
track
unit
evaluation
ordinate
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
CN201911412137.7A
Other languages
Chinese (zh)
Other versions
CN111160285A (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.)
Anbo Sihua Intelligent Technology Co Ltd
Original Assignee
Anbo Sihua Intelligent 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 Anbo Sihua Intelligent Technology Co Ltd filed Critical Anbo Sihua Intelligent Technology Co Ltd
Priority to CN201911412137.7A priority Critical patent/CN111160285B/en
Publication of CN111160285A publication Critical patent/CN111160285A/en
Application granted granted Critical
Publication of CN111160285B publication Critical patent/CN111160285B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/10Character recognition
    • G06V30/32Digital ink
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Position Input By Displaying (AREA)
  • Image Analysis (AREA)

Abstract

The disclosure provides a method, a device, a medium and electronic equipment for acquiring blackboard writing information. The method comprises the following steps: acquiring second track information in a second line area from behind the first line area in a writing area of the writing board; analyzing the second track information to obtain an evaluation interval length threshold; sequentially analyzing the second track information according to the evaluation interval length threshold value to acquire a plurality of unit area information; extracting unit track information from each piece of unit area information in turn; and calling a track analysis model to respectively perform character analysis on each piece of unit track information, and sequentially acquiring corresponding character coding information. The method disclosed by the disclosure lifts the unit track information from the blackboard writing and converts the unit track information into character coding information, so that the process of converting the blackboard writing information into the character coding information is completed, standard character information is provided for students, difficulty in learning and reading caused by blackboard writing difference is reduced for the students, the time for recording handwriting is shortened, and the lesson listening efficiency is improved.

Description

Method, device, medium and electronic equipment for acquiring blackboard writing information
Technical Field
The disclosure relates to the technical field of computers, and in particular relates to a method, a device, a medium and electronic equipment for acquiring blackboard writing information.
Background
The traditional blackboard is a plane capable of repeatedly writing, the board surface is hard, and the blackboard is a writing tool capable of repeatedly erasing. Typically for teaching, conference discussion, or personal and family notes.
With the rapid development of online education, in network teaching, an electronic whiteboard replaces a blackboard in an original classroom, and the teacher and students can conveniently demonstrate on the electronic whiteboard just like the original blackboard in the classroom, so that the online education system is more and more widely applied.
However, the display content of the electronic whiteboard is original book content of the reproduction teacher. As the blackboard writing of each teacher is quite different, great difficulty is often brought to the reading of students in class, and therefore the class listening efficiency of the students is affected.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
The disclosure aims to provide a method, a device, a medium and electronic equipment for acquiring blackboard writing information, which can solve at least one technical problem. The specific scheme is as follows:
according to a first aspect of the present disclosure, there is provided a method for obtaining blackboard writing information, including:
acquiring second track information in a second line area from behind the first line area in a writing area of the writing board;
analyzing the second track information to obtain an evaluation interval length threshold;
sequentially analyzing the second track information according to the evaluation interval length threshold value to acquire a plurality of unit area information;
extracting unit track information from each piece of unit area information in turn;
and calling a track analysis model to respectively perform character analysis on each piece of unit track information, and sequentially acquiring corresponding character coding information.
According to a second aspect of the present disclosure, there is provided an apparatus for acquiring blackboard writing information, including:
a second track information unit is used for acquiring second track information in a second row area from behind the first row area in the writing area of the writing board;
the evaluation interval length threshold unit is used for analyzing the second track information and acquiring an evaluation interval length threshold;
the acquisition unit area information unit is used for sequentially analyzing the second track information according to the evaluation interval length threshold value to acquire a plurality of unit area information;
the extraction unit is used for extracting unit track information from each piece of unit area information in turn;
and acquiring character coding information units, wherein the character coding information units are used for calling a track analysis model to respectively analyze characters of the track information of each unit and sequentially acquiring corresponding character coding information.
According to a third aspect of the disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of obtaining blackboard writing information according to any of the first aspects.
According to a fourth aspect of the present disclosure, there is provided an electronic device comprising: one or more processors; storage means for storing one or more programs which when executed by the one or more processors cause the one or more processors to implement the method of retrieving blackboard writing information as claimed in any of the first aspects.
Compared with the prior art, the scheme of the embodiment of the disclosure has at least the following beneficial effects:
the disclosure provides a method, a device, a medium and electronic equipment for acquiring blackboard writing information. The method disclosed by the disclosure lifts the unit track information from the blackboard writing and converts the unit track information into character coding information, so that the process of converting the blackboard writing information into the character coding information is completed, standard character information is provided for students, difficulty in reading the blackboard writing caused by difference of the students is reduced, handwriting recording time is shortened, and class listening efficiency is improved. And analyzing the second track information by using the evaluation interval length threshold value to acquire unit area information, and enabling the writing of the blackboard to meet the requirement of diversity without considering the height of the second track information. The accuracy of text conversion is improved.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale. In the drawings:
FIG. 1 illustrates a flow chart of a method of acquiring blackboard writing information in accordance with an embodiment of the present disclosure;
fig. 2 illustrates a positional relationship diagram of a first line area and a second line area of a method of acquiring blackboard writing information according to an embodiment of the present disclosure;
FIG. 3 illustrates a relationship diagram between unit areas of a method of acquiring blackboard writing information according to an embodiment of the present disclosure;
FIG. 4 shows a block diagram of a unit of an apparatus for acquiring blackboard writing information according to an embodiment of the present disclosure;
fig. 5 shows a schematic diagram of an electronic device connection structure according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
Alternative embodiments of the present disclosure are described in detail below with reference to the drawings.
The first embodiment provided in the present disclosure is an embodiment of a method for acquiring blackboard writing information.
Embodiments of the present disclosure will be described in detail below with reference to fig. 1, 2, and 3, where fig. 1 is a flowchart of a method for obtaining blackboard writing information provided by the embodiments of the present disclosure; fig. 2 illustrates a positional relationship diagram of a first line area and a second line area of a method of acquiring blackboard writing information according to an embodiment of the present disclosure; fig. 3 illustrates a relationship diagram between unit areas of a method of acquiring blackboard writing information according to an embodiment of the present disclosure.
Step S101, in the writing area of the tablet, second track information in the second line area is acquired from behind the first line area.
In an embodiment of the disclosure, the track information includes: track point location information and corresponding start point markers and end point markers.
The second track information, the unit track information, the upper track information and the lower track information in this step all belong to the track information.
The touch screen is arranged in the writing area of the writing board, and the second track information in the second row area after the first row area is acquired through the touch screen.
Touch screens are commonly used with resistive touch screens and capacitive touch screens. However, due to the physical characteristics of these two touch screens, the writing on the blackboard lacks a characteristic writing feel.
Optionally, the touch screen provided by the embodiment of the present disclosure includes: an infrared touch device or a surface acoustic wave touch device. The two touch screens ensure the writing sense of writing on the blackboard because the physical characteristics of the original blackboard are not destroyed.
Please see fig. 2, wherein the first row region and the second row region are regions of two different rows. The first line area and the subsequent second line area can be distinguished by the track point position information of the respective track information in the two areas, and recording of the second track information in the second line area can be started. When a third row area having a position different from that of the second row area appears, it is indicated that the second track information is ended.
The second row area height is equal to: the difference between the ordinate of the highest track point and the ordinate of the lowest track point in the second track information.
Step S102, analyzing the second track information to obtain an evaluation interval length threshold.
Please refer to fig. 3, the evaluation interval length threshold, that is, the minimum length of the abscissa of the two inter-character interval blank areas calculated in the second track information.
The analyzing the second track information to obtain an evaluation interval length threshold value comprises the following steps:
and S102-1, analyzing the second track information to obtain an estimated height.
The height is evaluated, i.e. the calculated height of the second row area calculated in the second trajectory information.
The second track information is analyzed to obtain an estimated height, and the method comprises the following steps:
and step S102-1-1, analyzing the second track information to obtain an estimated ordinate upper edge value and an estimated ordinate lower edge value.
The second track information is analyzed, and an estimated ordinate upper edge value is obtained, and the method comprises the following steps:
and step S102-1-1a-1, acquiring upper track information in the second track information according to a preset upper track threshold range.
The preset upper track threshold range is an area for searching the position information of a plurality of upper track points with the starting point marks, which is set for better filtering out the interference information. Typically, the preset upper track threshold range is a range of the first height from the ordinate of the highest track point in the second track information. The first height is greater than or equal to one fifth of the height of the second row area and less than or equal to one fourth of the height of the second row area.
The upper track information, that is, the track information of the second track information within the preset upper track threshold range.
And step S102-1-1a-2, analyzing the upper track information to obtain a plurality of upper track point position information with a starting point mark.
And step S102-1-1a-3, counting the ordinate of the position information of the upper track points to obtain an upper normal distribution map.
Wherein the abscissa of the upper normal distribution map represents the interval of the ordinate of the upper track point position information, and the ordinate of the upper normal distribution map represents the number of the ordinate of the upper track point position information in the interval.
The upper normal profile is a probability profile. The ordinate of the upper track point position information is associated with the height information of the upper track point.
And step S102-1-1a-4, obtaining an upper-layer peak value abscissa corresponding to the peak value of the ordinate in the upper-layer normal distribution diagram.
And step S102-1-1a-5, calculating the average value of the intervals corresponding to the upper peak abscissa and obtaining the upper edge value of the estimated ordinate.
The upper-layer normal distribution diagram can filter out the upper-layer track points with too few ordinate in the upper-layer track point position information.
The second track information is analyzed, and an estimated ordinate lower edge value is obtained, and the method comprises the following steps:
and step S102-1-1b-1, acquiring lower track information in the second track information according to a preset lower track threshold range.
The preset lower track threshold range is an area for searching the position information of a plurality of lower track points with end point marks, which is set for better filtering out interference information. Typically, the preset lower track threshold range is a range of the second height from the ordinate of the lowest track point in the second track information. The second height is greater than or equal to one fifth of the height of the second row area and less than or equal to one fourth of the height of the second row area.
Lower track information, namely track information of the second track information within a preset lower track threshold range.
And step S102-1-1b-2, analyzing the lower track information to obtain a plurality of lower track point position information with end point marks.
And step S102-1-1b-3, counting the ordinate of the position information of the lower track points to obtain a lower normal distribution map.
Wherein the abscissa of the lower normal distribution map represents the interval of the ordinate of the lower track point position information, and the ordinate of the lower normal distribution map represents the number of the ordinate of the lower track point position information in the interval.
The lower normal profile is a probability profile. The ordinate of the lower track point position information is associated with the height information of the lower track point.
Step S102-1-1b-4, obtaining a lower layer peak abscissa corresponding to a peak of an ordinate in the lower layer normal distribution diagram
And step S102-1-1b-5, calculating the average value of the intervals corresponding to the lower peak abscissa and obtaining the lower edge value of the estimated ordinate.
The lower-layer locus points with too few ordinate in the lower-layer locus point position information can be filtered out through the lower-layer normal distribution diagram.
And step S102-1-2, calculating the difference between the upper edge value of the estimated ordinate and the lower edge value of the estimated ordinate, and obtaining the estimated height.
Step S102-2, acquiring an evaluation width based on a preset height-width ratio and the evaluation height.
Typically, the predetermined aspect ratio is greater than or equal to 0.9 and less than or equal to 1.1. Optionally, the preset aspect ratio is 1.
Step S102-3, acquiring an evaluation interval length threshold value based on a preset interval ratio and the evaluation width.
Typically, the preset spacing ratio is greater than or equal to 0.14 and less than or equal to 0.146 of the evaluation width.
Step S103, analyzing the second track information in turn according to the evaluation interval length threshold value, and acquiring a plurality of unit area information.
That is, after obtaining one unit area for the second track information, obtaining the next unit area, and then sequentially analyzing the next unit area until the second track information is divided according to the unit areas.
The step of sequentially analyzing the second track information according to the evaluation interval length threshold value to obtain a plurality of unit area information, comprising the following steps:
step S103-1, analyzing whether the second track information has a unit interval or not from left to right.
Wherein the abscissa length value of the unit interval is greater than or equal to the evaluation interval length threshold.
The unit interval, that is, the length of the abscissa of the blank area actually spaced between two characters acquired in the second track information.
According to the embodiment of the disclosure, the second track information is analyzed by the evaluation interval length threshold value to obtain the unit area information, and the height of the second track information is not considered, so that the writing of the blackboard meets the requirement of diversity. The accuracy of text conversion is improved.
For the next step of processing, the disclosed embodiments provide two different processing methods according to different situations.
In step S103-2a, when the first unit interval exists, the left abscissa of the first unit area information is determined as the left abscissa of the second row area, and the right abscissa of the first unit area information is determined as the left abscissa of the first unit interval.
I.e. the first cell region is located at the first position of the second row region. The step of step S103-2a is employed.
In step S103-2b, when there are a plurality of unit intervals, the left abscissa of the unit area information is determined as the left abscissa of the previous unit interval from the second unit interval, and the right abscissa of the unit area information is determined as the left abscissa of the unit interval.
I.e. starting from the second cell area in the second row area, the step of step S103-2b is used.
Step S104, extracting unit track information from each unit area information in turn.
And step 105, calling a track analysis model to respectively analyze characters of each unit track information, and sequentially acquiring corresponding character coding information.
The process of character analysis of the unit track information by calling the track analysis model is not described in detail in this embodiment, and may be implemented with reference to various implementation manners in the prior art.
After the corresponding character coding information is acquired in turn, the method further comprises the following steps:
and step S106, the character coding information is sent to a display terminal.
Particularly, when character encoding information is transmitted to a remote display terminal, teaching efficiency of off-site teaching can be improved.
The method disclosed by the embodiment of the disclosure lifts the unit track information from the blackboard writing and converts the unit track information into the character coding information, so that the process of converting the blackboard writing information into the character coding information is completed, standard character information is provided for students, difficulty in learning and reading caused by blackboard writing difference to the students is reduced, handwriting recording time is shortened, and class listening efficiency is improved. And analyzing the second track information by using the evaluation interval length threshold value to acquire unit area information, and enabling the writing of the blackboard to meet the requirement of diversity without considering the height of the second track information. The accuracy of text conversion is improved.
Corresponding to the first embodiment provided by the present disclosure, the present disclosure also provides a second embodiment, namely, an apparatus for acquiring blackboard writing information. Since the second embodiment is substantially similar to the first embodiment, the description is relatively simple, and the relevant portions will be referred to the corresponding descriptions of the first embodiment. The device embodiments described below are merely illustrative.
Fig. 4 illustrates an embodiment of an apparatus for acquiring blackboard writing information provided by the present disclosure. Fig. 4 is a block diagram of a unit of an apparatus for acquiring blackboard writing information according to an embodiment of the present disclosure.
Referring to fig. 4, the present disclosure provides an apparatus for acquiring blackboard writing information, including: a second track information unit 401, an evaluation interval length threshold unit 402, a unit region information unit 403, an extraction unit track information unit 404, and a character encoding information unit 405 are acquired.
A second track information acquiring unit 401, configured to acquire, in a writing area of the tablet, second track information in a second line area after the first line area;
an evaluation interval length threshold unit 402, configured to analyze the second track information, and obtain an evaluation interval length threshold;
an acquiring unit area information unit 403, configured to sequentially analyze the second track information according to the evaluation interval length threshold value, and acquire a plurality of unit area information;
an extraction unit track information unit 404, configured to extract unit track information from each piece of the unit area information in turn;
and the character coding information obtaining unit 405 is configured to invoke a track analysis model to perform character analysis on each piece of track information, and sequentially obtain corresponding character coding information.
Optionally, in the acquiring evaluation interval length threshold unit 402, it includes:
an acquisition evaluation Gao Duzi unit for analyzing the second track information to acquire an evaluation height;
an evaluation width acquisition subunit, configured to acquire an evaluation width based on a preset aspect ratio and the evaluation height;
and an evaluation interval length threshold acquisition subunit for acquiring an evaluation interval length threshold based on a preset interval ratio and the evaluation width.
Optionally, the track information includes: track point position information and corresponding start point marks and end point marks;
in the acquisition evaluation Gao Duzi unit, it includes:
the evaluation edge information subunit is used for analyzing the second track information and acquiring an evaluation ordinate upper edge value and an evaluation ordinate lower edge value;
and an acquisition evaluation Gao Duzi unit for calculating the difference between the upper edge value of the evaluation ordinate and the lower edge value of the evaluation ordinate and acquiring the evaluation height.
Optionally, in the acquiring and evaluating edge information subunit, it includes:
the upper track information acquisition subunit is used for acquiring upper track information in the second track information according to a preset upper track threshold range;
an upper track information analysis subunit, configured to analyze the upper track information and obtain position information of a plurality of upper track points with start point marks;
the upper layer normal distribution map acquisition subunit is used for counting the ordinate of the upper layer track point position information to acquire an upper layer normal distribution map; the abscissa of the upper normal distribution diagram is the ordinate of the upper track point position information, and the ordinate of the upper normal distribution diagram is the number of the ordinate of the upper track point position information;
and the upper edge value acquiring and evaluating subunit is used for calculating the abscissa corresponding to the peak value of the ordinate in the upper normal distribution diagram and acquiring the upper edge value of the evaluation ordinate.
Optionally, in the acquiring and evaluating edge information subunit, it includes:
a sub-unit for acquiring lower track information, which is used for acquiring lower track information in the second track information according to a preset lower track threshold range;
the lower track analysis subunit is used for analyzing the lower track information and acquiring a plurality of lower track point position information with end point marks;
the lower normal distribution map acquisition subunit is used for counting the ordinate of the position information of the lower track points to acquire a lower normal distribution map; the abscissa of the lower normal distribution diagram is the ordinate of the lower track point position information, and the ordinate of the lower normal distribution diagram is the number of the ordinate of the lower track point position information;
and the lower edge value evaluation subunit is used for calculating the abscissa corresponding to the peak value of the ordinate in the lower-layer normal distribution diagram and acquiring the lower edge value of the evaluation ordinate.
Optionally, in the acquiring unit area information unit 403, it includes:
the analysis subunit is used for sequentially analyzing whether the unit interval exists in the second track information from left to right; wherein the abscissa length value of the unit interval is greater than or equal to the evaluation interval length threshold;
determining a first unit area information subunit, configured to determine, when there is a first unit interval, that a left abscissa of the first unit area information is a left abscissa of the second row area, and that a right abscissa of the first unit area information is a left abscissa of the first unit interval;
and determining other unit area information subunits, wherein when a plurality of unit intervals exist, the left abscissa of the unit area information is determined to be the left abscissa of the previous unit interval from the second unit interval, and the right abscissa of the unit area information is determined to be the left abscissa of the unit interval.
Optionally, in the apparatus, further includes:
and the display unit is used for sending the character coding information to the display terminal.
The device disclosed by the embodiment of the disclosure lifts the unit track information from the blackboard writing and converts the unit track information into the character coding information, so that the process of converting the blackboard writing information into the character coding information is completed, standard character information is provided for students, difficulty in learning and reading caused by blackboard writing difference to the students is reduced, handwriting recording time is shortened, and class listening efficiency is improved. And analyzing the second track information by using the evaluation interval length threshold value to acquire unit area information, and enabling the writing of the blackboard to meet the requirement of diversity without considering the height of the second track information. The accuracy of text conversion is improved.
The embodiment of the disclosure provides a third embodiment, namely an electronic device, which is used for acquiring the method of writing information, and comprises the following steps: at least one processor; and a memory communicatively coupled to the at least one processor; wherein, the liquid crystal display device comprises a liquid crystal display device,
the memory stores instructions executable by the one processor to enable the at least one processor to perform the method of obtaining blackboard writing information as described in the first embodiment.
The present disclosure provides a fourth embodiment, namely, a computer storage medium storing computer-executable instructions that can perform the method of acquiring blackboard writing information as described in the first embodiment.
Referring now to fig. 5, a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 5 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 5, the electronic device may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 501, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
In general, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 507 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 508 including, for example, magnetic tape, hard disk, etc.; and communication means 509. The communication means 509 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 shows an electronic device having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or from the storage means 508, or from the ROM 502. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 501.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (9)

1. A method of obtaining writing information, comprising:
acquiring second track information in a second line area from behind the first line area in a writing area of the writing board;
analyzing the second track information to obtain an evaluation interval length threshold;
sequentially analyzing the second track information according to the evaluation interval length threshold value to acquire a plurality of unit area information;
extracting unit track information from each piece of unit area information in turn;
calling a track analysis model to respectively perform character analysis on each unit track information, and sequentially acquiring corresponding character coding information;
wherein the analyzing the second track information to obtain the evaluation interval length threshold includes:
analyzing the second track information to obtain an estimated height;
acquiring an evaluation width based on a preset height-width ratio and the evaluation height;
an evaluation interval length threshold is obtained based on a preset interval ratio and the evaluation width.
2. The method of claim 1, wherein the trajectory information comprises: track point position information and corresponding start point marks and end point marks;
the analyzing the second track information to obtain an estimated height includes:
analyzing the second track information to obtain an estimated ordinate upper edge value and an estimated ordinate lower edge value;
and calculating the difference between the upper edge value of the evaluation ordinate and the lower edge value of the evaluation ordinate to obtain the evaluation height.
3. The method of claim 2, wherein analyzing the second trajectory information to obtain an estimated ordinate upper edge value comprises:
acquiring upper track information in the second track information according to a preset upper track threshold range;
analyzing the upper track information to obtain position information of a plurality of upper track points with starting point marks;
counting the ordinate of the position information of the upper track points to obtain an upper normal distribution map; wherein the abscissa of the upper normal distribution map represents the interval of the ordinate of the upper track point position information, and the ordinate of the upper normal distribution map represents the number of the ordinate of the upper track point position information in the interval;
acquiring an upper-layer peak value abscissa corresponding to a peak value of an ordinate in the upper-layer normal distribution diagram;
and calculating the average value of the intervals corresponding to the upper-layer peak value abscissa and obtaining the upper edge value of the estimated ordinate.
4. The method of claim 2, wherein analyzing the second trajectory information to obtain an estimated ordinate lower edge value comprises:
acquiring lower track information in the second track information according to a preset lower track threshold range;
analyzing the lower track information to obtain position information of a plurality of lower track points with end point marks;
counting the ordinate of the position information of the lower track points to obtain a lower normal distribution map; wherein the abscissa of the lower normal distribution map represents the interval of the ordinate of the lower track point position information, and the ordinate of the lower normal distribution map represents the number of the ordinate of the lower track point position information in the interval;
acquiring a lower-layer peak value abscissa corresponding to a peak value of an ordinate in the lower-layer normal distribution diagram;
and calculating the average value of the intervals corresponding to the lower peak abscissa and obtaining the lower edge value of the estimated ordinate.
5. The method according to claim 1, wherein sequentially analyzing the second track information according to the evaluation interval length threshold value, and acquiring a plurality of unit area information, comprises:
sequentially analyzing whether the second track information has a unit interval from left to right; wherein the abscissa length value of the unit interval is greater than or equal to the evaluation interval length threshold;
when the first unit interval exists, determining that the left abscissa of the first unit area information is the left abscissa of the second row area, and the right abscissa of the first unit area information is the left abscissa of the first unit interval;
when there are a plurality of cell intervals, the left abscissa of the cell region information is determined to be the left abscissa of the previous cell interval from the second cell interval, and the right abscissa of the cell region information is determined to be the left abscissa of the cell interval.
6. The method according to any one of claims 1 to 5, further comprising, after said sequentially acquiring the corresponding character encoding information:
and sending the character coding information to a display terminal.
7. An apparatus for obtaining writing information, comprising:
a second track information unit is used for acquiring second track information in a second row area from behind the first row area in the writing area of the writing board;
the evaluation interval length threshold unit is used for analyzing the second track information and acquiring an evaluation interval length threshold;
the acquisition unit area information unit is used for sequentially analyzing the second track information according to the evaluation interval length threshold value to acquire a plurality of unit area information;
the extraction unit is used for extracting unit track information from each piece of unit area information in turn;
the character coding information obtaining unit is used for calling a track analysis model to respectively analyze characters of the track information of each unit and sequentially obtaining corresponding character coding information;
wherein the acquiring and evaluating interval length threshold unit includes:
an acquisition evaluation Gao Duzi unit for analyzing the second track information to acquire an evaluation height;
an evaluation width acquisition subunit, configured to acquire an evaluation width based on a preset aspect ratio and the evaluation height;
and an evaluation interval length threshold acquisition subunit for acquiring an evaluation interval length threshold based on a preset interval ratio and the evaluation width.
8. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any one of claims 1 to 6.
9. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs which when executed by the one or more processors cause the one or more processors to implement the method of any of claims 1 to 6.
CN201911412137.7A 2019-12-31 2019-12-31 Method, device, medium and electronic equipment for acquiring blackboard writing information Active CN111160285B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911412137.7A CN111160285B (en) 2019-12-31 2019-12-31 Method, device, medium and electronic equipment for acquiring blackboard writing information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911412137.7A CN111160285B (en) 2019-12-31 2019-12-31 Method, device, medium and electronic equipment for acquiring blackboard writing information

Publications (2)

Publication Number Publication Date
CN111160285A CN111160285A (en) 2020-05-15
CN111160285B true CN111160285B (en) 2023-07-04

Family

ID=70560266

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911412137.7A Active CN111160285B (en) 2019-12-31 2019-12-31 Method, device, medium and electronic equipment for acquiring blackboard writing information

Country Status (1)

Country Link
CN (1) CN111160285B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113326813B (en) * 2021-07-08 2022-10-21 长春电子科技学院 Electronic format conversion method for mathematics classroom blackboard writing

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929534A (en) * 2011-09-30 2013-02-13 北京大学深圳研究生院 Blind write information input system and method
CN107273032A (en) * 2017-06-28 2017-10-20 广州视源电子科技股份有限公司 Information composition method, device, equipment and computer-readable storage medium
CN109525885A (en) * 2018-12-13 2019-03-26 广州华多网络科技有限公司 Information processing method, device, electronic equipment and computer-readable readable medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4385169B1 (en) * 2008-11-25 2009-12-16 健治 吉田 Handwriting input / output system, handwriting input sheet, information input system, information input auxiliary sheet

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929534A (en) * 2011-09-30 2013-02-13 北京大学深圳研究生院 Blind write information input system and method
CN107273032A (en) * 2017-06-28 2017-10-20 广州视源电子科技股份有限公司 Information composition method, device, equipment and computer-readable storage medium
CN109525885A (en) * 2018-12-13 2019-03-26 广州华多网络科技有限公司 Information processing method, device, electronic equipment and computer-readable readable medium

Also Published As

Publication number Publication date
CN111160285A (en) 2020-05-15

Similar Documents

Publication Publication Date Title
CN109766879B (en) Character detection model generation method, character detection device, character detection equipment and medium
CN110413742B (en) Resume information duplication checking method, device, equipment and storage medium
CN111401228B (en) Video target labeling method and device and electronic equipment
CN111738316B (en) Zero sample learning image classification method and device and electronic equipment
CN111680761A (en) Information feedback method and device and electronic equipment
CN115270717A (en) Method, device, equipment and medium for detecting vertical position
CN111160285B (en) Method, device, medium and electronic equipment for acquiring blackboard writing information
CN111797822B (en) Text object evaluation method and device and electronic equipment
CN112509581B (en) Error correction method and device for text after voice recognition, readable medium and electronic equipment
CN113191257B (en) Order of strokes detection method and device and electronic equipment
CN111338827B (en) Method and device for pasting form data and electronic equipment
CN112256176B (en) Character display method and device, electronic equipment and computer readable storage medium
CN115171122A (en) Point reading processing method, device, equipment and medium
CN111435442B (en) Character selection method and device, point reading equipment, electronic equipment and storage medium
CN115546804A (en) Method and device for identifying answer sheet template, readable medium and electronic equipment
CN111143346B (en) Tag group variability determination method and device, electronic equipment and readable medium
CN110910468B (en) Method, device, medium and electronic equipment for acquiring information of restoring track points
CN111626045A (en) Character length calculation method and device and electronic equipment
CN111026983B (en) Method, device, medium and electronic equipment for realizing hyperlink
CN112306316B (en) Point reading method, point reading device and storage medium
CN112346630B (en) State determination method, device, equipment and computer readable medium
CN114491368B (en) Form locator generating method, form operation method, device, medium and equipment
CN111797932B (en) Image classification method, apparatus, device and computer readable medium
CN111461227B (en) Sample generation method, device, electronic equipment and computer readable medium
CN112382147B (en) Method, device, medium and electronic equipment for adjusting function display area

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