JP7602951B2 - Imaging device, imaging method, imaging program, and recording medium - Google Patents
Imaging device, imaging method, imaging program, and recording medium Download PDFInfo
- Publication number
- JP7602951B2 JP7602951B2 JP2021058109A JP2021058109A JP7602951B2 JP 7602951 B2 JP7602951 B2 JP 7602951B2 JP 2021058109 A JP2021058109 A JP 2021058109A JP 2021058109 A JP2021058109 A JP 2021058109A JP 7602951 B2 JP7602951 B2 JP 7602951B2
- Authority
- JP
- Japan
- Prior art keywords
- imaging
- image
- unit
- time
- vehicle
- 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
Links
- 238000003384 imaging method Methods 0.000 title claims description 179
- 238000000605 extraction Methods 0.000 claims description 40
- 239000000284 extract Substances 0.000 claims description 29
- 230000008921 facial expression Effects 0.000 claims description 15
- 238000005259 measurement Methods 0.000 claims description 13
- 230000008859 change Effects 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 claims description 5
- 230000009471 action Effects 0.000 description 9
- 230000006870 function Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 6
- 238000010191 image analysis Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000000034 method Methods 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000014509 gene expression Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
Images
Landscapes
- Studio Devices (AREA)
Description
本発明は、撮像装置、撮像方法、撮像プログラム及び記録媒体に関する。 The present invention relates to an imaging device, an imaging method, an imaging program, and a recording medium.
予め撮影された複数の画像の中から、ベストショットの静止画等の目的の画像を抽出する技術が知られている。 Technology is known that extracts a desired image, such as a best still image, from multiple images captured in advance.
例えば、特許文献1には、動画データを静止画像化する場合に、撮影タイミング(シャッター操作タイミング)で得られた画像をメインフレームとして配置すると共に、その撮影タイミングの前に得られた所定数分のフレーム画像をその他のフレーム画像として配置した静止画を作成する撮像装置が開示されている。
For example,
上記のような撮像装置において、ユーザーの撮影の指示のタイミングと、目的の画像が実際に撮影されたタイミングとが合わない場合も多く、ユーザーからの指示があったタイミングで得られた画像を静止画像化しても、ユーザーが撮像したいと希望する画像が抽出されない場合もあることが課題の1つとして挙げられる。 In imaging devices like the one described above, the timing of the user's instruction to shoot often does not match the timing when the desired image is actually captured, and one of the issues is that even if the image obtained at the time of the user's instruction is converted into a still image, the image that the user wanted to capture may not be extracted.
本発明は上記した点に鑑みてなされたものであり、ユーザーによる撮像指示に従って撮像する撮像装置において、ユーザーが撮像を希望する風景が映った画像を高い確率で取得することを可能とする撮像装置、撮像方法、撮像プログラム及び記録媒体を提供することを目的の1つとしている。 The present invention has been made in consideration of the above points, and one of its objectives is to provide an imaging device, imaging method, imaging program, and recording medium that enables an image capturing the scenery that the user wishes to capture to be obtained with a high probability in an imaging device that captures images according to imaging instructions from a user.
請求項1に記載の発明は、移動体と共に移動し、前記移動体外の映像を撮像する撮像部により最近撮像された連続画像を記憶する記憶部と、ユーザーの操作による撮像指示を受付ける受付部と、前記受付部が撮像指示を受付けた時点から第1時間遡った時点までの期間内における前記移動体内の状況、又は前記移動体外の状況に基づいて、前記期間内における基準タイミングを設定する設定部と、前記基準タイミングを基準とする1又は複数のタイミングの各々において前記撮像部により撮像された所定数の画像を、前記記憶部から撮像画像として抽出する抽出部と、を備える。
The invention described in
請求項11に記載の発明は、撮像装置によって実行される撮像方法であって、移動体と共に移動し、前記移動体外の映像を撮像する撮像部により最近撮像された連続画像を記憶部に記憶する記憶ステップと、ユーザーの操作による撮像指示を受付ける受付ステップと、前記受付ステップにおいて前記撮像指示を受付けた時点から第1時間遡った時点までの期間内における前記移動体内の状況、又は前記移動体外の状況に基づいて、前記期間内における基準タイミングを設定する設定ステップと、前記設定ステップにおいて設定された前記基準タイミングを基準とする1又は複数のタイミングの各々において前記撮像部により撮像された所定数の画像を、前記記憶部から撮像画像として抽出する抽出ステップと、を含む。
The invention described in
請求項12に記載の発明は、コンピュータを備える撮像装置によって実行される撮像プログラムであって、前記コンピュータに、移動体と共に移動し、前記移動体外の映像を撮像する撮像部により最近撮像された連続画像を記憶部に記憶する記憶ステップと、ユーザーの操作による撮像指示を受付ける受付ステップと、前記受付ステップにおいて前記撮像指示を受付けた時点から第1時間遡った時点までの期間内における前記移動体内の状況、又は前記移動体外の状況に基づいて、前記期間内における基準タイミングを設定する設定ステップと、前記設定ステップにおいて設定された前記基準タイミングを基準とする1又は複数のタイミングの各々において前記撮像部により撮像された所定数の画像を、前記記憶部から撮像画像として抽出する抽出ステップと、を実行させる。 The invention described in claim 12 is an imaging program executed by an imaging device equipped with a computer, which causes the computer to execute a storage step of storing in a storage unit consecutive images captured recently by an imaging unit that moves with a moving object and captures video outside the moving object, a reception step of receiving an imaging instruction by a user's operation, a setting step of setting a reference timing within the period based on the situation inside the moving object or the situation outside the moving object within the period from the time when the imaging instruction was received in the reception step to a time going back a first time, and an extraction step of extracting from the storage unit a predetermined number of images captured by the imaging unit at one or more timings based on the reference timing set in the setting step as captured images.
以下に本発明の実施例について詳細に説明する。なお、以下の説明及び添付図面においては、実質的に同一又は等価な部分には同一の参照符号を付している。 The following describes in detail an embodiment of the present invention. In the following description and the accompanying drawings, the same reference numerals are used to refer to substantially the same or equivalent parts.
図1~図3を参照しつつ、実施例に係る撮像装置10の構成について説明する。図1は、実施例に係る撮像装置10が搭載されている移動体の一例としての車両Mの前席部分を示す図である。
The configuration of the
図1に示すように、撮像装置10は、車両Mのセンターコンソールに配置されている。撮像装置10は、車両Mから外部の風景を映した映像を取得し、ユーザーからの撮像の指示に応じて当該映像から撮像画像として画像を抽出する装置である。
As shown in FIG. 1, the
以下の説明において、撮像指示をする者をユーザーと称し、ユーザーを含み車両M内に居る者を乗員と称する。 In the following description, the person issuing the image capture command is referred to as the user, and anyone in the vehicle M, including the user, is referred to as an occupant.
撮像部としての車外カメラ11は、ルームミラーRMの裏、すなわちフロントガラスFGに対向する面に設けられている。車外カメラ11は、車両Mの進行方向を撮影方向としている。車両Mの進行方向を前方としたとき、車外カメラ11は、車両Mの前方、右前方及び左前方を含む範囲の画像を撮影可能に配置されている。従って、車外カメラ11は、車両Mの前席に搭乗する乗員の前方を見ている際の視界の範囲内の画像を撮影可能である。車外カメラ11は、撮像装置10と通信可能に接続されており、撮影した映像の信号を撮像装置10に送信することが可能である。
The
撮像装置10は、車外カメラ11によって撮像された動画を取得して記憶する。言い換えれば、本実施例において、撮像装置10は、いわゆるドライブレコーダと同様の機能を有する。
The
車外カメラ11は、車両Mの前方の映像を撮影可能であれば車両Mのいずれの箇所に設けられてもよい。例えば、車外カメラ11は、ダッシュボードDB上に配されていてもよく、車両Mの外側面(外装面)、例えばボンネット上またはフロントバンパー等に設けられていてもよい。
The
撮像部としての車内カメラ13は、フロントガラスFGの上方の、車外カメラ11の近傍に設けられている。車内カメラ13は、車両Mの内部を撮影方向としている。車内カメラ13は、車両Mの前席に搭乗するユーザーを含む乗員の映像を撮像可能に配置されている。
The in-
車内カメラ13は、撮像装置10と通信可能に接続されており、撮影した映像の信号を撮像装置10に送信することが可能である。撮像装置10は、車内カメラ13によって撮像された動画を取得して記憶する。
The in-
車内カメラ13は、車両M内に居るユーザーを含む乗員を撮影可能であれば車両Mのいずれの箇所に設けられてもよい。例えば、車外カメラ11は、ダッシュボードDB上に配されていてもよい。
The in-
マイク15は、車両M内の音を集音可能に配置された音声入力装置である。マイク15は、撮像装置10と通信可能に接続されており、集音した音を電気信号に変換して撮像装置10に送信することが可能である。
The
撮像装置10は、マイク15から車両M内の音を示す信号を受信して、ユーザーの発話に基づく音声について音声認識を行い、特定の言葉を認識した場合に、当該音声をユーザーからの撮像指示として認識する。
The
また、撮像装置10は、マイク15から受信した信号に基づいて、車両M内の音を示す情報を記憶する。例えば、当該車両M内の音には、車両M内の乗員が発する声又は当該乗員が立てる音が含まれる。
The
タッチパネルディスプレイ17は、タッチパネル及びディスプレイからなる。タッチパネルディスプレイ17は、撮像装置10と通信可能に接続されている。タッチパネルディスプレイ17のディスプレイは、撮像装置10から供給される画像を表示する。タッチパネルディスプレイ17のタッチパネルは、タッチパネルへの接触による入力操作を示す信号を撮像装置10に送信する。
The
例えば、タッチパネルディスプレイ17は、撮像装置10への撮像指示を示すボタンをディスプレイに表示する。例えば、撮像装置10は、当該撮像指示を示すボタンが押されると、タッチパネルディスプレイ17のタッチパネルを介して、ユーザーからの撮像指示を受け付ける。
For example, the
撮像装置10は、マイク15又はタッチパネルディスプレイ17を介してユーザーからの音声操作又はタッチパネルへの接触操作による撮像指示を示す入力操作を受け付けると、記憶している動画を用いて撮像画像としての静止画を撮像する。具体的には、撮像装置10は、記憶されている動画を構成する多数のフレーム画像の中から所定数のフレーム画像を抽出して静止画を生成する。撮像装置10は、当該抽出された静止画をサーバ(図示せず)に送信する、すなわちアップロードする。
When the
図2は、撮像装置10の構成を示すブロック図である。図2に示すように、撮像装置10は、システムバス19を介して各部が接続されて構成されている。
Figure 2 is a block diagram showing the configuration of the
入力部21は、撮像装置10と車両M1に備えられた機器とを通信可能に接続するインターフェースである。
The
入力部21は、撮像装置10と、車外カメラ11及び車内カメラ13とを通信可能に接続する。また、入力部21は、撮像装置10と、マイク15とを通信可能に接続する。
The
入力部21は、撮像装置10と、タッチパネルディスプレイ17のタッチパネルとを通信可能に接続する。
The
入力部21は、撮像装置10と測距センサ23とを通信可能に接続するインターフェースである。測距センサ23は、車両Mの周辺の、車外カメラ11の撮像方向に存在する物体と車両Mとの間の距離を測定するセンサである。
The
本実施例において、車外カメラ11の撮像方向に存在し、測距センサ23によって検出される物体を、車両Mからの景色の視認を妨げる障害物とする。本実施例において、車両Mと障害物との距離が近い場合、車両Mからの景色の視認に対して障害物の影響が大きいと考える。また、車両Mと障害物との距離が遠い場合、車両Mからの景色の視認に対して障害物の影響は小さいと考える。
In this embodiment, an object that is present in the imaging direction of the
測距センサ23は、超音波センサ(ソナー(SONAR;Sound Navigation And Ranging))、LiDAR(Light Detection and Ranging)又はミリ波レーダ等のセンサであって、車外カメラ11の撮像方向に存在する障害物の有無の検出及び距離の測定が可能であるように車両Mに取り付けられている。
The distance sensor 23 is a sensor such as an ultrasonic sensor (SONAR; Sound Navigation And Ranging), LiDAR (Light Detection And Ranging), or millimeter wave radar, and is attached to the vehicle M so that it can detect the presence or absence of an obstacle in the imaging direction of the
本実施例において、測距センサ23は、例えばミリ波レーダである。例えば、測距センサ23は、車両Mの前側のバンパーに取り付けられている。なお、測距センサ23は、ソナー、ミリ波レーダ及びLiDARのいずれかであってもよく、これらの任意の組み合わせでもよい。 In this embodiment, the distance measurement sensor 23 is, for example, a millimeter wave radar. For example, the distance measurement sensor 23 is attached to the front bumper of the vehicle M. Note that the distance measurement sensor 23 may be any one of a sonar, a millimeter wave radar, and a LiDAR, or any combination of these.
撮像装置10は、測距センサ23から距離を示す信号を受信して、車両Mの方の障害物と車両Mとの間の距離を示す距離情報を記憶する。
The
大容量記憶装置25は、例えば、ハードディスク装置、SSD(solid state drive)、フラッシュメモリ等により構成された記憶装置である。大容量記憶装置25は、撮像装置10において実行される各種プログラムを記憶する。なお、各種プログラムは、例えば他のサーバ装置等からネットワークを介して取得されてもよく、記録媒体に記録されて各種ドライブ装置を介して読み込まれてもよい。
The large-
例えば、大容量記憶装置25は、撮像装置10によって、動画から画像を抽出して静止画を作成する際に実行される撮像プログラムを記憶する。大容量記憶装置25は、各種プログラムを実行するために必要な情報を記憶している。
For example, the large-
また、大容量記憶装置25は、車両Mに備えられた機器によって、車両Mの走行中に取得される情報を記憶する。
The large-
具体的には、大容量記憶装置25は、車外映像記憶部25Aを有している。車外映像記憶部25Aは、車外カメラ11によって撮像された動画像を記憶する。車外映像記憶部25Aは、例えば、一定時間分の動画像を保持する。また、車外映像記憶部25Aは、例えば、所定容量分の動画像を記憶する。
Specifically, the large-
大容量記憶装置25は、画像一時保存部25Bを有している。画像一時保存部25Bには、例えば、車外映像記憶部25Aに記憶されている動画像に含まれる画像が一部抜粋されて一時保存される。例えば、画像一時保存部25Bは、リングバッファのように、時々刻々と新しい画像が保存されるメモリ部分である。
The large-
画像一時保存部25Bには、例えば、数十秒分の動画像の中の複数のフレーム画像が保存され得る。例えば、画像一時保存部25Bには、動画像の中から所定時間毎に抽出されたフレーム画像が保存される。画像一時保存部25Bにおいて、古いフレーム画像が新しいフレーム画像によって書き換えられることで、時々刻々と画像の更新がなされる。
The temporary
例えば、画像一時保存部25Bは、車外映像記憶部25Aに記憶されている動画像が15~30fps程度(例えば、27.5fps)のフレームレートで撮像されている場合に、例えば、約1秒毎に1つのフレーム画像を10枚、すなわち約10秒間分保存してもよい。例えば、1秒間に6つ程度の画像を等時間間隔で数十秒分保存してもよい。
For example, when the video images stored in the outside-vehicle
言い換えれば、大容量記憶装置25の車外映像記憶部25A及び画像一時保存部25Bには、移動体と共に移動する撮像部により最近撮像された連続画像が記憶される。なお、連続画像とは、時系列に沿って並んでいる画像を指す。
In other words, the outside-vehicle
大容量記憶装置25は、距離情報記憶部25Cを有している。距離情報記憶部25Cは、測距センサ23によって取得された、車両Mの前方の障害物との距離を示す距離情報を記憶する。距離情報は、例えば、車両Mの前方の障害物と車両Mとの距離と、当該距離が測定された時間とが対応付けられて記憶されている。
The large-
大容量記憶装置25は、車内情報記憶部25Dを有している。車内情報記憶部25Dは、車両Mの車内の状況について取得された情報を記憶する。具体的には、車内情報記憶部25Dは、車内カメラ13によって撮像された車両M内の乗員を撮像した動画像を記憶する。言い換えれば、車内情報記憶部25Dは、移動体内の映像を記憶する。
The large-
車内情報記憶部25Dは、例えば、一定時間分の動画像を保持する。また、車内情報記憶部25Dは、例えば、所定容量分の動画像を記憶する。
The in-vehicle
また、車内情報記憶部25Dは、マイク15によって集音された音声に基づいて生成された音声情報を記憶する。車内情報記憶部25Dは、例えば、一定時間分の音声情報を記憶する。また、車内情報記憶部25Dは、例えば、所定容量分の音声情報を記憶する。当該音声情報は、例えば、車両Mの内部を撮像した動画像に対応付けられて記憶されていてもよい。
The in-vehicle
なお、車内カメラ13が備えるマイクによって車両M内の撮像とともに集音された音についての音声情報が、当該撮像された動画像に対応付けられて車内情報記憶部25Dに記憶されていてもよい。
In addition, audio information about sounds collected by the microphone of the in-
制御部27は、CPU(Central Processing Unit)27A、ROM(Read Only Memory)27B、RAM(Random Access Memory)27C等により構成され、コンピュータとして機能する。そして、CPU27Aが、ROM27Bや大容量記憶装置25に記憶された各種プログラムを読み出し実行することにより各種機能を実現する。
The
制御部27は、大容量記憶装置25に記憶された撮像プログラムを読み出して実行することで、ユーザーからの撮像指示に応じて、入力部21を介して取得した情報に基づいて、撮像画像を抽出する。
The
制御部27は、入力部21を介して、車外カメラ11によって取得された動画像を大容量記憶装置25の車外映像記憶部25Aに記憶する。また、制御部27は、車外映像記憶部25Aに記憶されている動画像に含まれる画像を一部抜粋して画像一時保存部25Bに一時保存する。
The
換言すれば、制御部27は、移動体と共に移動する撮像部により最近撮像された連続画像を、記憶部としての車外映像記憶部25A又は画像一時保存部25Bに記憶する記憶ステップを実行する。
In other words, the
制御部27は、入力部21を介して、測距センサ23によって測定された、車両Mの車外カメラ11の撮像方向に存在する障害物との距離を取得し、当該距離を示す情報を距離情報記憶部25Cに記憶する。
The
換言すれば、制御部27は、車外カメラ11によって撮像された移動体外の映像の撮像方向に存在する障害物と当該移動体との間の距離を測定する測定部として機能する。制御部27は、例えば、車両Mの前方の障害物と車両Mとの距離と、当該距離が測定された時刻を対応付けて記憶する。
In other words, the
制御部27は、入力部21を介して、車内カメラ13によって取得された車両M内の動画像を車内情報記憶部25Dに記憶する。
The
制御部27は、入力部21を介して、マイク15によって集音された車両M内の音から音声情報を生成し、車内情報記憶部25Dに記憶する。当該音声情報は、例えば音声と当該音声が集音された時刻とが対応付けられた情報である。当該音声情報は、例えば、車両Mの内部を撮像した動画像に対応付けられて記憶されていてもよい。
The
なお、制御部27は、車両M内の音を示す情報を、車内カメラ13によって動画像の撮像とともに録音された音声に基づいて音声情報を生成してもよい。
In addition, the
制御部27は、入力部21を介して、マイク15によって集音された車両M内の音を取得し、音声認識を行う。制御部27は、車両M内に居るユーザーの発話に基づいて特定の音声を認識した場合に、当該ユーザーからの撮像指示を受け付ける。例えば、制御部27は、所定のウェイクワード及び音声コマンドを認識した場合に、ユーザーからの撮像指示を受け付ける。言い換えれば、制御部27は、ユーザーの音声操作による撮像指示を受け付ける。
The
制御部27は、入力部21を介して、タッチパネルディスプレイ17を用いた入力操作を認識する。制御部27は、タッチパネルディスプレイ17のタッチパネルになされた特定の接触操作を認識した場合に、ユーザーからの撮像指示を受け付ける。例えば、制御部27は、タッチパネルディスプレイ17のディスプレイに表示された撮像指示のボタンが押されたことを認識した場合に、ユーザーからの撮像指示を受け付ける。
The
このように、制御部27は、ユーザーの発話による音声操作又はユーザーのタッチパネルへの接触操作等のユーザーによる操作を認識することによって当該ユーザーからの撮像指示を受け付ける。制御部27は、ユーザーからの操作による撮像指示を受付ける受付ステップを実行する受付部として機能する。
In this way, the
制御部27は、ユーザーからの撮像指示を受け付けると、大容量記憶装置25の画像一時保存部25Bに記憶された画像の中から所定数の画像を撮像画像として抽出する。
When the
より詳細には、制御部27は、撮像指示を受付けた時点から所定の長さの時間(第1時間)だけ遡った時点までの期間内における基準タイミングを設定し、当該基準タイミングを基準とする1又は複数のタイミングの各々において撮像された所定数の画像を抽出する。制御部27は、当該基準タイミングを設定する設定ステップを実行する設定部として機能する。
More specifically, the
ところで、ユーザーが撮像指示の操作を行ってから、撮像装置10の制御部27がユーザーの操作による撮像指示を受付けるまでには、制御部27が撮像指示を認識するための処理時間を要する。さらに、ユーザーが撮像したいと思った時点から実際に撮像指示の操作を行うまでにも任意の時間を要する。特に車両Mが高速で走行している場合や、カーブを走行している場合、これらの時間分の遅れにより、撮像装置10の制御部27が撮像指示を認識したタイミングにおいて車外カメラ11により撮像されている風景と、ユーザーが撮影したいと思った風景は、大きく乖離している可能性がある。
However, after the user issues an image capture instruction, the
このような問題に対応するため、本実施例においては、例えば、撮像指示を受け付けた時点を時点t0とし、時点t0から第1時間遡った時点を時点t1とすると、制御部27は、時点t1から時点t0までの期間内の時点t3を、撮像画像を抽出するための基準となる時点である基準タイミングとして設定する。
In order to address this problem, in this embodiment, for example, if the time when an image capture instruction is received is defined as time t0 and the time going back from time t0 by the first hour is defined as time t1 , the
第1時間は、例えば、ユーザーからの撮像指示を受け付けるための音声認識又は接触操作の認識に必要な時間に加えて、ユーザーが撮像を希望した時点から実際に撮像指示を行う時点までの時間を考慮して十分な長さの時間が設定され得る。第1時間は、例えば5秒程度であってもよく、さらに長い時間であってもよい。基準タイミングは、例えば時刻であり、例えば走行開始時点からの経過時間によって示される時点であってもよい。 The first time may be set to a sufficient length of time, taking into consideration, for example, the time required for voice recognition or touch operation recognition to receive an image capture instruction from the user, as well as the time from when the user desires to capture an image to when the image capture instruction is actually given. The first time may be, for example, about 5 seconds, or may be an even longer time. The reference timing may be, for example, a time, or may be a time indicated by the elapsed time from the start of driving.
制御部27は、当該基準タイミングを、車両M内の状況(移動体内の状況)又は車両M外の状況(移動体外の状況)に基づいて設定する。基準タイミングの設定について、以下に説明する。
The
[移動体内の状況に基づく基準タイミングの設定]
制御部27は、車内カメラ13によって撮像された移動体内の映像から移動体内の状況を取得する。
[Setting the reference timing based on the situation inside the moving body]
The
制御部27は、例えば、撮像指示を受付けた時点から第1時間遡った時点までの期間内における車両M内の映像について画像解析を行い、画像中の乗員の所定の動作又は所定の表情の変化を検出する。制御部27は、当該所定の動作又は所定の表情の変化が検出されたタイミング(例えば、時刻)を、撮像画像の抽出の基準となる基準タイミングとして設定する。
The
当該所定の動作として、例えば、車両Mの外に向かって指をさす動作等の、注目すべき風景を見つけた際に想定される動作が挙げられる。当該所定の表情の変化として、例えば、驚いた表情や嬉しそうな表情等の、注目すべき風景を目の当たりにした際に想定される表情が挙げられる。 The predetermined actions include, for example, actions that are expected when finding a noteworthy scene, such as pointing a finger outside the vehicle M. The predetermined changes in facial expression include, for example, facial expressions that are expected when witnessing a noteworthy scene, such as a surprised expression or a happy expression.
所定の動作の判定基準として、例えば、車外に向かって指をさしている人物が映っている画像が予め大容量記憶装置25に記憶されていてもよい。また、所定の表情の判定基準として、例えば、驚いた顔をしている人物が映っている画像が予め大容量記憶装置25に記憶されていてもよい。
As a criterion for determining a predetermined action, for example, an image showing a person pointing a finger outside the vehicle may be stored in advance in the large-
制御部27は、例えば、予め大容量記憶装置25に記憶されている、所定動作又は所定の表情の画像と、車内カメラ13によって撮像された画像とを比較し、例えば一致度が所定値以上となった場合に、所定の動作又は所定の表情の変化を検出したこととしてもよい。なお、制御部27は、AI等を用いて表情の変化を検出しても良い。
The
このように、設定部としての制御部27は、移動体内の映像に含まれる移動体の乗員の所定動作または乗員の表情の変化が検出されたタイミングを基準タイミングとして設定する。
In this way, the
ユーザーが注目すべき風景に遭遇した際に発せられる可能性が高い動作又は表情を予め想定し、そのような動作又は表情が検出されたタイミングを基準タイミングとして撮像画像を抽出することで、ユーザーが撮像を希望したタイミングで撮像された画像を抽出する確率を高めることができる。 By anticipating in advance the actions or facial expressions that a user is likely to make when encountering a noteworthy scene, and extracting a captured image using the timing at which such actions or facial expressions are detected as a reference timing, the probability of extracting an image captured at the timing the user wishes to capture can be increased.
また、制御部27は、マイク15によって集音された移動体内の音から移動体内の状況を取得する。
The
制御部27は、例えば、撮像指示を受付けた時点から第1時間遡った時点までの期間内における車両M内の音について音声認識を行い、車両M内の乗員が発した声又は乗員が立てた音に関する所定の音を検出する。制御部27は、当該所定の音が検出されたタイミング(例えば、時刻)を、撮像画像の抽出の基準となる基準タイミングとして設定する。
The
当該所定の音として、例えば、「おおっ!」等の歓声、「きれい」等の特定の言葉等の、乗員が注目すべき風景に遭遇した際に発すると予想される声が挙げられる。また、当該所定の音として、例えば、拍手の音等の、乗乗員が注目すべき風景に遭遇した際に立てると予想される音が挙げられる。 Examples of the predetermined sounds include sounds that are expected to be uttered by passengers when they encounter a noteworthy scene, such as a cheer like "Wow!" or a specific word like "Beautiful." Examples of the predetermined sounds include sounds that are expected to be uttered by passengers when they encounter a noteworthy scene, such as the sound of clapping.
所定の音の判定基準として、例えば、所定の音を発した際の音響特徴量のモデルが予め大容量記憶装置25に記憶されていてもよい。制御部27は、マイク15によって収音された音の音響特徴量と、予め記憶されている音響特徴量との比較を行って、例えば所定値以上の一致度が得られた場合に、所定の音を検出したこととしてもよい。
As a criterion for determining a predetermined sound, for example, a model of the acoustic features when the predetermined sound is emitted may be stored in advance in the
このように、設定部としての制御部27は、移動体と共に移動する集音部により集音された音の中に、所定の音が検出されたタイミングを基準タイミングとして設定する。
In this way, the
ユーザーが撮像を希望したことが現れている可能性が高い音を予め想定し、そのような音が検出されたタイミングを基準タイミングとして撮像画像を抽出することで、ユーザーが撮像を希望したタイミングで撮像された画像を抽出する確率を高めることができる。 By anticipating sounds that are likely to indicate that the user wishes to capture an image, and using the timing at which such a sound is detected as the reference timing to extract a captured image, the probability of extracting an image captured at the timing at which the user wishes to capture an image can be increased.
[移動体外の状況に基づく基準タイミングの設定]
制御部27は、車外カメラ11によって撮像された移動体外の映像から移動体外の状況を取得する。
[Setting the reference timing based on the situation outside the moving body]
The
制御部27は、例えば、撮像指示を受付けた時点から第1時間遡った時点までの期間内における車両M外の映像について画像解析を行い、当該映像に含まれる物体のうち、景色の視認の妨げとなり得る障害物を検出し、当該障害物の見かけ上の大きさ又は当該映像に含まれる当該障害物と車両Mとの距離を検出する。制御部27は、当該障害物の見かけ上の大きさが最も小さいタイミング、又は当該障害物と車両Mとの距離が最も長いタイミングを撮像画像の抽出の基準となる基準タイミングとして設定する。
The
当該障害物として、例えば、車両Mの前方に存在して車両Mからの景色の視認を妨げる他の車両等の物体が挙げられる。例えば、車両Mの前方、右側方、又は左側方に山や建物等の地物が視認可能な際に、車両Mから車外カメラ11によって撮像される景色の一部を遮る他の車両等が車両Mの近傍に存在する場合に、当該他の車両等が障害物となる。
An example of such an obstacle is an object such as another vehicle that is present in front of vehicle M and obstructs the view of the scenery from vehicle M. For example, when a mountain, building, or other feature is visible in front, to the right, or to the left of vehicle M, and another vehicle or the like is present in the vicinity of vehicle M and obstructs part of the scenery captured by
例えば、制御部27による障害物の検出のため、障害物の候補となる物体の画像が予め大容量記憶装置25に記憶されていてもよい。例えば、前方の車両、左前方の車両又は右前方の対向車等の画像が障害物のモデルとなる登録画像として予め大容量記憶装置25に記憶されていてもよい。制御部27は、例えば、予め記憶されている登録画像と、車外カメラ11によって撮像された画像とのマッチング処理によって、障害物を検出してもよい。
For example, images of objects that are candidates for obstacles may be stored in advance in the
図3は、車外カメラ11によって撮像された車両M外の映像に含まれるフレーム画像Fの一例を示す図である。図3に示すように、フレーム画像Fには、車両Mの前方を走る他の車両である障害物OBが含まれる。
Figure 3 is a diagram showing an example of a frame image F included in the video outside the vehicle M captured by the
制御部27は、障害物OBを検出すると、例えば、当該障害物OBがフレーム画像F全体に占める割合を、障害物OBの見かけ上の大きさとしてもよい。制御部27は、例えば、当該障害物OBが映っている領域ARを特定し、当該領域ARの面積がフレーム画像F全体の面積に占める割合を障害物OBの見かけ上の大きさとする。そして、当該障害物OBの見かけ上の大きさが最も小さいフレーム画像が撮像されたタイミングを基準タイミングとして設定する。
When the
或いは、制御部27は、フレーム画像Fに含まれる障害物OBを検出すると、当該障害物OBと車両Mとの距離を算出してもよい。制御部27は、例えば、フレーム画像Fに基づいて算出した当該障害物OBと車両Mとの距離が最も長いフレーム画像が撮像されたタイミングを、基準タイミングとして設定してもよい。
Alternatively, when the
このように、設定部としての制御部27は移動体外の映像に含まれる障害物の見かけ上の大きさ、又は当該障害物と移動体との距離を検出し、撮像指示を受け付けた時点から第1時間遡った時点までの期間内において、当該障害物の見かけ上の大きさが最も小さい、又は当該障害物と移動体との距離が最も長いタイミングを基準タイミングとして設定する。
In this way, the
これによって、ユーザーが撮像を希望する景色が障害物によって遮られている可能性が最も低いタイミングを基準タイミングとして撮像画像を抽出することができる。従って、ユーザーが撮像を希望したタイミングで撮像された画像を抽出する確率を高めることができる。 This allows the captured image to be extracted using as the reference time the timing at which the view the user wishes to capture is least likely to be blocked by an obstacle. This therefore increases the probability of extracting an image captured at the time the user wishes to capture it.
また、制御部27は、測距センサ23によって測定された車両Mと車両Mの前方の障害物との距離から移動体外の状況を取得する。
The
制御部27は、例えば、距離情報記憶部25Cを参照し、撮像指示を受付けた時点から第1時間遡った時点までの期間(以下、第1期間とも称する)内における車両Mの前方の障害物との距離が最も長いタイミングを撮像画像の抽出の基準となる基準タイミングとして設定する。
The
このように、測定部としての制御部27は、測距センサ23を介して、車外カメラ11により撮像された移動体外の映像の撮像方向に存在する障害物と移動体との間の距離を測定し、設定部としての制御部27は、測定部により測定された第1期間内における障害物と移動体との間の距離が最も長いタイミングを基準タイミングとして設定する。
In this way, the
これによって、ユーザーが撮像を希望する景色の視認を妨げる障害物が最も遠くにあるタイミングを基準タイミングとして撮像画像を抽出することができ、ユーザーが撮像を希望したタイミングで撮像された画像を抽出する確率を高めることができる。 This allows the captured image to be extracted using the time when the obstacle obstructing the view of the scenery the user wishes to capture is at its farthest as the reference time, thereby increasing the probability of extracting an image captured at the time the user wishes to capture it.
[撮像画像の抽出]
制御部27は、基準タイミングを基準として、1又は複数のタイミングにおいて車外カメラ11によって撮像された所定数の画像を抽出する抽出ステップを実行する抽出部として機能する。
[Extraction of captured images]
The
具体的には、例えば、制御部27は、基準タイミングに撮像された1つの画像を撮像画像として抽出する。
Specifically, for example, the
また、例えば、制御部27は、基準タイミングを中心として、その前後の所定時間内の複数のタイミングの各々において撮像された画像を抽出して所定数の複数の撮像画像として抽出してもよい。例えば、当該複数のタイミングは、等間隔のタイミングであってもよい。
For example, the
制御部27は、画像一時保存部25Bに記憶されている画像から所定数の画像を抽出する。画像一時保存部25Bにおいて、動画を構成する多数のフレーム画像を予め間引いた画像が保存されていることによって、撮像画像の抽出が効率良く実行される。なお、制御部27は、車外映像記憶部25Aに記憶されている動画像から所定数の画像を抽出してもよい。
The
出力部29は、車両Mに備えられたタッチパネルディスプレイ17のディスプレイに接続されている。出力部29は、制御部27からの命令に従って、ディスプレイに表示させるための各種情報を供給するためのインターフェースである。
The
出力部29は、制御部27からの指示に応じて、タッチパネルディスプレイ17のディスプレイに表示させるための画像を出力する。例えば、出力部29は、撮像指示を受け付けるための撮像指示ボタンをユーザーに提示するための画像をディスプレイに供給する。
The
なお、出力部29は、車両M内に備えられたスピーカー(図示せず)に通信可能に接続されていてもよく、例えば撮像指示を受け付けた旨又は撮像が完了したことをユーザーに向けて音声によって報知してもよい。
The
送受信部31は、無線装置(図示せず)に接続されているNIC(Network Interface Card)等のネットワークアダプタである。送受信部31は、制御部27からの命令に従って、撮像装置10と外部とのデータの送受信を行う。
The transmission/
例えば、送受信部31は、撮像装置10において撮像画像として抽出された画像をサーバ等の外部装置に送信する送信部として機能する。
For example, the transmission/
図4~図7を参照しつつ、本実施例における撮像装置10によって撮像が行われる際に制御部27によって実行される情報処理について説明する。
With reference to Figures 4 to 7, the information processing executed by the
図4は、制御部27によって実行されるルーチンの一例である撮像ルーチンRT1を示すフローチャートである。制御部27は、例えば、撮像装置10に電源が投入されると、撮像ルーチンRT1を開始する。また、制御部27は、例えば、撮像装置10に電源が投入されると、車外カメラ11によって取得された動画像の車外映像記憶部25Aへの記憶を開始する。また、制御部27は、例えば、動画像の車外映像記憶部25Aへの記憶を開始すると、車外映像記憶部25Aに記憶されている動画像に含まれる画像の画像一時保存部25Bへの一時保存を開始する。
Figure 4 is a flowchart showing an imaging routine RT1, which is an example of a routine executed by the
また、制御部27は、例えば、撮像装置10に電源が投入されると、距離情報記憶部25Cへの距離情報の記憶及び車内情報記憶部25Dへの車両M内の映像及び音声情報の記憶を開始する。
In addition, for example, when the
制御部27は、撮像ルーチンRT1を開始すると、ユーザーからの撮像指示を受け付けたか否かを判定する(ステップS101)。ステップS101において、例えば、制御部27は、マイク15から入力された音声について音声認識を行い、例えばウェイクワードに続いて撮像指示を示す所定の音声コマンドを認識した場合に、ユーザーからの撮像指示を受け付けたと判定する。
When the
ステップS101において、例えば、制御部27は、タッチパネルディスプレイ17のディスプレイに表示された撮像指示のボタンが、タッチパネルへの接触操作によって押されたことを認識した場合に、撮像指示を受け付けたと判定してもよい。
In step S101, for example, the
ステップS101において、制御部27は、ユーザー操作による撮像指示を受付ける受付部として機能する。
In step S101, the
制御部27は、ステップS101において、撮像指示を受け付けていないと判定する(ステップS101:NO)と、ステップS101を繰り返し、撮像指示を受け付けたか否かを再び判定する。
If the
制御部27は、ステップS101において、撮像指示を受け付けたと判定する(ステップS101:YES)と、画像抽出サブルーチンを実行し、画像一時保存部25Bに記憶されている画像から撮像画像を抽出する(ステップS102)。
When the
ステップS102において、例えば、制御部27は、撮像指示を受付けた時点から第1時間遡った時点までの期間内の車両M内の状況又は車両M外の状況に基づいて、当該期間内における基準タイミングを設定する。その後、制御部27は、当該基準タイミングを基準とする1又は複数のタイミングの各々において車外カメラ11によって撮像された画像を所定数の撮像画像として抽出する。
In step S102, for example, the
制御部27は、ステップS102の実行後、ステップS102において抽出された画像を外部に送信する(ステップS103)。ステップS103において、例えば、制御部27は、抽出された画像を予め設定されたサーバに送信する。ステップS103において、例えば、制御部27は、抽出された画像をユーザーが保有する端末装置に送信してもよい。
After executing step S102, the
制御部27は、ステップS103の実行後、撮像ルーチンRT1を終了し、新たに撮像ルーチンRT1を開始する。
After executing step S103, the
図5は、撮像ルーチンRT1のステップS102において、制御部27によって実行される画像抽出サブルーチンの一例である画像抽出サブルーチンRT2を示すフローチャートである。
Figure 5 is a flowchart showing an image extraction subroutine RT2, which is an example of an image extraction subroutine executed by the
制御部27は、画像抽出サブルーチンRT2を開始すると、撮像指示を受け付けた時点から第1時間遡った時点までの期間(第1期間)内における車両M内の状況を参照する(ステップS201)。
When the
制御部27は、ステップS201において、第1期間内において車内カメラ13によって撮像された映像を車内情報記憶部25Dから読み出す。
In step S201, the
また、制御部27は、ステップS201において、第1期間内においてマイク15によって集音された音を示す音声情報を車内情報記憶部25Dから読み出す。
In addition, in step S201, the
ステップS201における車内の状況として、例えば、車内の映像又は音声情報のいずれか一方が参照されてもよく、両方が参照されてもよい。 As the in-vehicle situation in step S201, for example, either video or audio information about the inside of the vehicle may be referenced, or both may be referenced.
制御部27は、ステップS201の実行後、第1期間内に車両M内で、所定のイベントがあったか否かを判定する(ステップS202)。ステップS202において、例えば、制御部27は、ステップS201において読み出した映像について画像解析を行い、画像中の乗員の所定の動作又は所定の表情の変化を検出すると、所定のイベントがあったと判定する。ステップS202において、例えば、指さし動作又は驚きの表情への変化が検出された場合、所定のイベントがあったと判定される。
After executing step S201, the
ステップS202において、例えば、制御部27は、ステップS201において読み出した音声情報について音声認識処理を行い、車両M内の乗員が発した声又は乗員が立てた音に関する所定の音を検出すると、所定のイベントがあったと判定する。ステップS202において、例えば、歓声等の声又は拍手等の音が検出された場合、所定のイベントがあったと判定される。
In step S202, for example, the
制御部27は、ステップS202において、所定のイベントがあったと判定する(ステップS202:YES)と、所定のイベントがあった時点を基準タイミングとして設定する(ステップS203)。ステップS203において、例えば、乗員の所定の姿勢又は所定の表情を含む画像が撮像された時刻が基準タイミングとして設定される。また、ステップS203において、例えば、所定の音が集音された時刻が基準タイミングとして設定される。
When the
制御部27は、ステップS203の実行後、基準タイミングに基づいて、1又は複数の画像を撮像画像として大容量記憶装置25の画像一時保存部25Bに記憶されている画像から抽出する(ステップS204)。ステップS204において、例えば、基準タイミングに撮像された1つの画像が抽出される。
After executing step S203, the
ステップS204において、例えば、基準タイミングを含む複数のタイミングの各々において撮像された画像が抽出されてもよい。例えば、当該複数のタイミングの各々に撮像された画像として、基準タイミングの前後の所定の期間内に撮像された所定数の画像が抽出されてもよい。 In step S204, for example, images captured at each of a plurality of timings including the reference timing may be extracted. For example, a predetermined number of images captured within a predetermined period before and after the reference timing may be extracted as the images captured at each of the plurality of timings.
制御部27は、ステップS202において、車内で所定のイベントが無かったと判定する(ステップS202:NO)と、撮像指示を受け付けた時点から、第1時間とは別に設定された第2時間遡った時点に撮像された画像を抽出する(ステップS205)。
If the
例えば、第2時間として、制御部27が撮像指示を受け付けるための音声認識又はタッチパネルへの接触操作の認識にかかる時間に加えて、ユーザーが撮像を希望した時点からユーザーが撮像指示を行った時点までの時間を統計的に考慮して予め設定された長さの時間が設定される。例えば、十分に長い第1時間が設定されている場合、第2時間として、第1時間よりも短い時間が設定されてもよい。
For example, the second time is set to a length of time that is preset by statistically considering the time it takes for the
制御部27は、ステップS204の実行後、又はステップS205の実行後、画像抽出サブルーチンRT2を終了する。
After executing step S204 or step S205, the
画像抽出サブルーチンRT2によれば、乗員の行動に起因する車内の所定のイベント、を検出し、検出されたイベントが起こったタイミングを基準タイミングとして撮像画像を抽出することで、ユーザーが撮像を希望したタイミングに撮像された画像を抽出する確率を高めることが可能となる。 The image extraction subroutine RT2 detects a specific event inside the vehicle caused by the actions of the occupants, and extracts an image using the timing at which the detected event occurred as the reference timing, thereby increasing the probability of extracting an image captured at the timing desired by the user.
また、画像抽出サブルーチンRT2のステップS205によって、例えば、ユーザーが撮像を希望した時点において、車内の映像又は音に現れるような行動を起こさなかった場合であっても、音声認識に係る時間及びユーザーが撮像を希望してから撮像指示を行うまでの時間を考慮して、第2時間遡った時点に撮像された画像を抽出することができる。換言すれば、移動体内の状況が、設定部としての制御部27が基準タイミングを設定するための条件を満たさなかった場合にも、ユーザーが撮像を希望した時点に撮像された画像を抽出する確率を高めることができる。
Furthermore, by step S205 of the image extraction subroutine RT2, for example, even if the user has not taken any action that would appear in the image or sound inside the vehicle at the time when the user wishes to capture an image, it is possible to extract an image captured at a point in time going back a second time, taking into consideration the time involved in voice recognition and the time from when the user wishes to capture an image until when the user issues an image capture instruction. In other words, even if the situation inside the vehicle does not satisfy the conditions for the
なお、画像抽出サブルーチンRT2によって、1つ以上の画像が抽出されるが、例えば1つの画像のみが抽出される場合、抽出された画像を保存する際の容量を小さくすることができる。また、1つの画像のみが抽出される場合、ユーザーにとっても撮像画像の取扱が容易になる。 Note that the image extraction subroutine RT2 extracts one or more images. However, for example, if only one image is extracted, the capacity required to save the extracted image can be reduced. Also, if only one image is extracted, it becomes easier for the user to handle the captured image.
図6は、撮像ルーチンRT1のステップS103において、制御部27によって実行される画像抽出サブルーチンの他の一例である画像抽出サブルーチンRT3を示すフローチャートである。画像抽出サブルーチンRT3は、ステップS301及びステップS302を除いて画像抽出サブルーチンRT2(図5参照)と同様に進行するため、説明の一部を省略する。
Figure 6 is a flowchart showing an image extraction subroutine RT3, which is another example of an image extraction subroutine executed by the
制御部27は、画像抽出サブルーチンRT3を開始すると、撮像指示を受け付けた時点から第1時間遡った時点までの期間(第1期間)内における車外の状況を参照する(ステップS301)。
When the
制御部27は、ステップS301において、第1期間内において車外カメラ11によって撮像された映像を車外映像記憶部25Aから読み出す。
In step S301, the
また、制御部27は、ステップS301において、第1期間内において測距センサ23によって測定された車両Mの前方の障害物と車両Mとの距離を示す距離情報を距離情報記憶部25Cから読み出す。
In addition, in step S301, the
ステップS301における車外の状況として、例えば、車外カメラ11によって撮像された車外の映像又は車両Mの前方の障害物との距離情報のいずれか一方が参照されてもよく、両方が参照されてもよい。
As the situation outside the vehicle in step S301, for example, either the image outside the vehicle captured by the
制御部27は、ステップS301の実行後、第1期間内に車両Mの前方に障害物が少ないタイミングがあったか否かを判定する(ステップS302)。ステップS302において、例えば、制御部27は、ステップS301において読み出した映像について画像解析を行い、画像中の障害物が例えば所定の割合以下の画像があった場合に、障害物が少ないタイミングがあったと判定する。
After executing step S301, the
ステップS302において、例えば、制御部27は、ステップS302において読み出した距離情報が示す距離が所定以上の距離となるタイミングがあった場合に、障害物が少ないタイミングがあったと判定する。
In step S302, for example, if there is a time when the distance indicated by the distance information read in step S302 is a predetermined distance or greater, the
制御部27は、ステップS302において、障害物が少ないタイミングがあったと判定する(ステップS302:YES)と、第1期間における車両M外の状況に基づいて基準タイミングを設定する(ステップS303)。ステップS303において、例えば、障害物が最も少なかったタイミングが基準タイミングとして設定される。
When the
ステップS303において、例えば、車両Mの外部の映像において、画像中の障害物が占める割合が最も小さい画像が撮像されたタイミングが、基準タイミングとして設定される。ステップS303において、例えば、障害物と車両Mとの距離が最も長いタイミングが基準タイミングとして設定される。 In step S303, for example, the timing at which an image of the outside of vehicle M in which the proportion of the obstacle in the image is smallest is captured is set as the reference timing. In step S303, for example, the timing at which the distance between the obstacle and vehicle M is longest is set as the reference timing.
制御部27は、ステップS303の実行後、基準タイミングに基づいて、1又は複数の画像を撮像画像として大容量記憶装置25の画像一時保存部25Bに記憶されている画像から抽出する(ステップS304)。ステップS304において、例えば、基準タイミングに撮像された1つの画像が抽出される。
After executing step S303, the
ステップS304において、例えば、基準タイミングを含む複数のタイミングの各々において撮像された画像が抽出されてもよい。例えば、当該複数のタイミングの各々に撮像された画像として、基準タイミングの前後の所定の期間内に撮像された所定数の画像が抽出されてもよい。 In step S304, for example, images captured at each of a plurality of timings including the reference timing may be extracted. For example, a predetermined number of images captured within a predetermined period before and after the reference timing may be extracted as the images captured at each of the plurality of timings.
制御部27は、ステップS302において、障害物が少ないタイミングが無かったと判定する(ステップS302:NO)と、撮像指示を受け付けた時点から、第1時間とは別に設定された第2時間遡った時点に撮像された画像を抽出する(ステップS305)。
If the
制御部27は、ステップS304の実行後、又はステップS305の実行後、画像抽出サブルーチンRT3を終了する。
After executing step S304 or step S305, the
画像抽出サブルーチンRT3によれば、車両M外の状況として、車両Mの前方の障害物に関する情報を検出し、車両M内からの風景の視認について障害物の影響が最も少ないタイミングを基準タイミングとして撮像画像を抽出することができる。これによって、ユーザーが撮像を希望したタイミングに撮像された画像を抽出する確率を高めることが可能となる。 According to the image extraction subroutine RT3, information about an obstacle in front of the vehicle M is detected as a situation outside the vehicle M, and an image can be extracted using as a reference timing the timing when the obstacle has the least effect on the visibility of the scenery from inside the vehicle M. This makes it possible to increase the probability of extracting an image captured at the timing desired by the user.
また、画像抽出サブルーチンRT3のステップS305によって、例えば、ユーザーが撮像を希望した時点において、車両Mの近くに他の車両等の障害物が存在していた場合であっても、音声認識に係る時間及びユーザーが撮像を希望してから撮像指示を行うまでの時間を考慮して、第2時間遡った時点に撮像された画像を抽出することができる。換言すれば、移動体外の状況が、設定部としての制御部27が基準タイミングを設定するための条件を満たさなかった場合にも、ユーザーが撮像を希望した時点に撮像された画像を抽出する確率を高めることができる。
Furthermore, by using step S305 of the image extraction subroutine RT3, for example, even if an obstacle such as another vehicle is present near vehicle M at the time when the user wishes to capture an image, an image captured at a point in time going back a second time can be extracted, taking into consideration the time required for voice recognition and the time from when the user wishes to capture an image until when the user issues an image capture instruction. In other words, even if the situation outside the moving body does not satisfy the conditions for the
なお、図5において説明した画像抽出サブルーチンRT2と、図6において説明した画像抽出サブルーチンRT3とは、並行して実行されてもよく、組み合わされて実行されてもよい。例えば、画像抽出サブルーチンRT2において、車内で所定のイベントが無かったと判定された場合(ステップS202:NO)に、画像抽出サブルーチンRT3が実行されてもよい。 The image extraction subroutine RT2 described in FIG. 5 and the image extraction subroutine RT3 described in FIG. 6 may be executed in parallel or in combination. For example, when it is determined in the image extraction subroutine RT2 that a predetermined event has not occurred in the vehicle (step S202: NO), the image extraction subroutine RT3 may be executed.
図7は、制御部27によって実行されるルーチンの他の一例である撮像ルーチンRT4を示すフローチャートである。撮像ルーチンRT4は、図4において説明した撮像ルーチンRT1と、ステップS402及びステップS403を含む点において異なり、その余の点においては同様に進行するため、説明の一部を省略する。
Figure 7 is a flowchart showing an imaging routine RT4, which is another example of a routine executed by the
制御部27は、撮像ルーチンRT4を開始すると、ユーザーからの撮像指示を受け付けたか否かを判定する(ステップS401)。
When the
ステップS401において、制御部27は、ユーザーの発話に基づく撮像指示又はユーザーの接触操作に基づく撮像指示を受け付ける。例えば、制御部27は、マイク15から入力された、ユーザーの発話による音声について音声認識を行い、例えばウェイクワードに続いて撮像指示を示す所定の音声コマンドを認識した場合に、ユーザーからの撮像指示を受け付けたと判定する。例えば、制御部27は、タッチパネルディスプレイ17のタッチパネルへの接触操作による撮像指示を認識した場合に、撮像指示を受け付けたと判定する。
In step S401, the
制御部27は、ステップS401において、撮像指示を受け付けたと判定する(ステップS401:YES)と、受け付けた撮像指示がユーザーの発話に基づく撮像指示であるか否かを判定する(ステップS402)。ステップS401において、例えば、制御部27は、ステップS401において音声認識を実行していた場合に、ユーザーの発話に基づく撮像指示であると判定する。
When the
制御部27は、ステップS402において発話による撮像指示であると判定する(ステップS402:YES)と、撮像指示を受け付けた時点から第1時間遡って車両M内の状況又は車両M外の状況を参照する際の第1時間の長さを、ユーザーの接触操作による撮像指示を受け付けた場合よりも長く設定する(ステップS403)。
When the
ステップS403において、例えば、音声認識によるユーザーからの撮像指示の認識に係る時間が、タッチパネルへの接触操作の認識にかかる時間を超える分だけ、第1時間が長く設定される。 In step S403, the first time is set to be longer by the amount of time it takes for the user's image capture instruction to be recognized by voice recognition to exceed the time it takes for a touch operation on the touch panel to be recognized, for example.
制御部27は、ステップS402において、ユーザーの発話に基づく撮像指示ではないと判定した場合(ステップS402:NO)、又はステップS403の実行後、画像抽出サブルーチンを実行し、撮像画像として画像を抽出する(ステップS404)。
If the
ステップS404において、例えば、図5に示した画像抽出サブルーチンRT2又は図6に示した画像抽出サブルーチンRT3等のサブルーチンが実行される。ステップS404において、例えば、画像抽出サブルーチンRT2が実行されて第1時間遡って車内の状況が参照される際に(ステップS201)、ステップS403において長く設定された第1時間が適用される。 In step S404, a subroutine such as the image extraction subroutine RT2 shown in FIG. 5 or the image extraction subroutine RT3 shown in FIG. 6 is executed. In step S404, for example, when the image extraction subroutine RT2 is executed and the vehicle interior situation is referenced going back a first time (step S201), the first time that was set long in step S403 is applied.
ステップS404において、例えば、画像抽出サブルーチンRT3が実行されて第1時間遡って車外の状況が参照される際に(ステップS301)、ステップS403において長く設定された第1時間が適用される。 In step S404, for example, when the image extraction subroutine RT3 is executed and the situation outside the vehicle is referenced going back a first time (step S301), the first time that was set long in step S403 is applied.
制御部27は、ステップS404の実行後、サーバ等の外部装置に抽出した画像を送信し(ステップS405)、撮像ルーチンRT4を終了して新たに撮像ルーチンRT4を繰り返す。
After executing step S404, the
撮像ルーチンRT4によれば、ユーザーが撮像指示を行う際の操作方法に応じて適切に第1時間を設定することができる。従って、例えば音声認識に要する時間が接触操作の認識に要する時間よりも長い場合でも、基準タイミングを適切に設定して、当該基準タイミングに基づいて撮像画像を抽出することができる。従って、ユーザーが撮像を希望したタイミングに撮像された画像を抽出する確率を高めることができる。 According to the imaging routine RT4, the first time can be appropriately set according to the operation method used when the user issues an imaging instruction. Therefore, even if the time required for voice recognition is longer than the time required for touch operation recognition, for example, the reference timing can be appropriately set and an image can be extracted based on the reference timing. Therefore, it is possible to increase the probability of extracting an image captured at the timing desired by the user.
なお、撮像ルーチンRT4のステップS404において、例えば、ユーザーの発話に基づく撮像指示が受付けられていた場合には、サブルーチンにおける第2時間の長さ(ステップS205又はステップS305)についても、ユーザーの接触操作に基づく撮像指示が受付けられていた場合よりも長く設定されてもよい。これによって、音声認識に要する時間が接触操作の認識に要する時間よりも長い場合でも、ユーザーが撮像を希望したタイミングで撮像された画像を抽出する確率を高めることができる。 Note that, for example, if an image capture instruction based on the user's speech has been accepted in step S404 of the imaging routine RT4, the length of the second time in the subroutine (step S205 or step S305) may also be set to be longer than when an image capture instruction based on the user's touch operation has been accepted. This can increase the probability of extracting an image captured at the timing the user wishes to capture, even if the time required for voice recognition is longer than the time required for recognition of the touch operation.
以上、詳細に説明したように、本実施例の撮像装置10は、移動体と共に移動し、移動体外の映像を撮像する撮像部により最近撮像された連続画像を記憶する記憶部と、ユーザーの操作による撮像指示を受付ける受付部と、受付部が撮像指示を受付けた時点から第1時間遡った時点までの期間内における移動体内の状況、又は移動体外の状況に基づいて、当該期間内における基準タイミングを設定する設定部と、基準タイミングを基準とする1又は複数のタイミングの各々において撮像部により撮像された所定数の画像を、記憶部から撮像画像として抽出する抽出部と、を備える。
As described above in detail, the
従って、撮像装置10によれば、撮像指示を受け付けた時点よりも前の期間内の、ユーザーが撮像を希望したタイミング又はそれに近いタイミングとして、移動体内の状況、又は移動体外の状況に基づいて適切に基準タイミングを設定することができる。よって、当該基準タイミングを基準とするタイミングに撮像された画像を抽出することで、ユーザーが撮像を希望したタイミングに撮像された画像を抽出する確率を高めることができる。
Accordingly, the
従って、撮像装置10によれば、ユーザーによる撮像指示に従って撮像する撮像装置において、ユーザーが撮像を希望する風景が映った画像を高い確率で取得することを可能とする撮像装置、撮像方法、撮像プログラム及び記録媒体を提供することができる。
Accordingly, the
上記の第1時間として、任意の長さの時間を設定することができ、例えば、ユーザーの撮像指示を受け付けるために必要な時間に加えて、ユーザーが撮像を希望した時点から実際に撮像指示を行う時点までの時間を考慮した十分に長い時間を設定することができる。 The first time period can be set to any length of time, for example, a sufficiently long time that takes into account the time required to accept the user's imaging instruction as well as the time between when the user desires to capture an image and when the imaging instruction is actually given.
なお、上記の実施例において、撮像装置10は、ユーザーからの撮像指示をタッチパネルディスプレイ17を介して受け付けることが可能である場合について説明したが、これに限られない。例えば、撮像装置10は、タッチパネルディスプレイ17に接続されていなくともよい。例えば、車両Mにタッチパネルディスプレイ17が備えられていなくともよい。例えば、撮像装置10は、音声認識のみによって撮像指示を受け付けても良い。また、例えば、撮像装置10は、音声認識に加えて、例えば、タッチパネルディスプレイではないプッシュボタンを用いたボタン操作による撮像指示を受け付け可能に構成されていてもよい。
In the above embodiment, the
なお、上記の実施例において、撮像装置10は、大容量記憶装置25が有する画像一時保存部25Bに保存されている画像から撮像画像を抽出する例について説明したが、これに限られない。例えば、撮像装置10は、車外映像記憶部25Aに逐次記憶されて一定時間保持されている動画から、撮像画像を抽出してもよい。
In the above embodiment, the
なお、上記の実施例において、撮像画像として抽出した画像により静止画を生成する例について説明したが、これに限られない。撮像装置10は、例えば、撮像画像として抽出した複数のフレーム画像からなる動画を生成してもよい。
In the above embodiment, an example of generating a still image from an image extracted as a captured image has been described, but the present invention is not limited to this. For example, the
なお、上記の実施例において、撮像装置10は、抽出した撮像画像をサーバに送信する例について説明したが、これに限られない。撮像装置10は、抽出した撮像画像を、ユーザーが保有する端末等の他の外部装置に送信してもよく、記憶部に保持してもよい。また、撮像装置10は、抽出した撮像画像が、移動体に備えられたディスプレイに表示されてもよい。
In the above embodiment, the
なお、上記の実施例において、移動体外の映像を撮像する撮像部として、車外カメラ11の撮影方向が車両Mの前方である場合について説明したが、これに限られない。例えば、撮像装置10は、移動体の側方又は後方を撮影方向とする撮像部によって最近撮像された連続画像を記憶し、撮像画像を抽出してもよい。
In the above embodiment, the imaging unit that captures images outside the moving body has an
また、距離情報が距離情報記憶部25Cに記憶される例について説明したが、距離情報は、例えばフレーム画像に対応付けられて車外映像記憶部25A又は画像一時保存部25Bに記憶されていてもよい。
In addition, although an example has been described in which distance information is stored in the distance
なお、上記の説明において、制御部27が、撮像指示を受け付けた時点から第1時間遡った時点(t1)から撮像指示を受け付けた時点(t0)までの期間内における移動体内の状況又は移動体外の状況に基づいて基準タイミングを設定する例について説明したが、これに限られない。例えば、第1時間遡った時点(t1)の前後の所定の期間内に基準タイミングが設定されてもよい。
In the above description, the
上述した実施例における構成及びルーチンは例示に過ぎず、用途等に応じて適宜選択、組み合わせ、又は変更可能である。 The configurations and routines in the above-described embodiments are merely examples and can be selected, combined, or modified as appropriate depending on the application, etc.
10 撮像装置
11 車外カメラ
13 車内カメラ
15 マイク
17 タッチパネルディスプレイ
19 システムバス
21 入力部
23 測距センサ
25 大容量記憶装置
25A 車外映像記憶部
25B 画像一時保存部
25C 距離情報記憶部
25D 車内情報記憶部
27 制御部
29 出力部
31 送受信部
REFERENCE SIGNS
Claims (13)
ユーザーの操作による撮像指示を受付ける受付部と、
前記受付部が撮像指示を受付けた時点から第1時間遡った時点までの期間内における前記移動体内の状況、又は前記移動体外の状況に基づいて、前記期間内における基準タイミングを設定する設定部と、
前記基準タイミングを基準とする1又は複数のタイミングの各々において前記撮像部により撮像された所定数の画像を、前記記憶部から撮像画像として抽出する抽出部と、
を備える撮像装置。 a storage unit that stores a series of images captured recently by an imaging unit that moves together with the moving object and captures an image outside the moving object;
a reception unit that receives an image capture instruction by a user operation;
a setting unit that sets a reference timing within a period based on a situation inside the moving object or a situation outside the moving object within the period from a point in time when the reception unit received an image capturing instruction to a point in time going back a first time;
an extracting unit that extracts, as captured images, a predetermined number of images captured by the imaging unit at one or more timings based on the reference timing from the storage unit;
An imaging device comprising:
前記設定部は、前記移動体内の映像に含まれる前記移動体の乗員の所定動作または前記乗員の表情の変化が検出されたタイミングを前記基準タイミングとして設定する請求項1に記載の撮像装置。 The imaging unit captures an image of the inside of the moving body,
The imaging device according to claim 1 , wherein the setting unit sets, as the reference timing, a timing at which a predetermined motion of an occupant of the moving body or a change in a facial expression of the occupant is detected that is included in an image of the inside of the moving body.
前記設定部は、前記測定部により測定された前記期間内における前記障害物と前記移動体との間の距離が最も長いタイミングを前記基準タイミングとして設定する請求項1に記載の撮像装置。 a measurement unit that measures a distance between the moving body and an obstacle present in an imaging direction of an image outside the moving body captured by the imaging unit,
The imaging device according to claim 1 , wherein the setting unit sets, as the reference time, a time when a distance between the obstacle and the moving object within the period measured by the measurement unit is the longest.
前記抽出部は、前記受付部が前記発話に基づいて前記撮像指示を受付けた場合は、前記受付部が前記接触操作に基づいて前記撮像指示を受付けた場合よりも、前記第1時間を長く設定する請求項1乃至5のいずれか1項に記載の撮像装置。 the reception unit receives the image capture instruction based on a speech and a touch operation of the user;
6. The imaging device according to claim 1, wherein the extraction unit sets the first time longer when the reception unit receives the imaging instruction based on the utterance than when the reception unit receives the imaging instruction based on the contact operation.
前記抽出部は、前記受付部が撮像指示を受付けた時点から前記第1時間遡った時点までの期間内に、前記移動体内の状況又は前記移動体外の状況が、前記設定部が前記基準タイミングを設定するための条件を満たさなかった場合に、前記受付部が前記発話に基づいて前記撮像指示を受付けた場合は、前記受付部が前記接触操作に基づいて前記撮像指示を受付けた場合よりも、前記第2時間を長く設定する請求項7に記載の撮像装置。 the reception unit receives the image capture instruction based on a speech and a touch operation of the user;
8. The imaging device of claim 7, wherein when the situation inside the moving body or the situation outside the moving body does not satisfy the condition for the setting unit to set the reference timing within a period from the time when the reception unit receives the imaging instruction based on the utterance, the extraction unit sets the second time longer than when the reception unit receives the imaging instruction based on the contact operation.
移動体と共に移動し、前記移動体外の映像を撮像する撮像部により最近撮像された連続画像を記憶部に記憶する記憶ステップと、
ユーザーの操作による撮像指示を受付ける受付ステップと、
前記受付ステップにおいて前記撮像指示を受付けた時点から第1時間遡った時点までの期間内における前記移動体内の状況、又は前記移動体外の状況に基づいて、前記期間内における基準タイミングを設定する設定ステップと、
前記設定ステップにおいて設定された前記基準タイミングを基準とする1又は複数のタイミングの各々において前記撮像部により撮像された所定数の画像を、前記記憶部から撮像画像として抽出する抽出ステップと、
を含む撮像方法。 An imaging method performed by an imaging device, comprising:
a storage step of storing in a storage unit consecutive images captured recently by an imaging unit that moves together with the moving object and captures an image outside the moving object;
a receiving step of receiving an image capturing instruction by a user operation;
a setting step of setting a reference timing within a period based on a situation inside the moving body or a situation outside the moving body within the period from a point in time when the imaging instruction was accepted in the accepting step to a point going back a first time;
an extraction step of extracting, from the storage unit, a predetermined number of images captured by the imaging unit at each of one or a plurality of timings based on the reference timing set in the setting step, as captured images;
An imaging method comprising:
移動体と共に移動し、前記移動体外の映像を撮像する撮像部により最近撮像された連続画像を記憶部に記憶する記憶ステップと、
ユーザーの操作による撮像指示を受付ける受付ステップと、
前記受付ステップにおいて前記撮像指示を受付けた時点から第1時間遡った時点までの期間内における前記移動体内の状況、又は前記移動体外の状況に基づいて、前記期間内における基準タイミングを設定する設定ステップと、
前記設定ステップにおいて設定された前記基準タイミングを基準とする1又は複数のタイミングの各々において前記撮像部により撮像された所定数の画像を、前記記憶部から撮像画像として抽出する抽出ステップと、
を実行させる撮像プログラム。 An imaging program executed by an imaging apparatus including a computer, the computer comprising:
a storage step of storing in a storage unit consecutive images captured recently by an imaging unit that moves together with the moving object and captures an image outside the moving object;
a receiving step of receiving an image capturing instruction by a user operation;
a setting step of setting a reference timing within a period based on a situation inside the moving body or a situation outside the moving body within the period from a point in time when the imaging instruction was accepted in the accepting step to a point going back a first time;
an extraction step of extracting, from the storage unit, a predetermined number of images captured by the imaging unit at each of one or a plurality of timings based on the reference timing set in the setting step, as captured images;
An imaging program that executes the above.
A computer-readable recording medium storing the imaging program according to claim 12.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021058109A JP7602951B2 (en) | 2021-03-30 | 2021-03-30 | Imaging device, imaging method, imaging program, and recording medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021058109A JP7602951B2 (en) | 2021-03-30 | 2021-03-30 | Imaging device, imaging method, imaging program, and recording medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2022154854A JP2022154854A (en) | 2022-10-13 |
| JP7602951B2 true JP7602951B2 (en) | 2024-12-19 |
Family
ID=83556966
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021058109A Active JP7602951B2 (en) | 2021-03-30 | 2021-03-30 | Imaging device, imaging method, imaging program, and recording medium |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7602951B2 (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010181280A (en) | 2009-02-05 | 2010-08-19 | Clarion Co Ltd | Image storage device for moving object, navigation apparatus, image storage method and program for moving object |
| JP2018038009A (en) | 2016-09-02 | 2018-03-08 | 株式会社デンソーテン | Image output device and image output method |
| JP2019027824A (en) | 2017-07-26 | 2019-02-21 | パナソニックIpマネジメント株式会社 | Display control device, display control system, display control method, and display control program |
| JP2020003840A (en) | 2018-06-25 | 2020-01-09 | 株式会社デンソー | Drive Recorder, Moving Movie Storage Method |
| JP2020127175A (en) | 2019-02-06 | 2020-08-20 | 本田技研工業株式会社 | Image acquisition system, image acquisition method, and program |
| JP2020160630A (en) | 2019-03-25 | 2020-10-01 | 株式会社デンソーテン | Recording device and recording method |
-
2021
- 2021-03-30 JP JP2021058109A patent/JP7602951B2/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010181280A (en) | 2009-02-05 | 2010-08-19 | Clarion Co Ltd | Image storage device for moving object, navigation apparatus, image storage method and program for moving object |
| JP2018038009A (en) | 2016-09-02 | 2018-03-08 | 株式会社デンソーテン | Image output device and image output method |
| JP2019027824A (en) | 2017-07-26 | 2019-02-21 | パナソニックIpマネジメント株式会社 | Display control device, display control system, display control method, and display control program |
| JP2020003840A (en) | 2018-06-25 | 2020-01-09 | 株式会社デンソー | Drive Recorder, Moving Movie Storage Method |
| JP2020127175A (en) | 2019-02-06 | 2020-08-20 | 本田技研工業株式会社 | Image acquisition system, image acquisition method, and program |
| JP2020160630A (en) | 2019-03-25 | 2020-10-01 | 株式会社デンソーテン | Recording device and recording method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2022154854A (en) | 2022-10-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7544701B2 (en) | Vehicle information display system | |
| US8564681B2 (en) | Method, apparatus, and computer-readable storage medium for capturing an image in response to a sound | |
| EP2862125B1 (en) | Depth based context identification | |
| JP6604151B2 (en) | Speech recognition control system | |
| JP2017067849A (en) | Interactive device and interactive method | |
| CN106251870A (en) | The method identifying the linguistic context of Voice command, the method obtaining the audio controls of Voice command and the equipment of enforcement the method | |
| CN114187637A (en) | Vehicle control method, device, electronic device and storage medium | |
| JP2012221134A (en) | Driving support device | |
| JP2017090614A (en) | Voice recognition control system | |
| CN116080672A (en) | Man-machine interaction method, related device, system and storage medium | |
| CN110194181A (en) | Drive support method, vehicle and drive assist system | |
| CN118226450A (en) | Method, computing device and vehicle for determining the three-dimensional position of reflection points of objects in the vehicle's surroundings by means of ultrasonic sensors | |
| CN108780644A (en) | Vehicle, system and method for adjusting allowable speech pause length within speech input range | |
| JP7602951B2 (en) | Imaging device, imaging method, imaging program, and recording medium | |
| JP2017068359A (en) | Dialogue device and dialogue control method | |
| JP2018180424A (en) | Speech recognition apparatus and speech recognition method | |
| US12307782B2 (en) | Object information obtaining method and system for implementing | |
| JPH11352987A (en) | Voice recognition device | |
| JP2025072684A (en) | PRIVACY PROTECTION SYSTEM AND PRIVACY PROTECTION METHOD | |
| JP2018144534A (en) | Driving assist system, driving assist method and driving assist program | |
| JP7602950B2 (en) | Imaging device, imaging method, imaging program, and recording medium | |
| JP7631142B2 (en) | Audio information processing device and audio information processing method | |
| CN115723686A (en) | Gesture recognition device and method in vehicle | |
| WO2022172393A1 (en) | Voice recognition device and voice recognition method | |
| JP2019014392A (en) | Vehicle travel recording device and browsing device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20240207 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20241105 |
|
| 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: 20241126 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20241209 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7602951 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |