CN112419687B - Method capable of correcting placing angle of book on desk and reading equipment - Google Patents

Method capable of correcting placing angle of book on desk and reading equipment Download PDF

Info

Publication number
CN112419687B
CN112419687B CN202011281764.4A CN202011281764A CN112419687B CN 112419687 B CN112419687 B CN 112419687B CN 202011281764 A CN202011281764 A CN 202011281764A CN 112419687 B CN112419687 B CN 112419687B
Authority
CN
China
Prior art keywords
desk
book
selected point
angle
abscissa
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
CN202011281764.4A
Other languages
Chinese (zh)
Other versions
CN112419687A (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.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Zero Boundary Integrated Circuit Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Zero Boundary Integrated Circuit 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Zero Boundary Integrated Circuit Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202011281764.4A priority Critical patent/CN112419687B/en
Publication of CN112419687A publication Critical patent/CN112419687A/en
Application granted granted Critical
Publication of CN112419687B publication Critical patent/CN112419687B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47BTABLES; DESKS; OFFICE FURNITURE; CABINETS; DRAWERS; GENERAL DETAILS OF FURNITURE
    • A47B19/00Reading-desks; Lecterns; Pulpits, i.e. free-standing
    • A47B19/10Reading-desks; Lecterns; Pulpits, i.e. free-standing characterised by association with auxiliary devices, e.g. paper clamps, line indicators
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Image Analysis (AREA)

Abstract

The invention relates to a method and reading equipment capable of correcting the placing angle of a book on a desk, wherein the method comprises the steps of S1, continuously shooting a selected desk through a camera module, and acquiring image data shot by the camera module; step S2, judging whether the placing angle of the book on the desk is unqualified according to the image data; and step S3, if the judgment result in the step S2 is positive, the reminding module is instructed to carry out reminding. The method capable of correcting the placing angle of the book on the desk and the reading equipment are used for solving the problem that the book is placed on the desk obliquely. The desk can urge a user to adjust the placing angle of books on the desk, so that the risk that the posture and the health condition of the user are also influenced by the placing inclination of the books on the desk is reduced.

Description

Method capable of correcting placing angle of book on desk and reading equipment
Technical Field
The invention belongs to the technical field of posture correction, and particularly relates to a method and reading equipment capable of correcting the placing angle of a book on a desk.
Background
In the reading or working process, the health problem caused by the untimely posture is more serious, the untimely posture not only can cause adverse effects on the body state and the health condition of people, but also is an important reason for causing myopia, and the existing posture correcting device mainly can adjust the posture of a user or the distance between the user and a viewed object so as to reduce the health hidden trouble caused by the untimely posture. However, the inventor of the present application has found out, after having paid creative work, that: when a user reads or writes, if a book is placed on a desk to be inclined, the posture and health of the user are adversely affected even if the posture of the user is correct, and therefore a method for correcting the angle of the book placed on the desk is needed to urge the user to adjust the angle of the book placed on the desk.
Disclosure of Invention
In order to solve all or part of the problems, the invention aims to provide a method and a reading device capable of correcting the placing angle of a book on a desk, which are used for solving the problem that the book is placed on the desk to be inclined. The desk can urge a user to adjust the placing angle of books on the desk, so that the risk that the posture and the health condition of the user are also influenced by the placing inclination of the books on the desk is reduced.
According to a first aspect of the present invention, there is provided a method capable of correcting the angle of a book placed on a desk, comprising: step S1, continuously shooting the selected desk through a camera module, and acquiring image data shot by the camera module;
step S2, judging whether the book placing angle on the desk is unqualified according to the image data;
and step S3, if the judgment result in the step S2 is positive, instructing a reminding module to carry out reminding.
Further, the step S3 specifically includes: if the judgment result in the step S2 is yes, it is judged whether the time length during which the book is placed on the desk at an unqualified angle reaches the preset time interval, and if the judgment result is that the time length during which the book is placed on the desk at an unqualified angle reaches the preset time interval, a reminding module is instructed to remind.
Further, the method further includes step S4, namely, if the determination result of step S2 is no or the step S3 is completed, returning to step S1.
Further, the step S1 further includes: the determination of whether the book is placed on the desk based on the image data is repeated until a determination result is yes, and the step S2 is stopped and started.
Further, the selection range of the preset time interval is 5-30 min.
Further, the step S2 specifically includes:
step S201, extracting a current frame of instant picture from the image data, and establishing a plane rectangular coordinate system comprising an abscissa axis and an ordinate axis in the instant picture, wherein measurement units used on the abscissa axis and the ordinate axis are international universal length units;
step S202, desk imaging and book imaging about a desk and a book in the instant picture are obtained, and abscissa values and ordinate values of four corner points of the desk imaging and four corner points of the book imaging in the rectangular plane coordinate system are extracted;
step S203, determining two corner points closest to an abscissa axis from the four corner points imaged by the desk and respectively using the two corner points as a first selected point and a second selected point;
step S204, determining two corner points closest to the abscissa axis from the four corner points of the book imaging and respectively using the two corner points as a third selected point and a fourth selected point;
step S205, solving an included angle between a first straight line passing through the first selected point and the second selected point and a second straight line passing through the third selected point and the fourth selected point according to the abscissa value and the ordinate value of the first selected point, the second selected point, the third selected point and the fourth selected point;
and S206, judging whether the included angle between the first straight line and the second straight line is larger than a preset angle, if so, determining that the book placing angle on the desktop is unqualified, and if not, determining that the book placing angle on the desktop is qualified.
Further, the step S3 further includes performing N cycles on the steps S201 to S206 in the preset time interval, and then determining whether the determination result of the step S206 in the N cycles is yes, and if yes, instructing a reminding module to implement reminding.
Further, in step S201, an origin of the rectangular plane coordinate system is a corner point in the imaging of the desk, the abscissa axis coincides with a short side of the imaging of the desk passing through the origin, and the ordinate axis coincides with a long side of the imaging of the desk passing through the origin.
Further, in the step S206, the preset angle ranges from 0 to 5 °.
Further, in step S205, the included angle between the first line and the second line is obtained by the following formula:
Figure BDA0002781035760000031
in the formula (I), the compound is shown in the specification,
theta is an included angle of the first straight line and the second straight line and is expressed by degree;
x1 is the abscissa value of the first selected point in mm;
y1 is the ordinate value of the first selected point in mm;
x2 is the abscissa value of the second selected point in mm;
y2 is the ordinate value of the second selected point in mm;
x3 is the abscissa value of the third selected point in mm;
y3 is the ordinate value of the third selected point, in mm;
x4 is the abscissa value of the fourth set point in mm;
y4 is the ordinate value in mm for the fourth setpoint.
Further, the step S2 specifically includes:
step S201', extracting a current instantaneous picture from the image data, and establishing a plane rectangular coordinate system comprising an abscissa axis and an ordinate axis in the instantaneous picture, wherein an origin of the coordinate system is a corner point of the instantaneous picture, the abscissa axis coincides with a long side of the instantaneous picture passing through the origin, the ordinate axis coincides with a short side of the instantaneous picture passing through the origin, measurement units used on the abscissa axis and the ordinate axis are international universal length units, and the camera module is arranged to keep the long side of the instantaneous picture parallel to a long side of a book image;
step S202', book imaging about a book in the instant picture is obtained, and abscissa values and ordinate values of four corner points of the book imaging in the plane rectangular coordinate system are extracted;
step S203', determining two corner points closest to the abscissa axis from the four corner points of the book imaging and respectively using the two corner points as a first selected point and a second selected point;
step S204', calculating an included angle between a straight line passing through the first selected point and the second selected point and an abscissa axis according to the abscissa value and the ordinate value of the first selected point and the second selected point;
and S205', judging whether an included angle between the straight line and the abscissa axis is larger than a preset angle, if so, determining that the book placing angle on the desktop is unqualified, and if not, determining that the book placing angle on the desktop is qualified.
Further, the step S3 further includes performing N cycles on the steps S201 ' to S205 ' within the preset time interval, and then determining whether the determination result of the step S205 ' is all yes in the N cycles, and if yes, instructing a reminding module to perform reminding.
Further, in the step S205', the preset angle ranges from 0 to 5 °.
Further, in step S204', an included angle between the straight line and the abscissa axis is obtained by the following formula:
Figure BDA0002781035760000041
in the formula (I), the compound is shown in the specification,
theta is an included angle between the straight line and the horizontal coordinate, and the unit is DEG;
x1 is the abscissa value of the first selected point in mm;
y1 is the ordinate value of the first selected point in mm;
x2 is the abscissa value of the second selected point in mm;
y2 is the ordinate value of the second selected point in mm.
According to a second aspect of the present invention, there is provided a reading apparatus capable of correcting the angle of a book placed on a desk, comprising: a desk; the camera module is arranged on the desk and shoots a desktop of the desk; a control module, connected to the camera module, capable of implementing the method according to the first aspect of the invention; and the reminding module is connected with the control module.
According to the technical scheme, the method for correcting the placing angle of the book on the desk and the reading equipment can continuously shoot the selected desk, judge whether the placing angle of the book on the desk is qualified according to the shot image data of the desk, and instruct the reminding module to remind when the judging result shows that the placing angle of the book on the desk is unqualified so as to urge a user to adjust the placing angle of the book on the desk. Therefore, the method and the reading equipment capable of correcting the placing angle of the book on the desk can reduce the risk that the posture and the health condition of a user are also adversely affected due to the fact that the book is placed on the desk obliquely.
Drawings
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings. In the figure:
FIG. 1 is a flowchart of a method for correcting the angle of a book placed on a desk according to an embodiment of the present invention;
FIG. 2 shows a frame of instant picture in the image data captured by the camera module, when the desk top falls completely within the capture range of the camera module;
FIG. 3 shows a frame of instant picture in the image data captured by the camera module, when the desk top does not fall completely within the capture range of the camera module;
fig. 4 is a schematic view of a reading apparatus capable of correcting the angle of a book placed on a desk according to an embodiment of the present invention.
In the drawings, like parts are provided with like reference numerals. The figures are not drawn to scale.
Detailed Description
The invention will be further explained with reference to the drawings.
Fig. 1 is a flowchart of a method for correcting the angle of a book 400 placed on a desk according to an embodiment of the present invention. Fig. 4 is a schematic view of a reading apparatus capable of correcting the angle of a book 400 on a desk according to an embodiment of the present invention, as shown in fig. 1. As shown in fig. 1 and 4, the method 100 for correcting the angle of the book 400 on the desk 21 according to the embodiment of the present invention mainly includes steps S1, S2 and S3. Wherein, step S1 specifically includes: the camera module 22 is controlled to continuously photograph the selected desk 21, and image data photographed by the camera module 22 is acquired. Step S2 includes determining whether the angle at which the book 400 is placed on the desk 21 is not acceptable based on the image data. In step S3, if the determination result in step S2 is yes, the reminder module is instructed to perform the reminder. Among them, the book 400 is preferably a book or a book. The reminder module is preferably, but not limited to, a speaker, an LED light or a display screen. When the reminder module is selected to be a speaker, the speaker can emit a designated sound under control, such as a continuous "tic" sound indicating that the book 400 is not properly angled on the desk 21. When the reminding module is selected as an LED lamp, the power supply of the reminding module can be stopped to interrupt the reading or working process of the user, so that the user is reminded to adjust the placing angle of the book 400 on the desk 21. When the reminding module is selected as a display screen, the reminding module can display the designated information under the control.
The method 100 for correcting the placing angle of the book 400 on the desk 21 according to the embodiment of the invention can continuously shoot the selected desk 21, judge whether the placing angle of the book 400 on the desk 21 is qualified according to the shot image data of the desk 21, and instruct the reminding module to remind when judging that the placing angle of the book 400 on the desk 21 is unqualified, so as to prompt a user to adjust the placing angle of the book 400 on the desk 21. Therefore, the method 100 for correcting the angle of the book 400 on the desk 21 of the present invention can reduce the risk that the posture and health condition of the user will be adversely affected due to the inclined placement of the book 400 on the desk 21.
In this embodiment, step S3 specifically includes: if the determination result in the step S2 is yes, it is determined whether the time length during which the book is placed at an unqualified angle on the desk 21 reaches the preset time interval, and if the determination result is that the time length during which the book 400 is placed at an unqualified angle on the desk 21 reaches the preset time interval, the reminding module is instructed to remind. The preset time interval can be determined based on the user requirement, the selection range is recommended to be 0.5-5min, but in order to play a role of supervising the user and avoid the influence on the user experience caused by overlong reminding time, the preset time interval is preferably 1 min.
In the present embodiment, the method 100 further includes step S4, namely, if the determination result of step S2 is no or step S3 is completed, the method returns to step S1. That is, when the determination result of the step S2 is no, that is, the placing angle of the book 400 on the desk 21 is qualified, the process returns to the step S1 to monitor the placing angle of the book 400 on the desk 21 in the next preset time interval. When the step S3 is completed, that is, the time period during which the book 400 is placed at an angle on the desk 21 is not qualified reaches the preset time interval and causes the reminding module to perform the reminding, the method returns to the step S1 to monitor the placing angle of the book 400 on the desk 21 in the next preset time interval. The control mode of the reminding module may be controlled to continuously implement reminding and automatically stop reminding after the second preset time interval, or may be controlled to stop implementing reminding and allow the user to continue reading or learning when the user adjusts the book 400 so that the placing angle of the book 400 on the desk 21 is qualified and the judgment result of the step S2 is no. The second preset time interval can be determined based on the user requirement, the selection range of the second preset time interval is recommended to be 0.5-5min, but in order to play a role of supervising the user and avoid influence on the user experience due to overlong reminding time, the second preset time interval is preferably 1 min.
In this embodiment, step S1 further includes: after continuously photographing the selected desk through the camera module and acquiring the image data photographed by the camera module, repeatedly determining whether the book 400 is placed on the desk 21, and until a determination result is yes, stopping determining whether the book 400 is placed on the desk 21 and starting the step S2. The step can avoid meaningless judgment, is beneficial to reducing energy consumption and saving data storage space.
In the present embodiment, when the desktop of the desk 21 completely falls within the shooting range of the camera module, step S2 specifically includes step S201, step S202, step S203, step S204, step S205, and step S206.
Step S201 specifically includes: as shown in fig. 2, a rectangular plane coordinate system including an abscissa axis X and an ordinate axis Y is established in the instant picture, wherein the measurement units used on the abscissa axis X and the ordinate axis Y are all international length units, preferably centimeters or millimeters, and in this embodiment, the measurement units used on the abscissa axis X and the ordinate axis Y are both mm.
Step S202 specifically is: desk imaging and book 400 imaging with respect to the desk 21 and the book 400 in the instantaneous picture are acquired, and abscissa values and ordinate values of four corner points of the desk imaging and four corner points of the book 400 imaging in a planar rectangular coordinate system are extracted.
Step S203 specifically includes: two corner points closest to the abscissa axis X are determined from the four corner points of the desk image and are respectively the first selected point O1 and the second selected point O2.
Step S204 specifically includes: two corner points closest to the abscissa axis X are determined from the four corner points imaged by the book 400 and are respectively used as the third selected point O3 and the fourth selected point O4.
Step S205 specifically includes: and calculating the included angle between a first straight line L1 passing through the first selected point O1 and the second selected point O2 and a second straight line L2 passing through the third selected point O3 and the fourth selected point O4 according to the abscissa value and the ordinate value of the first selected point O1, the second selected point O2, the third selected point O3 and the fourth selected point O4.
Step S206 specifically includes: and judging whether the included angle between the first straight line L1 and the second straight line L2 is larger than or equal to a preset angle, if so, determining that the placing angle of the book 400 on the desktop is unqualified, and if not, determining that the placing angle of the book 400 on the desktop is qualified.
In this embodiment, in order to determine whether the placing angle of the book 400 on the desktop is qualified in a preset time interval, step S3 further includes: and (3) performing N times of circulation from the step S201 to the step S206 in a preset time interval, then judging whether the judgment results of the step S206 are all yes in the N times of circulation, and if yes, commanding the reminding module to implement reminding, wherein N is a positive integer. When the value of N is larger, the number of the instantaneous pictures extracted within a preset time interval is larger, and the judgment result is more accurate. When the value of N is smaller, the number of the instantaneous pictures extracted in a preset time interval is smaller, so that the number of times of information judgment is reduced, the energy consumption is reduced, and the data storage space is saved.
In this embodiment, in step S201, a large number of experiments prove that when the origin of the planar rectangular coordinate system is a corner point in imaging on the desk, the abscissa axis X coincides with the short side passing through the origin in imaging on the desk, and the ordinate axis Y coincides with the long side passing through the origin in imaging on the desk, the accuracy in identifying the corner point is improved, so that the use experience of a user can be greatly improved. Preferably, in step S206, the value range of the preset angle may be determined based on the user requirement, and it is recommended to set the selection range thereof to be 5-30 min.
In the present embodiment, in step S205, the included angle between the first straight line L1 and the second straight line L2 is obtained by the following formula:
Figure BDA0002781035760000071
in the formula (I), the compound is shown in the specification,
θ is the angle between the first line L1 and the second line L2 in °;
x1 is the abscissa value of the first setpoint O1 in mm;
y1 is the ordinate value in mm of the first setpoint O1;
x2 is the abscissa value of the second setpoint O2 in mm;
y2 is the ordinate value in mm of the second setpoint O2;
x3 is the abscissa value of the third setpoint O3 in mm;
y3 is the ordinate value of the third selected point O3 in mm;
x4 is the abscissa value in mm of the fourth setpoint O4;
y4 is an ordinate value in mm of the fourth setpoint O4.
In another embodiment, when the desktop of the desk 21 does not completely fall within the shooting range of the camera module, the step S2 specifically includes: step S201 ', step S202 ', step S203 ', step S204 ' and step S205 '.
Wherein, step S201' specifically is: extracting a current frame of instant picture from image data, as shown in fig. 3, establishing a planar rectangular coordinate system containing an abscissa axis X and an ordinate axis Y in the instant picture, wherein an origin of the coordinate system is a corner point of the instant picture, the abscissa axis coincides with a long side of the instant picture passing through the origin, and the ordinate axis coincides with a short side of the instant picture passing through the origin, wherein measurement units used on the abscissa axis and the ordinate axis are international universal length units, and a camera module is arranged to keep the long side of the instant picture parallel to the long side of book imaging;
step S202' is specifically: book imaging about the book 400 in the instant picture is acquired, and abscissa and ordinate values of four edge points of the book imaging in a planar rectangular coordinate system are extracted.
Step S203' is specifically: determining two corner points closest to an abscissa axis X from four corner points of book imaging, and respectively using the two corner points as a first selected point Q1 and changing the two corner points into a second selected point Q2;
step S204' is specifically: and calculating the included angle between the straight line L passing through the first selected point Q1 and the second selected point Q2 and the abscissa axis X according to the abscissa value and the ordinate value of the first selected point Q1 and the second selected point Q2.
Step S205' is specifically: and judging whether the included angle between the straight line L and the abscissa axis X is larger than a preset angle or not, if so, determining that the placing angle of the book on the desktop is unqualified, and if not, determining that the placing angle of the book 400 on the desktop is qualified.
In another embodiment, step S3 further includes performing N cycles of steps S201 ' to S205 ' within a preset time interval, and then determining whether the determination result of step S205 ' is all yes in the N cycles, if yes, instructing the reminder module to perform the reminder, where N is a positive integer. When the value of N is larger, the number of the instantaneous pictures extracted within a preset time interval is larger, and the judgment result is more accurate. When the value of N is smaller, the number of the instantaneous pictures extracted in a preset time interval is smaller, so that the number of times of information judgment is reduced, the energy consumption is reduced, and the data storage space is saved. Preferably, in step S205', the value range of the preset angle may be determined based on the user requirement, and it is recommended to set the selection range thereof to be 5-30 min.
In another embodiment, in step S204', the angle between the straight line L and the abscissa axis X is determined by the following formula:
Figure BDA0002781035760000091
in the formula (I), the compound is shown in the specification,
theta is an included angle between the straight line L and the abscissa axis X and has a unit of degree;
x1 is the abscissa value in mm of the first setpoint Q1;
y1 is the ordinate value in mm of the first setpoint Q1;
x2 is the abscissa value in mm of the second setpoint Q2;
y2 is a ordinate value in mm for the second setpoint Q2.
In the embodiment shown in fig. 4, the reading device 200 capable of correcting the angle of the book 400 on the desk 21 mainly comprises the desk 21, a camera module 22, a control module and a reminding module. The camera module 22 is disposed on the desk 21 and takes a picture of a desk top of the desk 21. The control module is coupled to the camera module 22 and can be used to implement the method 100 described above. The reminding module is connected with the control module and can remind under the control of the control module. Wherein the control module comprises a programmable logic control unit (such as a PLC or a CPU), a memory, an electronic component connected with the programmable logic control unit, etc., which are well known to those skilled in the art and will not be described in detail herein. Preferably, the camera module 22 further comprises a bracket 221 disposed on the desk 21 and a camera 222 disposed on the bracket 221 and connected to the control module. The reminder module is preferably, but not limited to, a speaker, an LED light or a display screen.
In the description of the present application, it is to be understood that the terms "first", "second", and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
In this application, unless expressly stated or limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can include, for example, fixed connections, removable connections, or integral parts; can be mechanically or electrically connected; either directly or indirectly through intervening media, either internally or in any other relationship. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
The above description is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily make changes or variations within the technical scope of the present invention disclosed, and such changes or variations should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims. The technical features mentioned in the embodiments can be combined in any way as long as there is no structural conflict. It is intended that the invention not be limited to the particular embodiments disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.

Claims (12)

1. A method for correcting the angle of a book placed on a desk comprises the following steps:
step S1, continuously shooting the selected desk through a camera module, and acquiring image data shot by the camera module;
step S2, judging whether the book placing angle on the desk is unqualified according to the image data;
step S3, if the judgment result in the step S2 is yes, a reminding module is instructed to carry out reminding;
the step S2 specifically includes:
step S201, extracting a current frame of instant picture from the image data, and establishing a plane rectangular coordinate system comprising an abscissa axis and an ordinate axis in the instant picture, wherein measurement units used on the abscissa axis and the ordinate axis are international universal length units;
step S202, desk imaging and book imaging about a desk and a book in the instant picture are obtained, and abscissa values and ordinate values of four corner points of the desk imaging and four corner points of the book imaging in the rectangular plane coordinate system are extracted;
step S203, determining two corner points closest to an abscissa axis from the four corner points imaged by the desk and respectively using the two corner points as a first selected point and a second selected point;
step S204, determining two corner points closest to the abscissa axis from the four corner points of the book imaging and respectively using the two corner points as a third selected point and a fourth selected point;
step S205, solving an included angle between a first straight line passing through the first selected point and the second selected point and a second straight line passing through the third selected point and the fourth selected point according to the abscissa value and the ordinate value of the first selected point, the second selected point, the third selected point and the fourth selected point;
step S206, judging whether an included angle between the first straight line and the second straight line is larger than a preset angle, if so, determining that the book placing angle on the desktop is unqualified, and if not, determining that the book placing angle on the desktop is qualified;
in step S205, the angle between the first line and the second line is calculated by the following formula:
Figure FDA0003344005950000011
in the formula (I), the compound is shown in the specification,
theta is an included angle of the first straight line and the second straight line and is expressed by degree;
x1 is the abscissa value of the first selected point in mm;
y1 is the ordinate value of the first selected point in mm;
x2 is the abscissa value of the second selected point in mm;
y2 is the ordinate value of the second selected point in mm;
x3 is the abscissa value of the third selected point in mm;
y3 is the ordinate value of the third selected point, in mm;
x4 is the abscissa value of the fourth set point in mm;
y4 is the ordinate value of the fourth selected point, in mm;
the step S3 specifically includes: if the judgment result in the step S2 is yes, it is judged whether the time length during which the book is placed at the unqualified angle on the desk reaches the preset time interval, and if the judgment result is that the time length during which the book is placed at the unqualified angle on the desk reaches the preset time interval, the reminding module is instructed to remind the user to adjust the placing angle of the book on the desk, so that the risk that the posture and health condition of the user are adversely affected due to the inclined placing of the book on the desk is reduced.
2. The method of claim 1, further comprising a step S4, wherein if the determination result in the step S2 is NO or the step S3 is completed, the method returns to the step S1.
3. The method according to claim 1, wherein the step S1 further comprises: the determination of whether the book is placed on the desk based on the image data is repeated until a determination result is yes, and the step S2 is stopped and started.
4. The method of claim 1, wherein the predetermined time interval is selected in the range of 5-30 min.
5. The method according to claim 1, wherein the step S3 further comprises performing N cycles of the steps S201 to S206 in the preset time interval, and then determining whether the determination result of the step S206 is all yes in the N cycles, if yes, instructing a reminding module to perform reminding.
6. The method according to claim 1, wherein in the step S201, an origin of the rectangular plane coordinate system is a corner point in the desk image, the abscissa axis coincides with a short side of the desk image passing through the origin, and the ordinate axis coincides with a long side of the desk image passing through the origin.
7. The method according to claim 1, wherein in step S206, the preset angle is in a range of 0-5 °.
8. The method according to claim 1, wherein when the desktop of the desk does not completely fall within the shooting range of the camera module, the step S2 specifically comprises:
step S201', extracting a current instantaneous picture from the image data, and establishing a plane rectangular coordinate system comprising an abscissa axis and an ordinate axis in the instantaneous picture, wherein an origin of the coordinate system is an edge corner point of the instantaneous picture, the abscissa axis coincides with a long edge of the instantaneous picture passing through the origin, the ordinate axis coincides with a short edge of the instantaneous picture passing through the origin, measurement units used on the abscissa axis and the ordinate axis are international universal length units, and the camera module is arranged to keep the long edge of the instantaneous picture parallel to a long edge imaged by a desk;
step S202', book imaging about a book in the instant picture is obtained, and abscissa values and ordinate values of four corner points of the book imaging in the plane rectangular coordinate system are extracted;
step S203', determining two corner points closest to the abscissa axis from the four corner points of the book imaging and respectively using the two corner points as a first selected point and a second selected point;
step S204', calculating an included angle between a straight line passing through the first selected point and the second selected point and an abscissa axis according to the abscissa value and the ordinate value of the first selected point and the second selected point;
and S205', judging whether an included angle between the straight line and the abscissa axis is larger than a preset angle, if so, determining that the book placing angle on the desktop is unqualified, and if not, determining that the book placing angle on the desktop is qualified.
9. The method according to claim 8, wherein the step S3 further includes performing N cycles of the steps S201 ' to S205 ' within the preset time interval, and then determining whether the determination result of the step S205 ' is all yes in the N cycles, if yes, instructing a reminding module to implement reminding.
10. The method according to claim 8, wherein in step S205', the preset angle is in a range of 0-5 °.
11. The method of claim 8, wherein:
in step S204', an included angle between the straight line and the abscissa axis is obtained by the following formula:
Figure FDA0003344005950000031
in the formula (I), the compound is shown in the specification,
theta is an included angle between the straight line and the horizontal coordinate, and the unit is DEG;
x1 is the abscissa value of the first selected point in mm;
y1 is the ordinate value of the first selected point in mm;
x2 is the abscissa value of the second selected point in mm;
y2 is the ordinate value of the second selected point in mm.
12. A reading apparatus capable of correcting the angle of a book placed on a desk, comprising:
a desk;
the camera module is arranged on the desk and shoots a desktop of the desk;
a control module, connected to the camera module, capable of implementing the method according to any one of claims 1-11;
and the reminding module is connected with the control module.
CN202011281764.4A 2020-11-16 2020-11-16 Method capable of correcting placing angle of book on desk and reading equipment Active CN112419687B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011281764.4A CN112419687B (en) 2020-11-16 2020-11-16 Method capable of correcting placing angle of book on desk and reading equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011281764.4A CN112419687B (en) 2020-11-16 2020-11-16 Method capable of correcting placing angle of book on desk and reading equipment

Publications (2)

Publication Number Publication Date
CN112419687A CN112419687A (en) 2021-02-26
CN112419687B true CN112419687B (en) 2022-02-22

Family

ID=74832616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011281764.4A Active CN112419687B (en) 2020-11-16 2020-11-16 Method capable of correcting placing angle of book on desk and reading equipment

Country Status (1)

Country Link
CN (1) CN112419687B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6027079A (en) * 1983-07-22 1985-02-12 Mitsubishi Heavy Ind Ltd Sloping angle detector for character string
JPH01205287A (en) * 1988-02-10 1989-08-17 Oki Electric Ind Co Ltd Character line inclination detector
CN102156972A (en) * 2011-04-19 2011-08-17 清华大学 Image tilting correcting method and system
CN204423607U (en) * 2015-03-13 2015-06-24 万传宇 A kind of sitting posture of student Intelligent correction system for prompting
CN106375448A (en) * 2016-09-05 2017-02-01 腾讯科技(深圳)有限公司 Image processing method, device and system
CN106388420A (en) * 2016-10-30 2017-02-15 苏州市克拉思科文化传播有限公司 Child desk with function of parent management
CN110859630A (en) * 2019-11-26 2020-03-06 塔普翊海(上海)智能科技有限公司 Posture corrector based on AR technology and correction method thereof
CN111598943A (en) * 2020-04-15 2020-08-28 安徽淘云科技有限公司 Book in-position detection method, device and equipment based on book auxiliary reading equipment
CN111914821A (en) * 2019-05-10 2020-11-10 广东小天才科技有限公司 Dictation detection method and electronic equipment

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6250599B1 (en) * 1996-02-02 2001-06-26 Herbert E. Goldberg Universal book holder
US7844105B2 (en) * 2007-04-23 2010-11-30 Mitsubishi Electric Research Laboratories, Inc. Method and system for determining objects poses from range images
CN201911578U (en) * 2010-11-30 2011-08-03 李传友 Multifunctional Chinese textbook holder
JP2016041502A (en) * 2014-08-15 2016-03-31 博一 新美 Radio-binding bookbinding tool
CN106073195B (en) * 2016-08-01 2018-06-22 张建文 A kind of student desk
CN110020578A (en) * 2018-01-10 2019-07-16 广东欧珀移动通信有限公司 Image processing method, device, storage medium and electronic equipment
CN111079737B (en) * 2019-07-02 2023-09-26 广东小天才科技有限公司 Character inclination correction method and electronic equipment
CN111126394A (en) * 2019-12-25 2020-05-08 上海肇观电子科技有限公司 Character recognition method, reading aid, circuit and medium
CN111445386A (en) * 2020-04-15 2020-07-24 深源恒际科技有限公司 Image correction method based on four-point detection of text content

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6027079A (en) * 1983-07-22 1985-02-12 Mitsubishi Heavy Ind Ltd Sloping angle detector for character string
JPH01205287A (en) * 1988-02-10 1989-08-17 Oki Electric Ind Co Ltd Character line inclination detector
CN102156972A (en) * 2011-04-19 2011-08-17 清华大学 Image tilting correcting method and system
CN204423607U (en) * 2015-03-13 2015-06-24 万传宇 A kind of sitting posture of student Intelligent correction system for prompting
CN106375448A (en) * 2016-09-05 2017-02-01 腾讯科技(深圳)有限公司 Image processing method, device and system
CN106388420A (en) * 2016-10-30 2017-02-15 苏州市克拉思科文化传播有限公司 Child desk with function of parent management
CN111914821A (en) * 2019-05-10 2020-11-10 广东小天才科技有限公司 Dictation detection method and electronic equipment
CN110859630A (en) * 2019-11-26 2020-03-06 塔普翊海(上海)智能科技有限公司 Posture corrector based on AR technology and correction method thereof
CN111598943A (en) * 2020-04-15 2020-08-28 安徽淘云科技有限公司 Book in-position detection method, device and equipment based on book auxiliary reading equipment

Also Published As

Publication number Publication date
CN112419687A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN104754216B (en) A kind of photographic method and device
CN101766021B (en) Imaging apparatus and a control method of the imaging apparatus
CN103888654B (en) It takes pictures and corrects system and method
WO2019010819A1 (en) Brightness processing method for display screen and terminal device
US20100060665A1 (en) Electronic apparatus with image adjusting function and method thereof
TW201325222A (en) Camera system for aligning components of a PCB
US20090087078A1 (en) Display testing apparatus and method
TW201441916A (en) Method and system for whirling view on screen
CN112419687B (en) Method capable of correcting placing angle of book on desk and reading equipment
EP4072121A1 (en) Photographing method and apparatus, storage medium, and electronic device
CN103886288A (en) Sleepy state detecting method and system
JP2006268248A (en) Photographing device, and face direction determining method
CN103873755B (en) Jump portrait system and method
TWI427618B (en) Electronic device and an adjusting method for contents on screens thereof
CN110279468B (en) Equipment posture determining method and equipment
JP2009065248A (en) Image pickup device and its control method
TW201310354A (en) Image capturing device and image processing method
JP2011019035A (en) Information device, imaging apparatus having the same, and method of angle correction
CN103927728B (en) A kind for the treatment of method and apparatus of image
US20110052054A1 (en) Method and apparatus for positioning edges of photograph
US8411148B2 (en) Auto iris lens calibration device and method
CN108153563B (en) A kind of screen control method and device
WO2021147648A1 (en) Suggestion method and device, storage medium, and electronic apparatus
EP1953679A2 (en) Imaging apparatus and photographic subject detection method thereof
CN109584313B (en) Camera calibration method and device, computer equipment and storage medium

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