JP2018206003A - Portable terminal with laser scanner - Google Patents

Portable terminal with laser scanner Download PDF

Info

Publication number
JP2018206003A
JP2018206003A JP2017109757A JP2017109757A JP2018206003A JP 2018206003 A JP2018206003 A JP 2018206003A JP 2017109757 A JP2017109757 A JP 2017109757A JP 2017109757 A JP2017109757 A JP 2017109757A JP 2018206003 A JP2018206003 A JP 2018206003A
Authority
JP
Japan
Prior art keywords
unit
laser scanner
laser
distance
person
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
JP2017109757A
Other languages
Japanese (ja)
Inventor
雅一 飯野
Masakazu Iino
雅一 飯野
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.)
Canon Electronics Inc
Original Assignee
Canon Electronics Inc
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 Canon Electronics Inc filed Critical Canon Electronics Inc
Priority to JP2017109757A priority Critical patent/JP2018206003A/en
Publication of JP2018206003A publication Critical patent/JP2018206003A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Length Measuring Devices By Optical Means (AREA)

Abstract

To provide a portable terminal with a laser scanner that can be used by users without considering outputs of lasers or the like even when a person is present within the scanning area.SOLUTION: Disclosed is a device comprising: a laser scanner; a photographing unit capable of photographing the scanning area of the laser scanner; a face recognition unit for detecting whether the face of a person is included in a subject image photographed by the photographing unit; a distance estimation unit for estimating the distance between the photographing unit and the subject; and a controller for controlling the outputs of a laser unit in accordance with the distance estimation result of the distance estimation unit. When the face recognition unit determines that the face of a person is included in the subject image photographed by the photographing unit during the period in which the laser scanner scans, the distance estimation unit estimates the distance between itself and the subject, and the controller controls the laser scanner to output according to the distance estimated by the distance estimation unit.SELECTED DRAWING: Figure 1

Description

本発明は、レーザースキャナ付き携帯端末及びその制御方法に関し、特にカメラを備えるレーザースキャナ付き携帯端末及びその制御方法に関する。   The present invention relates to a portable terminal with a laser scanner and a control method thereof, and more particularly to a portable terminal with a laser scanner provided with a camera and a control method thereof.

近年RFID(ICタグ)等の無線通信技術が普及しているが、バーコードを利用したシステムも分野によっては多く利用されている。バーコードを読み取る方式はCCD方式、レーザー方式、ペン方式に分類されるが、世界的にはレーザー方式が約80%以上を占めている。   In recent years, wireless communication technology such as RFID (IC tag) has become widespread, but systems using barcodes are also widely used in some fields. Bar code reading methods are classified into CCD, laser, and pen methods, but the laser method occupies about 80% or more worldwide.

特開平9−190489号公報Japanese Patent Laid-Open No. 9-190489

特許文献1にて開示されるようなレーザースキャナを使用するシーンは工場や店舗などが多いが、使用者がその業務に集中するあまり周囲へ意識が及ばなくなるなどして、周囲にいる人の目にレーザーが当たってしまってはいけない。   There are many scenes where a laser scanner as disclosed in Patent Document 1 is used in a factory or a store, but the user is not focused on the work so much and the eyes of those around him Don't be hit by a laser.

本発明のレーザースキャナ付き携帯端末は、カメラにより撮像された様々な人の顔のサイズによりレーザースキャナのレーザー出力レベルを調整する、あるいはレーザー出力をオフする、あるいはレーザーの照射範囲を調整する、あるいは警告を出すといった制御を行い、レーザースキャナ付き携帯端末使用者の前方にいる人に危害が及ぶのを防ぎつつ、使用可能な環境下ではレーザースキャナを使用可能にすることで利便性を損なうことが無いようにすることができる。   The portable terminal with a laser scanner of the present invention adjusts the laser output level of the laser scanner according to the size of various human faces imaged by the camera, or turns off the laser output, or adjusts the laser irradiation range, or Controls such as issuing warnings may prevent the person in front of the user of the portable terminal equipped with a laser scanner from being harmed, and may impair convenience by enabling the laser scanner to be used in a usable environment. There can be no.

本発明に係るレーザースキャナ付き携帯端末は、
レーザースキャナと、
前記レーザースキャナのスキャン領域を撮影可能な撮影部と、
前記撮影部で撮影した被写体画像中に人の顔が含まれていることを検知する顔認識部と、
前記撮影部と前記被写体との距離を推定する距離推定部と、
前記距離推定部の距離推定結果に応じてレーザー部の出力を制御する制御部と、
前記距離推定部の距離推定結果に応じて警告を報知する警告部と
を備え、
前記レーザースキャナによってスキャンする際に、前記撮影部で撮像した被写体画像に人の顔が含まれていると前記顔認識部が判断した場合は、前記距離推定部により前記被写体との距離を推定し、
前記制御部は、前記距離推定部が推定した距離に応じて前記レーザースキャナの出力を制御することを特徴とするレーザースキャナ付き携帯端末。
A portable terminal with a laser scanner according to the present invention,
A laser scanner,
An imaging unit capable of imaging the scan area of the laser scanner;
A face recognition unit for detecting that a human face is included in the subject image photographed by the photographing unit;
A distance estimation unit that estimates a distance between the photographing unit and the subject;
A control unit for controlling the output of the laser unit according to the distance estimation result of the distance estimation unit;
A warning unit for notifying a warning according to a distance estimation result of the distance estimation unit,
When the face recognition unit determines that the subject image captured by the imaging unit includes a human face when scanning by the laser scanner, the distance estimation unit estimates the distance to the subject. ,
The portable terminal with a laser scanner, wherein the control unit controls the output of the laser scanner according to the distance estimated by the distance estimation unit.

本発明によれば、レーザースキャナのスキャン領域に人がいる場合でも、レーザー出力等を使用者が意識することなく、レーザースキャナが使用可能となる。   According to the present invention, even when there is a person in the scan area of the laser scanner, the laser scanner can be used without the user being aware of the laser output or the like.

本発明の一実施形態に係るレーザースキャナ付き携帯端末のブロック図。The block diagram of the portable terminal with a laser scanner concerning one embodiment of the present invention. 本発明の一実施形態に係るレーザースキャナ付き携帯端末のフローチャート。The flowchart of the portable terminal with a laser scanner which concerns on one Embodiment of this invention. 本発明の他の実施形態に係るレーザースキャナ付き携帯端末のブロック図。The block diagram of the portable terminal with a laser scanner concerning other embodiments of the present invention. 本発明の他の実施形態に係るレーザースキャナ付き携帯端末の角度推定位置のイメージ図。The image figure of the angle estimation position of the portable terminal with a laser scanner concerning other embodiments of the present invention. 本発明の他の実施形態に係るレーザースキャナ付き携帯端末のフローチャート。The flowchart of the portable terminal with a laser scanner concerning other embodiments of the present invention. 本発明の他の実施形態に係るレーザースキャナ付き携帯端末の出力変換テーブル。The output conversion table of the portable terminal with a laser scanner which concerns on other embodiment of this invention. 本発明の他の実施形態に係るレーザースキャナ付き携帯端末のブロック図。The block diagram of the portable terminal with a laser scanner concerning other embodiments of the present invention. 本発明の他の実施形態に係るレーザースキャナ付き携帯端末のフローチャート。The flowchart of the portable terminal with a laser scanner concerning other embodiments of the present invention. 本発明の他の実施形態に係るレーザースキャナ付き携帯端末の顔認識部に関するイメージ図。The image figure regarding the face recognition part of the portable terminal with a laser scanner concerning other embodiments of the present invention. 本発明の他の実施形態に係るレーザースキャナ付き携帯端末の顔認識部に関するイメージ図。The image figure regarding the face recognition part of the portable terminal with a laser scanner concerning other embodiments of the present invention. 本発明の他の実施形態に係るレーザースキャナ付き携帯端末のブロック図。The block diagram of the portable terminal with a laser scanner concerning other embodiments of the present invention. 本発明の他の実施形態に係るレーザースキャナ付き携帯端末の角度推定位置のイメージ図。The image figure of the angle estimation position of the portable terminal with a laser scanner concerning other embodiments of the present invention. 本発明の他の実施形態に係るレーザースキャナ付き携帯端末の第2の実施例のフローチャート。The flowchart of the 2nd Example of the portable terminal with a laser scanner which concerns on other embodiment of this invention. 本発明の他の実施形態に係るレーザースキャナ付き携帯端末の出力変換テーブル。The output conversion table of the portable terminal with a laser scanner which concerns on other embodiment of this invention. 本発明の他の実施形態に係るレーザースキャナ付き携帯端末のブロック図。The block diagram of the portable terminal with a laser scanner concerning other embodiments of the present invention. 本発明の他の実施形態に係るレーザースキャナ付き携帯端末のフローチャート。The flowchart of the portable terminal with a laser scanner concerning other embodiments of the present invention. 本発明の他の実施形態に係るレーザースキャナ付き携帯端末の顔認識部に関するイメージ図。The image figure regarding the face recognition part of the portable terminal with a laser scanner concerning other embodiments of the present invention. 本発明の他の実施形態に係るレーザースキャナ付き携帯端末の顔認識部に関するイメージ図。The image figure regarding the face recognition part of the portable terminal with a laser scanner concerning other embodiments of the present invention. 本発明の他の実施形態に係るレーザースキャナ付き携帯端末のブロック図。The block diagram of the portable terminal with a laser scanner concerning other embodiments of the present invention. 本発明の他の実施形態に係るレーザースキャナ付き携帯端末の角度推定位置のイメージ図。The image figure of the angle estimation position of the portable terminal with a laser scanner concerning other embodiments of the present invention. 本発明の他の実施形態に係るレーザースキャナ付き携帯端末のフローチャート。The flowchart of the portable terminal with a laser scanner concerning other embodiments of the present invention. 本発明の他の実施形態に係るレーザースキャナ付き携帯端末の出力変換テーブル。The output conversion table of the portable terminal with a laser scanner which concerns on other embodiment of this invention.

