CN104122978A - Display frame adjusting system and method - Google Patents

Display frame adjusting system and method Download PDF

Info

Publication number
CN104122978A
CN104122978A CN201310144412.8A CN201310144412A CN104122978A CN 104122978 A CN104122978 A CN 104122978A CN 201310144412 A CN201310144412 A CN 201310144412A CN 104122978 A CN104122978 A CN 104122978A
Authority
CN
China
Prior art keywords
display
display frame
rectangle
electronic installation
screen
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.)
Pending
Application number
CN201310144412.8A
Other languages
Chinese (zh)
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.)
Ambit Microsystems Shanghai Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Ambit Microsystems Shanghai Ltd
Hon Hai Precision Industry 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 Ambit Microsystems Shanghai Ltd, Hon Hai Precision Industry Co Ltd filed Critical Ambit Microsystems Shanghai Ltd
Priority to CN201310144412.8A priority Critical patent/CN104122978A/en
Publication of CN104122978A publication Critical patent/CN104122978A/en
Pending legal-status Critical Current

Links

Abstract

A display frame adjusting system is applied to an electronic device and comprises an orientation detection module, a shooting module, an image resolution module and an adjusting module. The orientation detection module is used for detecting whether the direction of the electronic device is changed or not. The shooting module is used for shooting an image of a user when the direction of the electronic device is changed. The image resolution module is used for performing face recognition on the image, obtaining the face in the image and obtaining a minimum bounding rectangle of the face through calculation. The adjusting module is used for adjusting the display direction of display contents on a display screen according to the shape of the minimum bounding rectangle of the face. The invention further provides a display frame adjusting method. By using the display frame adjusting system and the display frame adjusting method, the display frame can be adjusted to be in the direction suitable for viewing of the user according to a viewing angle of the user, and usage of the user is facilitated.

Description

