JP6851337B2 - Imaging device, control method and control program - Google Patents

Imaging device, control method and control program Download PDF

Info

Publication number
JP6851337B2
JP6851337B2 JP2018020055A JP2018020055A JP6851337B2 JP 6851337 B2 JP6851337 B2 JP 6851337B2 JP 2018020055 A JP2018020055 A JP 2018020055A JP 2018020055 A JP2018020055 A JP 2018020055A JP 6851337 B2 JP6851337 B2 JP 6851337B2
Authority
JP
Japan
Prior art keywords
unit
display
image
detection
display unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018020055A
Other languages
Japanese (ja)
Other versions
JP2019140449A (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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP2018020055A priority Critical patent/JP6851337B2/en
Publication of JP2019140449A publication Critical patent/JP2019140449A/en
Application granted granted Critical
Publication of JP6851337B2 publication Critical patent/JP6851337B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Indication In Cameras, And Counting Of Exposures (AREA)
  • Studio Devices (AREA)

Description

本開示は、撮像装置、制御方法及び制御プログラムに関し、特に、入力された画像から所定の検出対象を検出する撮像装置、制御方法及び制御プログラムに関する。 The present disclosure relates to an image pickup apparatus, a control method and a control program, and more particularly to an image pickup apparatus, a control method and a control program for detecting a predetermined detection target from an input image.

バーコードの記載された雑誌、電力使用量などを表示するメータ等をカメラ等の画像生成部で撮像し、撮像画像からバーコード、メータの数値等の検出対象を検出する撮像装置が利用されている。このような撮像装置では、検出対象を検出する場合、撮像装置を検出対象に近接させて撮像されることが多い。 An imaging device is used that captures a magazine with a barcode, a meter that displays the amount of electricity used, etc. with an image generator such as a camera, and detects the detection target such as the barcode and the numerical value of the meter from the captured image. There is. In such an imaging device, when detecting a detection target, the imaging device is often brought close to the detection target for imaging.

このような撮像装置の一例として、撮像手段により得られた画像の表示を行い、撮像された画像のバーコードを認識する携帯端末装置が開示されている(特許文献1を参照)。この携帯端末装置は、カメラが1フレーム分の画像を読み取り、その画像を表示するとき、本体背面のカメラの真後ろ(カメラ開口の正反対の場所)のLCD表示部上にカメラ位置を示すマークを表示する。携帯端末装置の使用者にとっては、そのマークが被写体である読み取り対象のコードにカメラを合わせるときの目安となり、撮影が容易になる。 As an example of such an imaging device, a mobile terminal device that displays an image obtained by an imaging means and recognizes a barcode of the captured image is disclosed (see Patent Document 1). When the camera reads an image for one frame and displays the image, this mobile terminal device displays a mark indicating the camera position on the LCD display unit directly behind the camera (the place directly opposite the camera opening) on the back of the main body. To do. For the user of the mobile terminal device, the mark serves as a guide when the camera is aligned with the code to be read, which is the subject, and the shooting becomes easy.

特開2007−318775号公報JP-A-2007-318775

表示部側から見た画像生成部の位置が表示部の中心以外の位置に配置されている場合、表示部に画像生成部の位置を示すマークを表示するだけでは、使用者は画像生成部をどの方向に向ければよいか判断できず、検出対象を発見することが困難なことがある。 When the position of the image generation unit as seen from the display unit side is located at a position other than the center of the display unit, the user can display the image generation unit simply by displaying the mark indicating the position of the image generation unit on the display unit. It may be difficult to find the detection target because it is not possible to determine which direction to point.

本発明の目的は、表示部側から見た画像生成部の位置が表示部の中心以外の位置に配置されている撮像装置において、使用者に対して検出対象を発見しやすくすることにある。 An object of the present invention is to make it easier for a user to find a detection target in an imaging device in which the position of the image generation unit as seen from the display unit side is located at a position other than the center of the display unit.

本発明の一側面に係る撮像装置は、本体と、本体の一方の面側に配置され、且つ、入力画像を生成する画像生成部と、本体の他方の面側に配置され、入力画像を表示する表示部と、入力画像から所定の検出対象を検出する検出部と、第1所定時間が経過しても検出部が検出対象を検出しない場合、表示部側から見た画像生成部の位置を表示部に表示させる表示制御部と、を有し、表示部側から見た画像生成部の位置が表示部の中心以外の位置に配置され、表示制御部は、第1所定時間より長い第2所定時間が経過しても依然検出部が検出対象を検出しない場合、検出対象の想定位置又は想定方向を表示部に表示させる。 The image pickup apparatus according to one aspect of the present invention is arranged on one surface side of the main body and the main body, and is arranged on the other surface side of the main body and the image generation unit for generating the input image, and displays the input image. The position of the display unit, the detection unit that detects a predetermined detection target from the input image, and the image generation unit as seen from the display unit side when the detection unit does not detect the detection target even after the first predetermined time has elapsed. It has a display control unit to be displayed on the display unit, and the position of the image generation unit viewed from the display unit side is arranged at a position other than the center of the display unit, and the display control unit is a second unit longer than the first predetermined time. If the detection unit still does not detect the detection target even after the lapse of a predetermined time, the display unit displays the assumed position or direction of the detection target.

また、本発明の一側面に係る制御方法は、本体と、本体の一方の面側に配置され、且つ、入力画像を生成する画像生成部と、本体の他方の面側に配置され、入力画像を表示する表示部と、入力画像から所定の検出対象を検出する検出部と、を有し、表示部側から見た画像生成部の位置が表示部の中心以外の位置に配置される撮像装置の制御方法であって、第1所定時間が経過しても検出部が検出対象を検出しない場合、表示部側から見た画像生成部の位置を表示部に表示し、第1所定時間より長い第2所定時間が経過しても依然検出部が検出対象を検出しない場合、検出対象の想定位置又は想定方向を表示部に表示させることを含む。 Further, the control method according to one aspect of the present invention is arranged on one surface side of the main body and the main body, and is arranged on the other surface side of the image generating unit for generating the input image and the input image. An image pickup device having a display unit for displaying a display unit and a detection unit for detecting a predetermined detection target from an input image, and the position of the image generation unit viewed from the display unit side is arranged at a position other than the center of the display unit. When the detection unit does not detect the detection target even after the first predetermined time elapses, the position of the image generation unit as seen from the display unit side is displayed on the display unit, which is longer than the first predetermined time. If the detection unit still does not detect the detection target even after the second predetermined time has elapsed, the display unit may display the assumed position or direction of the detection target.

また、本発明の一側面に係る制御プログラムは、本体と、本体の一方の面側に配置され、且つ、入力画像を生成する画像生成部と、本体の他方の面側に配置され、入力画像を表示する表示部と、入力画像から所定の検出対象を検出する検出部と、を有し、表示部側から見た画像生成部の位置が表示部の中心以外の位置に配置される撮像装置の制御プログラムであって、第1所定時間が経過しても検出部が検出対象を検出しない場合、表示部側から見た画像生成部の位置を表示部に表示し、第1所定時間より長い第2所定時間が経過しても依然検出部が検出対象を検出しない場合、検出対象の想定位置又は想定方向を表示部に表示させる、ことを撮像装置に実行させる。 Further, the control program according to one aspect of the present invention is arranged on one surface side of the main body and the main body, and is arranged on the other surface side of the image generation unit that generates the input image and the input image. An image pickup device having a display unit for displaying a display unit and a detection unit for detecting a predetermined detection target from an input image, and the position of the image generation unit viewed from the display unit side is arranged at a position other than the center of the display unit. If the detection unit does not detect the detection target even after the first predetermined time has elapsed, the position of the image generation unit as seen from the display unit side is displayed on the display unit, which is longer than the first predetermined time. If the detection unit still does not detect the detection target even after the second predetermined time has elapsed, the image pickup apparatus is made to display the assumed position or the assumed direction of the detection target on the display unit.

本発明によれば、撮像装置、制御方法及び制御プログラムは、表示部側から見た画像生成部の位置が表示部の中心以外の位置に配置されている撮像装置において、使用者に対して検出対象を発見しやすくすることができる。 According to the present invention, the image pickup device, the control method, and the control program detect the user in the image pickup device in which the position of the image generation unit as seen from the display unit side is located at a position other than the center of the display unit. It can make it easier to find the target.

実施形態において想定する場面の一例を示す概略図である。It is the schematic which shows an example of the scene assumed in the embodiment. 実施形態に従った撮像装置1の概略構成の一例を示す図である。It is a figure which shows an example of the schematic structure of the image pickup apparatus 1 according to an embodiment. 記憶部16及びCPU17の概略構成を示す図である。It is a figure which shows the schematic structure of the storage part 16 and the CPU 17. 全体処理の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of the whole processing. 確認用表示画面の一例を示す図である。It is a figure which shows an example of the display screen for confirmation. 表示制御処理の動作の例を示すフローチャートである。It is a flowchart which shows the example of the operation of the display control processing. 検出部により検出された領域を強調した表示画像を含む画面の一例を示す図である。It is a figure which shows an example of the screen which includes the display image which emphasized the area detected by the detection part. 表示部に表示される画像生成部の位置の一例を示す図である。It is a figure which shows an example of the position of the image generation part displayed on the display part. 検出対象の想定位置の一例を示す図である。It is a figure which shows an example of the assumed position of a detection target. 検出対象の想定方向の一例を示す図である。It is a figure which shows an example of the assumed direction of a detection target. 拡大前の表示画面の一例を示す図である。It is a figure which shows an example of the display screen before enlargement. 拡大後の表示画面の一例を示す図である。It is a figure which shows an example of the display screen after enlargement. 警告用表示画面の一例を示す図である。It is a figure which shows an example of the display screen for warning. 他の実施形態に係る撮像装置の概略構成を示す図である。It is a figure which shows the schematic structure of the image pickup apparatus which concerns on other embodiment.

以下、本開示の一側面に係る画像処理装置について図を参照しつつ説明する。但し、本開示の技術的範囲はそれらの実施の形態に限定されず、特許請求の範囲に記載された発明とその均等物に及ぶ点に留意されたい。 Hereinafter, the image processing apparatus according to one aspect of the present disclosure will be described with reference to the drawings. However, it should be noted that the technical scope of the present disclosure is not limited to those embodiments, but extends to the inventions described in the claims and their equivalents.

図1は、実施形態において想定する場面の一例を示す概略図である。 FIG. 1 is a schematic view showing an example of a scene assumed in the embodiment.

図1に示すように、撮像装置1の使用者は、撮像装置1を保持してメータ2を撮像しようとしている。撮像装置1は、タブレットPC(Personal Computer)、多機能携帯電話(いわゆるスマートフォン)、携帯情報端末、ノートPC等の携帯可能な情報処理装置である。撮像装置1は、本体10と、画像生成部13と、表示部14とを有する。 As shown in FIG. 1, the user of the image pickup device 1 is holding the image pickup device 1 and trying to take an image of the meter 2. The image pickup device 1 is a portable information processing device such as a tablet PC (Personal Computer), a multifunctional mobile phone (so-called smartphone), a personal digital assistant, or a notebook PC. The image pickup apparatus 1 includes a main body 10, an image generation unit 13, and a display unit 14.

画像生成部13は、本体10の一方の面側に配置され、入力画像を生成する。入力画像は、画像生成部13によりメータ2が撮影されて出力されたデジタル画像データである。画像生成部13は、後述するように、レンズを有する結像光学系、撮像センサ及びA/D変換器を有する。画像生成部13のレンズは、表示部14側から見て表示部14の中心a以外の位置、例えば中心aより左斜め上方の位置(本体10における左上側)に配置されている。以下では、画像生成部13の位置とは、画像生成部13のレンズの位置を意味する。表示部14は、本体10の他方の面側に配置され、入力画像を表示する。 The image generation unit 13 is arranged on one surface side of the main body 10 to generate an input image. The input image is digital image data captured and output by the meter 2 by the image generation unit 13. The image generation unit 13 includes an imaging optical system having a lens, an imaging sensor, and an A / D converter, as will be described later. The lens of the image generation unit 13 is arranged at a position other than the center a of the display unit 14 when viewed from the display unit 14, for example, a position diagonally above the center a (upper left side of the main body 10). In the following, the position of the image generation unit 13 means the position of the lens of the image generation unit 13. The display unit 14 is arranged on the other surface side of the main body 10 and displays an input image.

メータ2は、黒色の筐体21と、白色のプレート22と、メータ部分23とを有する。プレート22は、筐体21に配置される。メータ部分23は、プレート22に配置され、メータ2が計測した電力量等の数値を表示する。 The meter 2 has a black housing 21, a white plate 22, and a meter portion 23. The plate 22 is arranged in the housing 21. The meter portion 23 is arranged on the plate 22 and displays a numerical value such as an electric energy measured by the meter 2.

通常、使用者は、入力画像においてメータ部分23を中心とする第2領域42が撮像されるように撮像装置1の位置合わせを行う。この際、使用者は、撮像装置1の表示部14の中心aをメータ部分23の正面に合わせるように撮像装置1の位置合わせを行う傾向にある。 Normally, the user aligns the image pickup apparatus 1 so that the second region 42 centered on the meter portion 23 is imaged in the input image. At this time, the user tends to align the image pickup apparatus 1 so that the center a of the display unit 14 of the image pickup apparatus 1 is aligned with the front surface of the meter portion 23.

しかしながら、画像生成部13は本体10の左上側に配置されており、画像生成部13の画角の中心はメータ部分23より左上側にある。このため、メータ部分23からずれた第1領域41が撮像され、入力画像において、メータ部分23は中央に撮像されず、メータ部分23の一部又は全部が含まれない可能性がある。特に、撮像装置1とメータ部分23とが近接している場合、図1に示す表示部14に表示される画像のように、メータ部分23が画像生成部13の画角から外れ、撮像されないことがある。なお、点bは、画像生成部13が生成した画像の座標系において、表示部14の中心aに対応する位置を示す点である。 However, the image generation unit 13 is arranged on the upper left side of the main body 10, and the center of the angle of view of the image generation unit 13 is on the upper left side of the meter portion 23. Therefore, the first region 41 deviated from the meter portion 23 is imaged, and in the input image, the meter portion 23 is not imaged in the center, and a part or all of the meter portion 23 may not be included. In particular, when the image pickup apparatus 1 and the meter portion 23 are close to each other, the meter portion 23 deviates from the angle of view of the image generation unit 13 and is not imaged as in the image displayed on the display unit 14 shown in FIG. There is. The point b is a point indicating a position corresponding to the center a of the display unit 14 in the coordinate system of the image generated by the image generation unit 13.

本実施形態に係る撮像装置は、このような場面において、表示部14側から見た画像生成部13の位置が表示部14の中心以外の位置に配置されている撮像装置1において、使用者に対して検出対象であるメータ部分23を発見しやすくすることを図る。 In such a scene, the image pickup apparatus according to the present embodiment can be used by the user in the image pickup apparatus 1 in which the position of the image generation unit 13 as seen from the display unit 14 side is arranged at a position other than the center of the display unit 14. On the other hand, it is intended to make it easier to find the meter portion 23 to be detected.

図2は、実施形態に従った撮像装置1の概略構成の一例を示す図である。 FIG. 2 is a diagram showing an example of a schematic configuration of the image pickup apparatus 1 according to the embodiment.

撮像装置1は、画像生成部13及び表示部14に加えて、通信部11と、入力部12と、向き検出部15と、記憶部16と、CPU(Central Processing Unit)17とを有する。以下、撮像装置1の各部について詳細に説明する。 In addition to the image generation unit 13 and the display unit 14, the image pickup device 1 includes a communication unit 11, an input unit 12, an orientation detection unit 15, a storage unit 16, and a CPU (Central Processing Unit) 17. Hereinafter, each part of the image pickup apparatus 1 will be described in detail.

通信部11は、主に2.4GHz帯、5GHz帯等を感受帯域とするアンテナを含む通信インターフェース回路を有する装置である。通信部11は、アクセスポイント等との間でIEEE(The Institute of Electrical and Electronics Engineers)802.11規格の無線通信方式に基づいて無線通信を行う。そして、通信部11は、アクセスポイントを介して外部のサーバ装置(不図示)とデータの送受信を行う。通信部11は、アクセスポイントを介してサーバ装置から受信したデータをCPU17に供給し、CPU17から供給されたデータをアクセスポイントを介してサーバ装置に送信する。なお、通信部11は、外部の装置と通信できるものであればどのようなものであってもよい。例えば、通信部11は、携帯電話通信方式に従って不図示の基地局装置を介してサーバ装置と通信するものでもよいし、有線LAN通信方式に従ってサーバ装置と通信するものでもよい。 The communication unit 11 is a device having a communication interface circuit including an antenna whose sensitive band is mainly a 2.4 GHz band, a 5 GHz band, or the like. The communication unit 11 performs wireless communication with the access point or the like based on the wireless communication method of the IEEE (The Institute of Electrical and Electronics Engineers) 802.11 standard. Then, the communication unit 11 transmits / receives data to / from an external server device (not shown) via the access point. The communication unit 11 supplies the data received from the server device via the access point to the CPU 17, and transmits the data supplied from the CPU 17 to the server device via the access point. The communication unit 11 may be any device as long as it can communicate with an external device. For example, the communication unit 11 may communicate with the server device via a base station device (not shown) according to the mobile phone communication method, or may communicate with the server device according to the wired LAN communication method.

入力部12は、タッチパネル式の入力部、キーボード、マウス等の入力デバイス及び入力デバイスから信号を取得するインターフェース回路を有する装置である。入力部12は、使用者の入力を受け付け、使用者の入力に応じた信号をCPU17に対して出力する。 The input unit 12 is a device having a touch panel type input unit, an input device such as a keyboard and a mouse, and an interface circuit for acquiring a signal from the input device. The input unit 12 receives the input of the user and outputs a signal corresponding to the input of the user to the CPU 17.

画像生成部13は、レンズを有する結像光学系と、1次元又は2次元に配列されたCCD(Charge Coupled Device)からなる撮像素子を備える縮小光学系タイプの撮像センサと、A/D変換器とを有する装置である。画像生成部13は、CPU17からの指示に従って撮像対象(メータ)を順次撮影する(例えば30フレーム/秒)。結像光学系は、撮像対象の像を撮像センサに結像する。撮像センサは、結像した像からアナログの画像信号を生成して、A/D変換器に出力する。A/D変換器は、出力されたアナログの画像信号をアナログデジタル変換してデジタルの画像データを順次生成し、CPU17に出力する。なお、CCDの代わりにCMOS(Complementary Metal Oxide Semiconductor)からなる撮像素子を備える等倍光学系タイプのCIS(Contact Image Sensor)を利用してもよい。 The image generation unit 13 includes a reduction optical system type image sensor including an image pickup optical system having a lens, an image pickup element composed of CCDs (Charge Coupled Devices) arranged in one or two dimensions, and an A / D converter. It is a device having and. The image generation unit 13 sequentially shoots an image pickup target (meter) according to an instruction from the CPU 17 (for example, 30 frames / sec). The imaging optical system forms an image of an image to be imaged on an image sensor. The image pickup sensor generates an analog image signal from the imaged image and outputs it to the A / D converter. The A / D converter converts the output analog image signal into analog-digital, sequentially generates digital image data, and outputs the digital image data to the CPU 17. Instead of the CCD, a CIS (Contact Image Sensor) of the same magnification optical system type including an image sensor made of CMOS (Complementary Metal Oxide Semiconductor) may be used.

表示部14は、液晶、有機EL(Electro-Luminescence)等から構成されるディスプレイ及びディスプレイに画像データ又は各種の情報を出力するインターフェース回路を有する装置である。表示部14は、CPU17と接続されて、CPU17から出力された画像データをディスプレイに表示する。なお、タッチパネルディスプレイを用いて、入力部12と表示部14を一体に構成してもよく、本実施形態においては、入力部12と表示部14とが一体に構成されているタッチパネルディスプレイを使用する。 The display unit 14 is a display composed of a liquid crystal, organic EL (Electro-Luminescence), or the like, and a device having an interface circuit for outputting image data or various information to the display. The display unit 14 is connected to the CPU 17 and displays the image data output from the CPU 17 on the display. A touch panel display may be used to integrally configure the input unit 12 and the display unit 14, and in the present embodiment, a touch panel display in which the input unit 12 and the display unit 14 are integrally configured is used. ..

向き検出部15は、加速度センサを有し、CPU17からの要求に応じて、撮像装置1に加わる加速度を3軸方向毎に検出し、検出した加速度を用いて撮像装置1の向きを検出し、CPU17に対して出力する装置である。加速度センサは、例えば、ピエゾ抵抗効果を利用したピエゾ抵抗型の3軸加速度センサ、又は静電容量の変化を利用した静電容量型の3軸加速度センサとすることができる。 The orientation detection unit 15 has an acceleration sensor, detects the acceleration applied to the image pickup device 1 in each of the three axial directions in response to a request from the CPU 17, and detects the direction of the image pickup device 1 using the detected acceleration. It is a device that outputs to the CPU 17. The acceleration sensor can be, for example, a piezoresistive 3-axis acceleration sensor utilizing the piezoresistive effect, or a capacitance-type 3-axis acceleration sensor utilizing a change in capacitance.

記憶部16は、RAM(Random Access Memory)、ROM(Read Only Memory)等のメモリ装置、ハードディスク等の固定ディスク装置、又はフレキシブルディスク、光ディスク等の可搬用の記憶部等を有する装置である。また、記憶部16には、撮像装置1の各種処理に用いられるコンピュータプログラム、データベース、テーブル等が格納される。コンピュータプログラムは、例えばCD−ROM(compact disk read only memory)、DVD−ROM(digital versatile disk read only memory)等のコンピュータ読み取り可能な可搬型記録媒体からインストールされてもよい。コンピュータプログラムは、公知のセットアッププログラム等を用いて記憶部16にインストールされる。 The storage unit 16 is a device having a memory device such as a RAM (Random Access Memory) and a ROM (Read Only Memory), a fixed disk device such as a hard disk, or a portable storage unit such as a flexible disk and an optical disk. Further, the storage unit 16 stores computer programs, databases, tables, etc. used for various processes of the image pickup apparatus 1. The computer program may be installed from a computer-readable portable recording medium such as a CD-ROM (compact disk read only memory) or a DVD-ROM (digital versatile disk read only memory). The computer program is installed in the storage unit 16 using a known setup program or the like.

CPU17は、予め記憶部16に記憶されているプログラムに基づいて動作する。CPU17は、汎用プロセッサであってもよい。なお、CPU17に代えて、DSP(digital signal processor)、LSI(large scale integration)等が用いられてよい。また、CPU17に代えて、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)等が用いられてもよい。 The CPU 17 operates based on a program stored in the storage unit 16 in advance. The CPU 17 may be a general-purpose processor. Instead of the CPU 17, a DSP (digital signal processor), an LSI (large scale integration), or the like may be used. Further, instead of the CPU 17, an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array) or the like may be used.