以下、本発明に係るレーザースキャナ付ハンディターミナルについて、図面を用いて説明する。なお、以下の説明において、レーザースキャナ付き携帯端末をレーザースキャナと表すことがある。   Hereinafter, a handy terminal with a laser scanner according to the present invention will be described with reference to the drawings. In the following description, a portable terminal with a laser scanner may be referred to as a laser scanner.

<第1実施形態>
図1は、本発明の第1実施形態に係るレーザースキャナ付き携帯端末の第1の実施形態のブロック図である。制御部1は、主にCPUで構成されていてレーザースキャナ付き携帯端末全般の動作を制御する。ここでは、後述する顔認識部8の結果に応じた距離推定部9への指示や距離推定部9の処理結果を元にレーザー部4や警告部5等の制御等も行う。
<First Embodiment>
FIG. 1 is a block diagram of a first embodiment of a portable terminal with a laser scanner according to the first embodiment of the present invention. The control unit 1 is mainly composed of a CPU, and controls the overall operation of the portable terminal with a laser scanner. Here, based on the instruction to the distance estimation unit 9 according to the result of the face recognition unit 8 described later and the processing result of the distance estimation unit 9, the laser unit 4 and the warning unit 5 are controlled.

記憶部2は、フラッシュメモリ等で構成されていて、各種データの保存をする。制御部1が距離推定部9の処理結果により記憶部2の情報を読みこみ、レーザー部4や警告部5等に指示を出す。   The storage unit 2 is composed of a flash memory or the like, and stores various data. The control unit 1 reads the information in the storage unit 2 based on the processing result of the distance estimation unit 9, and gives an instruction to the laser unit 4, the warning unit 5, and the like.

表示部3は、LCD等で構成されており、各種映像を表示する。制御部1の指示により使用者に警告表示をしたりする。レーザー部4は、レーザースキャナ付き携帯端末の背面側や上部に取り付けられたレーザースキャナで構成されており、制御部1の制御指示によりバーコード等をスキャンしたり、レーザーの出力レベルを調整したり、あるいはレーザーの出力をオフしたり、あるいはレーザーの照射範囲を調整したりする。   The display unit 3 is composed of an LCD or the like and displays various videos. A warning is displayed to the user according to an instruction from the control unit 1. The laser unit 4 is composed of a laser scanner attached to the back side or upper part of a portable terminal with a laser scanner, and scans a barcode or the like according to a control instruction of the control unit 1 or adjusts the output level of the laser. Alternatively, the laser output is turned off, or the laser irradiation range is adjusted.

警告部5は、スピーカーやバイブレータ、その他使用者に対して警告等が出来るデバイスで構成されていて、制御部1の指示により使用者に対して警告を出す。撮影部6は、カメラ等で構成されていて、レーザースキャナ付き携帯端末の使用者の前方を撮像出来る位置に配置され、制御部1の指示により使用者の前方を撮像する。撮像した被写体画像は、顔認識部8に送られる。   The warning unit 5 includes a speaker, a vibrator, and other devices that can give a warning to the user, and issues a warning to the user according to an instruction from the control unit 1. The imaging unit 6 is configured with a camera or the like, and is arranged at a position where the front of the user of the portable terminal with a laser scanner can be imaged, and images the front of the user according to an instruction from the control unit 1. The captured subject image is sent to the face recognition unit 8.

顔認識部8は、撮影部6から送られてきた被写体画像に人の顔が含まれているかどうかを判断する。なお、顔認識手段は一般的なため、ここでは具体的に述べないが、汎用的な方法が適用可能である。距離推定部9は、撮影部6から送られてきた被写体画像に人の顔が含まれていると顔認識部8が判断をした場合に、顔の領域を算出し、そのサイズと記憶部2に保存されている情報を元に使用者と前方にいる人(顔が認識された人)との距離を推定する。距離の推定結果を元に、レーザー部4や警告部5の制御を制御部1が行う。   The face recognition unit 8 determines whether the subject image sent from the photographing unit 6 includes a human face. Since the face recognition means is general, it is not specifically described here, but a general-purpose method can be applied. When the face recognition unit 8 determines that the subject image sent from the photographing unit 6 includes a human face, the distance estimation unit 9 calculates a face area, and stores the size and the storage unit 2. The distance between the user and the person in front (the person whose face is recognized) is estimated based on the information stored in. The control unit 1 controls the laser unit 4 and the warning unit 5 based on the distance estimation result.

距離推定部9における距離推定の方法としては、スキャン動作の開始時のある時点で撮影した画像内に占める顔の領域(サイズ)に対応した距離への換算テーブルを参照することによって、推定することなどが可能であり、更に、顔の領域に限らず、撮影した画像内における目や口の大きさからその人物までの距離を推定する種々の方法が適用可能である。   As a distance estimation method in the distance estimation unit 9, estimation is performed by referring to a conversion table to a distance corresponding to a face area (size) occupied in an image captured at a certain time at the start of a scanning operation. Furthermore, not only the face area but also various methods for estimating the distance to the person from the size of the eyes and mouth in the photographed image can be applied.

さらに、距離推定部9の精度を向上する方法として、スキャン動作の開始時に2つ以上の画像を撮影し、それら2画像間での人物までの距離を比較し、2つの撮影画像の撮影間隔を用いて人物の移動速度を推定し、実際にスキャンが実行される時点において人物がどこまで移動しているか、その時点での距離に応じて図2におけるステップS106の処理を実行するようにしても良い。   Furthermore, as a method of improving the accuracy of the distance estimation unit 9, two or more images are taken at the start of the scanning operation, the distance between the two images is compared with the person, and the shooting interval between the two taken images is set. 2 is used to estimate the moving speed of the person, and the process of step S106 in FIG. 2 may be executed according to how far the person has moved when the scan is actually executed and the distance at that time. .

次に、本発明の第1実施形態に係るレーザースキャナ付き携帯端末の動作について、図2のフローチャートを用いて説明する。初めにレーザースキャナ付き携帯端末の使用者がレーザースキャナ付き携帯端末を起動し、レーザースキャナでバーコードをスキャンする。ただし、この時点でレーザーはまだ出力されず、バーコードはスキャンされない(ステップS101)。   Next, the operation of the portable terminal with a laser scanner according to the first embodiment of the present invention will be described using the flowchart of FIG. First, a user of a portable terminal with a laser scanner activates the portable terminal with a laser scanner, and scans the barcode with the laser scanner. However, at this time, the laser is not yet output, and the barcode is not scanned (step S101).

次に、撮影部6で使用者の前方を撮像し被写体画像を得る(ステップS102)。得られた被写体画像に人の顔が含まれているか否かを顔認識部8で判断する(ステップS103)。被写体画像に人の顔が含まれていないと判断した場合、レーザースキャナのレーザーは通常出力でバーコードをスキャンする(ステップS107)。   Next, the imaging unit 6 captures the front of the user and obtains a subject image (step S102). The face recognition unit 8 determines whether or not a human face is included in the obtained subject image (step S103). When it is determined that the human face is not included in the subject image, the laser of the laser scanner scans the barcode with the normal output (step S107).

被写体画像に人の顔が含まれていると判断した場合、距離推定部9で顔の領域を算出し(ステップS104)、使用者(レーザースキャナ)と使用者の前方にいる人(顔が認識された人)との距離を推定する(ステップS105)。   When it is determined that the human face is included in the subject image, the distance estimation unit 9 calculates the face area (step S104), and the user (laser scanner) and the person in front of the user (the face is recognized). The distance to the person who has been performed is estimated (step S105).

距離推定部9で推定された距離を元に、制御部1によって記憶部2に保存されている制御テーブルを参照、比較しレーザー部4の制御を決める。使用者と使用者の前方にいる人との距離が3m以上の場合(ステップS106 Yes)、レーザー部4のレーザーは通常出力レベルのまま出力され、バーコード等がスキャンされる(ステップS107)。   Based on the distance estimated by the distance estimation unit 9, the control unit 1 refers to and compares the control table stored in the storage unit 2 to determine the control of the laser unit 4. When the distance between the user and the person in front of the user is 3 m or more (step S106 Yes), the laser of the laser unit 4 is output at the normal output level, and the bar code or the like is scanned (step S107).

一方、距離が2m以上3m未満であった場合(ステップS108 Yes)、レーザー部4のレーザーは出力を弱めてレーザー出力され、バーコード等がスキャンされる(ステップS109)。距離が2m未満であった場合、レーザー部4のレーザーの出力はオフされ(ステップS110)、レーザースキャナ付き携帯端末の表示部3に人が前方にいるためレーザー部4のレーザー出力をオフしたことを示す画面表示や音声、振動等の手段を擁する警告部5で使用者に向けて警告を出す(ステップS111)。なお、使用者と前方にいる人との距離による制御方法は、上記の限りではなく、これらは一例である。   On the other hand, when the distance is not less than 2 m and less than 3 m (Yes in step S108), the laser of the laser unit 4 is weakened and output with a laser beam, and a bar code or the like is scanned (step S109). If the distance is less than 2 m, the laser output of the laser unit 4 is turned off (step S110), and the person in front of the display unit 3 of the portable terminal with a laser scanner has turned off the laser output of the laser unit 4 A warning is given to the user by the warning unit 5 having means such as screen display, sound, vibration, etc. (step S111). The control method based on the distance between the user and the person in front is not limited to the above, but these are examples.

<第2実施形態>
図3は、本発明の第2実施形態に係るレーザースキャナ付き携帯端末のブロック図である。なお、本実施形態の多くは第1実施形態と同様の構成であるため、異なる点についてのみ説明する。
Second Embodiment
FIG. 3 is a block diagram of a portable terminal with a laser scanner according to the second embodiment of the present invention. Since many of the embodiments have the same configuration as that of the first embodiment, only different points will be described.

角度推定部10は撮影部6から送られてきた被写体画像に人の顔が含まれていると顔認識部8が判断した場合、顔の領域が表示部3の右側に多く含まれるのか左側に多く含まれるのかを判断する。この推定結果を元に、制御部1がレーザー部4や警告部5の制御を行う。図4には一例として、顔の領域が表示部3の右側に多く含まれていて、その場合にレーザースキャナ付き携帯端末の使用者から見て前方右寄りに人がいる状態を示している。   When the face recognizing unit 8 determines that the subject image sent from the image capturing unit 6 includes a human face, the angle estimating unit 10 determines whether the face area is included on the right side of the display unit 3 or on the left side. Judge whether it is included a lot. Based on this estimation result, the control unit 1 controls the laser unit 4 and the warning unit 5. As an example, FIG. 4 shows a state in which a lot of face areas are included on the right side of the display unit 3, and in this case, there is a person on the front right side as viewed from the user of the portable terminal with a laser scanner.

次に第2実施形態に係るレーザースキャナ付き携帯端末の動作を、図5のフローチャートを用いて説明する。初めにレーザースキャナ付き携帯端末の使用者がレーザースキャナ付き携帯端末を起動し、レーザースキャナでバーコードをスキャンする。ただし、この時点でレーザーはまだ出力されず、バーコードはスキャンされない(ステップS201)。   Next, the operation of the portable terminal with a laser scanner according to the second embodiment will be described with reference to the flowchart of FIG. First, a user of a portable terminal with a laser scanner activates the portable terminal with a laser scanner, and scans the barcode with the laser scanner. However, at this time, the laser is not output yet, and the barcode is not scanned (step S201).

次に、撮影部6で使用者の前方を撮像し被写体画像を得る(ステップS202)。得られた被写体画像に人の顔が含まれているか否かを顔認識部8で判断する(ステップS203)。被写体画像に人の顔が含まれていないと判断した場合、レーザースキャナのレーザーは通常出力でバーコードをスキャンする(ステップS207)。   Next, the imaging unit 6 captures the front of the user and obtains a subject image (step S202). The face recognition unit 8 determines whether or not a human face is included in the obtained subject image (step S203). If it is determined that the human face is not included in the subject image, the laser of the laser scanner scans the barcode with the normal output (step S207).

被写体画像に人の顔が含まれていると判断した場合、角度推定部10で顔の領域が表示部3の右側に多く含まれるのか、左側に多く含まれるのか算出する(ステップS204)。顔の領域が表示部3の右側に多く含まれていると判断した場合(ステップS205 Yes)、使用者から見て前方右側に人がいると判断し、レーザー部4のレーザーの照射範囲を左寄りに制限をした上で(ステップS206)、レーザー部4のレーザーを出力してバーコード等をスキャンする(ステップS207)。   If it is determined that the human face is included in the subject image, the angle estimation unit 10 calculates whether the face area is included on the right side or the left side of the display unit 3 (step S204). If it is determined that a lot of face areas are included on the right side of the display unit 3 (Yes in step S205), it is determined that there is a person on the right side when viewed from the user, and the laser irradiation range of the laser unit 4 is shifted to the left (Step S206), the laser of the laser unit 4 is output and the bar code or the like is scanned (Step S207).

あるいは、顔の領域が表示部3の左側に多く含まれていると判断した場合、使用者から見て前方左側に人がいると判断し、レーザー部4のレーザーの照射範囲を右寄りに制限をした上で(ステップS208)、レーザー部4のレーザーを出力してバーコード等をスキャンする(ステップS207)。なお、使用者と、前方にいる人との左右方向における角度による制御は、上記の限りではない。   Alternatively, when it is determined that the face area is included in the left side of the display unit 3, it is determined that there is a person on the left side when viewed from the user, and the laser irradiation range of the laser unit 4 is limited to the right side. After that (step S208), the laser of the laser unit 4 is output to scan a bar code or the like (step S207). In addition, the control by the angle in the left-right direction between the user and the person in front is not limited to the above.

以上のように構成されたレーザースキャナ付き携帯端末において、図6を用いて記憶部2に保存されている距離−レーザー出力レベル変換テーブルについて説明する。距離は「2m未満」、「2m以上3m未満」、「3m以上」の3つに分け、それぞれに対応するようにレーザー部4の出力を「オフ」、「50%オフ」、「通常出力のまま使用する」としている。これは使用するレーザーの能力により距離を変えたりレーザー部4の出力を変えたりしても良く、レーザースキャナ付き携帯端末の使用者と前方にいる人との距離、およびレーザー部4の制御の関係は、この限りではない。   In the portable terminal with a laser scanner configured as described above, a distance-laser output level conversion table stored in the storage unit 2 will be described with reference to FIG. The distance is divided into three, “less than 2 m”, “more than 2 m and less than 3 m”, and “more than 3 m”, and the output of the laser unit 4 is “off”, “50% off”, “normal output” to correspond to each Use as is. " The distance may be changed or the output of the laser unit 4 may be changed depending on the ability of the laser used, the distance between the user of the portable terminal with a laser scanner and the person in front, and the control of the laser unit 4 This is not the case.

<第3実施形態>
図7は、本発明の第3実施形態に係るレーザースキャナ付き携帯端末のブロック図である。なお、本実施形態の多くは第1実施形態と同様の構成であるため、異なる点についてのみ説明する。
<Third Embodiment>
FIG. 7 is a block diagram of a portable terminal with a laser scanner according to the third embodiment of the present invention. Since many of the embodiments have the same configuration as that of the first embodiment, only different points will be described.