Display frame adjustment System and method
Technical field
The present invention relates to a kind of display frame adjustment System and method.
Background technology
At present, many electronic installations, such as mobile phone, music player, PDA(Personal Digital Assistant), digital camera, digital album (digital photo frame), panel computer etc. is all furnished with display screen, and the display mode of these electronic installations is adjusted the display direction of display frame on display screen mostly by electronic compass (E-compass) or gravity sensor (G-sensor).But at some in particular cases, for example, in the time that user lies on a bed use electronic installation, if only rely on the sense data of electronic compass or gravity sensor to regulate the display direction of display frame, tend to cause the mistake of display direction to switch, do not meet user's use habit.
Summary of the invention
In view of above content, be necessary to provide a kind of display frame adjustment System, be applied in electronic installation.This system comprises position detecting module, taking module, video recording analysis module and adjusting module.Whether described position detecting module changes for the direction of detecting electronic installation.Described taking module, in the time that the direction of electronic installation changes, absorbs user's image.Described video recording analysis module, for described image is carried out to recognition of face, is obtained the face in image, and is calculated the minimum area-encasing rectangle of this face.Described adjusting module is for adjusting the display direction of displaying contents on display screen according to the shape of the minimum area-encasing rectangle of described face.
Also be necessary to provide a kind of display frame method of adjustment, be applied in electronic installation.The method comprises: position detecting step, and whether the direction of detecting electronic installation changes; Take step, in the time that the direction of electronic installation changes, picked-up user's image; Video recording analysis step, carries out recognition of face to described image, obtains the face in image, and calculates the minimum area-encasing rectangle of this face; Set-up procedure, adjusts the display direction of displaying contents on display screen according to the shape of the minimum area-encasing rectangle of described face.
Compared to prior art, use the angle that display frame adjustment System of the present invention and method can be watched according to user that display frame is adjusted to and is applicable to the direction that user watches, be user-friendly to.
Brief description of the drawings
Fig. 1 is the hardware structure figure of display frame adjustment System running environment of the present invention.
Fig. 2 and Fig. 3 are the schematic diagram of the user's of the image unit shooting in Fig. 1 face image.
Fig. 4 is the process flow diagram of display frame method of adjustment of the present invention preferred embodiment.
Main element symbol description
Electronic installation 1
Display frame adjustment System 10
Storer 11
Processor 12
Display screen 13
Azimuth sensing device 14
Image unit 15
Position detecting module 101
Taking module 102
Video recording analysis module 103
Adjusting module 104
Face's scope 72
Minimum area-encasing rectangle 73
Screen first side 111
Screen Second Edge 112
Rectangle first side 731
Rectangle Second Edge 732
Following embodiment further illustrates the present invention in connection with above-mentioned accompanying drawing.
Embodiment
As shown in Figure 1, be the running environment Organization Chart of display frame adjustment System 10 provided by the present invention.This display frame adjustment System 10 runs in electronic installation 1.This electronic installation 1 comprises storer 11, processor 12, display screen 13, azimuth sensing device 14 and image unit 15.
In the present embodiment, electronic installation 1 may be, but not limited to,, notebook computer, mobile phone, music player, PDA(Personal Digital Assistant), digital camera, digital album (digital photo frame), panel computer etc.Described azimuth sensing device 14 may be, but not limited to,, gravity sensor (Gravity sensor, G-Sensor).The elements such as described storer 11, processor 12, display screen 13, azimuth sensing device 14 and image unit 15 are electrically connected to carry out transmission and the exchange of data each other directly or indirectly.
Described display frame adjustment System 10 comprises position detecting module 101, taking module 102, video recording analysis module 103 and adjusting module 104.This display frame adjustment System 10 can software program or the form of firmware (firmware) be solidificated in the operating system (OS) of electronic installation 1, or be stored in storer 11, and carried out by processor 12.
Whether described position detecting module 101 changes for the direction of detecting electronic installation 1.Whether the direction that particularly, described position detecting module 101 coordinates azimuth sensing device 14 to detect electronic installation 1 changes.In the present embodiment, described azimuth sensing device 14 is gravity sensor (Gravity sensor, G-Sensor), use described gravity sensor to continue to obtain an acceleration of gravity, then the display direction of this acceleration of gravity direction and displaying contents is made comparisons to judge whether the direction of electronic installation 1 changes.Particularly, when display frame direction becomes differently from identical from described acceleration of gravity direction, or become when identical from different from described acceleration of gravity direction, the direction that described position detecting module 101 is judged as described electronic installation 1 changes.
Described taking module 102, in the time that the direction of electronic installation 1 changes, absorbs user's image.Particularly, taking module 102 starts image unit 15 and uses this image unit 15 to take user, thus picked-up user's image.Described image unit 15 may be, but not limited to,, the front-facing camera of described electronic installation 1.
Described video recording analysis module 103, for described image is carried out to recognition of face, is obtained the face in image, and calculates the minimum area-encasing rectangle of this face.
Particularly, described video recording analysis module 103 can utilize various known face recognition technologies to carry out recognition of face to described user's image, for example use colour of skin theory (as YCbCr color space model) from image picture, to identify face's scope of user, also can utilize face feature sample matches technology (Face Template Matching) or other facial recognition techniques to identify user's face.The present embodiment describes as an example of colour of skin theory example, and first, video recording analysis module 103 is utilized colour of skin theory, according to face's colour of skin scope, by user's face locating out.The judgment formula of described face colour of skin scope is as follows:
In above-mentioned formula, P represents a pixel in image picture, the coordinate of (x, y) represent pixel point P.Cb (x, y) refers to the chroma blue component of pixel P, and Cr (x, y) refers to the red color component of pixel P.In the present embodiment, if the value of P (x, y) equals 1, the pixel P that represents current detection is face's colour of skin, if the value of P (x, y) equals 0, represents the pixel P Bu Shi face colour of skin of current detection.
As shown in Figures 2 and 3, be a kind of schematic diagram that described video recording analysis module 103 is resolved image picture.Particularly, video recording analysis module 103 can be found out the color block that approaches human body complexion by above-mentioned colour of skin theory and obtain face's scope 72, and further calculates the minimum area-encasing rectangle 73 of this face's scope 72.Described display screen 13 comprises screen first side 111 and screen Second Edge 112, and the length of described screen first side 111 is greater than the length of described screen Second Edge 112; Described minimum area-encasing rectangle 73 comprises the rectangle first side 731 relative with described screen first side 111 and the rectangle Second Edge 732 relative with described screen Second Edge 112.
Described adjusting module 104 is for adjusting the display direction of displaying contents on display screen according to the shape of the minimum area-encasing rectangle of described face.
Particularly, in the time that the length of described rectangle first side 731 is greater than the length of described rectangle Second Edge 732, the shape of described minimum area-encasing rectangle is defined as a longitudinal rectangle, and now the display direction of described displaying contents is adjusted into the first display direction by adjusting module 104.In the time that the length of described rectangle first side 731 is less than or equal to the length of described rectangle Second Edge 732, the shape of described minimum area-encasing rectangle is defined as a horizontal rectangle, and now the display direction of described displaying contents is adjusted into the second display direction by adjusting module 104.In the present embodiment, the first display direction is that longitudinally the second display direction is horizontal.In the time that the display direction of described displaying contents is adjusted into the first display direction, the display mode of this displaying contents on display screen 13 is longitudinally to show.In the time that the display direction of described displaying contents is adjusted into the second display direction, the display mode of this displaying contents on display screen 13 is laterally to show.
Especially, before the display direction of described displaying contents is adjusted into the first display direction, when the display direction of this displaying contents is the first display direction, or before the display direction of described displaying contents is adjusted into the second display direction, when the display direction of this displaying contents is the second display direction, adjusting module 104 is not adjusted the display direction of this displaying contents.
In addition, in the time that described video recording analysis module 103 does not recognize face from described image, the direction of the electronic installation 1 that described adjusting module 104 detects according to position detecting module 101 changes the display direction that switches displaying contents on display screen 13, for example, this displaying contents is switched to horizontal demonstration or switched to longitudinal demonstration by horizontal demonstration by longitudinal demonstration.
Referring to the process flow diagram shown in Fig. 4, image viewing method provided by the present invention is specifically described.The image viewing method of the present invention that it should be noted that is not limited to the order of following step, and in other embodiment, and image viewing method of the present invention can only include a wherein part for the following stated step, or part steps wherein can be deleted.Explanation below in conjunction with the each process step of Fig. 4 describes in detail to the function of above each module.
Step S201, whether the direction that position detecting module 101 is detected electronic installation 1 changes.Whether the direction that particularly, described position detecting module 101 coordinates azimuth sensing device 14 to detect electronic installation 1 changes.In the present embodiment, described azimuth sensing device 14 is gravity sensor (Gravity sensor, G-Sensor), use described gravity sensor to continue to obtain an acceleration of gravity, then the display direction of this acceleration of gravity direction and displaying contents is made comparisons to judge whether the direction of electronic installation 1 changes.Particularly, when display frame direction becomes differently from identical from described acceleration of gravity direction, or become when identical from different from described acceleration of gravity direction, the direction that described position detecting module 101 is judged as described electronic installation 1 changes.
Step S202, in the time that the direction of electronic installation 1 changes, taking module 102 absorbs user's image.Particularly, taking module 102 starts image unit 15 and uses this image unit 15 to take user, thus picked-up user's image.
Step S203, video recording analysis module 103 is carried out recognition of face to described image, obtains the face in image, and calculates the minimum area-encasing rectangle of this face.About obtaining the face in image and calculating the above-mentioned detailed introduction to video recording analysis module 103 and Fig. 2 and Fig. 3 of description ginseng of the minimum area-encasing rectangle of this face.
Step S204, adjusting module 104 is adjusted the display direction of displaying contents on display screen according to the shape of the minimum area-encasing rectangle of described face.About the description that the display direction of displaying contents on display screen 13 is adjusted referring to the above-mentioned detailed introduction to adjusting module 104.
Above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can modify or be equal to replacement technical scheme of the present invention, and not depart from the spirit and scope of technical solution of the present invention.