CPU17は、通信部11、入力部12、画像生成部13、表示部14、向き検出部15及び記憶部16と接続され、これらの各部を制御する。CPU17は、通信部11を介したデータ送受信制御、入力部12の入力制御、画像生成部13の撮像制御、表示部14の表示制御、向き検出部15の向き検出制御、記憶部16の制御等を行う。 The CPU 17 is connected to a communication unit 11, an input unit 12, an image generation unit 13, a display unit 14, an orientation detection unit 15, and a storage unit 16 and controls each of these units. The CPU 17 controls data transmission / reception via the communication unit 11, input control of the input unit 12, imaging control of the image generation unit 13, display control of the display unit 14, orientation detection control of the orientation detection unit 15, control of the storage unit 16, and the like. I do.

図3は、記憶部16及びCPU17の概略構成を示す図である。 FIG. 3 is a diagram showing a schematic configuration of the storage unit 16 and the CPU 17.

図3に示すように、記憶部16には、画像生成制御プログラム161、検出プログラム162、表示制御プログラム163、入力検出プログラム164等の各プログラムが記憶される。これらの各プログラムは、プロセッサ上で動作するソフトウェアにより実装される機能モジュールである。CPU17は、記憶部16に記憶された各プログラムを読み取り、読み取った各プログラムに従って動作することにより、画像生成制御部171、検出部172、表示制御部173、入力検出部174等として機能する。 As shown in FIG. 3, each program such as the image generation control program 161, the detection program 162, the display control program 163, and the input detection program 164 is stored in the storage unit 16. Each of these programs is a functional module implemented by software running on the processor. The CPU 17 reads each program stored in the storage unit 16 and operates according to each read program, thereby functioning as an image generation control unit 171, a detection unit 172, a display control unit 173, an input detection unit 174, and the like.