図7において、温度測定部7は、赤外線サーモグラフィ等で構成されていて、レーザースキャナ付き携帯端末の使用者の前方の温度を測定出来る位置に配置され、制御部1の指示により使用者の前方の温度分布を得ることができる。得られた温度分布は顔認識部8に送られる。   In FIG. 7, the temperature measuring unit 7 is configured by infrared thermography or the like, and is disposed at a position where the temperature in front of the user of the portable terminal with the laser scanner can be measured. A temperature distribution can be obtained. The obtained temperature distribution is sent to the face recognition unit 8.

顔認識部8は、撮影部6から送られてきた被写体画像と温度測定部7より送られてきた温度分布の情報により使用者の前方に人がいるか否かを判断する。距離推定部9は、顔認識部8で、被写体画像中に人の顔が含まれると判断をした場合、顔の領域を算出し、そのサイズと記憶部2に保存されている情報を元に使用者と前方にいる人(顔が認識された人)との距離を推定する。距離の推定結果を元に、レーザー部4や警告部5の制御を制御部1が行う。   The face recognition unit 8 determines whether or not there is a person in front of the user based on the subject image sent from the photographing unit 6 and the temperature distribution information sent from the temperature measurement unit 7. When the face recognizing unit 8 determines that the human face is included in the subject image, the distance estimating unit 9 calculates the face area, and based on the size and the information stored in the storage unit 2 The distance between the user and a person in front (a person whose face is recognized) is estimated. The control unit 1 controls the laser unit 4 and the warning unit 5 based on the distance estimation result.

次に本発明の第3実施形態に係るレーザースキャナ付き携帯端末の動作を図8に示すフローチャートを用いて説明する。初めにレーザースキャナ付き携帯端末の使用者がレーザースキャナ付き携帯端末を起動し、レーザースキャナでバーコードをスキャンする。ただし、この時点でレーザーはまだ出力されず、バーコードはスキャンされない(ステップS301)。   Next, the operation of the portable terminal with a laser scanner according to the third embodiment of the present invention will be described with reference to the flowchart shown in FIG. First, a user of a portable terminal with a laser scanner activates the portable terminal with a laser scanner, and scans the barcode with the laser scanner. However, at this time, the laser is not output yet, and the barcode is not scanned (step S301).

次に撮影部6で使用者の前方を撮像し被写体画像を得る(ステップS302)。次に温度測定部7で撮影部6が撮像した箇所と同じ箇所の温度を測定し、温度分布を得る(ステップS303)。但し、被写体画像と温度分布を得る順序はこの限りではない。   Next, the imaging unit 6 captures the front of the user and obtains a subject image (step S302). Next, the temperature measurement unit 7 measures the temperature at the same location as the location captured by the imaging unit 6 to obtain a temperature distribution (step S303). However, the order of obtaining the subject image and the temperature distribution is not limited to this.

顔認識部8で、撮影部6から送られてきた被写体画像と温度測定部7から送られてきた温度分布を比較し、被写体画像における顔の位置に相当する温度が人の顔の温度(36度前後)であるか否かを判断する(ステップS304)。   The face recognition unit 8 compares the subject image sent from the photographing unit 6 with the temperature distribution sent from the temperature measurement unit 7, and the temperature corresponding to the face position in the subject image is the temperature of the human face (36). It is determined whether or not (step S304).

被写体画像中に人の顔がないと判断した場合(ステップS304 No)、レーザー部4のレーザーは通常出力レベルのまま出力され、バーコード等がスキャンされる(ステップS308)。顔認識部8によって被写体画像中に人の顔があると判断した場合、距離推定部9で顔の領域を算出し(ステップS305)、使用者と使用者の前方にいる人(顔が認識された人)との距離を推定する(ステップS306)。   When it is determined that there is no human face in the subject image (No in step S304), the laser of the laser unit 4 is output at the normal output level, and the bar code and the like are scanned (step S308). When the face recognition unit 8 determines that there is a human face in the subject image, the distance estimation unit 9 calculates the face area (step S305), and the user and the person in front of the user (the face is recognized). The distance to the person is estimated (step S306).

距離推定部9で推定された距離を元に、制御部1によって記憶部2に保存されている制御テーブルを参照、比較しレーザー部4の制御を決める。使用者と使用者の前方にいる人との距離が3m以上の場合(ステップS307)、レーザー部4のレーザーは通常出力レベルのまま出力され、バーコード等がスキャンされる(ステップS308)。   Based on the distance estimated by the distance estimation unit 9, the control unit 1 refers to and compares the control table stored in the storage unit 2 to determine the control of the laser unit 4. When the distance between the user and the person in front of the user is 3 m or more (step S307), the laser of the laser unit 4 is output at the normal output level, and the barcode or the like is scanned (step S308).

一方、距離が2m以上3m未満であった場合(ステップS309)、レーザー部4のレーザーは出力を弱めてレーザー出力され、バーコード等がスキャンされる(ステップS310)。距離が2m未満であった場合、レーザー部4のレーザーの出力はオフされ(ステップS311)、レーザースキャナ付き携帯端末の表示部3に人が前方にいるためレーザー部4のレーザー出力をオフしたことを示す画面表示や音声、振動等の手段を擁する警告部5で前記使用者に警告を出す(ステップS312)。但し、使用者と前方にいる人との距離による制御方法は、上記の限りではない。図9及び図10は、前記使用者の前方に人がいるか否かを顔認識部8で判断する際のイメージ図である。   On the other hand, when the distance is 2 m or more and less than 3 m (step S309), the laser of the laser unit 4 is output with the output weakened, and the bar code and the like are scanned (step S310). If the distance is less than 2 m, the laser output of the laser unit 4 is turned off (step S311), and the person in front of the display unit 3 of the portable terminal with the laser scanner has turned off the laser output of the laser unit 4 A warning is given to the user by the warning unit 5 having means such as screen display, voice, vibration, etc. (step S312). However, the control method based on the distance between the user and the person in front is not limited to the above. 9 and 10 are image diagrams when the face recognition unit 8 determines whether or not there is a person in front of the user.

図9において、上段左の図に示すのが、使用者が撮像部6で撮影した被写体画像であり、画像内の右上に人物が写っている。顔認識部8は、この被写体画像内において、顔認識処理を実行することによって被写体画像中における矢印で示している部分に人物の顔が含まれていることを検知している。また、上段右の図には、温度測定部7によって取得した温度分布を示しており、取得領域内の右上に、周囲に比べて温度の高い部分が表示されている。本実施形態としては、一例として35〜40℃であれば人体に相当すると判断しているが、周囲の環境や携帯端末の利用環境を考慮して上下させても良い。   In FIG. 9, an upper left diagram shows a subject image taken by the user with the imaging unit 6, and a person is shown on the upper right in the image. The face recognition unit 8 detects that a person's face is included in a portion indicated by an arrow in the subject image by executing face recognition processing in the subject image. Moreover, the upper right figure shows the temperature distribution acquired by the temperature measurement unit 7, and a portion having a higher temperature than the surroundings is displayed at the upper right in the acquisition region. In this embodiment, as an example, it is determined that it corresponds to a human body at 35 to 40 ° C. However, it may be moved up and down in consideration of the surrounding environment and the usage environment of the mobile terminal.

これらの結果から、下段に示す図において、顔認識部8によって検出した人物の顔の位置と、温度測定部7が取得した温度分布における人物の顔に相当する温度範囲が一致していることから、スキャン対象領域に人物が含まれていると判定し、図8に示したフローチャートに従って制御を行う。   From these results, the position of the person's face detected by the face recognition unit 8 matches the temperature range corresponding to the person's face in the temperature distribution acquired by the temperature measurement unit 7 in the figure shown in the lower part. Then, it is determined that a person is included in the scan target area, and control is performed according to the flowchart shown in FIG.

また、図10においては、上段左の図においては被写体画像中の右上に人物が写っていると判断しているが、上段右の図においては、人体であると判断するための温度分布(一例として35〜40℃)が検出されていない状態を示している。実際には、他の温度分布が検出されているはずであるが、説明の簡略化のために省略している。なお、被写体画像において人物の顔と判断される箇所以外に対して、人体であると判断するための温度分布が検出されていたとしても、被写体画像中で人物の顔であると判断している部分以外のものについては無視しても良い。   Further, in FIG. 10, it is determined that a person is shown in the upper right in the subject image in the upper left figure, but in the upper right figure, a temperature distribution (one example) for determining that it is a human body. As 35-40 ° C.) is not detected. Actually, other temperature distributions should have been detected, but are omitted for the sake of simplicity. It should be noted that even if a temperature distribution for determining a human body is detected in a portion other than a portion determined to be a human face in the subject image, it is determined to be a human face in the subject image. Anything other than the part may be ignored.

