JP6221526B2 - Portable electronic device and display control program - Google Patents

Portable electronic device and display control program Download PDF

Info

Publication number
JP6221526B2
JP6221526B2 JP2013181605A JP2013181605A JP6221526B2 JP 6221526 B2 JP6221526 B2 JP 6221526B2 JP 2013181605 A JP2013181605 A JP 2013181605A JP 2013181605 A JP2013181605 A JP 2013181605A JP 6221526 B2 JP6221526 B2 JP 6221526B2
Authority
JP
Japan
Prior art keywords
acceleration data
axis
screen
electronic device
display
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.)
Expired - Fee Related
Application number
JP2013181605A
Other languages
Japanese (ja)
Other versions
JP2015049403A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2013181605A priority Critical patent/JP6221526B2/en
Publication of JP2015049403A publication Critical patent/JP2015049403A/en
Application granted granted Critical
Publication of JP6221526B2 publication Critical patent/JP6221526B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Telephone Function (AREA)
  • Transforming Electric Information Into Light Information (AREA)

Description

本発明は、携帯電子機器及び表示制御プログラムに関する。   The present invention relates to a portable electronic device and a display control program.

一般に、例えばスマートフォンなどの携帯電子機器には、縦長画面の表示と横長画面の表示とを自動的に切り替える機能が備えられることがある。すなわち、携帯電子機器は、例えば加速度センサなどを用いて機器自身の回転を検出し、回転が検出されると、機器の回転に合わせて画面表示を回転させる。このため、ユーザは、画面の表示内容等に応じて携帯電子機器を回転させるだけで、縦長画面の表示と横長画面の表示とを切り替えることができる。   In general, for example, a portable electronic device such as a smartphone may be provided with a function of automatically switching between a portrait screen display and a landscape screen display. That is, the portable electronic device detects the rotation of the device itself using, for example, an acceleration sensor, and rotates the screen display in accordance with the rotation of the device when the rotation is detected. For this reason, the user can switch between the display of the vertically long screen and the display of the horizontally long screen only by rotating the portable electronic device according to the display content of the screen.

また、近年では、ユーザが携帯電子機器を把持したまま寝転がる場合など、ユーザの姿勢の変化とともに携帯電子機器が回転した場合には、画面表示の回転を抑止する機能が実現されている。具体的には、携帯電子機器は、機器自身の回転を検出した場合、画面を表示するディスプレイと同一面に備えられたカメラを起動してユーザの顔を撮像し、撮像されて得られた画像からユーザの顔の向きを検出する。そして、携帯電子機器は、ユーザの顔の向きと機器自身の向きとが適合している場合には、画面表示を回転させることなく表示中の画面を維持する。これにより、携帯電子機器が回転した際でも、ユーザが意図しない場合には不要に画面表示が回転することなく、携帯電子機器の利便性が向上する。   In recent years, a function has been realized in which the rotation of the screen display is suppressed when the portable electronic device rotates with a change in the user's posture, such as when the user lies down while holding the portable electronic device. Specifically, when the portable electronic device detects the rotation of the device itself, the portable electronic device activates a camera provided on the same plane as the display that displays the screen to capture the user's face, and the image obtained by capturing the image The direction of the user's face is detected. When the orientation of the user's face matches the orientation of the device itself, the portable electronic device maintains the displayed screen without rotating the screen display. Thereby, even when the portable electronic device is rotated, if the user does not intend, the screen display is not unnecessarily rotated, and the convenience of the portable electronic device is improved.

特開2011−41067号公報JP 2011-41067 A

しかしながら、カメラを用いて不要な画面表示を抑止する上記の技術では、携帯電子機器が回転するたびにカメラが起動されるため、消費電力が増大するという問題がある。すなわち、上記の技術では、携帯電子機器の回転が検出されると、毎回カメラが起動されてユーザの顔が撮像されることにより、ユーザの顔の向きが検出される。したがって、携帯電子機器の回転が検出されるたびに、カメラが撮像のための電力を消費してしまう。   However, the above-described technology that suppresses unnecessary screen display using a camera has a problem in that power consumption increases because the camera is activated each time the portable electronic device rotates. That is, in the above technique, when the rotation of the portable electronic device is detected, the camera is activated every time and the user's face is imaged, thereby detecting the orientation of the user's face. Therefore, every time rotation of the portable electronic device is detected, the camera consumes power for imaging.

開示の技術は、かかる点に鑑みてなされたものであって、消費電力の増大を抑制することができる携帯電子機器及び表示制御プログラムを提供することを目的とする。   The disclosed technology has been made in view of the above points, and an object thereof is to provide a portable electronic device and a display control program capable of suppressing an increase in power consumption.

本願が開示する携帯電子機器は、1つの態様において、画面を表示する表示デバイスと、前記表示デバイスと同一面に設けられ、前記表示デバイスに正対するユーザの顔を撮像する撮像デバイスと、互いに直交する3軸に関する加速度データを取得する加速度センサと、前記表示デバイス、前記撮像デバイス及び前記加速度センサに接続され、前記加速度センサによって取得された加速度データを取得するプロセッサとを有し、前記プロセッサは、前記3軸のうち前記表示デバイスに対して垂直な1軸の周りに自機器が回転したことを検出し、検出された回転時における前記1軸に関する加速度データの変動量が所定の閾値未満であるか否かを判定し、前記1軸に関する加速度データの変動量が所定の閾値未満であると判定された場合に、前記表示デバイスに表示中の画面を回転させ、前記1軸に関する加速度データの変動量が所定の閾値以上であると判定された場合に、前記撮像デバイスを起動させ、起動した撮像デバイスによって撮像されて得られた画像を用いて、前記表示デバイスに表示中の画面を回転させるか否かを判定する。 In one aspect, the portable electronic device disclosed in the present application is orthogonal to a display device that displays a screen and an imaging device that is provided on the same plane as the display device and that captures the face of the user facing the display device. An acceleration sensor that acquires acceleration data related to the three axes, and a processor that is connected to the display device, the imaging device, and the acceleration sensor and acquires acceleration data acquired by the acceleration sensor. It is detected that the device has rotated around one axis perpendicular to the display device among the three axes, and the variation amount of acceleration data regarding the one axis at the detected rotation is less than a predetermined threshold value. whether judges, when the amount of change of the acceleration data for the 1-axis is determined to be less than a predetermined threshold value, prior to Rotate the screen being displayed on the display device, when the amount of change of the acceleration data for the 1-axis is determined to be equal to or greater than a predetermined threshold value, the activate the imaging device, is captured by the imaging device started to give It is determined whether or not to rotate the screen being displayed on the display device using the obtained image.

本願が開示する携帯電子機器及び表示制御プログラムの1つの態様によれば、消費電力の増大を抑制することができるという効果を奏する。   According to one aspect of the portable electronic device and the display control program disclosed in the present application, there is an effect that an increase in power consumption can be suppressed.