図4は、撮像装置1による全体処理の動作の例を示すフローチャートである。 FIG. 4 is a flowchart showing an example of the operation of the entire processing by the image pickup apparatus 1.

以下、図4に示したフローチャートを参照しつつ、撮像装置1による全体処理の動作の例を説明する。なお、以下に説明する動作のフローは、予め記憶部16に記憶されているプログラムに基づき主にCPU17により撮像装置1の各要素と協働して実行される。 Hereinafter, an example of the operation of the entire processing by the image pickup apparatus 1 will be described with reference to the flowchart shown in FIG. The operation flow described below is mainly executed by the CPU 17 in cooperation with each element of the image pickup apparatus 1 based on the program stored in the storage unit 16 in advance.

最初に、入力検出部174は、ユーザにより、入力部12を用いてメータの撮影の開始を指示する撮影開始指示が入力され、入力部12から撮影開始指示信号を受信すると、撮影開始指示を受け付ける(ステップS11)。 First, the input detection unit 174 receives a shooting start instruction when the user inputs a shooting start instruction instructing the start of shooting of the meter using the input unit 12, and receives a shooting start instruction signal from the input unit 12. (Step S11).

次に、表示制御部173は、入力検出部174が撮影開始指示を受け付けると、時間tの測定を開始する(ステップS12)。時間tは、所定の検出対象の検出処理を開始してからの経過時間であり、後述する表示制御処理を実行する際に使用される。 Next, when the input detection unit 174 receives the shooting start instruction, the display control unit 173 starts the measurement of the time t (step S12). The time t is an elapsed time from the start of the detection process of the predetermined detection target, and is used when executing the display control process described later.