Claims (14)

1. a display frame adjustment System, is applied in electronic installation, and this system comprises:
Taking module, for absorbing user's image;
Video recording analysis module, for described image is carried out to recognition of face, obtains the face in image, and calculates the minimum area-encasing rectangle of this face;
Adjusting module, for adjusting the display direction of displaying contents on electronic installation display screen according to the shape of the minimum area-encasing rectangle of described face.
2. display frame adjustment System as claimed in claim 1, it is characterized in that: described display frame adjustment System also comprises position detecting module, whether change for the direction of detecting electronic installation, and in the time that the direction of electronic installation changes, trigger described taking module.
3. display frame adjustment System as claimed in claim 2, it is characterized in that: described electronic installation comprises azimuth sensing device, described position detecting module is used this orientation sensor to continue to obtain an acceleration of gravity, then the display direction of this acceleration of gravity direction and displaying contents is made comparisons to judge whether the direction of electronic installation changes.
4. display frame adjustment System as claimed in claim 3, is characterized in that, described position detecting module judges whether the direction of described electronic installation changes by the following method:
When display frame direction becomes differently from identical from described acceleration of gravity direction, or become when identical from different from described acceleration of gravity direction, the direction that is judged as described electronic installation changes.
5. display frame adjustment System as claimed in claim 3, is characterized in that: described azimuth sensing device is gravity sensor.
6. display frame adjustment System as claimed in claim 1, it is characterized in that, described display screen comprises screen first side and screen Second Edge, the length of described screen first side is greater than the length of described screen Second Edge, described minimum area-encasing rectangle comprises the rectangle first side relative with described screen first side and the rectangle Second Edge relative with described screen Second Edge, in the time that the length of described rectangle first side is greater than the length of described rectangle Second Edge, the display direction of displaying contents is adjusted into the first display direction by described adjusting module; In the time that the length of described rectangle first side is less than the length of described rectangle Second Edge, the display direction of displaying contents is adjusted into the second display direction by described adjusting module.
7. display frame adjustment System as claimed in claim 6, is characterized in that: described the first display direction is for longitudinal, and described the second display direction is horizontal.
8. a display frame method of adjustment, is applied in electronic installation, and the method comprises:
Take step, picked-up user's image;
Video recording analysis step, carries out recognition of face to described image, obtains the face in image, and calculates the minimum area-encasing rectangle of this face;
Set-up procedure, adjusts the display direction of displaying contents on electronic installation display screen according to the shape of the minimum area-encasing rectangle of described face.
9. display frame method of adjustment as claimed in claim 8, is characterized in that, described display frame method of adjustment also comprises position detecting step, and described detecting step comprises:
Whether the direction of detecting electronic installation changes, and in the time that the direction of electronic installation changes, triggers described shooting step.
10. display frame method of adjustment as claimed in claim 9, is characterized in that, described electronic installation comprises azimuth sensing device, and described position detecting step also comprises:
Use this orientation sensor to continue to obtain an acceleration of gravity, then the display direction of this acceleration of gravity direction and displaying contents is made comparisons to judge whether the direction of electronic installation changes.
11. display frame methods of adjustment as claimed in claim 10, is characterized in that, described position detecting step also comprises:
When display frame direction becomes differently from identical from described acceleration of gravity direction, or become when identical from different from described acceleration of gravity direction, the direction that is judged as described electronic installation changes.
12. display frame methods of adjustment as claimed in claim 10, is characterized in that: described azimuth sensing device is gravity sensor.
13. display frame methods of adjustment as claimed in claim 8, it is characterized in that, described display screen comprises screen first side and screen Second Edge, the length of described screen first side is greater than the length of described screen Second Edge, described minimum area-encasing rectangle comprises the rectangle first side relative with described screen first side and the rectangle Second Edge relative with described screen Second Edge, and described set-up procedure comprises:
In the time that the length of described rectangle first side is greater than the length of described rectangle Second Edge, the display direction of displaying contents is adjusted into the first display direction by described adjusting module; In the time that the length of described rectangle first side is less than the length of described rectangle Second Edge, the display direction of displaying contents is adjusted into the second display direction.
14. display frame methods of adjustment as claimed in claim 13, is characterized in that: described the first display direction is for longitudinal, and described the second display direction is horizontal.
CN201310144412.8A 2013-04-24 2013-04-24 Display frame adjusting system and method Pending CN104122978A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310144412.8A CN104122978A (en) 2013-04-24 2013-04-24 Display frame adjusting system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310144412.8A CN104122978A (en) 2013-04-24 2013-04-24 Display frame adjusting system and method