図1は、一実施の形態に係る携帯電子機器の外観を示す図である。FIG. 1 is a diagram illustrating an appearance of a portable electronic device according to an embodiment. 図2は、一実施の形態に係る携帯電子機器の構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of the portable electronic device according to the embodiment. 図3は、一実施の形態に係るプロセッサの機能を示すブロック図である。FIG. 3 is a block diagram illustrating functions of the processor according to the embodiment. 図4は、一実施の形態に係る表示制御処理を示すフロー図である。FIG. 4 is a flowchart showing display control processing according to the embodiment. 図5は、一実施の形態に係る加速度データの具体例を示す図である。FIG. 5 is a diagram illustrating a specific example of acceleration data according to an embodiment. 図6は、一実施の形態に係る目と画面の方向の具体例を示す図である。FIG. 6 is a diagram illustrating a specific example of the direction of the eyes and the screen according to the embodiment.

以下、本願が開示する携帯電子機器及び表示制御プログラムの一実施の形態について、図面を参照して詳細に説明する。なお、この実施の形態により本発明が限定されるものではない。   Hereinafter, an embodiment of a portable electronic device and a display control program disclosed in the present application will be described in detail with reference to the drawings. In addition, this invention is not limited by this embodiment.

図1は、一実施の形態に係る携帯電子機器100の外観を示す図である。この携帯電子機器は、例えばスマートフォンやタブレット端末などのように、画面を表示することが可能な電子機器である。図1に示す携帯電子機器100は、ディスプレイ110とカメラ120を有する。   FIG. 1 is a diagram illustrating an appearance of a portable electronic device 100 according to an embodiment. This portable electronic device is an electronic device capable of displaying a screen, such as a smartphone or a tablet terminal. A portable electronic device 100 illustrated in FIG. 1 includes a display 110 and a camera 120.

ディスプレイ110は、例えば液晶パネルなどを備えた略長方形形状の表示デバイスである。ディスプレイ110は、携帯電子機器100の電源がオンの時に、様々な画面を表示する。具体的には、ディスプレイ110は、短手方向がユーザの左右方向に一致する縦長画面を表示したり、長手方向がユーザの左右方向に一致する横長画面を表示したりする。したがって、ユーザは、例えば通常の操作時には縦長画面を表示させる一方、例えば動画の視聴時には横長画面を表示させることなどができる。   The display 110 is a substantially rectangular display device including a liquid crystal panel, for example. The display 110 displays various screens when the mobile electronic device 100 is powered on. Specifically, the display 110 displays a vertically long screen whose short direction matches the user's left and right direction, or displays a horizontally long screen whose long direction matches the user's left and right direction. Therefore, for example, the user can display a vertically long screen during normal operation, for example, and can display a horizontally long screen when viewing a moving image, for example.

カメラ120は、ディスプレイ110と同一面上に設けられた撮像デバイスである。カメラ120は、ディスプレイ110と同一面上に設けられているため、ユーザがディスプレイ110を目視しているときには、ディスプレイ110に正対するユーザの顔を撮像することができる。   The camera 120 is an imaging device provided on the same plane as the display 110. Since the camera 120 is provided on the same plane as the display 110, when the user is viewing the display 110, the user's face facing the display 110 can be captured.

また、図1に示す携帯電子機器100は、携帯電子機器100の動きを検知する加速度センサを有する。この加速度センサは、互いに直交する3軸の加速度データを取得する。すなわち、加速度センサは、ディスプレイ110の短手方向に平行なx軸と、ディスプレイ110の長手方向に平行なy軸と、ディスプレイ110に対して垂直なz軸との3軸について、それぞれ加速度データを取得する。そして、後述するように、携帯電子機器100は、加速度センサによって取得される加速度データとカメラ120によって撮像される画像とに基づいて、ディスプレイ110に表示される画面を回転させる。   In addition, the mobile electronic device 100 illustrated in FIG. 1 includes an acceleration sensor that detects the movement of the mobile electronic device 100. This acceleration sensor acquires triaxial acceleration data orthogonal to each other. In other words, the acceleration sensor obtains acceleration data for the three axes of the x axis parallel to the short direction of the display 110, the y axis parallel to the longitudinal direction of the display 110, and the z axis perpendicular to the display 110, respectively. get. Then, as will be described later, the mobile electronic device 100 rotates the screen displayed on the display 110 based on the acceleration data acquired by the acceleration sensor and the image captured by the camera 120.

図2は、一実施の形態に係る携帯電子機器100の構成を示すブロック図である。図2に示す携帯電子機器100は、ディスプレイ110、カメラ120、加速度センサ130、無線インタフェース(以下「無線I/F」と略記する)140、プロセッサ150及びメモリ160を有する。   FIG. 2 is a block diagram showing a configuration of the portable electronic device 100 according to the embodiment. A portable electronic device 100 illustrated in FIG. 2 includes a display 110, a camera 120, an acceleration sensor 130, a wireless interface (hereinafter abbreviated as “wireless I / F”) 140, a processor 150, and a memory 160.

ディスプレイ110は、プロセッサ150によって生成される画面情報を表示する。また、ディスプレイ110は、プロセッサ150の指示に従って、縦長画面に表示された画面情報を回転させて横長画面にしたり、横長画面に表示された画面情報を回転させて縦長画面にしたりする。   The display 110 displays screen information generated by the processor 150. Further, the display 110 rotates the screen information displayed on the vertically long screen into a horizontally long screen according to the instruction of the processor 150, or rotates the screen information displayed on the horizontally long screen into a vertically long screen.

カメラ120は、所定のアプリケーションの稼働中には、アプリケーションの処理に応じて撮像処理を実行する。また、カメラ120は、アプリケーションによって使用されないときには停止しており、電力を消費しない状態にある。そして、カメラ120は、プロセッサ150から指示された場合には、アプリケーションが稼働しているか否かに関わらず起動して、ディスプレイ110に正対するユーザの顔を撮像する。   The camera 120 executes imaging processing according to application processing while a predetermined application is in operation. Further, the camera 120 is stopped when not used by an application and is in a state of not consuming power. When instructed by the processor 150, the camera 120 is activated regardless of whether the application is running or not, and images the face of the user facing the display 110.

加速度センサ130は、互いに直交する3軸の加速度を検出して加速度データを取得し、取得した加速度データをプロセッサ150へ出力する。加速度センサ130は、3軸それぞれについての加速度を検出するため、例えば携帯電子機器100がx軸方向へ動いた場合には、x軸に関する加速度データが変動する。また、例えば携帯電子機器100がz軸の周りに回転した場合には、x軸及びy軸に関する加速度データが変動する。   The acceleration sensor 130 detects acceleration of three axes orthogonal to each other, acquires acceleration data, and outputs the acquired acceleration data to the processor 150. Since the acceleration sensor 130 detects acceleration for each of the three axes, for example, when the portable electronic device 100 moves in the x-axis direction, acceleration data related to the x-axis varies. For example, when the portable electronic device 100 rotates around the z axis, acceleration data related to the x axis and the y axis varies.

無線I/F140は、アンテナを介して他の無線通信装置と無線通信する。すなわち、無線I/F140は、プロセッサ150から出力される送信信号をアンテナを介して送信したり、アンテナを介して受信した受信信号をプロセッサ150へ出力したりする。   The wireless I / F 140 performs wireless communication with another wireless communication device via an antenna. That is, the wireless I / F 140 transmits a transmission signal output from the processor 150 via an antenna, and outputs a reception signal received via the antenna to the processor 150.

プロセッサ150は、例えばCPU(Central Processing Unit)又はFPGA(Field Programmable Gate Array)などを備え、携帯電子機器100の動作を制御する。具体的には、プロセッサ150は、加速度センサ130から加速度データを取得し、加速度データに基づいて携帯電子機器100が回転したことを検出する。そして、プロセッサ150は、携帯電子機器100の回転を検出すると、この回転時にディスプレイ110に対して垂直なz軸に関する加速度データが変動したか否かを判定し、変動していない場合には、ディスプレイ110に対して画面回転指示を出力する。これにより、ディスプレイ110は、携帯電子機器100の回転に伴って、画面表示を回転させる。   The processor 150 includes, for example, a central processing unit (CPU) or a field programmable gate array (FPGA), and controls the operation of the portable electronic device 100. Specifically, the processor 150 acquires acceleration data from the acceleration sensor 130, and detects that the portable electronic device 100 has rotated based on the acceleration data. Then, when the processor 150 detects the rotation of the portable electronic device 100, the processor 150 determines whether or not the acceleration data related to the z-axis perpendicular to the display 110 has changed during this rotation. A screen rotation instruction is output to 110. Thereby, the display 110 rotates the screen display as the portable electronic device 100 rotates.

一方、プロセッサ150は、携帯電子機器100の回転時にz軸に関する加速度データが変動した場合には、カメラ120に対して起動指示を出力し、カメラ120によって得られた画像に基づいてユーザの目の方向と画面の方向とが適合するか否かを判定する。そして、プロセッサ150は、ユーザの目の方向と画面の方向とが適合しない場合には、ディスプレイ110に対して画面回転指示を出力する。これにより、ディスプレイ110は、携帯電子機器100の回転に伴って、画面表示を回転させる。また、プロセッサ150は、ユーザの目の方向と画面の方向とが適合する場合には、携帯電子機器100が回転しても、ディスプレイ110における画面表示を回転させることはない。なお、プロセッサ150の具体的な処理については、後に詳述する。   On the other hand, the processor 150 outputs an activation instruction to the camera 120 when the acceleration data regarding the z-axis fluctuates when the portable electronic device 100 rotates, and the user's eyes are based on the image obtained by the camera 120. It is determined whether or not the direction matches the screen direction. Then, the processor 150 outputs a screen rotation instruction to the display 110 when the user's eye direction and the screen direction do not match. Thereby, the display 110 rotates the screen display as the portable electronic device 100 rotates. Further, the processor 150 does not rotate the screen display on the display 110 even when the portable electronic device 100 rotates when the user's eye direction matches the screen direction. Note that specific processing of the processor 150 will be described in detail later.

メモリ160は、例えばRAM(Random Access Memory)などの揮発性メモリを備え、プロセッサ150による処理に使用されるデータなどを一時的に記憶する。   The memory 160 includes a volatile memory such as a RAM (Random Access Memory), and temporarily stores data used for processing by the processor 150.

図3は、一実施の形態に係るプロセッサ150の機能を示すブロック図である。図3に示すプロセッサ150は、回転検出部151、閾値比較部152、カメラ制御部153、画像処理部154及び表示制御部155を有する。   FIG. 3 is a block diagram illustrating functions of the processor 150 according to the embodiment. The processor 150 illustrated in FIG. 3 includes a rotation detection unit 151, a threshold comparison unit 152, a camera control unit 153, an image processing unit 154, and a display control unit 155.

回転検出部151は、加速度センサ130から互いに直交する3軸の加速度データを取得する。そして、回転検出部151は、取得された加速度データと所定時間前の加速度データとを比較することにより、携帯電子機器100が回転したことを検出する。具体的には、回転検出部151は、主にx軸及びy軸に関する加速度データが所定時間前の加速度データと比べて所定の閾値以上変動している場合に、携帯電子機器100がディスプレイ110に対して垂直なz軸の周りに回転したことを検出する。   The rotation detection unit 151 acquires triaxial acceleration data orthogonal to each other from the acceleration sensor 130. Then, the rotation detection unit 151 detects that the portable electronic device 100 has rotated by comparing the acquired acceleration data with acceleration data of a predetermined time. Specifically, the rotation detection unit 151 causes the mobile electronic device 100 to be displayed on the display 110 when acceleration data about the x-axis and the y-axis fluctuates by a predetermined threshold or more compared to acceleration data for a predetermined time. It detects that it rotated around the z axis perpendicular to it.

ここで、ユーザが目視する画面を縦長画面から横長画面又は横長画面から縦長画面に変更する際には、ユーザは、携帯電子機器100をz軸の周りに回転させる。すなわち、縦長画面を目視するユーザは、ディスプレイ110の短手方向とユーザの左右方向とが一致するように携帯電子機器100を把持しており、このユーザが横長画面を目視する場合には、携帯電子機器100をz軸の周りに略90度回転させる。この結果、ディスプレイ110の長手方向とユーザの左右方向とが一致し、ユーザは、横長画面を目視することになる。このように、携帯電子機器100がz軸の周りに回転した場合には、ユーザが目視する画面を変更した可能性があるため、回転検出部151は、主にディスプレイ110に平行なx軸及びy軸に関する加速度データを用いてz軸の周りの回転を検出する。   Here, when changing the screen viewed by the user from the portrait screen to the landscape screen or from the landscape screen to the portrait screen, the user rotates the portable electronic device 100 around the z axis. That is, the user who views the vertically long screen holds the portable electronic device 100 so that the short side direction of the display 110 and the left and right direction of the user coincide with each other. The electronic device 100 is rotated approximately 90 degrees around the z axis. As a result, the longitudinal direction of the display 110 coincides with the left and right direction of the user, and the user views the landscape screen. As described above, when the mobile electronic device 100 rotates around the z-axis, there is a possibility that the screen viewed by the user may be changed, so the rotation detection unit 151 mainly includes the x-axis and the parallel to the display 110. Rotation about the z-axis is detected using acceleration data about the y-axis.

閾値比較部152は、回転検出部151によって携帯電子機器100がz軸の周りに回転したことが検出された場合、z軸に関する加速度データの変動量を所定の閾値と比較する。すなわち、閾値比較部152は、携帯電子機器100の回転が検出された際、x軸及びy軸に関する加速度データが変動すると同時に、z軸に関する加速度データも変動したか否かを判定する。   When the rotation detection unit 151 detects that the portable electronic device 100 has rotated around the z axis, the threshold comparison unit 152 compares the amount of change in acceleration data related to the z axis with a predetermined threshold. That is, when the rotation of the mobile electronic device 100 is detected, the threshold comparison unit 152 determines whether or not the acceleration data regarding the x axis and the y axis has changed and at the same time the acceleration data regarding the z axis has also changed.

この結果、z軸に関する加速度データの変動量が所定の閾値未満である場合には、閾値比較部152は、表示制御部155に対して、ディスプレイ110の表示画面を回転させるように指示する。一方、z軸に関する加速度データの変動量が所定の閾値以上である場合には、閾値比較部152は、カメラ制御部153に対して、カメラ120を起動させるように指示する。   As a result, when the fluctuation amount of the acceleration data regarding the z-axis is less than the predetermined threshold value, the threshold value comparison unit 152 instructs the display control unit 155 to rotate the display screen of the display 110. On the other hand, when the fluctuation amount of the acceleration data related to the z-axis is equal to or greater than a predetermined threshold, the threshold comparison unit 152 instructs the camera control unit 153 to activate the camera 120.

ここで、ユーザが目視する画面を縦長画面と横長画面の間で切り替えることを意図して携帯電子機器100を回転させる場合には、携帯電子機器100のz軸方向の移動はほとんど無いと考えられる。すなわち、ユーザが携帯電子機器100を回転させる場合には、z軸に関する加速度データの変動量は小さい。一方、例えばユーザが携帯電子機器100を把持したまま寝転んだ場合など、ユーザの姿勢の変化に伴って携帯電子機器100の回転が検出された場合には、携帯電子機器100の動きが不規則となり、z軸方向にも比較的大きく移動すると考えられる。すなわち、ユーザの姿勢の変化に伴って携帯電子機器100が回転する場合には、z軸に関する加速度データの変動量が大きい。   Here, when the portable electronic device 100 is rotated with the intention of switching the screen viewed by the user between the portrait screen and the landscape screen, it is considered that the mobile electronic device 100 hardly moves in the z-axis direction. . That is, when the user rotates the portable electronic device 100, the variation amount of the acceleration data regarding the z-axis is small. On the other hand, when the rotation of the portable electronic device 100 is detected with a change in the user's posture, for example, when the user lies down while holding the portable electronic device 100, the movement of the portable electronic device 100 becomes irregular. , And is considered to move relatively large in the z-axis direction. That is, when the portable electronic device 100 rotates with a change in the user's posture, the amount of change in acceleration data related to the z axis is large.

このように、携帯電子機器100の回転が検出された場合、z軸に関する加速度データの変動量によって、ユーザが画面表示の回転を意図して携帯電子機器100を回転させたか否かを判別することが可能である。そこで、閾値比較部152は、z軸に関する加速度データの変動量と所定の閾値とを比較し、z軸に関する加速度データの変動量が小さい場合には、カメラ120を起動することなく、表示制御部155に対して即座に画面を回転させるように指示する。この結果、ユーザが画面表示の回転を意図して携帯電子機器100を回転させた場合には、カメラ120の起動が省略され、消費電力の増大を抑制することができる。また、携帯電子機器100の回転が検出されてから実際に画面表示が回転するまでの間に、カメラ120による撮像などの処理が実行されることがないため、画面表示が回転するまでの遅延時間を短縮することができる。   As described above, when the rotation of the mobile electronic device 100 is detected, it is determined whether the user has rotated the mobile electronic device 100 with the intention of rotating the screen display, based on the amount of change in the acceleration data related to the z-axis. Is possible. Therefore, the threshold value comparison unit 152 compares the variation amount of the acceleration data related to the z axis with a predetermined threshold value, and if the variation amount of the acceleration data related to the z axis is small, the display control unit 152 does not start the camera 120. 155 is instructed to immediately rotate the screen. As a result, when the user rotates the portable electronic device 100 with the intention of rotating the screen display, the activation of the camera 120 is omitted, and an increase in power consumption can be suppressed. In addition, since processing such as imaging by the camera 120 is not performed between the time when the rotation of the portable electronic device 100 is detected and the time when the screen display is actually rotated, the delay time until the screen display is rotated. Can be shortened.

カメラ制御部153は、閾値比較部152からの指示を受け、カメラ120を起動する。そして、カメラ制御部153は、カメラ120に対して撮像指示をすることにより、ディスプレイ110を目視しているユーザの顔の画像を撮像させる。   The camera control unit 153 receives an instruction from the threshold comparison unit 152 and activates the camera 120. The camera control unit 153 instructs the camera 120 to capture an image of the face of the user who is viewing the display 110.

画像処理部154は、カメラ120によって撮像されて得られた画像を取得し、画像処理を行ってユーザの目の位置を検知する。具体的には、画像処理部154は、カメラ120から出力されるユーザの顔の画像を取得し、画像の中からユーザの目の位置を検知する。さらに、画像処理部154は、画像において位置が検知された目の目頭及び目尻の位置を判定し、ユーザの目の方向を決定する。すなわち、画像処理部154は、ユーザの目の目頭と目尻を結ぶ方向を目の方向として決定する。したがって、決定される目の方向は、ユーザの左右方向と同等である。そして、画像処理部154は、決定した目の方向を表示制御部155へ通知する。   The image processing unit 154 acquires an image obtained by being captured by the camera 120, performs image processing, and detects the position of the user's eyes. Specifically, the image processing unit 154 acquires an image of the user's face output from the camera 120, and detects the position of the user's eyes from the image. Further, the image processing unit 154 determines the positions of the eyes and the corners of the eyes where the positions are detected in the image, and determines the direction of the user's eyes. That is, the image processing unit 154 determines the direction connecting the user's eyes and the corners of the eyes as the eye direction. Therefore, the determined eye direction is equivalent to the left-right direction of the user. Then, the image processing unit 154 notifies the display control unit 155 of the determined eye direction.

表示制御部155は、閾値比較部152からの指示を受けた場合には、ディスプレイ110に対して即座に画面を回転させる画面回転指示をして、ディスプレイ110の画面表示を回転させる。一方、表示制御部155は、画像処理部154から目の方向が通知された場合には、通知された目の方向と現在ディスプレイ110に表示されている画面の方向とが一致しているか否かを判定する。そして、表示制御部155は、方向が一致している場合には、現在表示中の画面の方向を維持し、方向が一致していない場合には、画面の方向が目の方向に一致するようにディスプレイ110の画面表示を回転させる。   When the display control unit 155 receives an instruction from the threshold comparison unit 152, the display control unit 155 instructs the display 110 to rotate the screen immediately and rotates the screen display on the display 110. On the other hand, when the eye direction is notified from the image processing unit 154, the display control unit 155 determines whether the notified eye direction matches the screen direction currently displayed on the display 110. Determine. The display control unit 155 maintains the direction of the currently displayed screen when the directions match, and causes the screen direction to match the eye direction when the directions do not match. The screen display of the display 110 is rotated.

次いで、上記のように構成された携帯電子機器100による表示制御処理について、図4に示すフロー図を参照しながら具体的に説明する。図4は、主にプロセッサ150の動作を示すフロー図である。   Next, the display control process by the portable electronic device 100 configured as described above will be specifically described with reference to the flowchart shown in FIG. FIG. 4 is a flowchart mainly showing the operation of the processor 150.

