JPH11326563A - Time information-registering device - Google Patents

Time information-registering device

Info

Publication number
JPH11326563A
JPH11326563A JP10129369A JP12936998A JPH11326563A JP H11326563 A JPH11326563 A JP H11326563A JP 10129369 A JP10129369 A JP 10129369A JP 12936998 A JP12936998 A JP 12936998A JP H11326563 A JPH11326563 A JP H11326563A
Authority
JP
Japan
Prior art keywords
clock
image data
time
image
data
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
JP10129369A
Other languages
Japanese (ja)
Inventor
Satoru Miyamoto
哲 宮本
Koichi Harada
晃一 原田
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP10129369A priority Critical patent/JPH11326563A/en
Publication of JPH11326563A publication Critical patent/JPH11326563A/en
Pending legal-status Critical Current

Links

Landscapes

  • Electric Clocks (AREA)
  • Image Processing (AREA)

Abstract

PROBLEM TO BE SOLVED: To easily register time information by specifying image data at a watch part from image data being displayed on an image data display means, and setting time being indicated in time data that are recognized by a recognition means as the time of a built-in watch. SOLUTION: The image of a watch or the like is picked up by a digital still camera and the image data are displayed on a display part 3. In the image being displayed on the display part 3, and the outer-frame part of a watch is specified by a pen or the like on a touch panel 4. The image data at the specified watch part are stored in a watch image storage part 61 in a RAM 6. An analog/digital watch specification part 11 specifies whether the image data being stored in an image storage part 61 are analog or digital. An clock hand pattern extraction part 14 performs pattern matching, and a time information acquisition part 15 calculates time to obtain time information. In the case of a digital watch, a colon is searched from a row of numbers and time information is acquired from 2-character information before and after the colon.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は時刻情報を使用する
装置において、画像データを利用して時刻情報を登録す
ることができる装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus which uses time information and which can register time information using image data.

【0002】[0002]

【従来の技術】従来、内蔵している時計の時刻を合わせ
る等、時刻情報を登録する方法として、古くからいろい
ろな手法が開発されている。
2. Description of the Related Art Conventionally, various methods have been developed for registering time information, such as adjusting the time of a built-in clock, for example.

【0003】例えば、特開平4−71013号公報に
は、センタから端末装置へ送るメッセージの中に正確な
時刻データを組み込み、該メッセージ中の時刻データに
よって端末装置内部の時計時刻を設定する手法が開示さ
れている。
For example, Japanese Patent Application Laid-Open No. 4-71013 discloses a method of incorporating accurate time data into a message sent from a center to a terminal device, and setting a clock time inside the terminal device based on the time data in the message. It has been disclosed.

【0004】また、特開平4−236390号公報に
は、受信したテレビ信号中の時刻表示をパターン認識
し、その時刻を計数信号変換回路に置数するとともに、
零秒時には計数信号変換回路の秒計数回路をリセットす
ることにより、時刻を合わせるといった手法が開示され
ている。これは、テレビ放送中の時刻表示が画面上の表
示位置、表示文字パターン、表示文字サイズにおいてほ
ぼ共通であるといった点を使用しており、画像データ中
の任意の表示位置に、任意の大きさにて表示される時刻
表示までは対応されていない。
Japanese Patent Application Laid-Open No. 4-236390 discloses a method in which a time display in a received television signal is pattern-recognized, and the time is set in a counting signal conversion circuit.
A method is disclosed in which the time is adjusted by resetting the second counting circuit of the counting signal conversion circuit at zero seconds. This uses the fact that the time display during television broadcasting is almost common in the display position on the screen, the display character pattern, and the display character size, and the arbitrary size is displayed at any display position in the image data. It does not correspond to the time display indicated by.

【0005】また、特開平5−45478号公報には、
標準時報音および時刻を知らせる音声に関する電気信号
を入力し、その電気信号から音声認識装置で認識した音
声情報を時刻合わせ制御装置に入力し、時刻合わせ制御
装置が標準時報音のタイミングで時刻を知らせる音声の
時刻に設定するといった手法が開示されている。
Further, Japanese Patent Application Laid-Open No. 5-45478 discloses that
The standard time signal and an electric signal related to the time notification sound are input, and the speech information recognized by the voice recognition device is input to the time setting control device from the electric signal, and the time setting control device notifies the time at the standard time signal sound timing. There is disclosed a method of setting the time of a voice.

【0006】[0006]

【発明が解決しようとする課題】しかし、上記従来の技
術の時刻合わせの方法では、時報受信機や、テレビ受信
機等が必要となり、これらがないと時刻合わせができな
い。また、テレビ受信機を用いたとしても、時刻表示が
画像データ中の任意の位置にかつ任意の大きさに表示さ
れた場合には、時刻合わせができないといった問題があ
った。
However, the time adjustment method of the prior art requires a time signal receiver, a television receiver, and the like, and the time cannot be adjusted without these. Further, even if a television receiver is used, if the time display is displayed at an arbitrary position and in an arbitrary size in the image data, there is a problem that the time cannot be set.