Publications (1)

Publication Number Publication Date
CN104122978A true CN104122978A (en) 2014-10-29

Family

ID=51768424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310144412.8A Pending CN104122978A (en) 2013-04-24 2013-04-24 Display frame adjusting system and method

Country Status (1)

Country Link
CN (1) CN104122978A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094734A (en) * 2015-07-27 2015-11-25 联想(北京)有限公司 Control method for flexible screen, and electronic device
CN105573488A (en) * 2014-10-30 2016-05-11 三星电子株式会社 Method and apparatus for controlling screen display on electronic devices
CN106648106A (en) * 2016-12-29 2017-05-10 努比亚技术有限公司 Display method and apparatus
WO2018006566A1 (en) * 2016-07-07 2018-01-11 广州视睿电子科技有限公司 View adjustment method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989126A (en) * 2009-08-07 2011-03-23 深圳富泰宏精密工业有限公司 Handheld electronic device and automatic screen picture rotating method thereof
US20110096959A1 (en) * 2009-10-22 2011-04-28 Hon Hai Precision Industry Co., Ltd. System and method for displaying a product catalog
CN102306293A (en) * 2011-07-29 2012-01-04 南京多伦科技有限公司 Method for judging driver exam in actual road based on facial image identification technology
CN103049084A (en) * 2012-12-18 2013-04-17 深圳国微技术有限公司 Electronic device and method for adjusting display direction according to face direction

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101989126A (en) * 2009-08-07 2011-03-23 深圳富泰宏精密工业有限公司 Handheld electronic device and automatic screen picture rotating method thereof
US20110096959A1 (en) * 2009-10-22 2011-04-28 Hon Hai Precision Industry Co., Ltd. System and method for displaying a product catalog
CN102306293A (en) * 2011-07-29 2012-01-04 南京多伦科技有限公司 Method for judging driver exam in actual road based on facial image identification technology
CN103049084A (en) * 2012-12-18 2013-04-17 深圳国微技术有限公司 Electronic device and method for adjusting display direction according to face direction

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573488A (en) * 2014-10-30 2016-05-11 三星电子株式会社 Method and apparatus for controlling screen display on electronic devices
CN105573488B (en) * 2014-10-30 2020-11-10 三星电子株式会社 Method and apparatus for controlling screen display on electronic device
CN105094734A (en) * 2015-07-27 2015-11-25 联想(北京)有限公司 Control method for flexible screen, and electronic device
CN105094734B (en) * 2015-07-27 2019-01-15 联想(北京)有限公司 A kind of control method and electronic equipment of flexible screen
WO2018006566A1 (en) * 2016-07-07 2018-01-11 广州视睿电子科技有限公司 View adjustment method and system
CN106648106A (en) * 2016-12-29 2017-05-10 努比亚技术有限公司 Display method and apparatus