次に、画像生成制御部171は、画像生成部13にメータ2を撮影させて1フレーム分の入力画像を生成させる(ステップS13)。 Next, the image generation control unit 171 causes the image generation unit 13 to take a picture of the meter 2 and generate an input image for one frame (step S13).

次に、検出部172は、入力画像からメータ部分を検出するメータ部分検出処理を実行する(ステップS14)。 Next, the detection unit 172 executes a meter portion detection process for detecting the meter portion from the input image (step S14).

まず、検出部172は、プレート22を検出する。検出部172は、入力画像内の画素の水平及び垂直方向の両隣の画素又はその画素から所定距離だけ離れた複数の画素の輝度値又は色値(R値、B値、G値)の差の絶対値が第1閾値を越える場合、その画素をエッジ画素として抽出する。検出部172は、ハフ変換又は最小二乗法等を用いて、抽出した各エッジ画素の近傍を通過する直線を抽出し、抽出した各直線のうち二本ずつが略直交する四本の直線から構成される矩形の内、最も大きい矩形をプレート22として検出する。略直交とは、直角に対して±45°以内の角度(45°以上且つ135°以下)で交わることを意味する。または、検出部172は、抽出した各エッジ画素が他のエッジ画素と連結しているか否かを判定し、連結しているエッジ画素を一つのグループとしてラベリングする。検出部172は、抽出したグループの内、最も面積が大きいグループで囲まれる領域をプレート22として検出してもよい。 First, the detection unit 172 detects the plate 22. The detection unit 172 is the difference between the brightness values or color values (R value, B value, G value) of the pixels on both sides of the pixels in the input image in the horizontal and vertical directions or a plurality of pixels separated from the pixels by a predetermined distance. When the absolute value exceeds the first threshold value, the pixel is extracted as an edge pixel. The detection unit 172 extracts straight lines passing in the vicinity of each extracted edge pixel by using a Hough transform, a least squares method, or the like, and consists of four straight lines in which two of the extracted straight lines are substantially orthogonal to each other. The largest rectangle among the rectangles to be formed is detected as the plate 22. Approximately orthogonal means that they intersect at an angle within ± 45 ° (45 ° or more and 135 ° or less) with respect to the right angle. Alternatively, the detection unit 172 determines whether or not each extracted edge pixel is connected to another edge pixel, and labels the connected edge pixels as one group. The detection unit 172 may detect the region surrounded by the group having the largest area among the extracted groups as the plate 22.

次に、検出部172は、検出したプレート22内の領域から、メータ部分23を検出する。検出部172は、メータ部分23を含むプレート22が写っている画像が入力された場合に、メータ部分23の位置情報を出力するように事前学習された識別器により、メータ部分23を検出する。この識別器は、例えばディープラーニング等により、メータを撮影した複数の画像を用いて事前学習され、予め記憶部16に記憶される。検出部172は、検出したプレート22を含む画像を識別器に入力し、識別器から出力された位置情報を取得することにより、メータ部分23を検出する。検出部172は、位置情報の座標を記憶部16に記憶する。 Next, the detection unit 172 detects the meter portion 23 from the detected area in the plate 22. The detection unit 172 detects the meter portion 23 by a discriminator pre-learned to output the position information of the meter portion 23 when an image showing the plate 22 including the meter portion 23 is input. This classifier is pre-learned using a plurality of images taken by the meter by, for example, deep learning, and is stored in the storage unit 16 in advance. The detection unit 172 detects the meter portion 23 by inputting an image including the detected plate 22 into the classifier and acquiring the position information output from the classifier. The detection unit 172 stores the coordinates of the position information in the storage unit 16.

なお、検出部172は、プレート22を検出する場合と同様に、入力画像内のエッジ画素に基づいて、メータ部分23を検出してもよい。検出部172は、入力画像のプレート枠を含む領域からエッジ画素を抽出し、抽出した各エッジ画素の近傍を通過する直線を抽出し、抽出した各直線のうち二本ずつが略直交する四本の直線から構成される矩形の内、最も大きい矩形の領域をメータ部分23として検出する。または、検出部172は、抽出した各エッジ画素が相互に連結するグループの内、最も面積が大きいグループで囲まれる矩形の領域をメータ部分23として検出する。 The detection unit 172 may detect the meter portion 23 based on the edge pixels in the input image, as in the case of detecting the plate 22. The detection unit 172 extracts edge pixels from the region including the plate frame of the input image, extracts straight lines passing in the vicinity of each of the extracted edge pixels, and two of the extracted straight lines are substantially orthogonal to each other. Among the rectangles composed of the straight lines of the above, the largest rectangular area is detected as the meter portion 23. Alternatively, the detection unit 172 detects a rectangular region surrounded by the group having the largest area among the groups in which the extracted edge pixels are connected to each other as the meter portion 23.

次に、検出部172は、入力画像の中にメータ部分23が検出されたか否かを判定する(ステップS15)。メータ部分23が検出されなかった場合、表示制御部173は、後述する表示制御処理を実行し(ステップS21)、CPU17は、処理をステップS13に戻す。 Next, the detection unit 172 determines whether or not the meter portion 23 is detected in the input image (step S15). When the meter portion 23 is not detected, the display control unit 173 executes the display control process described later (step S21), and the CPU 17 returns the process to step S13.

一方、メータ部分23が検出された場合、検出部172は、メータ部分23の領域に公知のOCR(Optical Character Recognition)技術を利用して文字認識処理を実行し(ステップS16)、認識結果である数字を記憶部16に一時的に記憶する。次に、検出部172は、認識結果が適切か否か、例えば、予め設定された桁数(例えば5桁)の数字か否かを判定する(ステップS17)。認識結果が適切でない場合、表示制御部173は、後述する表示制御処理を実行し(ステップS21)、CPU17は、処理をステップS13に戻す。 On the other hand, when the meter portion 23 is detected, the detection unit 172 executes a character recognition process using a known OCR (Optical Character Recognition) technique in the region of the meter portion 23 (step S16), and is the recognition result. The number is temporarily stored in the storage unit 16. Next, the detection unit 172 determines whether or not the recognition result is appropriate, for example, whether or not the number has a preset number of digits (for example, 5 digits) (step S17). If the recognition result is not appropriate, the display control unit 173 executes the display control process described later (step S21), and the CPU 17 returns the process to step S13.

一方、認識結果が適切な場合、表示制御部173は、認識結果を登録するか否かを使用者に確認させるための確認用表示文字列を含む確認用表示画面を表示部14に表示させる(ステップS18)。 On the other hand, when the recognition result is appropriate, the display control unit 173 causes the display unit 14 to display a confirmation display screen including a confirmation display character string for confirming whether or not to register the recognition result ( Step S18).

図5は、確認用表示画面の一例を示す図である。 FIG. 5 is a diagram showing an example of a confirmation display screen.

表示制御部173は、検出部172が記憶部16に一時的に記憶した5桁の数字「35712」と、予め記憶部16に記憶された文字列「を登録してよいですか?」とから構成される確認用表示文字列141「35712を登録してよいですか?」を生成する。表示制御部173は、生成した確認用表示文字列141を入力画像に重畳させることにより、図5に示す確認用表示画面を生成して、表示部14に表示させる。なお、表示制御部173は、確認用表示文字列141を入力画像に重畳させることに代えて、確認用表示画面を、入力画像を表示する領域Aと確認用表示文字列141を表示する領域Bとに分割して、入力画像及び確認用表示文字列141を表示部14に表示させてもよい。 The display control unit 173 is composed of a five-digit number "35712" temporarily stored in the storage unit 16 by the detection unit 172 and a character string "Can I register?" Stored in the storage unit 16 in advance. Generates the constituent confirmation display character string 141 "Can I register 35712?". The display control unit 173 generates the confirmation display screen shown in FIG. 5 by superimposing the generated confirmation display character string 141 on the input image, and displays it on the display unit 14. Instead of superimposing the confirmation display character string 141 on the input image, the display control unit 173 displays the confirmation display screen in the area A for displaying the input image and the area B for displaying the confirmation display character string 141. The input image and the confirmation display character string 141 may be displayed on the display unit 14.

次に、入力検出部174は、認識結果を登録するか否かを指示する登録指示が入力部12を用いて使用者により入力されるまで待機する。入力検出部174が、表示部14に表示された「はい」の図形が使用者によりタッチされたことにより、認識結果を登録することを指示する登録指示信号を入力部12から受信すると(ステップS19のY)、検出部172は、一時的に記憶した認識結果を最終的な認識結果として記憶部16に記憶して(ステップS20)、一連の処理を終了する。入力検出部174が、表示部14に表示された「いいえ」の図形が使用者によりタッチされたことにより、認識結果を登録しないことを指示する登録指示信号を入力部12から受信すると(ステップS19のN)、CPU17は、処理をステップS12に戻す。以上により、フローチャートを用いた動作の説明を終了する。 Next, the input detection unit 174 waits until a registration instruction instructing whether or not to register the recognition result is input by the user using the input unit 12. When the input detection unit 174 receives a registration instruction signal from the input unit 12 instructing the user to register the recognition result when the “yes” figure displayed on the display unit 14 is touched by the user (step S19). Y), the detection unit 172 stores the temporarily stored recognition result in the storage unit 16 as the final recognition result (step S20), and ends a series of processes. When the input detection unit 174 receives a registration instruction signal from the input unit 12 instructing that the recognition result is not registered because the “No” figure displayed on the display unit 14 is touched by the user (step S19). N), the CPU 17 returns the process to step S12. This completes the description of the operation using the flowchart.

図6は、表示制御処理の動作の例を示すフローチャートである。図6に示す表示制御処理は、図4のステップS21で実行される。 FIG. 6 is a flowchart showing an example of the operation of the display control process. The display control process shown in FIG. 6 is executed in step S21 of FIG.

最初に、表示制御部173は、検出部172が図4のステップS16で一時的に記憶した認識結果に基づいて、検出対象であるメータ部分23の一部のみが検出されたか否かを判定する(ステップS31)。図4のステップS16において検出部172が一時的に記憶した数字の桁数が予め設定された桁数未満である場合、表示制御部173は、メータ部分23の一部のみが検出されたと判定する。 First, the display control unit 173 determines whether or not only a part of the meter portion 23 to be detected is detected based on the recognition result temporarily stored by the detection unit 172 in step S16 of FIG. (Step S31). When the number of digits of the number temporarily stored by the detection unit 172 in step S16 of FIG. 4 is less than the preset number of digits, the display control unit 173 determines that only a part of the meter portion 23 has been detected. ..

メータ部分23の少なくとも一部が検出された場合、即ちメータ部分23の一部のみが検出された場合、表示制御部173は、検出部172がステップS14で記憶した座標により特定される領域を強調した表示画像を表示部14に表示させ(ステップS32)、一連の処理を終了する。 When at least a part of the meter part 23 is detected, that is, when only a part of the meter part 23 is detected, the display control unit 173 emphasizes the area specified by the coordinates stored by the detection unit 172 in step S14. The displayed display image is displayed on the display unit 14 (step S32), and a series of processes is completed.

図7は、検出部により検出された領域を強調した表示画像を含む画面の一例を示す図である。 FIG. 7 is a diagram showing an example of a screen including a display image in which a region detected by the detection unit is emphasized.

図7に示すように、表示制御部173は、検出部172により検出された領域に対応するように強調領域を決定し、入力画像において強調領域と他の領域との境界に矩形枠145を重畳させることにより、検出された領域を強調した表示画像を生成する。表示制御部173は、生成した表示画像を表示部14に表示させる。表示制御部173は、入力画像において矩形枠145の代わりに半透明の着色矩形を重畳させて表示画像を生成してもよい。強調領域は、検出された領域と同一の領域でも、検出された領域より大きな領域であってもよい。 As shown in FIG. 7, the display control unit 173 determines the emphasized area so as to correspond to the area detected by the detection unit 172, and superimposes the rectangular frame 145 on the boundary between the emphasized area and the other area in the input image. By doing so, a display image in which the detected area is emphasized is generated. The display control unit 173 causes the display unit 14 to display the generated display image. The display control unit 173 may generate a display image by superimposing a semi-transparent colored rectangle instead of the rectangular frame 145 in the input image. The emphasized region may be the same region as the detected region or a region larger than the detected region.

一方、メータ部分23が全く検出されなかった場合、表示制御部173は、時間tが所定の条件を満足するか否かを判定する判定処理を実行する(ステップS33)。 On the other hand, when the meter portion 23 is not detected at all, the display control unit 173 executes a determination process for determining whether or not the time t satisfies a predetermined condition (step S33).

時間tが第1所定時間未満の場合、表示制御部173は、入力画像を表示部14に表示させて(ステップS34)、一連の処理を終了する。 When the time t is less than the first predetermined time, the display control unit 173 causes the display unit 14 to display the input image (step S34), and ends a series of processes.

一方、時間tが第1所定時間以上且つ第2所定時間未満の場合、表示制御部173は、表示部14側から見た画像生成部13の位置を表示部14に表示させ(ステップS35)、一連の処理を終了する。 On the other hand, when the time t is equal to or longer than the first predetermined time and less than the second predetermined time, the display control unit 173 causes the display unit 14 to display the position of the image generation unit 13 as seen from the display unit 14 side (step S35). Ends a series of processes.

図8は、表示部14に表示される画像生成部の位置の一例を示す図である。 FIG. 8 is a diagram showing an example of the position of the image generation unit displayed on the display unit 14.

図8に示すように、表示制御部173は、表示部14を制御し、第1マーク142を画像生成部13の近傍に表示させる。例えば、撮像装置1の向きに応じて表示部14に表示される表示画像の向きが定まる場合、撮像装置1は、撮像装置1の向き毎に画像生成部13の位置に対応する表示画面内の座標を予め記憶部16に記憶しておく。表示制御部173は、向き検出部15から撮像装置1の向きを取得し、取得した向きに応じた座標を記憶部16から取得し、表示画像において取得した座標に第1マーク142を重畳させることにより、画像生成部13の位置を示す表示画像を生成する。表示制御部173は、生成した表示画像を表示部14に表示させる。 As shown in FIG. 8, the display control unit 173 controls the display unit 14 to display the first mark 142 in the vicinity of the image generation unit 13. For example, when the orientation of the display image displayed on the display unit 14 is determined according to the orientation of the imaging device 1, the imaging device 1 is in the display screen corresponding to the position of the image generation unit 13 for each orientation of the imaging device 1. The coordinates are stored in the storage unit 16 in advance. The display control unit 173 acquires the orientation of the image pickup apparatus 1 from the orientation detection unit 15, acquires the coordinates corresponding to the acquired orientation from the storage unit 16, and superimposes the first mark 142 on the acquired coordinates in the display image. Generates a display image indicating the position of the image generation unit 13. The display control unit 173 causes the display unit 14 to display the generated display image.