この状態においては、撮像部6で撮影した被写体画像における人物(顔)と、温度測定部7で取得した人物(顔)に相当する温度分布が一致していないことから、スキャン対象領域内に人物が存在しないと判断される。これは、実際に人物がいても温度測定部7によって検知不可能な程度に離れている場合や、被写体画像中では人物と判断される程度に移り込んだ写真やポスターなどに記載された人物である場合に起こり得る。   In this state, the person (face) in the subject image photographed by the imaging unit 6 and the temperature distribution corresponding to the person (face) acquired by the temperature measurement unit 7 do not match, so the person in the scan target area Is determined not to exist. This is the case where a person is included in a photograph or a poster that has moved to such an extent that it can be detected by the temperature measurement unit 7 even if there is an actual person, or is judged to be a person in the subject image. It can happen in some cases.

<第4実施形態>
図11は、本発明の第4実施形態に係るレーザースキャナ付き携帯端末のブロック図である。なお、本実施形態の多くは第3実施形態と同様の構成であるため、異なる点についてのみ説明する。
<Fourth embodiment>
FIG. 11 is a block diagram of a portable terminal with a laser scanner according to the fourth embodiment of the present invention. Since many of the embodiments have the same configuration as that of the third embodiment, only different points will be described.

図11において、角度推定部10は顔認識部8で被写体画像中に人の顔が含まれると判断した場合、顔の領域が表示部3の右側に多く含まれるのか左側に多く含まれるのかを判断する。この推定結果を元に、レーザー部4や警告部5の制御を制御部1が行う。図12は顔の領域が表示部3の右側に多く含まれていて、その場合レーザースキャナ付き携帯端末の使用者の前方右寄りに人がいることを示している。   In FIG. 11, when the angle estimation unit 10 determines that the human face is included in the subject image in the face recognition unit 8, it is determined whether the face region is included on the right side or the left side of the display unit 3. to decide. Based on the estimation result, the control unit 1 controls the laser unit 4 and the warning unit 5. FIG. 12 shows that a lot of face areas are included on the right side of the display unit 3, and in this case, there is a person on the front right side of the user of the portable terminal with a laser scanner.

次に本発明の第4実施形態に係るレーザースキャナ付き携帯端末の動作を図13に示すフローチャートを用いて説明する。初めにレーザースキャナ付き携帯端末の使用者がレーザースキャナ付き携帯端末を起動し、レーザースキャナでバーコードをスキャンする。ただし、この時点でレーザーはまだ出力されず、バーコードはスキャンされない(ステップS401)。   Next, the operation of the portable terminal with a laser scanner according to the fourth embodiment of the present invention will be described with reference to the flowchart shown in FIG. First, a user of a portable terminal with a laser scanner activates the portable terminal with a laser scanner, and scans the barcode with the laser scanner. However, at this time, the laser is not output yet, and the barcode is not scanned (step S401).

次に撮影部6で前記使用者の前方を撮像し被写体画像を得る(ステップS402)。次に温度測定部7で撮影部6が撮像した箇所と同じ箇所の温度を測定し、温度分布を得る(ステップS403)。但し、被写体画像と温度分布を得る順序はこの限りでない。   Next, the imaging unit 6 captures the front of the user to obtain a subject image (step S402). Next, the temperature measurement unit 7 measures the temperature at the same location as the location captured by the imaging unit 6 to obtain a temperature distribution (step S403). However, the order of obtaining the subject image and the temperature distribution is not limited to this.

顔認識部8で、撮影部6から送られてきた被写体画像と温度測定部7から送られてきた温度分布を比較し、被写体画像における顔の位置に相当する温度が人の顔の温度(36度前後)であるか否かを判断する(ステップS404)。   The face recognition unit 8 compares the subject image sent from the photographing unit 6 with the temperature distribution sent from the temperature measurement unit 7, and the temperature corresponding to the face position in the subject image is the temperature of the human face (36). It is determined whether or not (step S404).

被写体画像中に人の顔がないと判断した場合(ステップS404 No)、レーザー部4のレーザーは通常出力レベルのまま出力され、バーコード等がスキャンされる(ステップS408)。   When it is determined that there is no human face in the subject image (No in step S404), the laser of the laser unit 4 is output at the normal output level, and the barcode or the like is scanned (step S408).

顔認識部8によって被写体画像に人の顔が含まれていると判断した場合、角度推定部10で顔の領域が表示部3の右側に多く含まれるのか、左側に多く含まれるのか算出する(ステップS405)。顔の領域が表示部3の右側に多く含まれていると判断した場合(ステップS406 Yes)、使用者から見て前方右側に人がいると判断し、レーザー部4のレーザーの照射範囲を左寄りに制限をした上で(ステップS407)、レーザー部4のレーザーを出力してバーコード等をスキャンする(ステップS410)。   When the face recognition unit 8 determines that a human face is included in the subject image, the angle estimation unit 10 calculates whether the face area is included on the right side or the left side of the display unit 3 (see FIG. Step S405). If it is determined that a lot of face areas are included on the right side of the display unit 3 (step S406 Yes), it is determined that there is a person on the front right side as viewed from the user, and the laser irradiation range of the laser unit 4 is shifted to the left (Step S407), the laser of the laser unit 4 is output and the bar code or the like is scanned (Step S410).

あるいは、顔の領域が表示部3の左側に多く含まれていると判断した場合、使用者から見て前方左側に人がいると判断し、レーザー部4のレーザーの照射範囲を右寄りに制限をした上で(ステップS409)、レーザー部4のレーザーを出力して、バーコード等をスキャンする(ステップS410)。使用者と前方にいる人との左右方向の角度によるレーザー部4の制御は、上記の限りではない。   Alternatively, when it is determined that the face area is included in the left side of the display unit 3, it is determined that there is a person on the left side when viewed from the user, and the laser irradiation range of the laser unit 4 is limited to the right side. After that (step S409), the laser of the laser unit 4 is output and the bar code or the like is scanned (step S410). Control of the laser part 4 by the angle of the left-right direction with a user and the person ahead is not the above-mentioned.

以上説明した通り、第3実施形態および第4実施形態に係るレーザースキャナ付き携帯端末は、カメラにより撮像された被写体画像及び赤外線サーモグラフィにより測定された温度分布を元に人の顔を認識し、様々な人の顔のサイズによりレーザースキャナのレーザー出力レベルを調整する、あるいはレーザー出力をオフする、あるいはレーザーの照射範囲を調整する、あるいは警告を出すといった制御を行い、レーザースキャナ付き携帯端末使用者の前方にいる人に危害が及ぶのを防いでいる。また、レーザースキャナ付き携帯端末の使用者にとって利便性を損なうことが無いようにも考慮されている。   As described above, the portable terminal with a laser scanner according to the third embodiment and the fourth embodiment recognizes a human face based on the subject image captured by the camera and the temperature distribution measured by the infrared thermography. Depending on the size of the person's face, the laser output level of the laser scanner is adjusted, the laser output is turned off, the laser irradiation range is adjusted, or a warning is issued. It prevents harm to those who are ahead. In addition, consideration is given to not impairing convenience for the user of the portable terminal with a laser scanner.

<第5実施形態>
図15は、本発明の第5実施形態に係るレーザースキャナ付き携帯端末のブロック図である。なお、本実施形態の多くは第3実施形態と同様の構成であるため、異なる点についてのみ説明する。
<Fifth Embodiment>
FIG. 15 is a block diagram of a portable terminal with a laser scanner according to the fifth embodiment of the present invention. Since many of the embodiments have the same configuration as that of the third embodiment, only different points will be described.

図15において、制御部1は、第1実施形態で説明したものに加えて、距離測定部11への入出力を行う点で異なる。   In FIG. 15, the control unit 1 is different in that it inputs and outputs to the distance measurement unit 11 in addition to the one described in the first embodiment.

距離測定部11は、ミリ波等を用いた測距センサで構成され、顔認識部8で被写体画像中に人の顔が含まれると判断をした場合、使用者と前方にいる人(顔が認識された人)との距離を測定する。距離の推定結果及び測定結果を元に、レーザー部4や警告部5の制御を制御部1が行う。   The distance measuring unit 11 is composed of a distance measuring sensor using millimeter waves or the like, and when the face recognition unit 8 determines that a human face is included in the subject image, the user and the person in front (the face is Measure the distance to the recognized person). The control unit 1 controls the laser unit 4 and the warning unit 5 based on the distance estimation result and the measurement result.

次に本発明の第5実施形態に係るレーザースキャナ付き携帯端末の動作を図16に示すフローチャートを用いて説明する。初めにレーザースキャナ付き携帯端末の使用者がレーザースキャナ付き携帯端末を起動し、レーザースキャナでバーコードをスキャンする。ただし、この時点でレーザーはまだ出力されず、バーコードはスキャンされない(ステップS501)。   Next, the operation of the portable terminal with a laser scanner according to the fifth embodiment of the present invention will be described with reference to the flowchart shown in FIG. First, a user of a portable terminal with a laser scanner activates the portable terminal with a laser scanner, and scans the barcode with the laser scanner. However, at this time, the laser is not output yet, and the barcode is not scanned (step S501).

次に撮影部6で使用者の前方を撮像して被写体画像を得る(ステップS502)。次に温度測定部7で撮影部6が撮像した箇所と同じ個所の温度を測定し、温度分布を得る(ステップS503)。但し、被写体画像と温度分布を得る順序はこの限りでない。   Next, the photographing unit 6 captures the front of the user and obtains a subject image (step S502). Next, the temperature of the same location as the location imaged by the imaging unit 6 is measured by the temperature measurement unit 7 to obtain a temperature distribution (step S503). However, the order of obtaining the subject image and the temperature distribution is not limited to this.

顔認識部8で、撮影部6から送られてきた被写体画像と温度測定部7から送られてきた温度分布を比較し、被写体画像における顔に相当する位置の温度が人の顔の温度であるか否かを判断する(ステップS504)。被写体画像に人の顔が含まれていないと判断した場合、レーザー部4のレーザーは通常出力レベルのまま出力され、バーコード等がスキャンされる(ステップS513)。   The face recognition unit 8 compares the subject image sent from the photographing unit 6 with the temperature distribution sent from the temperature measurement unit 7, and the temperature at the position corresponding to the face in the subject image is the temperature of the human face. Whether or not (step S504). When it is determined that the human face is not included in the subject image, the laser of the laser unit 4 is output at the normal output level, and the bar code or the like is scanned (step S513).

顔認識部8で被写体画像に人の顔が含まれていると判しれた場合、距離推定部9で顔の領域を算出し(ステップS505)、使用者と使用者の前方にいる人(顔が認識された人)との距離を推定する(ステップS506)。   When the face recognition unit 8 determines that a human face is included in the subject image, the distance estimation unit 9 calculates a face area (step S505), and the user and the person in front of the user (face Is estimated (step S506).

距離推定部9で推定された距離は、制御部1によって記憶部2に保存されている制御テーブルを参照、比較しレーザー部4の制御を決める。使用者と使用者の前方にいる人との距離が1m未満の場合(ステップS507 Yes)、レーザー部4のレーザーはオフされ(ステップS508)、レーザースキャナ付き携帯端末の表示部3に対して、人が前方にいるためレーザー部4のレーザー出力をオフしたことを示す画面表示や音声、振動等の手段を擁する警告部5で前記使用者に警告を出す(ステップS509)。   The distance estimated by the distance estimation unit 9 determines the control of the laser unit 4 by referring to and comparing the control table stored in the storage unit 2 by the control unit 1. When the distance between the user and the person in front of the user is less than 1 m (step S507 Yes), the laser of the laser unit 4 is turned off (step S508), and the display unit 3 of the portable terminal with a laser scanner is The warning is given to the user by the warning unit 5 having means such as a screen display indicating that the laser output of the laser unit 4 is turned off because a person is in front, voice, vibration, etc. (step S509).

使用者と使用者の前方にいる人との距離が1m以上の場合(ステップS507 No)、ミリ波等を用いて構成された距離測定部11で使用者と使用者の前方にいる人との距離を測定する(ステップS510)。   When the distance between the user and the person in front of the user is 1 m or more (No in step S507), the distance measuring unit 11 configured using millimeter waves or the like is used to connect the user and the person in front of the user. The distance is measured (step S510).

使用者と使用者の前方にいる人との距離が2m未満の場合(ステップS511 Yes)、レーザー部4のレーザーは、出力を弱めてレーザー出力されてバーコード等がスキャンされる(ステップS512)。距離が2m以上の場合(ステップS511 No)、レーザー部4のレーザーは、通常出力レベルのまま出力されてバーコード等がスキャンされる(ステップS513)。使用者と前方にいる人との距離による制御方法は、上記の限りではない。図17及び図18は、使用者の前方に人がいるか否かを顔認識部8で判断する際のイメージ図である。   If the distance between the user and the person in front of the user is less than 2 m (Yes in step S511), the laser of the laser unit 4 is output with the output weakened, and the bar code and the like are scanned (step S512). . When the distance is 2 m or longer (No in step S511), the laser of the laser unit 4 is output at the normal output level, and the bar code or the like is scanned (step S513). The control method based on the distance between the user and the person in front is not limited to the above. 17 and 18 are image diagrams when the face recognition unit 8 determines whether or not there is a person in front of the user.

図17において、上段左の図に示すのが、使用者が撮像部6で撮影した被写体画像であり、画像内の右上に人物が写っている。顔認識部8は、この被写体画像内において、顔認識処理を実行することによって被写体画像中における矢印で示している部分に人物の顔が含まれていることを検知している。また、上段右の図には、温度測定部7によって取得した温度分布を示しており、取得領域内の右上に、周囲に比べて温度の高い部分が表示されている。本実施形態としては、一例として35〜40℃であれば人物に相当すると判断しているが、周囲の環境や携帯端末の利用環境を考慮して上下させても良い。   In FIG. 17, an upper left diagram shows a subject image taken by the user with the imaging unit 6, and a person is shown at the upper right in the image. The face recognition unit 8 detects that a person's face is included in a portion indicated by an arrow in the subject image by executing face recognition processing in the subject image. Moreover, the upper right figure shows the temperature distribution acquired by the temperature measurement unit 7, and a portion having a higher temperature than the surroundings is displayed at the upper right in the acquisition region. In this embodiment, as an example, it is determined that it corresponds to a person at 35 to 40 ° C. However, it may be moved up and down in consideration of the surrounding environment and the use environment of the mobile terminal.

これらの結果から、下段に示す図において、顔認識部8によって検出した人物の顔の位置と、温度測定部7が取得した温度分布における人物の顔に相当する温度範囲が一致していることから、スキャン対象領域に人物が含まれていると判定し、図16に示したフローチャートに従って制御を行う。   From these results, the position of the person's face detected by the face recognition unit 8 matches the temperature range corresponding to the person's face in the temperature distribution acquired by the temperature measurement unit 7 in the figure shown in the lower part. Then, it is determined that a person is included in the scan target area, and control is performed according to the flowchart shown in FIG.

また、図18においては、上段左の図においては被写体画像中の右上に人物が写っていると判定しているが、上段右の図においては、人物に相当すると判断するための温度分布(一例として35〜40℃)が確認できていない状態を示している。なお、被写体画像において人物の顔と判断される箇所以外に対して、人体であると判断するための温度分布が検出されていたとしても、被写体画像中で人物の顔であると判断している部分以外のものについては無視しても良い。   In FIG. 18, it is determined that a person is shown in the upper right in the subject image in the upper left figure, but in the upper right figure, a temperature distribution for determining that it corresponds to a person (an example) As for 35-40 degreeC), the state which has not been confirmed is shown. It should be noted that even if a temperature distribution for determining a human body is detected in a portion other than a portion determined to be a human face in the subject image, it is determined to be a human face in the subject image. Anything other than the part may be ignored.

この状態においては、撮像部6で撮影した被写体画像における人物(顔)と、温度測定部7で取得した人物(顔)に相当する温度分布が一致していないことから、スキャン対象領域内に人物が存在しないと判断される。これは、実際に人物がいても温度測定部7によって検知不可能な程度に離れている場合や、被写体画像中では人物と判断される程度に移り込んだ写真やポスターなどに記載された人物である場合に起こり得る。   In this state, the person (face) in the subject image photographed by the imaging unit 6 and the temperature distribution corresponding to the person (face) acquired by the temperature measurement unit 7 do not match, so the person in the scan target area Is determined not to exist. This is the case where a person is included in a photograph or a poster that has moved to such an extent that it can be detected by the temperature measurement unit 7 even if there is an actual person, or is judged to be a person in the subject image. It can happen in some cases.