Similar Documents

Publication Publication Date Title
CN110555882B (en) Interface display method, device and storage medium
CN108682036B (en) Pose determination method, pose determination device and storage medium
CN108682038B (en) Pose determination method, pose determination device and storage medium
CN109684980B (en) Automatic scoring method and device
CN109558837B (en) Face key point detection method, device and storage medium
CN105022498B (en) Electronic device and its method
US20150002698A1 (en) Inclination angle compensation system and method for picture
US10083676B2 (en) Method for adjusting screen displaying direction and terminal
CN111127509B (en) Target tracking method, apparatus and computer readable storage medium
CN111353458B (en) Text box labeling method, device and storage medium
CN106227375B (en) Method for controlling display of electronic device and electronic device thereof
CN108776822B (en) Target area detection method, device, terminal and storage medium
CN110650379A (en) Video abstract generation method and device, electronic equipment and storage medium
US20210168279A1 (en) Document image correction method and apparatus
US11386586B2 (en) Method and electronic device for adding virtual item
JP2021531589A (en) Motion recognition method, device and electronic device for target
CN104122978A (en) Display frame adjusting system and method
CN111325701B (en) Image processing method, device and storage medium
US9536133B2 (en) Display apparatus and control method for adjusting the eyes of a photographed user
EP3982291A1 (en) Object pick and place detection system, method and apparatus
CN110728167A (en) Text detection method and device and computer readable storage medium
CN110163192B (en) Character recognition method, device and readable medium
CN111860064B (en) Video-based target detection method, device, equipment and storage medium
JP6092371B2 (en) Electronic apparatus and image processing method
CN111723615B (en) Method and device for judging matching of detected objects in detected object image

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20141029