CN106781327A - Correcting sitting posture method and mobile terminal - Google Patents
Correcting sitting posture method and mobile terminal Download PDFInfo
- Publication number
- CN106781327A CN106781327A CN201710140942.3A CN201710140942A CN106781327A CN 106781327 A CN106781327 A CN 106781327A CN 201710140942 A CN201710140942 A CN 201710140942A CN 106781327 A CN106781327 A CN 106781327A
- Authority
- CN
- China
- Prior art keywords
- user
- sitting posture
- current time
- model
- inclination
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/18—Status alarms
- G08B21/24—Reminder alarms, e.g. anti-loss alarms
Landscapes
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The invention belongs to communication technical field, there is provided a kind of correcting sitting posture method and mobile terminal, the correcting sitting posture method include:When the mobile terminal starts dual camera, the sitting posture of user is shot simultaneously using the dual camera, to obtain the left and right image of current time user's sitting posture;The left and right image of user's sitting posture according to current time, obtains the sitting posture model of user described in current time;The target sitting posture model of the sitting posture model of user and the user according to current time, obtains the angle of inclination of user's body and incline direction described in current time;If the angle of inclination of user's body described in current time exceedes preset range, the angle of inclination of user's body and incline direction according to current time send corresponding prompt message to the user, to remind user to correct faulty sitting posture.User can be reminded to correct faulty sitting posture when user's body is inclined by the present invention, so as to improve the sitting posture situation of user.
Description
Technical field
The invention belongs to communication technical field, more particularly to correcting sitting posture method and mobile terminal.
Background technology
At present, most mobile terminal (such as panel computer) sets in numerous students in middle and primary schools colony as study
It is standby to be widely used.But correcting sitting posture is a problem for needing to give more sustained attention, bad sitting posture in students'learning
By the generation influence of growing of eyesight directly on student and body, ignore be likely to result in myopia, hunchback etc. for a long time
Situation, while bad sitting posture is also easier to make student produce fatigue, reduces learning efficiency.
Therefore, it is necessary to a kind of new technical scheme is proposed, to solve above-mentioned technical problem.
The content of the invention
In consideration of it, the embodiment of the present invention provides a kind of correcting sitting posture method and mobile terminal, with when user's body is inclined
User is reminded to correct faulty sitting posture, so as to improve the sitting posture situation of user.
A kind of first aspect of the embodiment of the present invention, there is provided correcting sitting posture method, is applied to mobile terminal, and the sitting posture is rectified
Correction method includes:
When the mobile terminal starts dual camera, the sitting posture of user is shot simultaneously using the dual camera, to obtain
Take the left and right image of current time user's sitting posture;
The left and right image of user's sitting posture according to current time, obtains the sitting posture model of user described in current time;
The target sitting posture model of the sitting posture model of user and the user according to current time, obtains current time institute
State angle of inclination and the incline direction of user's body;
If the angle of inclination of user's body described in current time exceedes preset range, user's body according to current time
The angle of inclination of body and incline direction, corresponding prompt message is sent to the user, to remind user to correct faulty sitting posture.
The second aspect of the embodiment of the present invention, there is provided a kind of mobile terminal, the mobile terminal includes:
Taking module, it is simultaneously for shooting using the dual camera for when the mobile terminal starts dual camera
The sitting posture at family, to obtain the left and right image of current time user's sitting posture;
Sitting posture model acquisition module, for the left and right image of user's sitting posture according to current time, obtains current time
The sitting posture model of the user;
Inclination information acquisition module, the target of sitting posture model and the user for the user according to current time is sat
Appearance model, obtains the angle of inclination of user's body and incline direction described in current time;
Prompt message sends module, if exceeding preset range for the angle of inclination of user's body described in current time,
The angle of inclination of user's body and incline direction according to current time, corresponding prompt message is sent to the user, with
User is reminded to correct faulty sitting posture.
The beneficial effect that the embodiment of the present invention exists compared with prior art is:The embodiment of the present invention is by the movement
When terminal starts dual camera, the sitting posture of user can be simultaneously shot using the dual camera, to obtain current time user
The left and right image of sitting posture, and according to current time user's sitting posture left and right image, obtain user described in current time
Sitting posture model, the target sitting posture model of the sitting posture model of user and the user according to current time obtains current time
The angle of inclination of the user's body and incline direction, and exceed default model at the angle of inclination of user's body described in current time
When enclosing, the angle of inclination of user's body and incline direction according to current time send corresponding prompting letter to the user
Breath, to remind user to correct faulty sitting posture, so as to improve the sitting posture situation of user.
Brief description of the drawings
Technical scheme in order to illustrate more clearly the embodiments of the present invention, below will be to embodiment or description of the prior art
Needed for the accompanying drawing to be used be briefly described, it should be apparent that, drawings in the following description are only more of the invention
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the schematic flow diagram of the correcting sitting posture method that the embodiment of the present invention one is provided;
Fig. 2 is the exemplary plot of the head run-off the straight of user;
Fig. 3 is the schematic block diagram of the mobile terminal that the embodiment of the present invention two is provided;
Fig. 4 is the schematic block diagram of the mobile terminal that the embodiment of the present invention three is provided.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
It should be appreciated that when using in this specification and in the appended claims, term " including " and "comprising" instruction
The presence of described feature, entirety, step, operation, element and/or component, but it is not precluded from one or more of the other feature, whole
The presence or addition of body, step, operation, element, component and/or its set.
It is also understood that the term used in this description of the invention is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the present invention.As used in description of the invention and appended claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, " one " and " being somebody's turn to do " is intended to include plural form.
It will be further appreciated that, the term "and/or" used in description of the invention and appended claims is
Refer to any combinations of one or more in the associated item listed and be possible to combination, and including these combinations.
As in this specification and in the appended claims as use, term " if " can be according to context quilt
Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or
" if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true
It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In implementing, the mobile terminal described in the embodiment of the present invention including but not limited to such as has the sensitive table of touch
Other of the mobile phone in face (for example, touch-screen display and/or touch pad), laptop computer or tablet PC etc
Portable set.It is to be further understood that in certain embodiments, the equipment not portable communication device, but have
The desktop computer of touch sensitive surface (for example, touch-screen display and/or touch pad).
In discussion below, describe to include the mobile terminal of display and touch sensitive surface.However, should manage
Solution, mobile terminal can include that one or more of the other physical User of such as physical keyboard, mouse and/or control-rod connects
Jaws equipment.
Mobile terminal supports various application programs, such as it is following in one or more:Drawing application program, demonstration application
Program, word-processing application, website establishment application program, disk imprinting application program, spreadsheet applications, game are answered
With program, telephony application, videoconference application, email application, instant messaging applications, forging
Refining supports that application program, photo management application program, digital camera application program, digital camera application program, web-browsing should
With program, digital music player application and/or video frequency player application program.
The various application programs that can be performed on mobile terminals can use at least one of such as touch sensitive surface
Public physical user-interface device.Can be adjusted among applications and/or in corresponding application programs and/or change touch is quick
Feel the corresponding information shown in the one or more functions and mobile terminal on surface.So, the public physics frame of mobile terminal
Structure (for example, touch sensitive surface) can support the various application journeys with user interface directly perceived and transparent for a user
Sequence.
It is a kind of schematic flow diagram of correcting sitting posture method that the embodiment of the present invention one is provided, the correcting sitting posture referring to Fig. 1
Method is applied to mobile terminal, and the correcting sitting posture method may comprise steps of as shown in the figure:
Step S101, when the mobile terminal starts dual camera, shoots user's using the dual camera simultaneously
Sitting posture, to obtain the left and right image of current time user's sitting posture.
In embodiments of the present invention, in order to more accurately analyze the sitting posture situation of user, the mobile terminal is based on double
Camera is detected that the visual theory of imitation human eye obtains the sitting posture data of user, i.e. a left side for user's sitting posture from both direction
Image and right image, wherein, the left image can be the mobile terminal dual camera in use captured by left camera
Family sitting posture image, the right image can be the mobile terminal dual camera in user's sitting posture figure captured by right camera
Picture.Wherein, in order to obtain the sitting posture image of user, the dual camera can refer to preposition double shootings of the mobile terminal
Head.
It should be noted that in order to reduce the left image of acquired user's sitting posture and the error of right image, described pair is taken the photograph
As the parameter setting of head is identical.
Step S102, the left and right image of user's sitting posture according to current time obtains the seat of user described in current time
Appearance model.
In embodiments of the present invention, the sitting posture model of the user refers to that the sitting posture data of user described in current time exist
Coordinate data is converted in the conventional coordinates for pre-setting.Wherein, the conventional coordinates can refer in the user
When sitting posture is standard sitting posture, the straight line with two shoulders by the user is abscissa, directly over the head of the user
The straight line of central point be ordinate, two intersection points of straight line are the coordinate system of origin.The sitting posture data of wherein described user can
With refer to user's sitting posture left and right image in pixel.The coordinate data refers to the left and right figure of user's sitting posture
As in pixel corresponding coordinate model coordinate value.
In embodiments of the present invention, it is typically to analyze head, the shoulder neck, upper body of user due to analyzing the sitting posture situation of user
The positions such as body trunk, the efficiency in order to improve the sitting posture model for obtaining the user, can be in the left and right of user's sitting posture
The body wheel at the positions such as the head including the user, shoulder neck, upper body body trunk is first marked in image with edge pixel point
Exterior feature, then will be selected from above-mentioned edge pixel point can respectively characterize head, the shoulder neck of the user, upper body body trunk
Deng position predeterminated position on pixel, for example, central point directly over the head of user described in edge pixel point can be chosen
Judge whether the head of the user inclines.And all of pixel in the left and right image of user's sitting posture need not be studied, carry
The efficiency of the high sitting posture model for obtaining user, also improves the efficiency for judging user's sitting posture situation.
It is described according to current time in embodiments of the present invention in order to more accurately acquire the sitting posture model of user
The left and right image of user's sitting posture, the sitting posture model for obtaining user described in current time includes:
The left and right image of user's sitting posture according to current time, obtains the left and right mould of user's sitting posture described in current time
Type;
The left and right model of user's sitting posture according to current time, obtains the sitting posture model of user described in current time.
In embodiments of the present invention, the user will can be characterized in the sitting posture data in the left image of user's sitting posture
Head, shoulder neck, the pixel at the position such as upper body body trunk is converted to coordinate data, i.e., described in conventional coordinates
The coordinate value of above-mentioned pixel is marked in conventional coordinates, so as to set up the left mould type of user's sitting posture.By the user
The pixel at the positions such as head, the shoulder neck of the user, upper body body trunk is characterized in sitting posture data in the right image of sitting posture,
Coordinate data is converted in conventional coordinates, i.e., the coordinate value of above-mentioned pixel is marked in the conventional coordinates, from
And set up the right mould type of user's sitting posture.
Optionally, the left and right model of user's sitting posture according to current time, obtains user described in current time
Sitting posture model includes:
Obtain the corresponding relation of pixel in pixel and right mould type in the left mould type of user's sitting posture described in current time;
The average value of the coordinate value of corresponding pixel points in the left and right model of user's sitting posture described in current time is calculated, and will
Coordinate value of the average value as the pixel in the sitting posture model of user described in current time.
In embodiments of the present invention, the same body of the user is characterized in the left and right model for obtaining user's sitting posture
The pixel at position, and obtain the pixel of the same body part for characterizing the user user's sitting posture it is left,
Coordinate value in right mould type, then asks for coordinate value of the pixel in the left mould type of user's sitting posture and in right mould type
Coordinate value average value, and the seat using the average value as the pixel in the sitting posture model of the user to be set up
Scale value.The sitting posture model of the user is that the coordinate data in the left mould type by the user is right with the right mould type of the user
The coordinate data averaged answered, by the left and right model integration of the user to a sitting posture model.For example for sentencing
Coordinates of the pixel A of central point in left mould type directly over the head of the whether inclined user of head of the disconnected user
It is (x1, y1) to be worth, and the coordinate value in right mould type is (x2, y2), then seats of the pixel A in the sitting posture model of the user
Scale value is ((x1+x2)/2, (y1+y2)/2).
Step S103, the target sitting posture model of the sitting posture model of user and the user according to current time is obtained
The angle of inclination of user's body described in current time and incline direction.
In embodiments of the present invention, can according to current time the sitting posture model of user and the use for pre-setting
The target sitting posture model at family, obtains the angle of inclination of user's body and incline direction described in current time.
Optionally, also included before the sitting posture model of user described in current time is obtained:
Obtain the target sitting posture model of the user.
In embodiments of the present invention, after the dual camera during user starts the mobile terminal, can first using described
Dual camera shoots the sitting posture model of user simultaneously, to obtain the left and right image of user's specification sitting posture, then according to the user
The left and right image of standard sitting posture, obtains the left and right model of the user's specification sitting posture respectively, according to the user's specification sitting posture
Left and right model, the standard sitting posture model of the user is obtained, with the user for the mobile terminal will be obtained in real time
Sitting posture model contrasted with the standard sitting posture model, so as to judge whether the user's body inclines.Wherein, the user
Standard sitting posture model also set up based on the conventional coordinates for pre-setting.
It should be noted that in order to reduce the target sitting posture model of the user and the sitting posture mould of user described in current time
The error of type, the placement location of the mobile terminal, placement during the sitting posture model of user described in current time is obtained
The parameters such as gradient, it is necessary to obtain the placement location of mobile terminal described in the target sitting posture model process of the user,
The parameters such as placement gradient are identical, such as in the target sitting posture model and the sitting posture of user described in current time for obtaining the user
During model, panel computer is fixed on same position or same angle of inclination using support frame and keeps constant.If
The placement location or placement gradient of the mobile terminal are changed, then user can be pointed out to ensure the mobile terminal
Placement location, place the parameter constant such as gradient in the case of, reacquire the target sitting posture model of the user and current
The sitting posture model of user described in the moment.
Optionally, the target sitting posture model of the sitting posture model of the user according to current time and the user, obtains
The angle of inclination and incline direction for taking user's body described in current time include:
Seat of the point of predeterminated position on the user's body in the sitting posture model of user described in current time is obtained respectively
Scale value, and the coordinate value in the target sitting posture model of the user;
Coordinate value in point sitting posture model of user described at current time according to the predeterminated position and in the use
Coordinate value in the target sitting posture model at family, obtains the angle of inclination and inclination side of user's body corresponding site described in current time
To.
It should be noted that setting up the efficiency of the standard sitting posture model of the user, the standard of the user in order to improve
Can also be only included in sitting posture model on the predeterminated positions at position such as head, the shoulder neck for characterizing the user, upper body body trunk
Pixel, coordinate value that can be according to the pixel in the standard sitting posture model of the user, and the pixel is in the shifting
Coordinate value in the sitting posture model of the user that dynamic terminal is obtained in real time, obtains angle of inclination and the inclination of the user's body
Direction.If Fig. 2 is the exemplary plot of the head run-off the straight of user.The pixel A of central point directly over the head of user in fig. 2
Coordinate value in the sitting posture model of user described in current time is (x1,y1), the seat in the target sitting posture model of the user
Scale value is (x2,y2), because the target sitting posture model of the user is with the surface central point of the user as ordinate, then x2
=0, the angle of inclination of the head of the user isIncline direction is to be tilted to the right.
Step S104, if the angle of inclination of user's body described in current time exceedes preset range, according to current time
The angle of inclination of the user's body and incline direction, corresponding prompt message is sent to the user, to remind user to correct
Sitting posture.
In embodiments of the present invention, the preset range can sets itself, such as (0~10 °) according to actual needs,
This is not construed as limiting.The mobile terminal can send corresponding prompt message in the way of pop-up or voice to the user, from
And remind user to correct faulty sitting posture.Wherein, the prompt message can refer to the angle of inclination according to the user's body and inclination
The suggestion for correcting faulty sitting posture given by direction.
Exemplary, if the angle of inclination of the head of the user is as shown in Figure 2More than default
Scope, then can send to the user and head is tilted to the leftCorrection suggestion, to remind the use
Be tilted to the left for head by familyConsequently facilitating head correction is standard gestures by the user.
In embodiments of the present invention, if the angle of inclination of user's body described in current time is not less than preset range, for
The power consumption of the reduction mobile terminal, the mobile terminal can again be examined again after dormancy Preset Time (such as 5 minutes)
Survey the sitting posture of the user.
The embodiment of the present invention is by that when the mobile terminal starts dual camera, can use the dual camera simultaneously
The sitting posture of user is shot, to obtain the left and right image of current time user's sitting posture, and user's sitting posture according to current time
Left and right image, obtains the sitting posture model of user described in current time, the sitting posture model of user and described according to current time
The target sitting posture model of user, obtains the angle of inclination of user's body and incline direction described in current time, and at current time
When the angle of inclination of the user's body exceedes preset range, the angle of inclination of user's body and inclination according to current time
Direction, corresponding prompt message is sent to the user, to remind user to correct faulty sitting posture, so as to improve the sitting posture situation of user.
It should be understood that in the above-described embodiments, the size of the sequence number of each step is not meant to the priority of execution sequence, each step
Rapid execution sequence should determine that the implementation process without tackling the embodiment of the present invention constitutes any limit with its function and internal logic
It is fixed.
It is a kind of schematic block diagram of mobile terminal that the embodiment of the present invention two is provided, for convenience of description, only referring to Fig. 3
Show the part related to the embodiment of the present invention.
The mobile terminal includes:
Taking module 31, for when the mobile terminal starts dual camera, being shot using the dual camera simultaneously
The sitting posture of user, to obtain the left and right image of current time user's sitting posture;
Sitting posture model acquisition module 32, for the left and right image of user's sitting posture according to current time, when obtaining current
Carve the sitting posture model of the user;
Inclination information acquisition module 33, the target of sitting posture model and the user for the user according to current time
Sitting posture model, obtains the angle of inclination of user's body and incline direction described in current time;
Prompt message sends module 34, if exceeding preset range for the angle of inclination of user's body described in current time,
Then the angle of inclination of user's body and incline direction according to current time, corresponding prompt message is sent to the user,
To remind user to correct faulty sitting posture.
Optionally, the mobile terminal also includes:
Target sitting posture model acquisition module 35, for before the sitting posture model of user described in current time is obtained, obtaining
The target sitting posture model of user described in current time.
The sitting posture model acquisition module 32 includes:
First acquisition unit 321, for the left and right image of user's sitting posture according to current time, obtains current time
The left and right model of user's sitting posture;
Second acquisition unit 322, for the left and right model of user's sitting posture according to current time, obtains current time
The sitting posture model of the user.
Optionally, the second acquisition unit 322 includes:
Subelement is obtained, for pixel in pixel in the left mould type for obtaining user's sitting posture described in current time and right mould type
The corresponding relation of point;
Computation subunit, for the coordinate of corresponding pixel points in the left and right model for calculating user's sitting posture described in current time
The average value of value, and the coordinate value using the average value as the pixel in the sitting posture model of user described in current time.
The inclination information acquisition module 33 includes:
Coordinate value acquiring unit 331, for obtaining the point of predeterminated position on the user's body respectively in current time institute
State the coordinate value in the sitting posture model of user, and the coordinate value in the target sitting posture model of the user;
Inclination information acquiring unit 332, for according to the point of the predeterminated position at current time described in user sitting posture
Coordinate value in model and the coordinate value in the target sitting posture model of the user, obtain user's body phase described in current time
Answer angle of inclination and the incline direction at position.
It is apparent to those skilled in the art that, for convenience of description and succinctly, only with above-mentioned each work(
The division of energy module is carried out for example, in practical application, as needed can distribute by different functions above-mentioned functions
Unit, module are completed, will the internal structure of the mobile terminal be divided into different functional unit or modules, more than completion
The all or part of function of description.Each functional module in embodiment can be integrated in a processing unit, or
Unit is individually physically present, it is also possible to which two or more units are integrated in a unit, above-mentioned integrated unit
Both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.In addition, the tool of each functional module
Body title is also only to facilitate mutually differentiation, is not limited to the protection domain of the application.Module in above-mentioned mobile terminal
Specific work process, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
It is a kind of schematic block diagram of mobile terminal that the embodiment of the present invention three is provided referring to Fig. 4.The movement as depicted
Terminal can include:One or more processors 401 (only show one) in figure;One or more input equipments 402 are (in figure only
Show one), one or more output equipments 403 (one is only shown in figure) and memory 404.Above-mentioned processor 401, input
Equipment 402, output equipment 403 and memory 404 are connected by bus 405.Memory 404 is used for store instruction, processor 401
Instruction for performing the storage of memory 404.Wherein:
The processor 401, for when the mobile terminal starts dual camera, being clapped using the dual camera simultaneously
The sitting posture of user is taken the photograph, to obtain the left and right image of current time user's sitting posture;According to current time user's sitting posture it is left,
Right image, obtains the sitting posture model of user described in current time;The sitting posture model and the use of user according to current time
The target sitting posture model at family, obtains the angle of inclination of user's body and incline direction described in current time;If described in current time
The angle of inclination of user's body exceedes preset range, then the angle of inclination of user's body and inclination side according to current time
To corresponding prompt message being sent to the user by the output equipment 403, to remind user to correct faulty sitting posture.
Optionally, before the sitting posture model of user described in current time is obtained, the processor 401 is additionally operable to obtain institute
State the target sitting posture model of user.
Optionally, the processor 401 specifically for:
The left and right image of user's sitting posture according to current time, obtains the left and right mould of user's sitting posture described in current time
Type;
The left and right model of user's sitting posture according to current time, obtains the sitting posture model of user described in current time.
Optionally, the processor 401 specifically for:
Obtain the corresponding relation of pixel in pixel and right mould type in the left mould type of user's sitting posture described in current time;
The average value of the coordinate value of corresponding pixel points in the left and right model of user's sitting posture described in current time is calculated, and will
Coordinate value of the average value as the pixel in the sitting posture model of user described in current time.
Optionally, the processor 401 specifically for:
Seat of the point of predeterminated position on the user's body in the sitting posture model of user described in current time is obtained respectively
Scale value, and the coordinate value in the target sitting posture model of the user;
Coordinate value in point sitting posture model of user described at current time according to the predeterminated position and in the use
Coordinate value in the target sitting posture model at family, obtains the angle of inclination and inclination side of user's body corresponding site described in current time
To.
The output equipment 403, for user feedback execution result information.
The memory 404, for storing software program and unit, the processor 401 is by running storage in institute
The software program and unit of memory 404 are stated, so that various function application and data processing are performed, to remind user to correct
Sitting posture.
It should be appreciated that in embodiments of the present invention, alleged processor 401 can be CPU (Central
Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital
Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit,
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs
Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at
Reason device can also be any conventional processor etc..
Input equipment 402 can include that Trackpad, fingerprint adopt sensor (finger print information and fingerprint for gathering user
Directional information), microphone etc., output equipment 403 can be including display (LCD etc.), loudspeaker etc..
The memory 404 can include read-only storage and random access memory, and to processor 401 provide instruction and
Data.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be deposited
Store up the information of device type.
In implementing, processor 401, input equipment 402 described in the embodiment of the present invention, output equipment 403 can
The implementation described in the embodiment of correcting sitting posture method provided in an embodiment of the present invention is performed, embodiment two is also can perform
Implementation described in the mobile terminal, will not be repeated here.
Those of ordinary skill in the art are it is to be appreciated that the mould of each example described with reference to the embodiments described herein
Block and algorithm steps, can be realized, with electronic hardware, computer software or the combination of the two in order to clearly demonstrate hardware
With the interchangeability of software, the composition and step of each example are generally described according to function in the above description.This
A little functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specially
Industry technical staff can realize described function to each specific application using distinct methods, but this realization is not
It is considered as beyond the scope of this invention.
In embodiment provided herein, it should be understood that disclosed mobile terminal and method, can be by it
Its mode is realized.For example, mobile terminal embodiment described above is only schematical, for example, the module or list
The division of unit, only a kind of division of logic function can have other dividing mode when actually realizing, such as multiple units or
Component can be combined or be desirably integrated into another system, or some features can be ignored, or not performed.It is another, show
The coupling each other shown or discuss or direct-coupling or communication connection can be by some interfaces, between device or unit
Connect coupling or communication connection, or electricity, machinery or other forms connections.
The unit that is illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be according to the actual needs selected to realize embodiment of the present invention scheme
Purpose.
In addition, during each functional module in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, or two or more units are integrated in a unit.It is above-mentioned integrated
Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is to realize in the form of SFU software functional unit and as independent production marketing or use
When, can store in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part for being contributed to prior art in other words, or all or part of the technical scheme can be in the form of software product
Embody, the computer software product is stored in a storage medium, including some instructions are used to so that a computer
Equipment (can be personal computer, server, or network equipment etc.) performs the complete of each embodiment methods described of the invention
Portion or part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any
Those familiar with the art the invention discloses technical scope in, various equivalent modifications can be readily occurred in or replaced
Change, these modifications or replacement should all be included within the scope of the present invention.Therefore, protection scope of the present invention should be with right
It is required that protection domain be defined.
Claims (10)
1. a kind of correcting sitting posture method, is applied to mobile terminal, it is characterised in that the correcting sitting posture method includes:
When the mobile terminal starts dual camera, the sitting posture of user is shot simultaneously using the dual camera, worked as with obtaining
The left and right image of preceding moment user sitting posture;
The left and right image of user's sitting posture according to current time, obtains the sitting posture model of user described in current time;
The target sitting posture model of the sitting posture model of user and the user according to current time, obtains and is used described in current time
The angle of inclination of family body and incline direction;
If the angle of inclination of user's body described in current time exceedes preset range, the user's body according to current time
Angle of inclination and incline direction, corresponding prompt message is sent to the user, to remind user to correct faulty sitting posture.
2. correcting sitting posture method according to claim 1, it is characterised in that obtaining the sitting posture of user described in current time
Also include before model:
Obtain the target sitting posture model of the user.
3. correcting sitting posture method according to claim 1, it is characterised in that user's sitting posture according to current time
Left and right image, obtain current time described in the sitting posture model of user include:
The left and right image of user's sitting posture according to current time, obtains the left and right model of user's sitting posture described in current time;
The left and right model of user's sitting posture according to current time, obtains the sitting posture model of user described in current time.
4. correcting sitting posture method according to claim 3, it is characterised in that user's sitting posture according to current time
Left and right model, obtain current time described in the sitting posture model of user include:
Obtain the corresponding relation of pixel in pixel and right mould type in the left mould type of user's sitting posture described in current time;
The average value of the coordinate value of corresponding pixel points in the left and right model of user's sitting posture described in current time is calculated, and this is put down
Coordinate value of the average as the pixel in the sitting posture model of user described in current time.
5. the correcting sitting posture method according to any one of Claims 1-4, it is characterised in that described according to current time
The sitting posture model of user and the target sitting posture model of the user, obtain the angle of inclination of user's body described in current time and incline
Tilted direction includes:
Coordinate value of the point of predeterminated position on the user's body in the sitting posture model of user described in current time is obtained respectively,
With the coordinate value in the target sitting posture model of the user;
Coordinate value in point sitting posture model of user described at current time according to the predeterminated position and the user's
Coordinate value in target sitting posture model, obtains the angle of inclination of user's body corresponding site and incline direction described in current time.
6. a kind of mobile terminal, is characterised by, the mobile terminal includes:
Taking module, for when the mobile terminal starts dual camera, shooting user's simultaneously using the dual camera
Sitting posture, to obtain the left and right image of current time user's sitting posture;
Sitting posture model acquisition module, for the left and right image of user's sitting posture according to current time, obtains described in current time
The sitting posture model of user;
Inclination information acquisition module, the target sitting posture mould of sitting posture model and the user for the user according to current time
Type, obtains the angle of inclination of user's body and incline direction described in current time;
Prompt message sends module, if exceeding preset range, basis for the angle of inclination of user's body described in current time
The angle of inclination of user's body described in current time and incline direction, corresponding prompt message is sent to the user, to remind
User corrects faulty sitting posture.
7. mobile terminal according to claim 6, it is characterised in that the mobile terminal also includes:
Target sitting posture model acquisition module, for before the sitting posture model of user described in current time is obtained, obtaining the use
The target sitting posture model at family.
8. mobile terminal according to claim 6, it is characterised in that the sitting posture model acquisition module includes:
First acquisition unit, for the left and right image of user's sitting posture according to current time, obtains user described in current time
The left and right model of sitting posture;
Second acquisition unit, for the left and right model of user's sitting posture according to current time, obtains user described in current time
Sitting posture model.
9. mobile terminal according to claim 8, it is characterised in that the second acquisition unit includes:
Subelement is obtained, for pixel in pixel in the left mould type for obtaining user's sitting posture described in current time and right mould type
Corresponding relation;
Computation subunit, for the coordinate value of corresponding pixel points in the left and right model for calculating user's sitting posture described in current time
Average value, and the coordinate value using the average value as the pixel in the sitting posture model of user described in current time.
10. the mobile terminal according to any one of claim 6 to 9, it is characterised in that the inclination information acquisition module bag
Include:
Coordinate value acquiring unit, for obtaining the point of predeterminated position on the user's body respectively in user described in current time
Coordinate value in sitting posture model, and the coordinate value in the target sitting posture model of the user;
Inclination information acquiring unit, for according to the point of the predeterminated position at current time described in user sitting posture model in
Coordinate value and the coordinate value in the target sitting posture model of the user, obtain user's body corresponding site described in current time
Angle of inclination and incline direction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710140942.3A CN106781327B (en) | 2017-03-09 | 2017-03-09 | Sitting posture correction method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710140942.3A CN106781327B (en) | 2017-03-09 | 2017-03-09 | Sitting posture correction method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106781327A true CN106781327A (en) | 2017-05-31 |
CN106781327B CN106781327B (en) | 2020-02-07 |
Family
ID=58961885
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710140942.3A Active CN106781327B (en) | 2017-03-09 | 2017-03-09 | Sitting posture correction method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106781327B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108334812A (en) * | 2017-12-27 | 2018-07-27 | 北京海杭通讯科技有限公司 | Automatic detection sitting posture method and device |
CN108614990A (en) * | 2018-03-06 | 2018-10-02 | 清华大学 | A kind of child sitting gesture detection intelligent interaction device system and method |
CN109491520A (en) * | 2018-11-19 | 2019-03-19 | 广东小天才科技有限公司 | A kind of sitting based reminding method and wrist wearable device based on wrist wearable device |
CN110245637A (en) * | 2019-06-20 | 2019-09-17 | 深圳市成者云科技有限公司 | A kind of sitting posture monitoring method and device |
CN110288813A (en) * | 2019-05-20 | 2019-09-27 | 广州市国翼教育科技有限公司 | It is a kind of health sitting posture monitoring method with and its monitoring system |
CN110930781A (en) * | 2019-12-04 | 2020-03-27 | 广州云蝶科技有限公司 | Recording and broadcasting system |
CN111047832A (en) * | 2018-10-15 | 2020-04-21 | 珠海格力电器股份有限公司 | Mobile equipment with sitting posture adjusting function and using method thereof |
CN111382652A (en) * | 2018-12-29 | 2020-07-07 | 沈阳新松机器人自动化股份有限公司 | Sitting posture monitoring method based on 2D vision |
CN112617815A (en) * | 2020-12-17 | 2021-04-09 | 深圳数联天下智能科技有限公司 | Sitting posture assessment method and device, computer equipment and storage medium |
CN112949587A (en) * | 2021-03-31 | 2021-06-11 | 上海电机学院 | Key point-based hand holding posture correction method and system and computer readable medium |
CN113591522A (en) * | 2020-04-30 | 2021-11-02 | 百度在线网络技术(北京)有限公司 | Image processing method, device and storage medium |
CN114596633A (en) * | 2022-03-04 | 2022-06-07 | 海信集团控股股份有限公司 | Sitting posture detection method and terminal |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6483485B1 (en) * | 1999-08-18 | 2002-11-19 | Jung-Tang Huang | Method and device for protecting eyes through screen displaying setting |
CN103514719A (en) * | 2013-10-15 | 2014-01-15 | 中国科学院深圳先进技术研究院 | Sitting posture correcting method and device |
CN103729981A (en) * | 2014-01-03 | 2014-04-16 | 东南大学 | Child sitting posture monitoring intelligent terminal |
CN103908063A (en) * | 2014-04-03 | 2014-07-09 | 安徽海聚信息科技有限责任公司 | Intelligent desk with sitting posture correcting function and correcting method implemented by intelligent desk |
CN104055344A (en) * | 2014-07-01 | 2014-09-24 | 薛晶晶 | Intelligent study desk and chair |
CN104239860A (en) * | 2014-09-10 | 2014-12-24 | 广东小天才科技有限公司 | Detecting and reminding method and device for sitting posture in using process of intelligent terminal |
CN105307017A (en) * | 2015-11-03 | 2016-02-03 | Tcl集团股份有限公司 | Method and device for correcting posture of smart television user |
CN105599642A (en) * | 2015-12-18 | 2016-05-25 | 小米科技有限责任公司 | Automatic adjusting method, device and terminal for seat |
-
2017
- 2017-03-09 CN CN201710140942.3A patent/CN106781327B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6483485B1 (en) * | 1999-08-18 | 2002-11-19 | Jung-Tang Huang | Method and device for protecting eyes through screen displaying setting |
CN103514719A (en) * | 2013-10-15 | 2014-01-15 | 中国科学院深圳先进技术研究院 | Sitting posture correcting method and device |
CN103729981A (en) * | 2014-01-03 | 2014-04-16 | 东南大学 | Child sitting posture monitoring intelligent terminal |
CN103908063A (en) * | 2014-04-03 | 2014-07-09 | 安徽海聚信息科技有限责任公司 | Intelligent desk with sitting posture correcting function and correcting method implemented by intelligent desk |
CN104055344A (en) * | 2014-07-01 | 2014-09-24 | 薛晶晶 | Intelligent study desk and chair |
CN104239860A (en) * | 2014-09-10 | 2014-12-24 | 广东小天才科技有限公司 | Detecting and reminding method and device for sitting posture in using process of intelligent terminal |
CN105307017A (en) * | 2015-11-03 | 2016-02-03 | Tcl集团股份有限公司 | Method and device for correcting posture of smart television user |
CN105599642A (en) * | 2015-12-18 | 2016-05-25 | 小米科技有限责任公司 | Automatic adjusting method, device and terminal for seat |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108334812A (en) * | 2017-12-27 | 2018-07-27 | 北京海杭通讯科技有限公司 | Automatic detection sitting posture method and device |
CN108614990A (en) * | 2018-03-06 | 2018-10-02 | 清华大学 | A kind of child sitting gesture detection intelligent interaction device system and method |
CN111047832A (en) * | 2018-10-15 | 2020-04-21 | 珠海格力电器股份有限公司 | Mobile equipment with sitting posture adjusting function and using method thereof |
CN109491520A (en) * | 2018-11-19 | 2019-03-19 | 广东小天才科技有限公司 | A kind of sitting based reminding method and wrist wearable device based on wrist wearable device |
CN109491520B (en) * | 2018-11-19 | 2022-03-01 | 广东小天才科技有限公司 | Sedentary reminding method based on wrist type wearable equipment and wrist type wearable equipment |
CN111382652A (en) * | 2018-12-29 | 2020-07-07 | 沈阳新松机器人自动化股份有限公司 | Sitting posture monitoring method based on 2D vision |
CN110288813A (en) * | 2019-05-20 | 2019-09-27 | 广州市国翼教育科技有限公司 | It is a kind of health sitting posture monitoring method with and its monitoring system |
CN110245637A (en) * | 2019-06-20 | 2019-09-17 | 深圳市成者云科技有限公司 | A kind of sitting posture monitoring method and device |
CN110930781A (en) * | 2019-12-04 | 2020-03-27 | 广州云蝶科技有限公司 | Recording and broadcasting system |
CN113591522A (en) * | 2020-04-30 | 2021-11-02 | 百度在线网络技术(北京)有限公司 | Image processing method, device and storage medium |
CN112617815A (en) * | 2020-12-17 | 2021-04-09 | 深圳数联天下智能科技有限公司 | Sitting posture assessment method and device, computer equipment and storage medium |
CN112949587A (en) * | 2021-03-31 | 2021-06-11 | 上海电机学院 | Key point-based hand holding posture correction method and system and computer readable medium |
CN114596633A (en) * | 2022-03-04 | 2022-06-07 | 海信集团控股股份有限公司 | Sitting posture detection method and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN106781327B (en) | 2020-02-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106781327A (en) | Correcting sitting posture method and mobile terminal | |
CN109087239B (en) | Face image processing method and device and storage medium | |
CN102737303B (en) | Contextually-appropriate task reminders | |
CN107395958B (en) | Image processing method and device, electronic equipment and storage medium | |
CN104808923B (en) | A kind of screen control method and electronic equipment | |
CN107491186A (en) | Touch keypad for screen | |
TWI470564B (en) | User emtion detection method and handwriting input electronic device | |
CN108628656A (en) | Interface adaptation method, device, computer equipment and storage medium on ios device | |
CN106709886B (en) | Automatically drawing method and device are repaired | |
CN110443230A (en) | Face fusion method, apparatus and electronic equipment | |
CN106201316A (en) | For selecting the equipment of user interface object, method and graphic user interface | |
US20140306938A1 (en) | Device, method, and graphical user interface for orientation-based parallax display | |
CN109191384A (en) | Image processing method, device, mobile terminal and storage medium based on ink screen | |
CN107301803A (en) | A kind of order of strokes observed in calligraphy correcting method, device, terminal device and computer-readable storage medium | |
CN105262900A (en) | Screen brightness adjusting method and screen brightness adjusting device | |
CN108874134A (en) | Eyeshield mode treatment method, mobile terminal and computer readable storage medium | |
US20180300011A1 (en) | Method for Controlling Display of Touchscreen, and Mobile Device | |
EP3803799A1 (en) | Virtual skeleton based on computing device capability profile | |
CN107809531A (en) | A kind of schedule creation method, mobile terminal | |
CN114742925A (en) | Covering method and device for virtual object, electronic equipment and storage medium | |
CN107193434A (en) | Status bar display method and terminal | |
CN103823610B (en) | A kind of electronic equipment and its information processing method | |
CN104156971A (en) | Method and device for accurately simulating visual conditions of visual disturbance persons | |
CN116600043A (en) | Method and user interface for sharing audio | |
CN113486789A (en) | Face area-based sitting posture detection method, electronic 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 |