プロセッサ150の回転検出部151においては、常時加速度センサ130から3軸に関しての加速度データが取得されており(ステップS101)、主にx軸及びy軸に関しての加速度データが所定時間前の加速度データと比較される。そして、この比較の結果に基づいて、携帯電子機器100がz軸の周りに回転したか否かが判定される(ステップS102)。すなわち、主にx軸及びy軸に関しての加速度データが所定時間前と比較して所定の閾値以上変動したか否かが判定される。   In the rotation detection unit 151 of the processor 150, acceleration data for the three axes is always acquired from the acceleration sensor 130 (step S101), and the acceleration data for the x-axis and the y-axis is the acceleration data for a predetermined time ago. To be compared. Then, based on the comparison result, it is determined whether or not the portable electronic device 100 has rotated around the z axis (step S102). That is, it is determined whether or not the acceleration data about the x-axis and the y-axis has fluctuated more than a predetermined threshold value compared with a predetermined time ago.

この判定の結果、x軸及びy軸に関しての加速度データが所定の閾値以上変動していない場合には、携帯電子機器100が回転していないと判定され(ステップS102No)、引き続き加速度センサ130からの加速度データ取得と回転の検出が行われる。一方、x軸及びy軸に関しての加速度データが所定の閾値以上変動している場合には、携帯電子機器100が回転したと判定され(ステップS102Yes)、その旨が閾値比較部152へ通知される。   As a result of the determination, if the acceleration data regarding the x-axis and the y-axis does not fluctuate more than a predetermined threshold value, it is determined that the portable electronic device 100 is not rotating (No in step S102), and the acceleration sensor 130 continues. Acceleration data acquisition and rotation detection are performed. On the other hand, when the acceleration data regarding the x-axis and the y-axis fluctuates by a predetermined threshold value or more, it is determined that the mobile electronic device 100 has rotated (Yes in step S102), and the fact is notified to the threshold value comparison unit 152. .

そして、閾値比較部152によって、x軸及びy軸に関しての加速度データが所定の閾値以上変動した期間と同期間において、z軸に関しての加速度データの変動量が所定の閾値未満であるか否かが判定される(ステップS103)。   Then, whether or not the amount of change in the acceleration data with respect to the z-axis is less than the predetermined threshold during the period when the acceleration comparison data with respect to the x-axis and the y-axis has fluctuated by a predetermined threshold value or more is synchronized with the threshold value comparison unit 152. Determination is made (step S103).

上述したように、ユーザが携帯電子機器100を回転させる場合には、z軸に関する加速度データの変動量は小さい一方、ユーザの姿勢の変化に伴って携帯電子機器100の回転が検出された場合には、z軸に関する加速度データの変動量が大きい。具体的に例を示すと、図5の上図において、破線で示すx軸に関する加速度データと一点鎖線で示すy軸に関する加速度データとは期間Tの間に大きく変動しているのに対し、実線で示すz軸に関する加速度データは期間Tの間の変動量が小さい。これは、図5の上図が、ユーザが画面を回転させることを意図して携帯電子機器100を回転させた場合の加速度データの変動を示すためである。   As described above, when the user rotates the mobile electronic device 100, the amount of change in the acceleration data related to the z-axis is small, while the rotation of the mobile electronic device 100 is detected as the user's posture changes. Has a large fluctuation amount of acceleration data with respect to the z-axis. As a specific example, in the upper diagram of FIG. 5, the acceleration data related to the x-axis indicated by the broken line and the acceleration data related to the y-axis indicated by the alternate long and short dash line vary greatly during the period T, whereas the solid line The acceleration data related to the z-axis indicated by (2) has a small amount of fluctuation during the period T. This is because the upper diagram in FIG. 5 shows the change in acceleration data when the user rotates the portable electronic device 100 with the intention of rotating the screen.

一方、図5の下図において、破線で示すx軸に関する加速度データと一点鎖線で示すy軸に関する加速度データとは期間Tの間に大きく変動しているとともに、実線で示すz軸に関する加速度データも期間Tの間に比較的大きく変動している。これは、図5の下図が、ユーザが携帯電子機器100を把持したまま姿勢を変化させた場合の加速度データの変動を示すためである。   On the other hand, in the lower diagram of FIG. 5, the acceleration data related to the x-axis indicated by the broken line and the acceleration data related to the y-axis indicated by the alternate long and short dash line greatly fluctuate during the period T, and the acceleration data related to the z-axis indicated by the solid line also varies. There is a relatively large fluctuation during T. This is because the lower diagram in FIG. 5 shows the change in the acceleration data when the user changes the posture while holding the portable electronic device 100.

このように、x軸及びy軸に関する加速度データが大きく変動した場合に、z軸に関する加速度データの変動量が小さければ、ユーザが画面を回転させることを意図して携帯電子機器100を回転させたと判断することができる。そこで、閾値比較部152によって、z軸に関しての加速度データの変動量が所定の閾値未満であると判定された場合には(ステップS103Yes)、表示制御部155に対して即座に画面を回転させる指示が出される。そして、表示制御部155によって、ディスプレイ110に対する画面回転指示がなされることにより、ディスプレイ110の画面表示が回転する(ステップS104)。   As described above, when the acceleration data regarding the x-axis and the y-axis largely fluctuates, if the variation amount of the acceleration data regarding the z-axis is small, the user rotates the portable electronic device 100 with the intention of rotating the screen. Judgment can be made. Therefore, if the threshold value comparison unit 152 determines that the variation amount of the acceleration data with respect to the z axis is less than the predetermined threshold value (Yes in step S103), the display control unit 155 is immediately instructed to rotate the screen. Is issued. Then, when the display control unit 155 gives a screen rotation instruction to the display 110, the screen display of the display 110 is rotated (step S104).

この結果、ユーザが画面表示の回転を意図して携帯電子機器100を回転させた場合には、カメラ120の起動が省略され、消費電力の増大を抑制することができる。また、携帯電子機器100の回転が検出されてから実際に画面表示が回転するまでの間に、カメラ120による撮像などの処理が実行されることがないため、画面表示が回転するまでの遅延時間を短縮することができる。   As a result, when the user rotates the portable electronic device 100 with the intention of rotating the screen display, the activation of the camera 120 is omitted, and an increase in power consumption can be suppressed. In addition, since processing such as imaging by the camera 120 is not performed between the time when the rotation of the portable electronic device 100 is detected and the time when the screen display is actually rotated, the delay time until the screen display is rotated. Can be shortened.

一方、x軸及びy軸に関する加速度データが大きく変動した場合に、z軸に関する加速度データの変動量も大きければ、携帯電子機器100の回転と同時にユーザの姿勢が変化した可能性がある。そこで、閾値比較部152によって、z軸に関しての加速度データの変動量が所定の閾値以上であると判定された場合には(ステップS103No)、カメラ制御部153に対してカメラ120を起動させる指示が出される。そして、カメラ制御部153によって、カメラ120が起動され(ステップS105)、ディスプレイ110を目視するユーザの顔の撮像が指示される。   On the other hand, if the acceleration data related to the x-axis and the y-axis change greatly, and the amount of change in the acceleration data related to the z-axis is large, the user's posture may change simultaneously with the rotation of the portable electronic device 100. Therefore, when the threshold value comparison unit 152 determines that the variation amount of the acceleration data with respect to the z axis is equal to or greater than the predetermined threshold value (No in step S103), the camera control unit 153 is instructed to activate the camera 120. Is issued. Then, the camera control unit 153 activates the camera 120 (step S105), and instructs to capture the face of the user who views the display 110.