一方、時間tが第2所定時間以上且つ第3所定時間未満の場合、表示制御部173は、検出対象であるメータ部分23が存在する想定位置又は想定方向を表示部14に表示させ(ステップS36)、一連の処理を終了する。 On the other hand, when the time t is equal to or longer than the second predetermined time and less than the third predetermined time, the display control unit 173 causes the display unit 14 to display the assumed position or the assumed direction in which the meter portion 23 to be detected exists (step S36). ), Ends a series of processes.

図9は、表示部14に表示される検出対象の想定位置の一例を示す図である。 FIG. 9 is a diagram showing an example of an assumed position of a detection target displayed on the display unit 14.

図9に示すように、表示制御部173は、検出対象であるメータ部分23の想定位置を示す第2マーク143を表示部14に表示させる。例えば、表示制御部173は、第1マーク142の表示の場合と同様にして画像生成部13の位置に対応する座標を取得する。表示制御部173は、表示画像において取得した座標に最も近い角部の対角に位置する角部を中心とする所定範囲内を想定位置として特定する。 As shown in FIG. 9, the display control unit 173 causes the display unit 14 to display the second mark 143 indicating the assumed position of the meter portion 23 to be detected. For example, the display control unit 173 acquires the coordinates corresponding to the position of the image generation unit 13 in the same manner as in the case of displaying the first mark 142. The display control unit 173 specifies a predetermined range centered on the corner portion located diagonally to the corner portion closest to the acquired coordinates in the display image as the assumed position.

画像生成部13が表示部14の中心aより左斜め上方に配置されている場合、使用者が表示部14の中心aを検出対象であるメータ部分23の正面に合わせると、メータ部分23が中心aから右斜め下方にずれて表示部14に表示される。そこで、表示制御部173は、メータ部分23が存在すると想定される、表示部14の中心aから見て右斜め下方に第2マーク143を表示させることにより、右斜め下方に使用者の注意を引きつけるようにする。これにより、使用者は、メータ部分23を発見しやすくなる。 When the image generation unit 13 is arranged diagonally upward to the left of the center a of the display unit 14, when the user aligns the center a of the display unit 14 with the front of the meter portion 23 to be detected, the meter portion 23 is the center. It is displayed on the display unit 14 with a deviation from a diagonally downward to the right. Therefore, the display control unit 173 displays the second mark 143 diagonally downward to the right when viewed from the center a of the display unit 14, where the meter portion 23 is assumed to exist, so that the user's attention is given diagonally downward to the right. Try to attract. This makes it easier for the user to find the meter portion 23.

図10は、表示部14に表示される検出対象の想定方向の一例を示す図である。 FIG. 10 is a diagram showing an example of the assumed direction of the detection target displayed on the display unit 14.

図10に示すように、表示制御部173は、画像生成部13の位置を示す第1マーク142、及び、検出対象であるメータ部分23の想定方向を示す第3マーク144を表示部14に表示させる。例えば、表示制御部173は、第1マーク142の表示の場合と同様にして画像生成部13の位置に対応する座標を取得する。表示制御部173は、表示画像において取得した座標に最も近い角部から、その角部の対角にある角部へ向かう方向を想定方向として特定する。 As shown in FIG. 10, the display control unit 173 displays the first mark 142 indicating the position of the image generation unit 13 and the third mark 144 indicating the assumed direction of the meter portion 23 to be detected on the display unit 14. Let me. For example, the display control unit 173 acquires the coordinates corresponding to the position of the image generation unit 13 in the same manner as in the case of displaying the first mark 142. The display control unit 173 specifies a direction from the corner portion closest to the coordinates acquired in the display image to the corner portion diagonal to the corner portion as the assumed direction.

表示制御部173は、メータ部分23が存在すると想定される、表示部14の中心aから見て右斜め下方を示す第3マーク144を表示部14に表示させることにより、右斜め下方に使用者の注意を引きつけるようにする。これにより、使用者は、メータ部分23を発見しやすくなる。 The display control unit 173 causes the display unit 14 to display a third mark 144 indicating diagonally downward to the right when viewed from the center a of the display unit 14, which is assumed to have the meter portion 23, so that the user can display the third mark 144 diagonally downward to the right. To attract the attention of. This makes it easier for the user to find the meter portion 23.

なお、表示制御部173は、第1マーク142を表示させずに第3マーク144を表示部14に表示させてもよい。 The display control unit 173 may display the third mark 144 on the display unit 14 without displaying the first mark 142.

一方、時間tが第3所定時間以上の場合、表示制御部173は、メータ部分23の想定位置又は想定方向に対応する部分を拡大した表示画面を表示部14に表示させ(ステップS37)、一連の処理を終了する。 On the other hand, when the time t is equal to or longer than the third predetermined time, the display control unit 173 causes the display unit 14 to display an enlarged display screen of the portion corresponding to the assumed position or the assumed direction of the meter portion 23 (step S37). Ends the processing of.

図11は拡大前の表示画面の一例を示す図であり、図12は拡大後の表示画面の一例を示す図である。 FIG. 11 is a diagram showing an example of a display screen before enlargement, and FIG. 12 is a diagram showing an example of a display screen after enlargement.

表示制御部173は、メータ部分23の想定位置又は表示画像上において想定方向側の角部を含むように拡大対象領域146を決定し、拡大対象領域146を表示部14全体のサイズに拡大した拡大画像146aを生成して表示部14に表示させる。表示制御部173は、ニアレストネイバー法、バイリニア法等の公知の技術を利用して、拡大対象領域146を拡大する。表示制御部173がメータ部分23の想定位置又は想定方向に対応する部分を拡大することにより、使用者は、メータ部分23を発見しやすくなる。 The display control unit 173 determines the enlargement target area 146 so as to include the corner portion on the assumed direction side on the assumed position of the meter portion 23 or the display image, and enlarges the enlargement target area 146 to the size of the entire display unit 14. The image 146a is generated and displayed on the display unit 14. The display control unit 173 expands the expansion target area 146 by using known techniques such as the nearest neighbor method and the bilinear method. By enlarging the portion corresponding to the assumed position or the assumed direction of the meter portion 23 by the display control unit 173, the user can easily find the meter portion 23.

以上詳述したように、撮像装置1は、表示部側から見たカメラ位置が表示部の中心以外の位置に配置されている。撮像装置1は、第1所定時間が経過しても検出対象を検出しない場合、画像生成部の位置を表示し、第2所定時間が経過しても依然検出対象を検出しない場合、検出対象の想定位置又は想定方向を表示する。これにより、撮像装置1は、撮像装置1の使用者に対して、検出対象を発見しやすくすることができる。 As described in detail above, in the image pickup apparatus 1, the camera position viewed from the display unit side is arranged at a position other than the center of the display unit. The image pickup apparatus 1 displays the position of the image generation unit when the detection target is not detected even after the first predetermined time has elapsed, and when the detection target is still not detected even after the second predetermined time has elapsed, the detection target is displayed. Display the assumed position or assumed direction. As a result, the image pickup apparatus 1 can make it easier for the user of the image pickup apparatus 1 to find the detection target.

なお、撮像装置1は、図4のステップS14において複数個のメータ部分23を検出した場合、それぞれの領域に対してステップS16の文字認識処理を実行してもよい。文字認識処理を実行した結果、複数個の認識結果を取得した場合、表示制御部173は、いずれか一つの認識結果を使用してステップS18で確認用表示画面を生成し、表示部14に表示させてもよい。また、表示制御部173は、ステップS18の確認用画面の表示に代えて、検出対象の確認を使用者に促すための画像を含む警告用表示画面を表示部14に表示させてもよい。 When the imaging device 1 detects a plurality of meter portions 23 in step S14 of FIG. 4, the image recognition device 1 may execute the character recognition process of step S16 for each region. When a plurality of recognition results are acquired as a result of executing the character recognition process, the display control unit 173 generates a confirmation display screen in step S18 using any one of the recognition results and displays it on the display unit 14. You may let me. Further, the display control unit 173 may display a warning display screen including an image for prompting the user to confirm the detection target on the display unit 14 instead of displaying the confirmation screen in step S18.

図13は、警告用表示画面の一例を示す図である。 FIG. 13 is a diagram showing an example of a warning display screen.

図13に示すように、メータ2のメータ部分23とは別に第2メータ3の第2メータ部分33が検出された場合、撮像装置1は、どちらのメータ部分を認識結果として記憶すべきか判定できない。そこで、表示制御部173は、予め記憶部16に記憶された「1つにして下さい」という文字列147を入力画像に重畳させることにより警告用表示画面を生成して、表示部14に表示させる。 As shown in FIG. 13, when the second meter portion 33 of the second meter 3 is detected separately from the meter portion 23 of the meter 2, the image pickup apparatus 1 cannot determine which meter portion should be stored as the recognition result. .. Therefore, the display control unit 173 generates a warning display screen by superimposing the character string 147 "Please make one" stored in the storage unit 16 in advance on the input image, and displays the warning display screen on the display unit 14. ..

一般に、複数個のメータが水平方向に隣接して配置されている場合、各メータのメータ部分は近くに配置されており、検出部172により複数のメータ部分が検出される可能性が高い。図1に示したように、画像生成部13の画角の中心がメータ部分より左上側にある場合、使用者が撮影したいメータ部分は、表示部14の中央ではなく右側にあることがある。その場合、使用者が撮影しようとしているメータ部分は表示画像において画像生成部13の位置の反対側に写っている可能性が高い。そこで、使用者が表示画像において画像生成部13の位置の反対側に注目するように、表示制御部173は、表示画像において画像生成部13の位置の反対側の半面に半透明の図形148を重畳させた警告用表示画面を生成して、表示部14に表示させてもよい。 Generally, when a plurality of meters are arranged adjacent to each other in the horizontal direction, the meter portions of the meters are arranged close to each other, and there is a high possibility that the detection unit 172 detects the plurality of meter portions. As shown in FIG. 1, when the center of the angle of view of the image generation unit 13 is on the upper left side of the meter portion, the meter portion that the user wants to photograph may be on the right side instead of the center of the display unit 14. In that case, there is a high possibility that the meter portion to be photographed by the user is reflected on the opposite side of the position of the image generation unit 13 in the displayed image. Therefore, the display control unit 173 displays a semi-transparent figure 148 on the opposite side of the position of the image generation unit 13 in the display image so that the user pays attention to the opposite side of the position of the image generation unit 13 in the display image. The superimposed warning display screen may be generated and displayed on the display unit 14.

警告用表示画面が表示された場合、CPU17は、ステップS19の処理を実行せずに、処理をステップS12に戻す。 When the warning display screen is displayed, the CPU 17 returns the process to step S12 without executing the process of step S19.

また、表示制御部173は、図4のステップS12で経過時間tの測定を開始する前に、入力画像を表示部14に表示させてもよい。例えば、表示制御部173は、画像生成部13側の角部から所定範囲内のみ入力画像を表示し、他の領域には黒色画像を表示させる。表示制御部173は、時間の経過とともに入力画像を表示させる範囲を画像生成部13の対角に位置する角部に向けて拡大させていく。これにより、使用者は、画像生成部13の位置を容易に想起することができる。 Further, the display control unit 173 may display the input image on the display unit 14 before starting the measurement of the elapsed time t in step S12 of FIG. For example, the display control unit 173 displays the input image only within a predetermined range from the corner portion on the image generation unit 13 side, and displays a black image in the other area. The display control unit 173 expands the range in which the input image is displayed with the passage of time toward the corners located diagonally of the image generation unit 13. As a result, the user can easily recall the position of the image generation unit 13.

また、表示制御部173が、図4のステップS18〜S19で検出された数字を登録するか否かを使用者に問い合わせることなく、検出部172が、ステップS20で認識結果を記憶部16に記憶してもよい。この場合、表示制御部173は、認識結果を表示部14に表示させてもよい。 Further, the detection unit 172 stores the recognition result in the storage unit 16 in step S20 without asking the user whether or not the display control unit 173 registers the numbers detected in steps S18 to S19 of FIG. You may. In this case, the display control unit 173 may display the recognition result on the display unit 14.

また、表示制御部173は、図6のステップS32における一部強調表示と、ステップS34〜S37の各表示とを同時に実行してもよい。 Further, the display control unit 173 may simultaneously execute the partial highlighting in step S32 of FIG. 6 and the respective displays of steps S34 to S37.

また、本実施形態では、撮像装置をメータの数字を検出するために使用したが、検出対象はこれに限らず、バーコード、2次元コード等であってもよい。 Further, in the present embodiment, the image pickup device is used to detect the numerical value of the meter, but the detection target is not limited to this, and a bar code, a two-dimensional code, or the like may be used.

図14は、他の実施形態に係る撮像装置の概略構成を示すブロック図である。 FIG. 14 is a block diagram showing a schematic configuration of an image pickup apparatus according to another embodiment.

撮像装置1aの処理回路18は、撮像装置1のCPU17の代わりに、全体処理を実行する。処理回路18は、画像生成制御回路181、検出回路182、表示制御回路183、入力検出回路184等を有する。 The processing circuit 18 of the imaging device 1a executes the entire processing instead of the CPU 17 of the imaging device 1. The processing circuit 18 includes an image generation control circuit 181, a detection circuit 182, a display control circuit 183, an input detection circuit 184, and the like.

画像生成制御回路181は、画像生成制御部の一例であり、画像生成制御部171と同様の機能を有する。画像生成制御回路181は、画像生成部13からメータを撮影した入力画像を順次取得し、検出回路182及び表示制御回路183に出力する。 The image generation control circuit 181 is an example of the image generation control unit, and has the same function as the image generation control unit 171. The image generation control circuit 181 sequentially acquires the input images captured by the meter from the image generation unit 13, and outputs them to the detection circuit 182 and the display control circuit 183.

検出回路182は、検出部の一例であり、検出部172と同様の機能を有する。検出回路182は、入力画像に写っているメータ内の数値を検出し、認識結果を記憶部16に記憶する。検出回路182は、メータ内のメータ部分23の領域の座標を検出し、検出座標を表示制御回路183に出力する。 The detection circuit 182 is an example of a detection unit, and has the same function as the detection unit 172. The detection circuit 182 detects the numerical value in the meter shown in the input image and stores the recognition result in the storage unit 16. The detection circuit 182 detects the coordinates of the region of the meter portion 23 in the meter, and outputs the detected coordinates to the display control circuit 183.

表示制御回路183は、表示制御部の一例であり、表示制御部173と同様の機能を有する。表示制御回路183は、入力画像、検出座標及び向き信号に基づいて表示画像を生成し、表示部14に表示させる。 The display control circuit 183 is an example of the display control unit, and has the same function as the display control unit 173. The display control circuit 183 generates a display image based on the input image, the detection coordinates, and the orientation signal, and displays the display image on the display unit 14.

入力検出回路184は、入力検出部の一例であり、入力検出部174と同様の機能を有する。入力検出回路184は、入力部12から入力信号を取得し、画像生成制御回路181、検出回路182、表示制御回路183等に入力情報を出力する。 The input detection circuit 184 is an example of an input detection unit, and has the same function as the input detection unit 174. The input detection circuit 184 acquires an input signal from the input unit 12 and outputs the input information to the image generation control circuit 181, the detection circuit 182, the display control circuit 183, and the like.

以上詳述したように、撮像装置は、処理回路18を用いる場合においても、使用者に対して検出対象を発見しやすくすることができる。 As described in detail above, the image pickup apparatus can make it easier for the user to find the detection target even when the processing circuit 18 is used.

1、1a 撮像装置
10 本体
13 画像生成部
14 表示部
172 検出部
173 表示制御部
1, 1a Imaging device 10 Main unit 13 Image generation unit 14 Display unit 172 Detection unit 173 Display control unit

Claims (6)

本体と、
前記本体の一方の面側に配置され、且つ、入力画像を生成する画像生成部と、
前記本体の他方の面側に配置され、前記入力画像を表示する表示部と、
前記入力画像から所定の検出対象を検出する検出部と、
第1所定時間が経過しても前記検出部が前記検出対象を検出しない場合、前記表示部側から見た前記画像生成部の位置を前記表示部に表示させる表示制御部と、を有し、
前記表示部側から見た前記画像生成部の位置が前記表示部の中心以外の位置に配置され、
前記表示制御部は、前記第1所定時間より長い第2所定時間が経過しても依然前記検出部が前記検出対象を検出しない場合、前記検出対象の想定位置又は想定方向を前記表示部に表示させる、
ことを特徴とする撮像装置。
With the main body
An image generation unit arranged on one surface side of the main body and generating an input image,
A display unit arranged on the other surface side of the main body and displaying the input image,
A detection unit that detects a predetermined detection target from the input image,
When the detection unit does not detect the detection target even after the lapse of the first predetermined time, the display control unit has a display control unit that displays the position of the image generation unit as seen from the display unit side on the display unit.
The position of the image generation unit as seen from the display unit side is arranged at a position other than the center of the display unit.
When the detection unit still does not detect the detection target even after the second predetermined time longer than the first predetermined time elapses, the display control unit displays the assumed position or the assumed direction of the detection target on the display unit. Let me
An imaging device characterized by this.
前記検出部が前記検出対象を複数個検出した場合、前記表示制御部は、前記検出対象の確認を使用者に促すための画像を前記表示部に表示させる、請求項1に記載の撮像装置。 The imaging device according to claim 1, wherein when the detection unit detects a plurality of the detection targets, the display control unit causes the display unit to display an image for prompting the user to confirm the detection target. 前記検出部が前記検出対象の一部のみを検出した場合、前記表示制御部は、前記一部を強調した画像を前記表示部に表示させる、請求項1又は2に記載の撮像装置。 The imaging device according to claim 1 or 2, wherein when the detection unit detects only a part of the detection target, the display control unit displays an image in which the part is emphasized on the display unit. 前記表示制御部は、前記第2所定時間より長い第3所定時間が経過しても依然前記検出部が前記検出対象を検出しない場合、前記入力画像の、前記検出対象の前記想定位置又は前記想定方向に対応する部分を拡大して前記表示部に表示させる、請求項1〜3のいずれか一項に記載の撮像装置。 When the detection unit still does not detect the detection target even after the lapse of a third predetermined time longer than the second predetermined time, the display control unit indicates the assumed position of the detection target or the assumption of the detection target in the input image. The imaging device according to any one of claims 1 to 3, wherein a portion corresponding to a direction is enlarged and displayed on the display unit. 本体と、前記本体の一方の面側に配置され、且つ、入力画像を生成する画像生成部と、前記本体の他方の面側に配置され、前記入力画像を表示する表示部と、前記入力画像から所定の検出対象を検出する検出部と、を有し、前記表示部側から見た前記画像生成部の位置が前記表示部の中心以外の位置に配置される撮像装置の制御方法であって、
第1所定時間が経過しても前記検出部が前記検出対象を検出しない場合、前記表示部側から見た前記画像生成部の位置を前記表示部に表示し、
前記第1所定時間より長い第2所定時間が経過しても依然前記検出部が前記検出対象を検出しない場合、前記検出対象の想定位置又は想定方向を前記表示部に表示させる、
ことを含むことを特徴とする制御方法。
A main body, an image generation unit arranged on one surface side of the main body and generating an input image, a display unit arranged on the other surface side of the main body and displaying the input image, and the input image. It is a control method of an image pickup apparatus which has a detection unit for detecting a predetermined detection target from the image, and the position of the image generation unit viewed from the display unit side is arranged at a position other than the center of the display unit. ,
When the detection unit does not detect the detection target even after the lapse of the first predetermined time, the position of the image generation unit as seen from the display unit side is displayed on the display unit.
If the detection unit still does not detect the detection target even after the second predetermined time longer than the first predetermined time elapses, the display unit displays the assumed position or direction of the detection target.
A control method characterized by including.
本体と、前記本体の一方の面側に配置され、且つ、入力画像を生成する画像生成部と、前記本体の他方の面側に配置され、前記入力画像を表示する表示部と、前記入力画像から所定の検出対象を検出する検出部と、を有し、前記表示部側から見た前記画像生成部の位置が前記表示部の中心以外の位置に配置される撮像装置の制御プログラムであって、
第1所定時間が経過しても前記検出部が前記検出対象を検出しない場合、前記表示部側から見た前記画像生成部の位置を前記表示部に表示し、
前記第1所定時間より長い第2所定時間が経過しても依然前記検出部が前記検出対象を検出しない場合、前記検出対象の想定位置又は想定方向を前記表示部に表示させる、
ことを前記撮像装置に実行させることを特徴とする制御プログラム。
A main body, an image generation unit arranged on one surface side of the main body and generating an input image, a display unit arranged on the other surface side of the main body and displaying the input image, and the input image. It is a control program of an image pickup apparatus having a detection unit for detecting a predetermined detection target from the above, and the position of the image generation unit viewed from the display unit side is arranged at a position other than the center of the display unit. ,
When the detection unit does not detect the detection target even after the lapse of the first predetermined time, the position of the image generation unit as seen from the display unit side is displayed on the display unit.
If the detection unit still does not detect the detection target even after the second predetermined time longer than the first predetermined time elapses, the display unit displays the assumed position or direction of the detection target.
A control program characterized by causing the image pickup apparatus to execute the above.
JP2018020055A 2018-02-07 2018-02-07 Imaging device, control method and control program Active JP6851337B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018020055A JP6851337B2 (en) 2018-02-07 2018-02-07 Imaging device, control method and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018020055A JP6851337B2 (en) 2018-02-07 2018-02-07 Imaging device, control method and control program

Publications (2)

Publication Number Publication Date
JP2019140449A JP2019140449A (en) 2019-08-22
JP6851337B2 true JP6851337B2 (en) 2021-03-31

Family

ID=67694437

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018020055A Active JP6851337B2 (en) 2018-02-07 2018-02-07 Imaging device, control method and control program

Country Status (1)

Country Link
JP (1) JP6851337B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6989643B2 (en) * 2020-03-13 2022-01-05 株式会社東芝 Information processing equipment and computer programs

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4586709B2 (en) * 2005-11-02 2010-11-24 オムロン株式会社 Imaging device
JP4113565B2 (en) * 2007-06-25 2008-07-09 シャープ株式会社 Mobile phone
JP6371662B2 (en) * 2014-10-07 2018-08-08 富士通フロンテック株式会社 Character recognition support device, character recognition support program, and character recognition support method

Also Published As

Publication number Publication date
JP2019140449A (en) 2019-08-22

Similar Documents

Publication Publication Date Title
JP5826081B2 (en) Image processing apparatus, character recognition method, and computer program
CN110278408B (en) Image processing apparatus, image processing method, and storage medium
JP2007129709A (en) Method for calibrating imaging device, method for calibrating imaging system including arrangement of imaging devices, and imaging system
JP6646208B2 (en) Display control method, display control program, and information processing device
JP6440836B2 (en) Image processing system, image reading apparatus, area detection method, and computer program
US10810743B2 (en) Image processing device, image processing method, and computer program product
JP2018066712A (en) Measuring device
KR20120066567A (en) Image processing device and program
JP6107372B2 (en) Image processing apparatus, image processing method, and image processing program
JP6707178B2 (en) Image processing device, control method, and control program
JP6530432B2 (en) Image processing apparatus, image processing method and program
JP6821007B2 (en) Image processing device, control method and control program
JP6851337B2 (en) Imaging device, control method and control program
JP6789410B2 (en) Image processing device, control method and control program
JP6777507B2 (en) Image processing device and image processing method
JP2018092507A (en) Image processing apparatus, image processing method, and program
JP2013012117A (en) Image recognition device, image recognition method and computer program for image recognition
US12039399B2 (en) Optical symbol, information processing device, and code reading method
US20230342576A1 (en) Optical symbol, information processing device, and code reading method
WO2017126056A1 (en) Mobile terminal, image processing method, and program
JP6326316B2 (en) Image processing apparatus, photographing apparatus, program, recording medium
JP6613378B2 (en) Mobile terminal, image processing method, and program
JP2021174370A (en) Electronic device and program
JP5550670B2 (en) Information processing device
JP2022045168A (en) Image processing device, control method, and control program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200423

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210127

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: 20210209

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210309

R150 Certificate of patent or registration of utility model

Ref document number: 6851337

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150