【0007】本発明は、上記問題点を解決すべく、カメ
ラ等にて腕時計等を画像データとして取込み、画像デー
タの任意の位置にかつ任意の大きさで時計が表示されて
いる場合に、その時計が計時している時刻を認識して時
刻情報の登録を簡単に行うことができる装置の提供を目
的とする。
According to the present invention, a wristwatch or the like is captured as image data by a camera or the like and a clock is displayed at an arbitrary position and in an arbitrary size of the image data. It is an object of the present invention to provide a device that can easily register time information by recognizing the time measured by a clock.

【0008】また、本発明の別の目的は、ユーザが時刻
の確認用として通常用いる腕時計等の画像を登録してお
き、登録した時計画像を画像データから抽出して、時刻
認識を行う時刻情報登録装置を提供することである。
Another object of the present invention is to register an image of a wristwatch or the like which is usually used by a user for checking the time, extract the registered clock image from the image data, and obtain time information for performing time recognition. To provide a registration device.

【0009】[0009]

【課題を解決するための手段】本発明は上記目的を達成
するためになされたものであって、請求項1記載の発明
は、アナログ表示時計またはデジタル表示時計の画像デ
ータを入力する画像データ入力手段と、前記画像データ
入力手段によって入力された画像データを表示する画像
データ表示手段と、前記画像データ表示手段に表示され
ている画像データから時計部分の画像データを指定する
指定手段と、前記指定手段によって指定された時計部分
の画像データを認識する認識手段と、前記認識手段によ
って認識された時計データに示された時刻を、内蔵時計
の時刻として設定する時刻設定手段とを具備することを
特徴とする時刻情報登録装置である。
SUMMARY OF THE INVENTION The present invention has been made to achieve the above object, and the invention according to claim 1 is an image data input device for inputting image data of an analog display clock or a digital display clock. Means, image data display means for displaying image data input by the image data input means, designating means for designating clock data from the image data displayed on the image data display means, A recognition unit that recognizes the image data of the clock portion specified by the unit; and a time setting unit that sets the time indicated by the clock data recognized by the recognition unit as the time of the internal clock. Is a time information registration device.

【0010】また、請求項2記載の発明は、前記請求項
1記載の時刻情報登録装置において、前記認識手段によ
って認識された時計データから時刻依存データを削除す
る削除手段と、前記削除手段によって削除された時計デ
ータを記憶する時計データ記憶手段と、前記画像データ
入力手段に入力された画像データが前記時計データ記憶
手段に記憶された時計データと一致するか否かを判断す
る判断手段と、前記判断手段によって一致する場合、入
力された画像データを前記認識手段によって認識し、前
記設定手段によって認識された時刻を、内蔵時計の時刻
として設定するよう制御する制御手段とを具備すること
を特徴とする時刻情報登録装置である。
According to a second aspect of the present invention, in the time information registration device according to the first aspect, a deletion unit for deleting time-dependent data from the clock data recognized by the recognition unit, and a deletion by the deletion unit. Clock data storage means for storing the obtained clock data; determination means for determining whether or not the image data input to the image data input means matches the clock data stored in the clock data storage means; Control means for recognizing the input image data by the recognizing means when the determination is made by the recognizing means, and controlling the time recognized by the setting means to be set as the time of the internal clock. This is a time information registration device.

【0011】[0011]

【発明の実施の形態】以下、図をもとに本発明について
説明する。なお、これによって本発明は限定されるもの
ではない。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to the drawings. Note that the present invention is not limited by this.

【0012】[実施例1]図1は実施例1の時刻情報登
録装置1の電気的構成を示すブロック図である。
[First Embodiment] FIG. 1 is a block diagram showing an electrical configuration of a time information registration device 1 according to a first embodiment.

【0013】実施例1の時刻情報登録装置1は、デジタ
ルスチルカメラから成る画像データ入力部2、LCDか
ら成る画像データの表示部3、タッチパネル4、ROM
5、RAM6、CPU7、制御回路8、A/D変換器
9、表示用メモリ10、アナログ/デジタル時計指定部
11、矩形抽出部12、文字認識部13、針パターン抽
出部14、時刻情報獲得部15等から構成されている。
The time information registration device 1 according to the first embodiment includes an image data input unit 2 composed of a digital still camera, an image data display unit 3 composed of an LCD, a touch panel 4, and a ROM.
5, RAM 6, CPU 7, control circuit 8, A / D converter 9, display memory 10, analog / digital clock designation unit 11, rectangle extraction unit 12, character recognition unit 13, hand pattern extraction unit 14, time information acquisition unit 15 and so on.

【0014】ROM5には後述する制御プログラムやア
ナログ時計の長針、短針を検出し、時刻認識に用いる角
度マッチングデータ51等が格納されている。
The ROM 5 stores a control program to be described later, angle matching data 51 for detecting the long hand and the short hand of an analog timepiece, and used for time recognition.

【0015】また、RAM6にはシステムが動作するた
めのワークエリアやユーザが指定した時計画像を格納す
る時計画像格納部61、デジタル時計画像から数字情報
を認識した結果を格納する数字認識結果格納部62、ア
ナログ時計における短針と12時の方向とがなす角度を
格納する短針角度格納部63等が配置されている。
A RAM 6 stores a work area for operating the system and a clock image storage unit 61 for storing a clock image specified by a user, and a number recognition result storage unit for storing a result obtained by recognizing numeric information from a digital clock image. 62, a short hand angle storage unit 63 and the like for storing an angle formed by the short hand and the 12 o'clock direction in the analog timepiece are arranged.