カメラ120によって撮像されて得られた画像は、画像処理部154によって取得され、所定の画像処理が実行されることにより、画像中のユーザの目の位置が検知される(ステップS106)。さらに、画像処理部154によって、画像中のユーザの目頭及び目尻の位置が判定され、ユーザの目頭と目尻を結ぶ目の方向が決定される。決定されたユーザの目の方向は、表示制御部155へ通知される。なお、上述したように、ユーザの目の方向は、ユーザの左右方向と同等である。   An image obtained by being captured by the camera 120 is acquired by the image processing unit 154, and a predetermined image process is executed to detect the position of the user's eyes in the image (step S106). Further, the image processing unit 154 determines the positions of the user's eyes and corners in the image, and determines the direction of the eyes connecting the user's eyes and corners. The determined user's eye direction is notified to the display control unit 155. As described above, the direction of the user's eyes is the same as the left-right direction of the user.

そして、表示制御部155によって、画像処理部154から通知されたユーザの目の方向と、ディスプレイ110に表示中の画面の方向とが一致しているか否かが判定される(ステップS107)。なお、ここでの画面の方向とは、画像が適正に表示される際の左右方向のことである。すなわち、ユーザの目の方向と画面の方向とが一致している場合には、画像がユーザにとって適正な向きで表示されており、ユーザは容易に画像を視認することができる。   Then, the display control unit 155 determines whether or not the user's eye direction notified from the image processing unit 154 matches the screen direction being displayed on the display 110 (step S107). Here, the screen direction is the left-right direction when an image is properly displayed. That is, when the direction of the user's eyes and the direction of the screen match, the image is displayed in an appropriate direction for the user, and the user can easily view the image.

具体的に例を示すと、図6の上図に示すように、ユーザの目の方向201と画像の左右方向202とが一致している場合には、携帯電子機器100のディスプレイ110に表示された画像は、ユーザにとって適正な向きで表示されていることになる。一方、図6の下図に示すように、ユーザの目の方向203と画像の左右方向204とが一致していない場合には、携帯電子機器100のディスプレイ110に表示された画像は、ユーザにとって適正な向きで表示されていないことになる。   Specifically, as shown in the upper diagram of FIG. 6, when the user's eye direction 201 and the left-right direction 202 of the image coincide with each other, the image is displayed on the display 110 of the portable electronic device 100. The displayed image is displayed in a proper orientation for the user. On the other hand, as shown in the lower diagram of FIG. 6, when the user's eye direction 203 and the left-right direction 204 of the image do not match, the image displayed on the display 110 of the portable electronic device 100 is appropriate for the user. Will not be displayed in the correct orientation.

そこで、表示制御部155によって、ユーザの目の方向と画面の方向とが一致していると判定された場合には(ステップS107Yes)、ディスプレイ110に現在表示中の画面は回転することなく、画面の方向が維持される。また、表示制御部155によって、ユーザの目の方向と画面の方向とが一致していないと判定された場合には(ステップS107No)、ディスプレイ110に対する画面回転指示がなされることにより、ディスプレイ110の画面表示が回転する(ステップS104)。   Therefore, when the display control unit 155 determines that the user's eye direction matches the screen direction (Yes in step S107), the screen currently displayed on the display 110 does not rotate and the screen is not rotated. The direction of is maintained. If the display control unit 155 determines that the user's eye direction and the screen direction do not match (No in step S107), the display 110 is instructed to rotate the screen 110, and the display 110 The screen display is rotated (step S104).

このように、z軸に関する加速度データの変動量が大きい場合には、カメラ120が起動され、ユーザの目の方向と画面の方向との比較により、画面表示を回転させるか否かが決定される。このため、例えばユーザの姿勢の変化などに伴って携帯電子機器100が回転した可能性がある場合には、ユーザの目の方向に合わせて画面表示を回転させることができる。   As described above, when the variation amount of the acceleration data regarding the z-axis is large, the camera 120 is activated, and it is determined whether to rotate the screen display by comparing the direction of the user's eyes with the direction of the screen. . For this reason, for example, when there is a possibility that the portable electronic device 100 is rotated in accordance with a change in the posture of the user, the screen display can be rotated in accordance with the direction of the user's eyes.

以上のように、本実施の形態によれば、3軸に関する加速度データのうち2軸に関する加速度データに基づいて携帯電子機器の回転を検出し、この回転時に残りの1軸に関する加速度データの変動量が小さい場合には、即座に画面表示を回転させる。また、3軸すべてに関する加速度データの変動量が大きい場合には、カメラを起動して、ユーザの目の方向と表示中の画面の方向との比較により、画面表示を回転させるか否かを決定する。このため、ユーザが画面表示を回転させることを意図して携帯電子機器を回転させた場合には、カメラを起動することなく迅速に画面表示が回転し、消費電力の増大を抑制することができる。また、携帯電子機器が回転してから画面表示が回転するまでの遅延時間を短縮することができる。   As described above, according to the present embodiment, the rotation of the portable electronic device is detected based on the acceleration data related to two axes among the acceleration data related to three axes, and the fluctuation amount of the acceleration data related to the remaining one axis at the time of this rotation. If is small, the screen display is immediately rotated. Also, if the amount of variation in acceleration data for all three axes is large, the camera is activated and a decision is made as to whether or not to rotate the screen display by comparing the direction of the user's eyes with the direction of the displayed screen. To do. For this reason, when the user rotates the portable electronic device with the intention of rotating the screen display, the screen display can be quickly rotated without starting the camera, and an increase in power consumption can be suppressed. . In addition, the delay time from when the portable electronic device rotates to when the screen display rotates can be shortened.

なお、上記一実施の形態においては、x軸及びy軸に関する加速度データが大きく変動した際、z軸に関する加速度データの変動が所定の閾値未満であれば、ユーザが画面表示の回転を意図して携帯電子機器100を回転させたものと判定された。しかしながら、ユーザが画面表示の回転を意図して携帯電子機器100を回転させたか否かの判定は、z軸に関する加速度データの変動のみに基づかなくても良い。すなわち、例えば、x軸及びy軸に関する加速度データが大きく変動した際、この変動が急激であるか又は緩慢であるかの情報を補助的に用いて、ユーザが画面表示の回転を意図して携帯電子機器100を回転させたか否かを判定することもできる。   In the above-described embodiment, when the acceleration data regarding the x-axis and the y-axis greatly fluctuates, if the variation of the acceleration data regarding the z-axis is less than a predetermined threshold, the user intends to rotate the screen display. It was determined that the portable electronic device 100 was rotated. However, the determination as to whether or not the user has rotated the portable electronic device 100 with the intention of rotating the screen display may not be based only on the change in the acceleration data related to the z axis. That is, for example, when acceleration data about the x-axis and the y-axis greatly fluctuate, the user intends to rotate the screen display by using information on whether the fluctuation is abrupt or slow. It can also be determined whether or not the electronic device 100 has been rotated.