<第6実施形態>
図19は、本発明の第6実施形態に係るレーザースキャナ付き携帯端末のブロック図である。なお、本実施形態の多くは第5実施形態と同様の構成であるため、異なる点についてのみ説明する。
<Sixth Embodiment>
FIG. 19 is a block diagram of a portable terminal with a laser scanner according to the sixth embodiment of the present invention. Since many of the embodiments have the same configuration as that of the fifth embodiment, only different points will be described.

図19において、制御部1は、第5実施形態で説明したものに加えて、角度推定部10への入出力を行う点で異なる。角度推定部10は顔認識部8で被写体画像中に人の顔が含まれると判断した場合、顔の領域が表示部3の上下方向の中央線に近いか離れているかを判断する。この推定結果を元に、レーザー部4や警告部5の制御を制御部1が行う。ここでは、レーザー部4のレーザーは表示部3の中心線に表示される方向に出力される。   In FIG. 19, in addition to what was demonstrated in 5th Embodiment, the control part 1 differs by the point which performs the input-output to the angle estimation part 10. In FIG. When the face recognizing unit 8 determines that the subject image includes a human face, the angle estimating unit 10 determines whether the face region is close to or away from the vertical center line of the display unit 3. Based on the estimation result, the control unit 1 controls the laser unit 4 and the warning unit 5. Here, the laser of the laser unit 4 is output in the direction displayed on the center line of the display unit 3.

図20の左図では、顔の領域が表示部3の中央線から離れており、この場合、レーザー部4から出力されるレーザーとレーザースキャナ付き携帯端末の使用者の前方にいる人の顔が離れている状態を示している。図20の右図にはレーザースキャナ付き携帯端末と被写体人物を横から見た状態を示しており、本実施形態においては、表示部3の中央線はレーザー部4のレーザー出力の位置を示しているが、レーザー部4のレーザー出力位置はこの限りではない。また、顔の領域が表示部3の中央線に近いか離れているかの閾値は、この限りではなく任意に決められる。   In the left diagram of FIG. 20, the face area is separated from the center line of the display unit 3, and in this case, the face of the person who is in front of the laser output from the laser unit 4 and the user of the portable terminal with a laser scanner is shown. It shows a state of being separated. The right diagram in FIG. 20 shows a state where the portable terminal with a laser scanner and the subject person are viewed from the side. In this embodiment, the center line of the display unit 3 indicates the position of the laser output of the laser unit 4. However, the laser output position of the laser unit 4 is not limited to this. Further, the threshold value of whether the face region is close to or away from the center line of the display unit 3 is not limited to this, and can be arbitrarily determined.

次に本発明の第6実施形態に係るレーザースキャナ付き携帯端末の第6の実施例における動作を、図21のフローチャートを用いて説明する。初めにレーザースキャナ付き携帯端末の使用者がレーザースキャナ付き携帯端末を起動し、レーザースキャナでバーコードをスキャンする。ただし、この時点でレーザーはまだ出力されず、バーコードはスキャンされない(ステップS601)。   Next, the operation in the sixth example of the portable terminal with a laser scanner according to the sixth embodiment of the present invention will be described with reference to the flowchart of FIG. First, a user of a portable terminal with a laser scanner activates the portable terminal with a laser scanner, and scans the barcode with the laser scanner. However, at this time, the laser is not output yet, and the barcode is not scanned (step S601).

次に撮影部6で前記使用者の前方を撮像し被写体画像を得る(ステップS602)。次に温度測定部7で撮影部6が撮像した箇所と同じ箇所の温度を測定し、温度分布を得る(ステップS603)。但し、被写体画像と温度分布を得る順序はこの限りでない。   Next, the imaging unit 6 captures the front of the user and obtains a subject image (step S602). Next, the temperature measurement unit 7 measures the temperature at the same location as the location captured by the imaging unit 6 to obtain a temperature distribution (step S603). However, the order of obtaining the subject image and the temperature distribution is not limited to this.

顔認識部8で、撮影部6から送られてきた被写体画像と温度測定部7から送られてきた温度分布を比較し、被写体画像の顔の位置の温度が人の顔の温度であるか否か判断をする(ステップS604)。被写体画像に人の顔が含まれていないと判断した場合(ステップS604 No)、レーザー部4のレーザーは通常出力レベルのまま出力され、バーコード等がスキャンされる(ステップS607)。   The face recognition unit 8 compares the subject image sent from the photographing unit 6 with the temperature distribution sent from the temperature measurement unit 7, and determines whether the temperature of the face position of the subject image is the human face temperature. Is determined (step S604). When it is determined that the human face is not included in the subject image (No in step S604), the laser of the laser unit 4 is output at the normal output level, and the barcode or the like is scanned (step S607).

顔認識部8で被写体画像に人の顔が含まれていると判断した場合(ステップS604 Yes)、角度推定部10で顔の領域が表示部3の中央線に近いか離れているかを調べる(ステップS605)。顔の領域が表示部3の中央線から離れている場合(ステップS606 Yes)、レーザー部4のレーザーは通常出力レベルのまま出力され、バーコード等がスキャンされる(ステップS607)。   If the face recognition unit 8 determines that a human face is included in the subject image (Yes in step S604), the angle estimation unit 10 checks whether the face area is close to or away from the center line of the display unit 3 ( Step S605). When the face area is away from the center line of the display unit 3 (Yes in step S606), the laser of the laser unit 4 is output at the normal output level, and the barcode or the like is scanned (step S607).

顔の領域が表示部3の中央線に近い場合、距離推定部9で顔の領域を算出し(ステップS608)、使用者と使用者の前方にいる人との距離を推定する(ステップS609)。距離推定部9で推定された距離を元に、制御部1によって記憶部2に保存されている制御テーブルを参照、比較しレーザー部4の制御を決める。   When the face area is close to the center line of the display unit 3, the distance estimation unit 9 calculates the face area (step S608), and estimates the distance between the user and the person in front of the user (step S609). . Based on the distance estimated by the distance estimation unit 9, the control unit 1 refers to and compares the control table stored in the storage unit 2 to determine the control of the laser unit 4.

使用者と使用者の前方にいる人との距離が1m未満の場合(ステップS610 Yes)、レーザー部4のレーザーはオフされ(ステップS611)、レーザースキャナ付き携帯端末の表示部3に人が前方にいるためレーザー部4のレーザー出力をオフしたことを示す画面表示や音声、振動等の手段を擁する警告部5で前記使用者に警告を出す(ステップS612)。   When the distance between the user and the person in front of the user is less than 1 m (Yes at Step S610), the laser of the laser unit 4 is turned off (Step S611), and the person moves forward on the display unit 3 of the portable terminal with a laser scanner. Therefore, a warning is given to the user by the warning unit 5 having means such as a screen display indicating that the laser output of the laser unit 4 is turned off, sound, vibration, etc. (step S612).

使用者と使用者の前方にいる人との距離が1m以上の場合(ステップS610 No)、ミリ波等を用いて構成された距離測定部11で使用者と使用者の前方にいる人との距離を測定する(ステップS613)。続けて、使用者と使用者の前方にいる人との距離が2m未満の場合(ステップS614 Yes)、レーザー部4のレーザーは出力を弱めてレーザー出力され、バーコード等がスキャンされる(ステップS615)。   When the distance between the user and the person in front of the user is 1 m or more (No in step S610), the distance between the user and the person in front of the user in the distance measuring unit 11 configured using millimeter waves or the like. The distance is measured (step S613). Subsequently, when the distance between the user and the person in front of the user is less than 2 m (Yes in step S614), the laser of the laser unit 4 is weakened to output the laser, and the bar code and the like are scanned (step) S615).

距離が2m以上の場合、レーザー部4のレーザーは通常出力レベルのまま出力され、バーコード等がスキャンされる(ステップS607)。なお、前方にいる人とレーザー部4のレーザー光の位置関係によるレーザー部4の制御は、上記の限りではない。   When the distance is 2 m or more, the laser of the laser unit 4 is output at the normal output level, and the bar code or the like is scanned (step S607). The control of the laser unit 4 based on the positional relationship between the person in front and the laser beam of the laser unit 4 is not limited to the above.

以上のように構成されたレーザースキャナ付き携帯端末において、図22を用いて記憶部2に保存されている距離−レーザー出力レベル変換テーブルについて説明する。距離は「1m未満」、「1m以上2m未満」、「2m以上」の3つに分け、それぞれに対応するようにレーザー部4の出力を「オフ」、「50%低下する」、「通常出力のまま使用する」としている。これらは一例であり、使用するレーザーの能力により距離を変えたりレーザー部4の出力を変えたりしても良い。レーザースキャナ付き携帯端末の使用者と前方にいる人との距離、およびレーザー部4の制御の関係は、この限りではない。   In the portable terminal with a laser scanner configured as described above, a distance-laser output level conversion table stored in the storage unit 2 will be described with reference to FIG. The distance is divided into three: “less than 1 m”, “1 m or more and less than 2 m”, and “2 m or more”, and the output of the laser unit 4 is “off”, “reduced by 50%”, “normal output” to correspond to each. Use as is. " These are merely examples, and the distance may be changed or the output of the laser unit 4 may be changed depending on the ability of the laser used. The relationship between the distance between the user of the portable terminal with a laser scanner and the person in front and the control of the laser unit 4 is not limited to this.

1 制御部
2 記憶部
3 表示部
4 レーザー部
5 警告部
6 撮影部
7 温度測定部
8 顔認識部
9 距離推定部
10 角度推定部
11 距離測定部


DESCRIPTION OF SYMBOLS 1 Control part 2 Memory | storage part 3 Display part 4 Laser part 5 Warning part 6 Image | photographing part 7 Temperature measurement part 8 Face recognition part 9 Distance estimation part 10 Angle estimation part 11 Distance measurement part


Claims (6)

レーザースキャナと、
前記レーザースキャナのスキャン領域を撮影可能な撮影部と、
前記撮影部で撮影した被写体画像中に人物の顔が含まれていることを検知する顔認識部と、
前記撮影部と前記被写体との距離を推定する距離推定部と、
前記距離推定部の距離推定結果に応じてレーザー部の出力を制御する制御部と
を備え、
前記レーザースキャナによってスキャンする際に、前記撮影部で撮像した被写体画像に人の顔が含まれていると前記顔認識部が判断した場合は、前記距離推定部により前記被写体との距離を推定し、
前記制御部は、前記距離推定部が推定した距離に応じて前記レーザースキャナの出力を制御することを特徴とするレーザースキャナ付き携帯端末。
A laser scanner,
An imaging unit capable of imaging the scan area of the laser scanner;
A face recognition unit for detecting that a human face is included in the subject image photographed by the photographing unit;
A distance estimation unit that estimates a distance between the photographing unit and the subject;
A control unit for controlling the output of the laser unit according to the distance estimation result of the distance estimation unit,
When the face recognition unit determines that the subject image captured by the imaging unit includes a human face when scanning by the laser scanner, the distance estimation unit estimates the distance to the subject. ,
The portable terminal with a laser scanner, wherein the control unit controls the output of the laser scanner according to the distance estimated by the distance estimation unit.
レーザースキャナと、
前記レーザースキャナのスキャン領域を撮影可能な撮影部と、
前記撮影部で撮影した被写体画像中に人物の顔が含まれていることを検知する顔認識部と、
前記被写体画像における前記人物の顔の位置から、前記撮影部に対して前記人物がなす角を推定する角度推定部と、
前記角度推定部の角度推定結果に応じてレーザー部の出力を制御する制御部と
を備え、
前記レーザースキャナによってスキャンする際に、前記撮影部で撮像した被写体画像に人の顔が含まれていると前記顔認識部が判断した場合は、前記角度推定部により前記人物がなす角を推定し、
前記制御部は、前記角度推定部が推定した角度に応じて前記レーザースキャナの出力を制御することを特徴とするレーザースキャナ付き携帯端末。
A laser scanner,
An imaging unit capable of imaging the scan area of the laser scanner;
A face recognition unit for detecting that a human face is included in the subject image photographed by the photographing unit;
An angle estimation unit that estimates an angle formed by the person with respect to the photographing unit from the position of the face of the person in the subject image;
A control unit for controlling the output of the laser unit according to the angle estimation result of the angle estimation unit,
When the face recognition unit determines that the subject image captured by the imaging unit includes a human face when scanning by the laser scanner, the angle estimation unit estimates the angle formed by the person. ,
The portable terminal with a laser scanner, wherein the control unit controls the output of the laser scanner according to the angle estimated by the angle estimation unit.
前記距離推定部は、前記撮像部によって撮像した画像内における人物の顔のサイズに基づいて距離の推定を行うことを特徴とする請求項1に記載のレーザースキャナ付き携帯端末。   The portable terminal with a laser scanner according to claim 1, wherein the distance estimation unit estimates a distance based on a size of a human face in an image captured by the imaging unit. 前記角度推定部は、前記撮像部によって撮像した画像内における人物の顔の位置に基づいて前記撮影部に対して前記人物がなす角を推定することを特徴とする請求項2に記載のレーザースキャナ付き携帯端末。   The laser scanner according to claim 2, wherein the angle estimation unit estimates an angle formed by the person with respect to the photographing unit based on a position of a person's face in an image captured by the imaging unit. With mobile phone. 前記レーザースキャナのスキャン領域を含む空間の温度を計測する温度計測部を備え、
前記距離推定部の推定結果と、前記温度計測部の計測結果との両方の結果を照合することで前記スキャン領域に人物が存在することを検知することを特徴とする請求項1または3に記載のレーザースキャナ付き携帯端末。
A temperature measurement unit for measuring the temperature of a space including a scan area of the laser scanner;
4. The presence of a person in the scan area is detected by comparing both the estimation result of the distance estimation unit and the measurement result of the temperature measurement unit. Mobile terminal with laser scanner.
前記制御部は、
前記距離推定部が推定した距離が第1閾値よりも短いときに、前記レーザースキャナの出力を低下させ、
前記距離推定部が推定した距離が前記第1閾値よりも小さい第2閾値よりも小さいときに、前記レーザースキャナが出力を行わないように制御することを特徴とする請求項1または3に記載のレーザースキャナ付き携帯端末。
The controller is
When the distance estimated by the distance estimation unit is shorter than the first threshold, the output of the laser scanner is reduced,
4. The control according to claim 1, wherein the laser scanner is controlled not to output when the distance estimated by the distance estimation unit is smaller than a second threshold smaller than the first threshold. 5. Mobile terminal with laser scanner.
JP2017109757A 2017-06-02 2017-06-02 Portable terminal with laser scanner Pending JP2018206003A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017109757A JP2018206003A (en) 2017-06-02 2017-06-02 Portable terminal with laser scanner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017109757A JP2018206003A (en) 2017-06-02 2017-06-02 Portable terminal with laser scanner

Publications (1)

Publication Number Publication Date
JP2018206003A true JP2018206003A (en) 2018-12-27

Family

ID=64957884

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017109757A Pending JP2018206003A (en) 2017-06-02 2017-06-02 Portable terminal with laser scanner

Country Status (1)

Country Link
JP (1) JP2018206003A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022027295A (en) * 2020-07-31 2022-02-10 株式会社Zmp Map data creation system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022027295A (en) * 2020-07-31 2022-02-10 株式会社Zmp Map data creation system
JP7079451B2 (en) 2020-07-31 2022-06-02 株式会社Zmp Map data creation system

Similar Documents

Publication Publication Date Title
JP6992000B2 (en) Methods and equipment for scanning barcodes and determining dimensions
US20190025544A1 (en) Imaging apparatus and focus control method
JP5725793B2 (en) Imaging apparatus and control method thereof
KR102143456B1 (en) Depth information acquisition method and apparatus, and image collection device
KR101740231B1 (en) Method and apparatus for estimating 3d face position
US9729775B2 (en) Auto-focusing method and auto-focusing device
CN108700408B (en) Three-dimensional shape data and texture information generation system, method and shooting control method
US8379138B2 (en) Imaging apparatus, imaging apparatus control method, and computer program
JP6464281B2 (en) Information processing apparatus, information processing method, and program
JP2012042833A (en) Imaging apparatus and imaging apparatus control method
CN105611153A (en) Image processing method and electronic device
JP6456783B2 (en) Bar arrangement measuring device
KR20110029002A (en) Apparatus and method for face determination
JP2014011642A (en) Portable terminal device, and control method and program for the same
JP2018206003A (en) Portable terminal with laser scanner
JP2015141215A (en) Head-mounted display device
KR101919138B1 (en) Method and apparatus for remote multi biometric
JP2014142832A (en) Image processing apparatus, control method of image processing apparatus, and program
JPWO2017134880A1 (en) Information processing apparatus, information processing method, and program
JP6789899B2 (en) Measuring device and operating method of measuring device
CN105303576B (en) Edge detection method and device
CN113865481B (en) Object size measuring method, device and storage medium
KR101590004B1 (en) Device for obtaining size information of object using laser beam
JP2011205321A (en) Imaging device, and object detection method
KR20080075333A (en) Apparatus for photographing face image in picture area exactly