【0016】また、CPU7は、上記ROM5に格納さ
れているプログラムに従って、上記画像データ入力部
2、表示部3、タッチパネル4、RAM6、矩形抽出部
12、文字認識部13、針パターン抽出部14等を制御
する。
Further, the CPU 7 operates in accordance with the program stored in the ROM 5 to control the image data input unit 2, display unit 3, touch panel 4, RAM 6, rectangle extracting unit 12, character recognizing unit 13, needle pattern extracting unit 14, etc. Control.

【0017】画像データ入力部2から入力された画像デ
ータは、RAM6に一旦書込まれた後、書込まれたデー
タを読み込んで表示用メモリ10に書込む。表示用メモ
リ10に書込まれたデータはCPU7からの指令により
表示部3に表示される。
The image data input from the image data input unit 2 is written once in the RAM 6, and then the written data is read and written in the display memory 10. The data written in the display memory 10 is displayed on the display unit 3 according to a command from the CPU 7.

【0018】表示部3にはこれを覆うようにしてタッチ
パネル4が取り付けられており、タッチパネル4は、透
明アナログ抵抗膜方式のタッチパネルで構成され、該タ
ッチパネル4を通して表示部3の表示データが視認でき
るようになっている。
A touch panel 4 is attached to the display unit 3 so as to cover the display unit 3. The touch panel 4 is formed of a transparent analog resistive type touch panel, and display data on the display unit 3 can be visually recognized through the touch panel 4. It has become.

【0019】タッチパネル4には、該タッチパネル4へ
の電圧印加等を制御する制御回路8が接続される。該制
御回路8はタッチパネル4がなぞられると、A/D変換
器9からの信号によりなぞられた位置を検出するCPU
7からの指令信号によりなぞられた位置を軌跡として表
示する。
The touch panel 4 is connected to a control circuit 8 for controlling the application of voltage to the touch panel 4 and the like. When the touch panel 4 is traced, the control circuit 8 detects a position traced by a signal from the A / D converter 9.
The position traced by the command signal from 7 is displayed as a locus.

【0020】A/D変換器9は、オペレータが指、ペン
等でなぞった場合に、なぞられた軌跡を位置情報として
出力するタッチパネル4のアナログ出力をディジタル信
号に変換してCPU7に入力する。
The A / D converter 9 converts an analog output of the touch panel 4 for outputting the traced locus as position information into a digital signal when the operator traces with a finger, a pen or the like, and inputs the digital signal to the CPU 7.

【0021】このなぞられた軌跡により時計画像が指定
され、指定された時計画像がRAM6中の時計画像格納
部に格納される。
A clock image is designated by the traced trace, and the designated clock image is stored in the clock image storage unit in the RAM 6.

【0022】アナログ/デジタル時計指定部11によ
り、時計画像格納部に格納された時計画像がアナログ時
計の画像か、デジタル時計の画像かをオペレータが指定
するようになっており、アナログ時計の場合は、針パタ
ーン抽出部14がROM5中の角度マッチングデータ5
1を用いて短針および短針と時計の12時の方向とがな
す角度を抽出する。この角度が求まった後、時刻情報獲
得部15にて時刻が求められる。
The analog / digital clock designating section 11 allows an operator to designate whether the clock image stored in the clock image storage section is an analog clock image or a digital clock image. , The needle pattern extracting unit 14 stores the angle matching data 5 in the ROM 5
1 is used to extract the angle between the hour hand and the hour hand and the 12 o'clock direction of the timepiece. After this angle is obtained, the time is obtained by the time information obtaining unit 15.

【0023】時計画像格納部のデータがデジタル時計の
場合は、矩形抽出部12、文字認識部13により、数字
認識を行い、この認識結果を用いて時刻情報獲得部15
にて時刻が求められる。
If the data in the clock image storage unit is a digital clock, the rectangle extraction unit 12 and the character recognition unit 13 perform digit recognition, and use this recognition result to obtain a time information acquisition unit 15.
The time is required at.

【0024】時刻情報獲得部15にて獲得された時刻
は、図示していない内蔵時計の現在時刻として、設定さ
れる。
The time obtained by the time information obtaining unit 15 is set as the current time of a built-in clock (not shown).

【0025】以上の処理を図2の動作フローチャート図
を用いて詳細に説明する。
The above processing will be described in detail with reference to the operation flowchart of FIG.

【0026】デジタルスチルカメラ2を用いて、ユーザ
は各自が所有している腕時計や、街角にある時計を撮影
する(ステップS1)。撮影する際に、時計の上方向
を、画像の上方向に一致するように撮影する。
Using the digital still camera 2, the user takes a picture of a wristwatch owned by him or a clock on a street corner (step S1). When shooting, the camera is shot so that the upper direction of the clock matches the upper direction of the image.

【0027】この撮影した画像データを表示部3に表示
する(ステップS2)。図3に表示部3に表示された画
像データの例を示す。(a)はアナログ時計を撮影した
図、(b)はデジタル時計を撮影した図である。
The photographed image data is displayed on the display unit 3 (step S2). FIG. 3 shows an example of image data displayed on the display unit 3. (A) is a view of an analog clock, and (b) is a view of a digital clock.

【0028】表示部3に表示されている画像において、
時計の外枠部分をタッチパネル4上からペン等で囲み指
定する(ステップS3)。通常は、時計の上方向と画像
の上方向とが一致するように時計を撮影するが、両者が
一致していない場合は、オペレータがタッチパネル4上
をタッチすることで時計の上方向を指定する(ステップ
S4)。
In the image displayed on the display unit 3,
The outer frame portion of the timepiece is designated by enclosing it from the touch panel 4 with a pen or the like (step S3). Usually, the clock is photographed so that the upper direction of the clock coincides with the upper direction of the image. If the two do not match, the operator touches the touch panel 4 to specify the upper direction of the clock. (Step S4).

【0029】図4に、撮影された画像中の時計部分の外
周および上方向を指定した例を示す。この図において、
(a)はアナログ時計の時計部分の外枠を指定した図、
(b)はアナログ時計の上方向を指定した図、(c)は
デジタル時計の時計部分の外枠を指定した図、(d)は
デジタル時計の上方向を指定した図である。特に、
(b)および(d)は、時計の上方向と画像の上方向が
一致していない場合を示している。
FIG. 4 shows an example in which the outer periphery and upward direction of a clock portion in a photographed image are designated. In this figure,
(A) is a diagram in which an outer frame of a clock portion of an analog clock is designated,
(B) is a diagram in which the upward direction of the analog clock is designated, (c) is a diagram in which the outer frame of the clock portion of the digital clock is designated, and (d) is a diagram in which the upward direction of the digital clock is designated. Especially,
(B) and (d) show a case where the upward direction of the clock does not match the upward direction of the image.

【0030】CPU7は、ステップS3にて指定された
時計部分の画像データをRAM6中の時計画像データ格
納部61に格納する(ステップS5)。
The CPU 7 stores the image data of the clock portion designated in step S3 in the clock image data storage 61 in the RAM 6 (step S5).

【0031】時計画像データ格納部61に格納されるデ
ータが、時計の上方向と画像の上方向とが一致していな
い場合は、ステップS4にて指定した時計の上方向が画
像の上方向と一致するように画像回転を行い、時計の上
方向と画像の上方向が一致した後、RAM6中の時計画
像データ格納部61に格納する(ステップS6)。
If the data stored in the clock image data storage 61 does not match the upward direction of the clock with the upward direction of the image, the upward direction of the clock specified in step S4 becomes the upward direction of the image. The image is rotated so as to match, and after the upper direction of the clock matches the upper direction of the image, the image is stored in the clock image data storage 61 in the RAM 6 (step S6).

【0032】なお、画像回転の技術については、画像編
集ソフト等で既に実現されている技術を用いればよい。
As for the image rotation technique, a technique already realized by image editing software or the like may be used.

【0033】この処理が終了すると、時計画像データ格
納部61に格納されている画像データの上方向が必ず時
計の上方向を示していることになる。
When this processing is completed, the upward direction of the image data stored in the clock image data storage section 61 always indicates the upward direction of the clock.

【0034】時計画像データ格納部61に格納されてい
る画像データがデジタル時計か、アナログ時計かをアナ
ログ/デジタル時計指定部11により、オペレータが指
定する(ステップS7)。図5にアナログ/デジタル時
計指定の表示例を示す。
The operator specifies whether the image data stored in the clock image data storage section 61 is a digital clock or an analog clock by the analog / digital clock specifying section 11 (step S7). FIG. 5 shows a display example of analog / digital clock designation.

【0035】画像中の時計がデジタル時計の場合は、矩
形抽出部12および文字認識部13により、数字部分を
文字認識して時刻情報獲得部15が時刻情報を獲得する
(ステップS8)。
If the timepiece in the image is a digital timepiece, the rectangle extracting unit 12 and the character recognizing unit 13 recognize the character of the numeral part, and the time information obtaining unit 15 obtains the time information (step S8).

【0036】また、画像中の時計がアナログ時計の場合
は、時計画像データ格納部61に格納されている画像デ
ータの中心を求める(ステップS9)。画像データの中
心は、縦、横方向ともサイズを半分にした点として求め
ることができる。
If the clock in the image is an analog clock, the center of the image data stored in the clock image data storage 61 is obtained (step S9). The center of the image data can be obtained as a point whose size is reduced by half in both the vertical and horizontal directions.

【0037】針パターン抽出部14がROM5中の角度
マッチングデータ51とのパターンマッチングを行い、
短針を抽出する(ステップS10)。長針、短針、秒針
ともに、ステップS9にて求めた中心点から、外周の方
向に直線として延びているため、パターンマッチングに
て中心点から外周の方向に延びている直線部分を求め、
その中で一番短い針を短針として抽出する。
The needle pattern extracting unit 14 performs pattern matching with the angle matching data 51 in the ROM 5,
The short hand is extracted (step S10). Since the long hand, the short hand, and the second hand both extend as straight lines in the direction of the outer periphery from the center point obtained in step S9, a straight line portion extending in the direction of the outer periphery from the center point is obtained by pattern matching.
The shortest needle is extracted as the short hand.

【0038】抽出した短針と時計の上方向(12時の方
向)とがなす角度を角度マッチングデータ51とのパタ
ーンマッチングにて求め、求めた角度から時刻情報獲得
部15が時刻計算を行い、時刻情報を求める(ステップ
S11)。
The angle formed by the extracted hour hand and the upward direction of the clock (direction at 12 o'clock) is determined by pattern matching with the angle matching data 51, and the time information acquiring unit 15 calculates the time from the determined angle. Information is obtained (step S11).

【0039】これは、時計の短針が12時間(720
分)で一回り(360度)回転することを考えると、n
分で時計の上方向(12時の方向)から、時計まわりで
の短針までのなす角度がx度となるとして、720:3
60=n:x の比例式が成り立つことよりn=2×x
(分)の式を用いて分単位で時刻が求まることになる。
This is because the hour hand of the clock is 12 hours (720 hours).
Minutes) and rotate one time (360 degrees), n
Assuming that the angle between the upper hand of the clock (direction of 12 o'clock) and the hour hand in clockwise direction is x degrees in minutes, 720: 3
Since the proportional expression of 60 = n: x holds, n = 2 × x
The time is calculated in minutes using the expression (minute).

【0040】昼と夜の区別は、例えば時計を撮影した時
の周囲の明るさ等で判別することができる。
The distinction between day and night can be made based on, for example, the brightness of the surroundings when the clock is photographed.

【0041】ステップS8におけるデジタル時計の場合
の処理について、図6の動作フローチャート図を用いて
説明する。
The processing in the case of a digital timepiece in step S8 will be described with reference to the operation flowchart of FIG.

【0042】ステップS5にて格納された時計画像デー
タ中から数字部分及びセパレータであるコロン(:)を
抽出し、抽出した数字部分を認識する(ステップS6
1)。
A numeral part and a colon (:) as a separator are extracted from the clock image data stored in step S5, and the extracted numeral part is recognized (step S6).
1).

【0043】画像部分から、文字、数字等を抽出し、抽
出した文字を認識する技術は公知であり、特開平9−3
05702号公報等で開示されている技術を用いる。
Techniques for extracting characters, numbers, and the like from an image portion and recognizing the extracted characters are known.
The technology disclosed in Japanese Patent No. 05702 or the like is used.

【0044】認識された数字列は、RAM6中の数字認
識結果格納部62に格納される(ステップS62)。
The recognized number string is stored in the number recognition result storage section 62 in the RAM 6 (step S62).

【0045】数字認識結果格納部62に格納された数字
列の先頭からセパレータであるコロン(:)を検索する
(ステップS63)。
A colon (:), which is a separator, is searched from the head of the number string stored in the number recognition result storage unit 62 (step S63).

【0046】コロンを検索後、コロンの前後2文字分の
情報から時刻情報を取得する。すなわち、コロンの前の
2文字分を時として、コロンの後ろ2文字分を分として
それぞれ時刻情報を取得する(ステップS64)。
After searching for a colon, time information is obtained from information of two characters before and after the colon. That is, the time information is acquired by setting the two characters before the colon as hours and the two characters after the colon as minutes (step S64).

【0047】ステップS9、10、11におけるアナロ
グ時計の場合の処理について、図7および図8を用いて
説明する。
The processing in the case of an analog timepiece in steps S9, S10 and S11 will be described with reference to FIGS.

【0048】図7はROM5中に格納されている角度マ
ッチングデータを示している。この図は、時計の上方向
(12時の方向)と、時計の針とがなす角度を0度から
359度まで1度ずつ変化させた時の時計の針のドット
パターンを示したものである。それぞれの角度に対応す
る針のデータは、中央が時計の中心に相当し、例えば0
度の場合は、中央から真上に針が伸び、45度の場合
は、中央から右上に針が伸びる形で表示されている。ド
ットパターンは、圧縮されて格納されており、この圧縮
されたデータを元に戻したものを0度、および45度の
場合として、図7に示している。
FIG. 7 shows angle matching data stored in the ROM 5. This figure shows the dot pattern of the hands of the watch when the angle between the upward direction of the watch (12 o'clock direction) and the hands of the watch is changed by 1 degree from 0 degree to 359 degrees. . In the data of the hands corresponding to each angle, the center corresponds to the center of the clock, for example, 0
In the case of degrees, the needle extends right above the center, and in the case of 45 degrees, the needle extends from the center to the upper right. The dot pattern is stored in a compressed state, and FIG. 7 shows the compressed data obtained by restoring the compressed data to 0 degrees and 45 degrees.

【0049】また、図8はアナログ時計の場合の時刻認
識の動作を示すフローチャート図である。
FIG. 8 is a flowchart showing the operation of time recognition in the case of an analog clock.

【0050】時計画像データ格納部の中心点を求める
(ステップS90)。中心点は、横方向のサイズをカウ
ントし、その半分の点を求めることで、横方向の中心点
が求まる。縦方向についても、同様に中心点が求まる。
The center point of the clock image data storage is obtained (step S90). The center point in the horizontal direction is obtained by counting the size in the horizontal direction and calculating a half of the size. In the vertical direction, the center point is similarly obtained.

【0051】このステップにて求まった中心点から外周
方向に延びている直線を角度マッチングデータを用いて
検索する。すなわち、角度マッチングデータの角度を0
度にセットする(ステップS91)。
A straight line extending in the outer peripheral direction from the center point obtained in this step is searched using the angle matching data. That is, the angle of the angle matching data is set to 0
It is set every time (step S91).

【0052】角度に対応したデータ(この場合は0度の
データ)がステップS90にて求めた中心点から存在す
るかどうかをパターンマッチングを行い、判定する(ス
テップS92)。
It is determined by performing pattern matching whether data corresponding to the angle (in this case, data of 0 degree) exists from the center point obtained in step S90 (step S92).

【0053】パターンデータと一致しない場合は、ステ
ップS95に進み角度の値を1加算する。パターンデー
タと一致した場合、中心位置からパターンデータのどこ
までが一致したかをカウントする(ステップS93)。
このカウント値が、針の長さを示すことになる。ここで
カウントした値および角度をメモリに格納する(ステッ
プS94)。
If it does not match the pattern data, the flow advances to step S95 to add 1 to the angle value. If it matches the pattern data, it counts how far the pattern data matches from the center position (step S93).
This count value indicates the length of the needle. Here, the counted value and the angle are stored in the memory (step S94).

【0054】次に、角度マッチングデータの角度の値を
1加算し(ステップS95)、角度の値が360度かど
うかを比較する(ステップS96)。360度以外の場
合は、ステップS92に戻り、処理を繰り返す。
Next, 1 is added to the angle value of the angle matching data (step S95), and it is determined whether the angle value is 360 degrees (step S96). If the angle is not 360 degrees, the process returns to step S92 and the process is repeated.

【0055】マッチングデータの角度の値が360度に
なった時点でマッチング処理は終了する。
When the angle value of the matching data becomes 360 degrees, the matching process ends.

【0056】ここで、ステップS94にて格納されたデ
ータを確認し、カウント値が一番小さい値に相当する針
を短針として抽出する(ステップS97)。
Here, the data stored in step S94 is confirmed, and a hand corresponding to the smallest count value is extracted as a short hand (step S97).

【0057】この時の角度をRAM6中の短針角度格納
部63に格納する。抽出された短針と時計の12時の方
向の角度は、上記説明から短針角度格納部63に格納さ
れている角度になる。角度が求まった後、時刻情報を分
単位で上述した式を用いて求める。すなわち、2×(短
針角度格納部の値)で時刻が分単位で求まる。
The angle at this time is stored in the short hand angle storage section 63 in the RAM 6. The extracted angle between the hour hand and the 12 o'clock direction of the clock is the angle stored in the hour hand angle storage unit 63 from the above description. After the angle is obtained, the time information is obtained in minutes by using the above-described expression. That is, the time is obtained in minutes by 2 × (the value of the short hand angle storage unit).

【0058】これにより、アナログ時計、デジタル時計
のいずれを撮影しても時刻情報を求めることができる。
Thus, time information can be obtained regardless of whether an analog clock or a digital clock is photographed.

【0059】[実施例2]図9に実施例2の時刻情報登
録装置1のブロック図を示す。
[Second Embodiment] FIG. 9 is a block diagram of a time information registration device 1 according to a second embodiment.

【0060】図9において、時刻依存情報削除部16、
指定時計画像格納部64、指定時計画像抽出部17以外
は図1の構成と同じである。
In FIG. 9, the time-dependent information deleting unit 16,
The configuration other than the designated clock image storage unit 64 and the designated clock image extraction unit 17 is the same as the configuration in FIG.

【0061】また、デジタル時計の場合は、表示画像デ
ータ全体から文字認識を行い、コロンの前後2文字分の
情報を時刻として認識すればよいことから、認識する対
象を時計画像格納部のデータから、表示されている画像
データ全体に拡張するだけであり、方法としては同じで
あるため、ここでの詳細な説明は省略する。
In the case of a digital clock, character recognition is performed from the entire display image data, and information of two characters before and after the colon may be recognized as time. Since only the whole image data is displayed and the method is the same, a detailed description is omitted here.

【0062】アナログ時計の場合、時刻依存情報削除部
16は、時計画像格納部61にユーザが一度認識する時
計を指定して格納した後、時計画像格納部61に格納さ
れた時計画像から、長針、短針等時刻に依存する部分を
カットし、残りの部分を時刻に依存しない部分として指
定時計画像格納部64に格納する。
In the case of an analog clock, the time-dependent information deletion unit 16 specifies and stores a clock once recognized by the user in the clock image storage unit 61, and then reads the clock image stored in the clock image storage unit 61 from the long hand. Then, the time-dependent portion such as the short hand is cut, and the remaining portion is stored in the designated clock image storage section 64 as a time-independent portion.

【0063】針の削除の方法は、実施例1中図8で述べ
た時刻認識の処理を行うことにより、針データが抽出さ
れるので、この抽出された針データを原画像データから
削除することで、実現できる。
In the method of deleting the needle, the needle data is extracted by performing the time recognition processing described in FIG. 8 in the first embodiment. Therefore, the extracted needle data is deleted from the original image data. Can be realized.

【0064】指定時計画像抽出部17は、指定時計画像
格納部64に格納された画像とパターン一致するデータ
を表示されているデータから抽出して、そのデータを認
識する時計データとして使用する。表示されている画像
データから、ある特定のパターンに一致する形のデータ
を抽出する技術は公知であり、このパターンマッチング
の技術を用いて、指定時計画像格納部に格納されている
データと一致するデータを表示データから抽出する。
The designated clock image extraction unit 17 extracts data that matches the pattern stored in the designated clock image storage unit 64 from the displayed data and uses it as clock data for recognizing the data. A technique for extracting data in a form that matches a specific pattern from displayed image data is known, and using this pattern matching technique, data that matches data stored in a designated clock image storage unit is known. Extract data from display data.

【0065】認識対象となる時計画像が抽出された後、
その時計を認識する方法は、実施例1の場合と全く同じ
であるため、ここでの説明は省略する。
After the clock image to be recognized is extracted,
The method of recognizing the timepiece is exactly the same as in the first embodiment, and a description thereof will be omitted.

【0066】また、認識対象となる時計画像の抽出を指
定時計画像格納部に格納されているデータをもとに自動
的に行ってもよいし、ユーザが実施例1で行ったように
指定してもよいことは言うまでもない。
The clock image to be recognized may be automatically extracted based on the data stored in the specified clock image storage unit, or may be specified by the user as in the first embodiment. Needless to say, this may be done.

【0067】[0067]

【発明の効果】本発明によれば、請求項1記載の発明で
は、画像データ入力手段さえあれば、時刻情報を獲得す
ることができ、簡単に、また特別な装置がなくても時刻
を設定することができる。
According to the present invention, according to the first aspect of the present invention, the time information can be obtained with only the image data input means, and the time can be set easily and without any special device. can do.

【0068】また、請求項2記載の発明では、いつも使
用する時計を一度撮影し、時計部分を指定するだけで、
それ以降は時計を撮影すると自動的に時計部分が抽出さ
れるようになり、操作性に非常にすぐれた装置を提供す
ることができる。
Further, according to the second aspect of the present invention, a clock which is always used is photographed once, and the clock portion is designated.
Thereafter, when the timepiece is photographed, the timepiece portion is automatically extracted, so that a device with excellent operability can be provided.

【図面の簡単な説明】[Brief description of the drawings]

【図1】実施例1の時刻情報登録装置の電気的構成を示
すブロック図である。
FIG. 1 is a block diagram illustrating an electrical configuration of a time information registration device according to a first embodiment.

【図2】時刻情報登録装置の動作フローチャート図であ
る。
FIG. 2 is an operation flowchart of the time information registration device.

【図3】時計撮影時の表示部の表示例を示す図である。FIG. 3 is a diagram showing a display example of a display unit at the time of shooting a clock.

【図4】撮影された画像中の時計部分の外枠および時計
の上方向を指定した図である。
FIG. 4 is a diagram in which an outer frame of a clock portion in a captured image and an upward direction of the clock are designated.

【図5】アナログ/デジタル時計指定の表示例を示す図
である。
FIG. 5 is a diagram showing a display example of analog / digital clock designation.

【図6】デジタル時計の場合の時刻情報獲得を示す動作
フローチャート図である。
FIG. 6 is an operation flowchart showing time information acquisition in the case of a digital clock.

【図7】角度マッチングデータ例を示す図である。FIG. 7 is a diagram showing an example of angle matching data.

【図8】アナログ時計の場合の時刻認識処理を示した動
作フローチャート図である。
FIG. 8 is an operation flowchart showing time recognition processing in the case of an analog timepiece.

【図9】実施例2の時刻情報登録装置の電気的構成を示
すブロック図である。
FIG. 9 is a block diagram illustrating an electrical configuration of a time information registration device according to a second embodiment.

【符号の説明】[Explanation of symbols]

1 時刻情報登録装置 2 画像データ入力部 3 表示部3 4 タッチパネル 5 ROM 6 RAM 7 CPU 8 制御回路 9 A/D変換器 10 表示用メモリ 11 アナログ/デジタル時計指定部 12 矩形抽出部 13 文字認識部 14 針パターン抽出部 15 時刻情報獲得部 16 時刻依存情報削除部 17 指定時計画像抽出部 DESCRIPTION OF SYMBOLS 1 Time information registration device 2 Image data input part 3 Display part 3 4 Touch panel 5 ROM 6 RAM 7 CPU 8 Control circuit 9 A / D converter 10 Display memory 11 Analog / digital clock designation part 12 Rectangular extraction part 13 Character recognition part 14 Hand pattern extraction unit 15 Time information acquisition unit 16 Time dependent information deletion unit 17 Designated clock image extraction unit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 アナログ表示時計またはデジタル表示時
計の画像データを入力する画像データ入力手段と、 前記画像データ入力手段によって入力された画像データ
を表示する画像データ表示手段と、 前記画像データ表示手段に表示されている画像データか
ら時計部分の画像データを指定する指定手段と、 前記指定手段によって指定された時計部分の画像データ
を認識する認識手段と、 前記認識手段によって認識された時計データに示された
時刻を、内蔵時計の時刻として設定する時刻設定手段と
を具備することを特徴とする時刻情報登録装置。
1. An image data input device for inputting image data of an analog display clock or a digital display clock, an image data display device for displaying image data input by the image data input device, and an image data display device. Specifying means for specifying image data of the clock portion from the displayed image data; recognition means for recognizing the image data of the clock portion specified by the specifying means; and clock data recognized by the recognition means. Time setting means for setting the time as a time of a built-in clock.
【請求項2】 前記請求項1記載の時刻情報登録装置に
おいて、 前記認識手段によって認識された時計データから時刻依
存データを削除する削除手段と、 前記削除手段によって削除された時計データを記憶する
時計データ記憶手段と、 前記画像データ入力手段に入力された画像データが前記
時計データ記憶手段に記憶された時計データと一致する
か否かを判断する判断手段と、 前記判断手段によって一致する場合、入力された画像デ
ータを前記認識手段によって認識し、前記設定手段によ
って認識された時刻を、内蔵時計の時刻として設定する
よう制御する制御手段とを具備することを特徴とする時
刻情報登録装置。
2. The time information registration device according to claim 1, wherein: a deletion unit that deletes time-dependent data from the clock data recognized by the recognition unit; and a clock that stores the clock data deleted by the deletion unit. Data storing means; determining means for determining whether or not the image data input to the image data input means matches the clock data stored in the clock data storing means; Control means for recognizing the set image data by the recognizing means, and controlling the time recognized by the setting means to be set as the time of a built-in clock.
JP10129369A 1998-05-13 1998-05-13 Time information-registering device Pending JPH11326563A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10129369A JPH11326563A (en) 1998-05-13 1998-05-13 Time information-registering device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10129369A JPH11326563A (en) 1998-05-13 1998-05-13 Time information-registering device

Publications (1)

Publication Number Publication Date
JPH11326563A true JPH11326563A (en) 1999-11-26

Family

ID=15007886

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10129369A Pending JPH11326563A (en) 1998-05-13 1998-05-13 Time information-registering device

Country Status (1)

Country Link
JP (1) JPH11326563A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000074718A (en) * 1999-05-25 2000-12-15 윤종용 Method for setting a clock by analysis of image signal
JP2010243334A (en) * 2009-04-06 2010-10-28 Casio Computer Co Ltd Time display device, time display method and time display program
JP2011150392A (en) * 2010-01-19 2011-08-04 Casio Computer Co Ltd Picturesque image display device and picturesque image display method
JP2012150280A (en) * 2011-01-19 2012-08-09 Mitsubishi Precision Co Ltd Method for determining positional relation between first figure and second figure, device using same method, program of same method, and automobile driving simulator
JP2016057192A (en) * 2014-09-10 2016-04-21 セイコーインスツル株式会社 Electronic apparatus, time processing system, time processing method, and time processing program
JP2017509037A (en) * 2013-12-20 2017-03-30 ノキア テクノロジーズ オーユー Displaying information on a see-through display

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000074718A (en) * 1999-05-25 2000-12-15 윤종용 Method for setting a clock by analysis of image signal
JP2010243334A (en) * 2009-04-06 2010-10-28 Casio Computer Co Ltd Time display device, time display method and time display program
JP2011150392A (en) * 2010-01-19 2011-08-04 Casio Computer Co Ltd Picturesque image display device and picturesque image display method
JP2012150280A (en) * 2011-01-19 2012-08-09 Mitsubishi Precision Co Ltd Method for determining positional relation between first figure and second figure, device using same method, program of same method, and automobile driving simulator
JP2017509037A (en) * 2013-12-20 2017-03-30 ノキア テクノロジーズ オーユー Displaying information on a see-through display
JP2016057192A (en) * 2014-09-10 2016-04-21 セイコーインスツル株式会社 Electronic apparatus, time processing system, time processing method, and time processing program

Similar Documents

Publication Publication Date Title
US11696021B2 (en) Video recording device and camera function control program
CN104618580B (en) One kind is taken pictures implementation method and terminal
US8285006B2 (en) Human face recognition and user interface system for digital camera and video camera
JP5412227B2 (en) Video display device and display control method thereof
CN109348135A (en) Photographic method, device, storage medium and terminal device
JP2017058812A (en) Image display apparatus, image display method and program
EP3462375A1 (en) Body information analysis apparatus with augmented reality and eyebrow shape preview method thereof
JP2004193933A (en) Image enlargement display method, its apparatus, and medium program
WO2016152200A1 (en) Information processing system and information processing method
JPH05289811A (en) Rotation number input device by coordinate sensor
JPH11326563A (en) Time information-registering device
CN110555471A (en) Mobile terminal and target object searching method
JPH0670254A (en) Apparatus and method for setting of time by making use of televised character
KR100751093B1 (en) Device and method for Input in digital device
JP3845890B2 (en) Electronics
JP4375684B2 (en) Electronic camera device and imaging information display method
JP2004173300A (en) Image pickup device and picked-up image working method
JPH06215089A (en) Color image file managing device
JP2003085530A (en) Display method, and display device
JP2001008149A (en) Image display device and storage medium storing image display processing program
JP2004207843A (en) Image photographing apparatus and program
JP2006189895A (en) Electronic camera apparatus, character information display apparatus, photographic information display apparatus, and character information display method
JP2002229735A (en) Information processing unit
JP6318519B2 (en) Image processing apparatus, program, and control method
JP2551580Y2 (en) Electronic equipment with communication function