具体的には、図5の上図に示したように、破線で示すx軸に関する加速度データと一点鎖線で示すy軸に関する加速度データとは、期間Tの間に急激に変動している。これに対して、図5の下図に示したように、破線で示すx軸に関する加速度データと一点鎖線で示すy軸に関する加速度データとは、期間Tの間に緩慢に変動している。このように、ユーザの姿勢の変化に伴って携帯電子機器100が回転するような場合には、加速度データの変動が比較的緩慢である。このため、z軸に関する加速度データを用いる判定に加えて、x軸及びy軸に関する加速度データが所定レベル以上急激に変動したか否かを判定することで、ユーザが画面表示の回転を意図して携帯電子機器100を回転させたか否かを判定するようにしても良い。   Specifically, as shown in the upper diagram of FIG. 5, the acceleration data relating to the x-axis indicated by the broken line and the acceleration data relating to the y-axis indicated by the alternate long and short dash line change rapidly during the period T. On the other hand, as shown in the lower diagram of FIG. 5, the acceleration data related to the x-axis indicated by the broken line and the acceleration data related to the y-axis indicated by the alternate long and short dash line vary slowly during the period T. Thus, when the portable electronic device 100 rotates with a change in the user's posture, the acceleration data fluctuates relatively slowly. For this reason, in addition to the determination using the acceleration data regarding the z-axis, the user intends to rotate the screen display by determining whether or not the acceleration data regarding the x-axis and the y-axis has fluctuated more than a predetermined level. You may make it determine whether the portable electronic device 100 was rotated.

また、上記一実施の形態においては、x軸及びy軸に関する現在と過去の加速度データを比較することにより、携帯電子機器100の回転を検出するものとしたが、過去の複数時点における加速度データを用いても良い。すなわち、例えば過去の複数時点における加速度データの平均値と現在の加速度データとの比較により、携帯電子機器100の回転を検出しても良い。こうすることにより、所定時間前の加速度データが瞬時的に特異な値を示しているような場合でも、携帯電子機器100の回転の誤検出を防止することができる。   In the above-described embodiment, the rotation of the portable electronic device 100 is detected by comparing current and past acceleration data regarding the x-axis and the y-axis. It may be used. That is, for example, the rotation of the portable electronic device 100 may be detected by comparing the average value of acceleration data at a plurality of past time points with the current acceleration data. By doing so, it is possible to prevent erroneous detection of the rotation of the portable electronic device 100 even when the acceleration data of a predetermined time ago instantaneously shows a peculiar value.

さらに、携帯電子機器100の回転を検出する方法は、加速度センサ130によって取得される加速度データを用いる方法に限定されない。すなわち、例えば携帯電子機器100が自身の傾きを検知するジャイロセンサなどを備えている場合には、ジャイロセンサを用いて携帯電子機器100の回転を検出するようにしても良い。この場合でも、検出された回転時にディスプレイ110に対して垂直なz軸に関する加速度データが大きく変動していれば、カメラ120が起動されることなく即座にディスプレイ110の画面が回転する。   Furthermore, the method for detecting the rotation of the portable electronic device 100 is not limited to the method using the acceleration data acquired by the acceleration sensor 130. That is, for example, when the portable electronic device 100 includes a gyro sensor that detects its own inclination, the rotation of the portable electronic device 100 may be detected using the gyro sensor. Even in this case, if acceleration data relating to the z-axis perpendicular to the display 110 greatly changes during the detected rotation, the screen of the display 110 is immediately rotated without starting the camera 120.

なお、上記一実施の形態において説明した携帯電子機器100の表示制御処理をコンピュータが実行可能な表示制御プログラムとして記述することも可能である。この場合、この表示制御プログラムをコンピュータが読み取り可能な記録媒体に格納し、コンピュータに導入することも可能である。コンピュータが読み取り可能な記録媒体としては、例えばCD−ROM、DVDディスク、USBメモリなどの可搬型記録媒体や、例えばフラッシュメモリなどの半導体メモリが挙げられる。   Note that the display control processing of the portable electronic device 100 described in the above embodiment can be described as a display control program that can be executed by a computer. In this case, the display control program can be stored in a computer-readable recording medium and introduced into the computer. Examples of the computer-readable recording medium include a portable recording medium such as a CD-ROM, a DVD disk, and a USB memory, and a semiconductor memory such as a flash memory.

110 ディスプレイ
120 カメラ
130 加速度センサ
140 無線I/F
150 プロセッサ
151 回転検出部
152 閾値比較部
153 カメラ制御部
154 画像処理部
155 表示制御部
160 メモリ
110 Display 120 Camera 130 Acceleration sensor 140 Wireless I / F
DESCRIPTION OF SYMBOLS 150 Processor 151 Rotation detection part 152 Threshold comparison part 153 Camera control part 154 Image processing part 155 Display control part 160 Memory

Claims (4)

画面を表示する表示デバイスと、
前記表示デバイスと同一面に設けられ、前記表示デバイスに正対するユーザの顔を撮像する撮像デバイスと、
互いに直交する3軸に関する加速度データを取得する加速度センサと、
前記表示デバイス、前記撮像デバイス及び前記加速度センサに接続され、前記加速度センサによって取得された加速度データを取得するプロセッサとを有し、
前記プロセッサは、
前記3軸のうち前記表示デバイスに対して垂直な1軸の周りに自機器が回転したことを検出し、
検出された回転時における前記1軸に関する加速度データの変動量が所定の閾値未満であるか否かを判定し、
前記1軸に関する加速度データの変動量が所定の閾値未満であると判定された場合に、前記表示デバイスに表示中の画面を回転させ、
前記1軸に関する加速度データの変動量が所定の閾値以上であると判定された場合に、前記撮像デバイスを起動させ、
起動した撮像デバイスによって撮像されて得られた画像を用いて、前記表示デバイスに表示中の画面を回転させるか否かを判定する
ことを特徴とする携帯電子機器。
A display device for displaying the screen;
An imaging device that is provided on the same plane as the display device and captures the face of the user facing the display device;
An acceleration sensor that acquires acceleration data about three axes orthogonal to each other;
A processor connected to the display device, the imaging device, and the acceleration sensor to acquire acceleration data acquired by the acceleration sensor;
The processor is
Detecting that the device rotates about one axis perpendicular to the display device among the three axes;
Determining whether or not the variation amount of the acceleration data related to the one axis at the time of the detected rotation is less than a predetermined threshold;
When it is determined that the fluctuation amount of the acceleration data related to the one axis is less than a predetermined threshold, the screen being displayed on the display device is rotated,
When it is determined that the fluctuation amount of the acceleration data related to the one axis is equal to or greater than a predetermined threshold, the imaging device is activated,
A portable electronic device that determines whether or not to rotate a screen that is being displayed on the display device, using an image obtained by imaging by an activated imaging device.
前記検出する処理は、
前記1軸以外の2軸に関する現在の加速度データと所定時間前の加速度データとを比較し、
所定時間前から現在までの加速度データの変動量が所定の閾値以上であるか否かを判定し、
加速度データの変動量が所定の閾値以上であると判定された場合に、前記1軸の周りに自機器が回転したことを検出する
ことを特徴とする請求項記載の携帯電子機器。
The process to detect is
Compare current acceleration data for two axes other than the one axis with acceleration data for a predetermined time,
Determine whether the amount of change in acceleration data from a predetermined time before to the present is greater than or equal to a predetermined threshold,
If the amount of change of the acceleration data is determined to be equal to or greater than a predetermined threshold value, the portable electronic device of claim 1, wherein the local device around the 1 axis and detects that it has rotated.
前記プロセッサは、
検出された回転時における前記1軸以外の2軸に関する加速度データの変動量が所定レベル以上であるか否かをさらに判定し、
前記回転させる処理は、
前記1軸に関する加速度データの変動量が所定の閾値未満であると判定され、かつ、前記1軸以外の2軸に関する加速度データが所定レベル以上であると判定された場合に、前記表示デバイスに表示中の画面を回転させる
ことを特徴とする請求項記載の携帯電子機器。
The processor is
It is further determined whether or not the variation amount of the acceleration data related to the two axes other than the one axis at the time of the detected rotation is a predetermined level or more,
The process of rotating is
When it is determined that the fluctuation amount of the acceleration data related to the one axis is less than a predetermined threshold, and it is determined that the acceleration data related to two axes other than the one axis is greater than or equal to a predetermined level, the display is displayed on the display device. portable electronic device according to claim 1, wherein the screen during rotation.
画面を表示する表示デバイスと、前記表示デバイスと同一面に設けられ、前記表示デバイスに正対するユーザの顔を撮像する撮像デバイスと、互いに直交する3軸に関する加速度データを取得する加速度センサとを有するコンピュータに、
前記3軸のうち前記表示デバイスに対して垂直な1軸の周りに自コンピュータが回転したことを検出し、
検出された回転時における前記1軸に関する加速度データの変動量が所定の閾値未満であるか否かを判定し、
前記1軸に関する加速度データの変動量が所定の閾値未満であると判定された場合に、前記表示デバイスに表示中の画面を回転させ、
前記1軸に関する加速度データの変動量が所定の閾値以上であると判定された場合に、前記撮像デバイスを起動させ、
起動した撮像デバイスによって撮像されて得られた画像を用いて、前記表示デバイスに表示中の画面を回転させるか否かを判定する
処理を実行させることを特徴とする表示制御プログラム。
A display device that displays a screen; an imaging device that is provided on the same plane as the display device and that captures the face of the user facing the display device; and an acceleration sensor that acquires acceleration data about three axes orthogonal to each other On the computer,
Detecting that the computer rotates about one of the three axes perpendicular to the display device;
Determining whether or not the variation amount of the acceleration data related to the one axis at the time of the detected rotation is less than a predetermined threshold;
When it is determined that the fluctuation amount of the acceleration data related to the one axis is less than a predetermined threshold, the screen being displayed on the display device is rotated,
When it is determined that the fluctuation amount of the acceleration data related to the one axis is equal to or greater than a predetermined threshold, the imaging device is activated,
A display control program for executing a process of determining whether or not to rotate a screen being displayed on the display device, using an image obtained by imaging by an activated imaging device.
JP2013181605A 2013-09-02 2013-09-02 Portable electronic device and display control program Expired - Fee Related JP6221526B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013181605A JP6221526B2 (en) 2013-09-02 2013-09-02 Portable electronic device and display control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013181605A JP6221526B2 (en) 2013-09-02 2013-09-02 Portable electronic device and display control program

Publications (2)

Publication Number Publication Date
JP2015049403A JP2015049403A (en) 2015-03-16
JP6221526B2 true JP6221526B2 (en) 2017-11-01

Family

ID=52699459

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013181605A Expired - Fee Related JP6221526B2 (en) 2013-09-02 2013-09-02 Portable electronic device and display control program

Country Status (1)

Country Link
JP (1) JP6221526B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009098781A1 (en) * 2008-02-08 2009-08-13 Fujitsu Limited Display device and information processing device
JP5120326B2 (en) * 2009-04-17 2013-01-16 富士通モバイルコミュニケーションズ株式会社 Mobile device
JP5489572B2 (en) * 2009-07-29 2014-05-14 キヤノン株式会社 Acceleration detection apparatus, control method therefor, and program
JP5244734B2 (en) * 2009-08-18 2013-07-24 北陸電気工業株式会社 Acceleration sensor module with posture judgment function
JP2012058332A (en) * 2010-09-06 2012-03-22 Nec Corp Mobile terminal device and program
EP2674937A4 (en) * 2011-02-09 2016-08-17 Nec Corp Image display device, image display method, and program
JP5805503B2 (en) * 2011-11-25 2015-11-04 京セラ株式会社 Portable terminal, display direction control program, and display direction control method

Also Published As

Publication number Publication date
JP2015049403A (en) 2015-03-16

Similar Documents

Publication Publication Date Title
US20210200308A1 (en) Automatic device display orientation detection
JP5857257B2 (en) Display device and display direction switching method
US11460916B2 (en) Interface interaction apparatus and method
US9589325B2 (en) Method for determining display mode of screen, and terminal device
KR101598984B1 (en) Method for managing screen orientation of a portable electronic device
WO2018089483A1 (en) Detecting user focus on hinged multi-screen device
JP5184570B2 (en) Information terminal and display switching method
JP2011041067A (en) Mobile terminal
US20140240540A1 (en) Apparatus and method for processing an image in device
US20150002698A1 (en) Inclination angle compensation system and method for picture
WO2016011649A1 (en) Method and apparatus for switching screen display mode of terminal device, and terminal device
US10321049B2 (en) Photographing control methods, photographing control apparatuses, and photographing devices
US20140302894A1 (en) Method and Apparatus for Determining Whether Ear of User is Contiguous to Electronic Device or Whether User Watches Display of Electronic Device
TW201403454A (en) Screen rotating method and system
US20150160841A1 (en) Desktop-like device and method for displaying user interface
JP6221526B2 (en) Portable electronic device and display control program
JP5799179B2 (en) TERMINAL DEVICE, TERMINAL DEVICE CONTROL METHOD, PROGRAM, AND INFORMATION STORAGE MEDIUM
US9874947B2 (en) Display control apparatus and control method therefor, and imaging apparatus and control method therefor
US9886192B2 (en) Terminal device, control method for terminal device, program, and information storage medium
JP6325369B2 (en) Electronic device, control method and program
JP2018509800A (en) Method for displaying video frames on a portable video acquisition device and corresponding device
US20210375238A1 (en) Portable electronic devices and methods of using the same
WO2013005311A1 (en) Display device and display method
JP2013161331A (en) Terminal device, method for controlling screen, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20160510

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170228

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170428

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170613

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170703

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20170905

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170918

R150 Certificate of patent or registration of utility model

Ref document number: 6221526

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees