JP7034448B1 - Mobile terminals and size measurement methods using mobile terminals - Google Patents

Mobile terminals and size measurement methods using mobile terminals Download PDF

Info

Publication number
JP7034448B1
JP7034448B1 JP2021150605A JP2021150605A JP7034448B1 JP 7034448 B1 JP7034448 B1 JP 7034448B1 JP 2021150605 A JP2021150605 A JP 2021150605A JP 2021150605 A JP2021150605 A JP 2021150605A JP 7034448 B1 JP7034448 B1 JP 7034448B1
Authority
JP
Japan
Prior art keywords
rectangular parallelepiped
coordinates
unit
corners
parallelepiped object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2021150605A
Other languages
Japanese (ja)
Other versions
JP2023043090A (en
Inventor
直行 田屋
裕充 中野
史騎 仲田
利行 志賀
Original Assignee
株式会社Sayコンピュータ
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 株式会社Sayコンピュータ filed Critical 株式会社Sayコンピュータ
Priority to JP2021150605A priority Critical patent/JP7034448B1/en
Application granted granted Critical
Publication of JP7034448B1 publication Critical patent/JP7034448B1/en
Publication of JP2023043090A publication Critical patent/JP2023043090A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

Figure 0007034448000001

【課題】モバイル端末、及びモバイル端末を用いたサイズ測定方法において、撮影対象物の表面を認識して、撮影対象物の高さを測定すること。
【解決手段】モバイル端末100は、マーカMKが付された直方体の対象物OBを撮影する撮影部180と、直方体の対象物OBまでの深度情報を測定する深度センサ190と、撮影部180で撮影したマーカMKが付された直方体の対象物OBの撮影画像と、深度センサ190で測定した撮影部180から直方体の対象物OBまでの深度情報と、を取得する取得部111と、マーカMKが付された直方体の対象物OBの撮影画像と深度情報とに基づいて、撮影画像における直方体の対象物OBの四隅の座標と、当該四隅の背面座標とを抽出する抽出部112と、直方体の対象物OBの四隅の座標と四隅の背面座標とに基づいて、直方体の対象物OBの物理的なサイズを測定する測定部113と、を備える。
【選択図】図3

Figure 0007034448000001

PROBLEM TO BE SOLVED: To recognize a surface of an object to be photographed and measure the height of the object to be photographed in a mobile terminal and a size measuring method using the mobile terminal.
SOLUTION: A mobile terminal 100 is photographed by a photographing unit 180 for photographing a rectangular parallelepiped object OB to which a marker MK is attached, a depth sensor 190 for measuring depth information up to the rectangular parallelepiped object OB, and an photographing unit 180. The acquisition unit 111 for acquiring the captured image of the rectangular parallelepiped object OB to which the marker MK is attached and the depth information from the imaging unit 180 measured by the depth sensor 190 to the rectangular parallelepiped object OB, and the marker MK are attached. An extraction unit 112 that extracts the coordinates of the four corners of the rectangular parallelepiped object OB in the captured image and the back coordinates of the four corners based on the captured image and the depth information of the rectangular parallelepiped object OB, and the rectangular parallelepiped object. A measuring unit 113 for measuring the physical size of a rectangular parallelepiped object OB based on the coordinates of the four corners of the OB and the back coordinates of the four corners is provided.
[Selection diagram] Fig. 3

Description

本発明は、深度センサを有するモバイル端末を用いて、対象物の物理的なサイズを測定する、モバイル端末、及びモバイル端末を用いたサイズ測定方法に関する。 The present invention relates to a mobile terminal that measures the physical size of an object using a mobile terminal having a depth sensor, and a size measuring method using the mobile terminal.

従来から、深度センサを利用した、物体のサイズを測定する装置が検討されている。例えば、特許文献1には、物体の表面が平坦でなくとも、物体の厚みを計測する計測装置が開示されている(特許文献1の要約参照)。 Conventionally, a device for measuring the size of an object using a depth sensor has been studied. For example, Patent Document 1 discloses a measuring device that measures the thickness of an object even if the surface of the object is not flat (see the summary of Patent Document 1).

特許文献1の技術は、撮影部とセンサ部とを備えるカメラと、パーソナルコンピュータで構成される計測装置とを使用し、ベルトコンベアにより搬送される魚体のサイズを計測する計測システムである。特許文献1の記載の計測システムでは、センサ部に深度センサが設けられている。 The technique of Patent Document 1 is a measurement system that measures the size of a fish transported by a belt conveyor using a camera including a photographing unit and a sensor unit and a measuring device composed of a personal computer. In the measurement system described in Patent Document 1, a depth sensor is provided in the sensor unit.

これにより、特許文献1の記載の計測システムは、算出部において、基準面に裁置された検知領域内の魚体の表面における空間座標に関わる情報を利用して、魚体において基準面から検知装置に向かう方向の厚みが最も厚い部分を検知し、当該検知した部分の厚みを魚体の厚みとして算出する(特許文献1参照)。 As a result, the measurement system described in Patent Document 1 uses the information related to the spatial coordinates on the surface of the fish body in the detection area placed on the reference surface in the calculation unit to change from the reference surface to the detection device in the fish body. The portion having the thickest thickness in the direction toward the direction is detected, and the thickness of the detected portion is calculated as the thickness of the fish body (see Patent Document 1).

特開2020-16501号公報Japanese Unexamined Patent Publication No. 2020-16501

特許文献1に記載された計測システムにおいて、算出部は、厚み計測部と、長さ計測部とを備えて構成されている。算出部において行われる厚み計測部と長さ計測部の処理は、処理負荷が大きいため、計測装置としてパーソナルコンピュータが用いられ、各計測処理が行われている。 In the measurement system described in Patent Document 1, the calculation unit includes a thickness measurement unit and a length measurement unit. Since the processing of the thickness measuring unit and the length measuring unit performed in the calculation unit has a large processing load, a personal computer is used as a measuring device, and each measurement processing is performed.

一方、近年、モバイル端末において、技術の進歩が目覚ましく、カメラで撮影した撮影画像に対して、高速でかつ高精度な画像処理を実現しつつある。そこで、モバイル端末に深度センサを搭載し、モバイル端末のカメラで撮影した撮影画像に深度情報を付加することで、撮影画像における撮影対象物の高さを測定することが考えられる。 On the other hand, in recent years, technological progress has been remarkable in mobile terminals, and high-speed and high-precision image processing is being realized for images taken by a camera. Therefore, it is conceivable to mount a depth sensor on the mobile terminal and add depth information to the captured image captured by the camera of the mobile terminal to measure the height of the captured object in the captured image.

しかしながら、撮影画像に深度情報を付加し、拡張現実(AR(Augmented Reality))機能を適用した場合、モバイル端末は、背景面を認識することができるが、撮影対象物の表面を認識することが困難である。そのため、深度センサを搭載したモバイル端末では、撮影対象物の高さを測定することが難しい。 However, when depth information is added to the captured image and the augmented reality (AR) function is applied, the mobile terminal can recognize the background surface, but can recognize the surface of the captured object. Have difficulty. Therefore, it is difficult to measure the height of the object to be photographed with a mobile terminal equipped with a depth sensor.

そこで、モバイル端末、及びモバイル端末を用いたサイズ測定方法において、撮影対象物の表面を認識して、撮影対象物の高さを測定することを課題とする。 Therefore, in the mobile terminal and the size measuring method using the mobile terminal, it is an object to recognize the surface of the object to be photographed and measure the height of the object to be photographed.

すなわち、本発明の上記課題は、下記の構成により解決される。
本発明に係るモバイル端末は、マーカが付された直方体の対象物を撮影する撮影部と、前記直方体の対象物までの深度情報を測定する深度センサと、前記撮影部で撮影した前記マーカが付された直方体の対象物の撮影画像と、前記深度センサで測定した前記撮影部から前記直方体の対象物までの深度情報と、を取得する取得部と、取得した前記撮影画像において、前記直方体の対象物の境界線を画像処理により複数抽出し、前記境界線同士が交差する交点を特定して前記直方体の対象物の四隅の座標を前記撮影部のモデル座標として特定し、前記四隅の座標のそれぞれに対応する背面座標を前記撮影部のモデル座標として抽出し、前記撮影画像の各画素のそれぞれに対応する前記深度情報を適用して、前記撮影部のモデル座標からワールド座標に変換し、3次元空間における前記直方体の対象物の四隅の座標と当該四隅の背面座標とをワールド座標として抽出する抽出部と、前記抽出部で抽出した、前記直方体の対象物の四隅の座標と前記四隅の背面座標とに基づいて、前記直方体の対象物の物理的なサイズを測定する測定部と、を備えることを特徴とする。
That is, the above problem of the present invention is solved by the following configuration.
The mobile terminal according to the present invention has a photographing unit for photographing a rectangular parallelepiped object with a marker, a depth sensor for measuring depth information to the rectangular parallelepiped object, and the marker photographed by the photographing unit. The acquisition unit that acquires the captured image of the rectangular parallelepiped object and the depth information from the imaging unit measured by the depth sensor to the rectangular parallelepiped object, and the acquired image of the rectangular parallelepiped object. A plurality of boundary lines of objects are extracted by image processing, the intersections where the boundary lines intersect are specified, the coordinates of the four corners of the object of the rectangular parallelepiped are specified as the model coordinates of the photographing unit, and each of the coordinates of the four corners is specified. The back coordinates corresponding to are extracted as the model coordinates of the photographing unit, the depth information corresponding to each pixel of the captured image is applied, and the model coordinates of the photographing unit are converted into world coordinates in three dimensions. An extraction unit that extracts the coordinates of the four corners of the rectangular parallelepiped object in space and the back coordinates of the four corners as world coordinates, and the coordinates of the four corners of the rectangular parallelepiped object and the back coordinates of the four corners extracted by the extraction unit. Based on the above, a measuring unit for measuring the physical size of the rectangular parallelepiped object is provided.

本発明によれば、モバイル端末、及びモバイル端末を用いたサイズ測定方法において、撮影対象物の表面を認識して、撮影対象物の高さを測定することができる。 According to the present invention, in a mobile terminal and a size measuring method using a mobile terminal, the surface of the object to be photographed can be recognized and the height of the object to be photographed can be measured.

本実施形態に係るモバイル端末を使用した箱サイズ測定システムの全体構成を示した説明図である。It is explanatory drawing which showed the whole structure of the box size measurement system using the mobile terminal which concerns on this embodiment. 本実施形態に係るモバイル端末の主な構成例を説明する説明図である。It is explanatory drawing explaining the main configuration example of the mobile terminal which concerns on this embodiment. 本実施形態に係るモバイル端末のCPUの機能を示した機能ブロック図である。It is a functional block diagram which showed the function of the CPU of the mobile terminal which concerns on this embodiment. 本実施形態に係るモバイル端末が、マーカが付された直方体の対象物を撮影し、その直方体の対象物の物理的なサイズを表示する処理を示したフローチャートである。It is a flowchart which showed the process that the mobile terminal which concerns on this embodiment takes a picture of the rectangular parallelepiped object with a marker, and displays the physical size of the rectangular parallelepiped object. 撮影画像において、抽出部が、直方体の対象物の四隅の座標と、当該四隅の背面座標を抽出して、ワールド座標に変換する処理の概念を示した説明図である。It is explanatory drawing which showed the concept of the process which the extraction part extracts the coordinates of the four corners of a rectangular parallelepiped object and the back coordinates of the four corners, and converts them into world coordinates in a photographed image. モバイル端末の表示画面において、直方体の対象物の物理的なサイズを測定する方法を示した説明図である。It is explanatory drawing which showed the method of measuring the physical size of the object of a rectangular parallelepiped on the display screen of a mobile terminal. 撮影画像において、直方体の対象物の物理的なサイズを測定する方法を示した説明図である。It is explanatory drawing which showed the method of measuring the physical size of the object of a rectangular parallelepiped in a photographed image. モバイル端末の表示部の表示画面に、直方体の対象物の物理的なサイズを表示した例を示した説明図である。It is explanatory drawing which showed the example which displayed the physical size of the object of a rectangular parallelepiped on the display screen of the display part of a mobile terminal.

以下に、本発明を実施するための形態について詳細に説明する。なお、以下に説明する実施の形態は、本発明を実現するための一例であり、本発明が適用される装置の構成や各種条件によって適宜修正又は変更されるべきものであり、本発明は以下の実施の形態に限定されるものではない。 Hereinafter, embodiments for carrying out the present invention will be described in detail. The embodiments described below are examples for realizing the present invention, and should be appropriately modified or modified depending on the configuration of the apparatus to which the present invention is applied and various conditions, and the present invention is described below. Is not limited to the embodiment of the above.

<本実施形態>
[全体構成]
図1は、本実施形態に係るモバイル端末100を使用した、箱サイズ測定システム1の全体構成を示した説明図である。図1に示すように、この箱サイズ測定システム1では、背景面200に対象物OBが載置されている。
<The present embodiment>
[overall structure]
FIG. 1 is an explanatory diagram showing an overall configuration of a box size measuring system 1 using the mobile terminal 100 according to the present embodiment. As shown in FIG. 1, in this box size measuring system 1, an object OB is placed on a background surface 200.

本実施形態に係るモバイル端末100は、背景面200に載置された対象物OBを撮影する。対象物OBには、マーカMKが付されている。対象物OBは、直方体で構成されており、背景面200からの高さが一定になっている。また、モバイル端末100は、対象物OBと背景面200に対して平行になるように設けられる。また、モバイル端末100は、対象物OBの真上から撮影する。 The mobile terminal 100 according to the present embodiment photographs an object OB placed on a background surface 200. A marker MK is attached to the object OB. The object OB is composed of a rectangular parallelepiped, and the height from the background surface 200 is constant. Further, the mobile terminal 100 is provided so as to be parallel to the object OB and the background surface 200. Further, the mobile terminal 100 shoots from directly above the object OB.

対象物OBは、マーカMKが付されることにより、対象物OBの表面が特定されている。すなわち、マーカMKは、対象物OBの表面を特定する。本実施形態では、対象物OBの物理的なサイズを、例えば、横X、縦Y、高さZで示すことにする(図6参照)。 The surface of the object OB is specified by attaching the marker MK to the object OB. That is, the marker MK identifies the surface of the object OB. In the present embodiment, the physical size of the object OB is indicated by, for example, horizontal X, vertical Y, and height Z (see FIG. 6).

なお、マーカMKは、一例として、直方体の対象物OBに付される紙状に記載された図柄を示しているが、これに限定されるものではない。例えば、マーカMKは、マーカMK自体に厚みを有していてもよく、所定の高さを有していてもよい。また、マーカMKは、筆記具等で記載された図柄、目印等であってもよい。 The marker MK, as an example, shows a pattern written on a paper shape attached to a rectangular parallelepiped object OB, but is not limited thereto. For example, the marker MK may have a thickness in the marker MK itself, or may have a predetermined height. Further, the marker MK may be a pattern, a mark, or the like described by a writing tool or the like.

[モバイル端末の構成]
図2は、本実施形態に係るモバイル端末100の主な構成例を説明する説明図である。モバイル端末100は、CPU(Central Processing Unit)110、記憶部120、ROM(Read Only Memory)130、RAM(Random Access Memory)140、入力部150、表示部160、撮影部180、深度センサ190、及び内部バス195を備えて構成されている。モバイル端末100は、例えば、スマートフォン(smartphone)や、タブレット(tablet)端末で構成することができ、本実施形態では、特に限定されるものではない。
[Mobile device configuration]
FIG. 2 is an explanatory diagram illustrating a main configuration example of the mobile terminal 100 according to the present embodiment. The mobile terminal 100 includes a CPU (Central Processing Unit) 110, a storage unit 120, a ROM (Read Only Memory) 130, a RAM (Random Access Memory) 140, an input unit 150, a display unit 160, a photographing unit 180, a depth sensor 190, and the like. It is configured with an internal bus 195. The mobile terminal 100 can be configured by, for example, a smartphone (smartphone) or a tablet (tablet) terminal, and is not particularly limited in this embodiment.

CPU110、記憶部120、ROM130、及びRAM140は、記憶部120またはROM130に格納されている制御プログラム(不図示)を、CPU110が実行することにより、アプリケーション170として機能する。すなわち、モバイル端末100は、例えば、記憶部120に制御プログラムをインストールすることで、アプリケーション170として実行することができる。 The CPU 110, the storage unit 120, the ROM 130, and the RAM 140 function as an application 170 when the CPU 110 executes a control program (not shown) stored in the storage unit 120 or the ROM 130. That is, the mobile terminal 100 can be executed as an application 170 by installing a control program in the storage unit 120, for example.

CPU110は、中央処理装置であり、記憶部120又はROM130に格納された制御プログラムを実行することにより、図3に示す各処理を具現化する。CPU110が具現化する各処理については、図3を用いて後述する。 The CPU 110 is a central processing unit, and embodies each process shown in FIG. 3 by executing a control program stored in the storage unit 120 or the ROM 130. Each process embodied by the CPU 110 will be described later with reference to FIG.

記憶部120は、大容量の記憶装置であり、例えば、不揮発性メモリなどで構成される。記憶部120は、例えば、制御プログラム、撮影画像、測定した直方体の対象物OBの物理的なサイズの情報などを格納する。 The storage unit 120 is a large-capacity storage device, and is composed of, for example, a non-volatile memory. The storage unit 120 stores, for example, a control program, a captured image, information on the physical size of the measured rectangular parallelepiped object OB, and the like.

RAM140は、CPU110により実行制御される各種処理において、ROM130から読み出され、CPU110で実行可能な各種プログラム、入力データ、出力データ、及びパラメータ等を一時的に記憶するワークエリアとして機能する。 The RAM 140 functions as a work area for temporarily storing various programs, input data, output data, parameters, etc. that are read from the ROM 130 and can be executed by the CPU 110 in various processes whose execution is controlled by the CPU 110.

入力部150は、カーソルキー、数字入力キー、及び各種機能キーなどを備えた入力装置を備えて構成される。入力部150は、押下操作されたキーの押下信号や操作信号を、入力信号としてCPU110に出力する。CPU110は、入力部150からの押下信号や操作信号に基づいて、各種処理を実行する。 The input unit 150 includes an input device including a cursor key, a number input key, various function keys, and the like. The input unit 150 outputs the pressing signal and the operating signal of the pressed key to the CPU 110 as an input signal. The CPU 110 executes various processes based on the pressing signal and the operation signal from the input unit 150.

表示部160は、例えば、LCD(Liquid Crystal Display)のモニタで構成される。表示部160は、CPU110から入力される表示信号の指示に従って、各種画面を表示する。本実施形態では、表示部160は、後述するCPU110の測定部113で測定した直方体の対象物の物理的なサイズを表示する。なお、表示部160および入力部150は、タッチパネルディスプレイを採用することもできる。 The display unit 160 is composed of, for example, an LCD (Liquid Crystal Display) monitor. The display unit 160 displays various screens according to the instructions of the display signal input from the CPU 110. In the present embodiment, the display unit 160 displays the physical size of the rectangular parallelepiped object measured by the measurement unit 113 of the CPU 110, which will be described later. A touch panel display can also be used for the display unit 160 and the input unit 150.

撮影部180は、カメラにより構成される。撮影部180は、マーカMKが付された直方体の対象物OBを撮影する。撮影部180は、背景面200に載置された直方体の対象物OBを撮影することにより、可視光による直方体の対象物OBと背景面200の2次元画像を出力する。 The photographing unit 180 is composed of a camera. The photographing unit 180 photographs the rectangular parallelepiped object OB to which the marker MK is attached. By photographing the rectangular parallelepiped object OB placed on the background surface 200, the photographing unit 180 outputs a two-dimensional image of the rectangular parallelepiped object OB and the background surface 200 by visible light.

深度センサ190は、撮影部180から直方体の対象物OBまでの深度情報を測定する。具体的には、深度センサ190は、背景面200と直方体の対象物OBに対して、撮影部180からの奥行方向の距離(深度情報)を検出する。深度センサ190は、例えば、赤外線を利用したTOF(Time of Flight)方式によって、撮影部180から直方体の対象物OBまでの距離に関する情報(深度情報)を画素毎に算出する。なお、深度センサ190は、光の射出位置と受光位置とに基づいた三角測距方式によって、撮影部180から直方体の対象物OBまでの距離に関する情報(深度情報)を算出してもよい。深度センサ190は、背景面200の深度情報と直方体の対象物OBの深度情報を検出し、それぞれ画素毎に当該画素に対応する部分の空間座標に関する情報(深度情報)を出力する。 The depth sensor 190 measures depth information from the photographing unit 180 to the rectangular parallelepiped object OB. Specifically, the depth sensor 190 detects the distance (depth information) in the depth direction from the photographing unit 180 with respect to the background surface 200 and the rectangular parallelepiped object OB. The depth sensor 190 calculates information (depth information) regarding the distance from the photographing unit 180 to the rectangular parallelepiped object OB for each pixel by, for example, a TOF (Time of Flight) method using infrared rays. The depth sensor 190 may calculate information (depth information) regarding the distance from the photographing unit 180 to the rectangular parallelepiped object OB by a triangular distance measuring method based on the light emitting position and the light receiving position. The depth sensor 190 detects the depth information of the background surface 200 and the depth information of the rectangular parallelepiped object OB, and outputs information (depth information) regarding the spatial coordinates of the portion corresponding to the pixel for each pixel.

内部バス195は、モバイル端末100における各構成要素に対して、電気的に相互に接続する。 The internal bus 195 electrically interconnects each component of the mobile terminal 100.

次に、本実施形態に係るモバイル端末100のCPU110処理(機能)について、図3を用いて説明する。以下、同一の部材には同一の符号を付し、説明を適宜、省略する。 Next, the CPU 110 processing (function) of the mobile terminal 100 according to the present embodiment will be described with reference to FIG. Hereinafter, the same members will be designated by the same reference numerals, and the description thereof will be omitted as appropriate.

図3は、本実施形態に係るモバイル端末100のCPU110の機能を示した機能ブロック図である。CPU110は、例えば、記憶部120に格納された制御プログラム(不図示)を実行することにより、図3に示す、取得部111、抽出部112、測定部113、及び振分部114を具現化する。 FIG. 3 is a functional block diagram showing the functions of the CPU 110 of the mobile terminal 100 according to the present embodiment. The CPU 110 embodies the acquisition unit 111, the extraction unit 112, the measurement unit 113, and the distribution unit 114 shown in FIG. 3, for example, by executing a control program (not shown) stored in the storage unit 120. ..

取得部111は、撮影部180で撮影したマーカMKが付された直方体の対象物OBの撮影画像と、深度センサ190で測定した撮影部180から直方体の対象物OBまでの深度情報と、を取得する。取得部111は、取得した、マーカMKが付された撮影画像と、深度情報とを抽出部112に送出する。 The acquisition unit 111 acquires the captured image of the rectangular parallelepiped object OB with the marker MK photographed by the imaging unit 180 and the depth information from the imaging unit 180 to the rectangular parallelepiped object OB measured by the depth sensor 190. do. The acquisition unit 111 sends the acquired captured image with the marker MK and the depth information to the extraction unit 112.

抽出部112は、取得部111で取得した、マーカMKが付された直方体の対象物OBの撮影画像と深度情報とに基づいて、撮影画像における直方体の対象物OBの四隅の座標と、当該四隅の背面座標とを抽出する。抽出部112は、マーカMKにより、撮影画像における直方体の対象物OBの表面と背景面とを識別すると共に、深度情報に基づいて、四隅の背面座標を抽出することができる。また、抽出部112は、直方体の対象物OBの四隅の座標と、当該四隅の背面座標とを、ワールド座標に変換する。 The extraction unit 112 sets the coordinates of the four corners of the rectangular parallelepiped object OB in the captured image and the four corners based on the captured image and the depth information of the rectangular parallelepiped object OB with the marker MK acquired by the acquisition unit 111. And the back coordinates of. The extraction unit 112 can identify the surface and the background surface of the rectangular parallelepiped object OB in the captured image by the marker MK, and can extract the back coordinates of the four corners based on the depth information. Further, the extraction unit 112 converts the coordinates of the four corners of the rectangular parallelepiped object OB and the back coordinates of the four corners into world coordinates.

測定部113は、抽出部112で抽出した、直方体の対象物OBの四隅の座標と、当該四隅の背面座標とに基づいて、直方体の対象物OBの物理的なサイズを測定する。 The measuring unit 113 measures the physical size of the rectangular parallelepiped object OB based on the coordinates of the four corners of the rectangular parallelepiped object OB extracted by the extraction unit 112 and the back coordinates of the four corners.

表示部160は、測定部113で測定した直方体の対象物OBの物理的なサイズを表示する。 The display unit 160 displays the physical size of the rectangular parallelepiped object OB measured by the measurement unit 113.

振分部114は、測定部113で測定した直方体の対象物OBの物理的なサイズに基づいて、当該直方体の対象物OBの収納先を振分する。振分部114は、例えば、直方体の対象物OBの体積に基づいて、収納先を振り分けることができる。具体的には、振分部114は、体積が100[cm]以上か否かによって、直方体の対象物OBの収納先を自動的に振り分ける。また、振分部114は、例えば、直方体の対象物OBの高さに基づいて、収納先を振り分けることもできる。具体的には、振分部114は、直方体の対象物OBの高さが20[cm]以上か否かによって、直方体の対象物OBの収納先を自動的に振り分ける。 The distribution unit 114 distributes the storage destination of the rectangular parallelepiped object OB based on the physical size of the rectangular parallelepiped object OB measured by the measurement unit 113. The distribution unit 114 can distribute the storage destination based on the volume of the rectangular parallelepiped object OB, for example. Specifically, the distribution unit 114 automatically distributes the storage destination of the rectangular parallelepiped object OB depending on whether or not the volume is 100 [cm 3 ] or more. Further, the distribution unit 114 can also distribute the storage destination based on, for example, the height of the object OB of the rectangular parallelepiped. Specifically, the distribution unit 114 automatically distributes the storage destination of the rectangular parallelepiped object OB depending on whether or not the height of the rectangular parallelepiped object OB is 20 [cm] or more.

[モバイル端末の処理]
次に、本実施形態に係るモバイル端末100のCPU110の処理を説明する。
図4は、本実施形態に係るモバイル端末100が、マーカMKが付された直方体の対象物OBを撮影し、その直方体の対象物OBの物理的なサイズを表示する処理を示したフローチャートである。なお、適宜、図5を参照しながら、説明することにする。
[Processing of mobile devices]
Next, the processing of the CPU 110 of the mobile terminal 100 according to the present embodiment will be described.
FIG. 4 is a flowchart showing a process in which the mobile terminal 100 according to the present embodiment photographs a rectangular parallelepiped object OB to which a marker MK is attached and displays the physical size of the rectangular parallelepiped object OB. .. In addition, it will be described with reference to FIG. 5 as appropriate.

図5は、撮影画像GZ1~GZ5において、抽出部112が、直方体の対象物画像OBPの四隅(交点P1~交点P4)の座標と、当該四隅の背面座標H1~H4を抽出して、ワールド座標に変換する処理の概念を示した説明図である。 In FIG. 5, in the captured images GZ1 to GZ5, the extraction unit 112 extracts the coordinates of the four corners (intersection points P1 to P4) of the rectangular parallelepiped object image OBP and the back coordinates H1 to H4 of the four corners, and the world coordinates. It is explanatory drawing which showed the concept of the process which converts into.

まず、モバイル端末100は、ユーザが入力部150を操作することによって、指示を受け付ける。撮影部180は、ユーザの操作により、マーカMKが付された直方体の対象物OBを撮影する(ステップS001)。この場合、深度センサ190は、撮影部180が直方体の対象物OBを撮影するタイミングと同時に、直方体の対象物OBまでの深度情報を測定する。なお、図5に示す撮影画像GZ1は、対象物OBを撮影している状態を示している。 First, the mobile terminal 100 receives an instruction by the user operating the input unit 150. The photographing unit 180 photographs the rectangular parallelepiped object OB to which the marker MK is attached by the operation of the user (step S001). In this case, the depth sensor 190 measures the depth information up to the rectangular parallelepiped object OB at the same time as the timing at which the photographing unit 180 photographs the rectangular parallelepiped object OB. The photographed image GZ1 shown in FIG. 5 shows a state in which the object OB is photographed.

これにより、CPU110の取得部111は、撮影部180で撮影したマーカMKが付された直方体の対象物OBの撮影画像と、深度センサ190で測定した撮影部180から直方体の対象物OBまでの深度情報と、を取得することができる。 As a result, the acquisition unit 111 of the CPU 110 has a captured image of the rectangular parallelepiped object OB with the marker MK photographed by the imaging unit 180, and the depth from the imaging unit 180 measured by the depth sensor 190 to the rectangular parallelepiped object OB. Information and can be obtained.

次に、CPU110の抽出部112は、取得部111で取得した、マーカMKが付された直方体の対象物OBの撮影画像と深度情報とに基づいて、撮影画像における直方体の対象物OBの四隅の座標と、当該四隅の背面座標とを抽出する。 Next, the extraction unit 112 of the CPU 110 determines the four corners of the rectangular parallelepiped object OB in the captured image based on the captured image and the depth information of the rectangular parallelepiped object OB to which the marker MK is attached acquired by the acquisition unit 111. The coordinates and the back coordinates of the four corners are extracted.

具体的には、抽出部112は、撮影画像GZ1において、直方体の対象物OBのエッジ(境界線)を画像処理により抽出する(ステップS003)。図5の撮影画像GZ2は、画像処理により、直方体の対象物OBのエッジを抽出している状態を示している。 Specifically, the extraction unit 112 extracts the edge (boundary line) of the rectangular parallelepiped object OB in the captured image GZ1 by image processing (step S003). The captured image GZ2 of FIG. 5 shows a state in which the edge of the rectangular parallelepiped object OB is extracted by image processing.

次に、抽出部112は、直方体の対象物OBの表面の交点を特定すると共に、背面座標を抽出する(ステップS005)。この場合、抽出部112は、図5の撮影画像GZ3に示すように、エッジを示す縦線Aと横線Bを検出し、交差する交点P1を特定する。抽出部112は、図5の撮影画像GZ4に示すように、この交差する交点を特定する処理を四隅に適用して、4つの交点P1~P4である四隅の座標を特定する。また、抽出部112は、同時に背景面200における四隅の背面座標H1~H4を抽出する。すなわち、抽出部112は、各画素に対応した深度情報に基づいて、4つの交点P1~P4のそれぞれに対応する背景面200の座標(背面座標H1~H4)を抽出する。 Next, the extraction unit 112 identifies the intersection of the surfaces of the rectangular parallelepiped object OB and extracts the back surface coordinates (step S005). In this case, as shown in the captured image GZ3 of FIG. 5, the extraction unit 112 detects the vertical line A and the horizontal line B indicating the edge, and identifies the intersecting point P1. As shown in the captured image GZ4 of FIG. 5, the extraction unit 112 applies the process of specifying the intersecting intersections to the four corners to specify the coordinates of the four corners P1 to P4. Further, the extraction unit 112 simultaneously extracts the back surface coordinates H1 to H4 at the four corners of the background surface 200. That is, the extraction unit 112 extracts the coordinates (backward coordinates H1 to H4) of the background surface 200 corresponding to each of the four intersections P1 to P4 based on the depth information corresponding to each pixel.

次に、抽出部112は、モデル座標(カメラ座標)からワールド座標に変換する(ステップS007)。モデル座標とは、撮影部180の位置から、直方体の対象物OBの方向を見たときのモバイル端末100固有の座標のことをいう。また、ワールド座標とは、3次元空間における直方体の対象物OBの座標のこという。 Next, the extraction unit 112 converts the model coordinates (camera coordinates) into world coordinates (step S007). The model coordinates refer to the coordinates peculiar to the mobile terminal 100 when the direction of the rectangular parallelepiped object OB is viewed from the position of the photographing unit 180. The world coordinates are the coordinates of the rectangular parallelepiped object OB in the three-dimensional space.

抽出部112は、撮影された撮影画像の各画素のそれぞれの深度情報を用いて、拡張現実(AR(Augmented Reality))を適用することで、モデル座標から3次元空間における直方体の対象物OBの座標に変換する。抽出部112は、図5の撮影画像GZ5に示すように、バーチャルの3次元空間上に、4つの交点P1~P4である四隅の座標を表示することができ、交点P1~P4の距離を測定することができる。 The extraction unit 112 applies augmented reality (AR) using the depth information of each pixel of the captured image to obtain a rectangular parallelepiped object OB in a three-dimensional space from model coordinates. Convert to coordinates. As shown in the captured image GZ5 of FIG. 5, the extraction unit 112 can display the coordinates of the four corners of the four intersections P1 to P4 on the virtual three-dimensional space, and measures the distance between the intersections P1 to P4. can do.

次に、CPU110の測定部113は、抽出部112で抽出した、直方体の対象物OBの四隅の座標(4つの交点P1~P4)と、当該四隅の背面座標H1~H4とに基づいて、直方体の対象物OBの物理的なサイズを測定する(ステップS009)。 Next, the measurement unit 113 of the CPU 110 is a rectangular parallelepiped based on the coordinates (four intersections P1 to P4) of the four corners of the rectangular parallelepiped object OB extracted by the extraction unit 112 and the back coordinates H1 to H4 of the four corners. The physical size of the object OB is measured (step S009).

図6は、モバイル端末100の表示画面161において、直方体の対象物OBの物理的なサイズを測定する方法を示した説明図である。図7は、撮影画像GZ6において、直方体の対象物OBの物理的なサイズを測定する方法を示した説明図である。 FIG. 6 is an explanatory diagram showing a method of measuring the physical size of a rectangular parallelepiped object OB on the display screen 161 of the mobile terminal 100. FIG. 7 is an explanatory diagram showing a method of measuring the physical size of a rectangular parallelepiped object OB in the captured image GZ6.

図6と図7において、同一の部材については、同一の符号を付し、説明を適宜、省略する。 In FIGS. 6 and 7, the same members are designated by the same reference numerals, and the description thereof will be omitted as appropriate.

図6に示すように、モバイル端末100は、直方体の対象物OBを測定しており、直方体の対象物OBの横X、縦Y、高さZを測定する。また、図7では、撮影画像GZ6における対象物OBは、背景面200における直方体の対象物OBとして測定されている。 As shown in FIG. 6, the mobile terminal 100 measures the rectangular parallelepiped object OB, and measures the horizontal X, the vertical Y, and the height Z of the rectangular parallelepiped object OB. Further, in FIG. 7, the object OB in the captured image GZ6 is measured as a rectangular parallelepiped object OB on the background surface 200.

測定部113は、例えば、図6および図7に示すように、交点P1と交P2の距離と、交点P3と交点P4の距離の平均値を、直方体の対象物OBの横Xの長さとして測定する。また、測定部113は、例えば、交点P1と交P3の距離と、交点P2と交点P4の距離の平均値を、直方体の対象物OBの縦Yの長さとして測定する。 As shown in FIGS. 6 and 7, for example, the measuring unit 113 uses the average value of the distance between the intersection P1 and the intersection P2 and the distance between the intersection P3 and the intersection P4 as the length of the lateral X of the rectangular parallelepiped object OB. Measure. Further, the measuring unit 113 measures, for example, the average value of the distance between the intersection P1 and the intersection P3 and the distance between the intersection P2 and the intersection P4 as the length of the vertical Y of the rectangular parallelepiped object OB.

また、測定部113は、例えば、交点P2と背面座標H2の距離を、直方体の対象物OBの高さZとして測定する。なお、測定部113は、例えば、交点P1と背面座標H1の距離と、交点P2と背面座標H2の距離と、交点P3と背面座標H3の距離と、交点P4と背面座標H4の距離の平均値を算出し、直方体の対象物OBの高さZとしてもよい。また、対象物OBは、直方体であるため、交点P1と背面座標H1の距離を、直方体の対象物OBの高さZとして測定してもよい。なお、測定部113による測定方法は、特に限定されるものではない。 Further, the measuring unit 113 measures, for example, the distance between the intersection P2 and the back coordinate H2 as the height Z of the object OB of the rectangular parallelepiped. The measuring unit 113 is, for example, an average value of the distance between the intersection P1 and the back coordinate H1, the distance between the intersection P2 and the back coordinate H2, the distance between the intersection P3 and the back coordinate H3, and the distance between the intersection P4 and the back coordinate H4. May be calculated and used as the height Z of the object OB of the rectangular body. Further, since the object OB is a rectangular parallelepiped, the distance between the intersection P1 and the back coordinate H1 may be measured as the height Z of the rectangular parallelepiped object OB. The measuring method by the measuring unit 113 is not particularly limited.

図4に戻り、説明を続ける。
測定部113は、測定部113で測定した直方体の対象物OBの物理的なサイズを表示部160の表示画面に表示する(ステップS011)。
Returning to FIG. 4, the explanation will be continued.
The measuring unit 113 displays the physical size of the rectangular parallelepiped object OB measured by the measuring unit 113 on the display screen of the display unit 160 (step S011).

図8は、モバイル端末100の表示部160の表示画面162に、直方体の対象物OBの物理的なサイズを表示した例を示した説明図である。 FIG. 8 is an explanatory diagram showing an example in which the physical size of a rectangular parallelepiped object OB is displayed on the display screen 162 of the display unit 160 of the mobile terminal 100.

図8に示すように、表示画面162の上部に、直方体の対象物OBの測定結果が表示されており、例えば、直方体に対象物OBは、「縦:10.8cm、横:10.8cm、高さ:10.3cm」と表示されている。 As shown in FIG. 8, the measurement result of the rectangular parallelepiped object OB is displayed on the upper part of the display screen 162. For example, the rectangular parallelepiped object OB is "length: 10.8 cm, width: 10.8 cm, Height: 10.3 cm "is displayed.

図4に戻り、説明を続ける。
CPU110の振分部114は、測定部113で測定した直方体の対象物OBの物理的なサイズに基づいて、当該直方体の対象物OBの収納先を振分する(ステップS013)。
Returning to FIG. 4, the explanation will be continued.
The distribution unit 114 of the CPU 110 distributes the storage destination of the rectangular parallelepiped object OB based on the physical size of the rectangular parallelepiped object OB measured by the measurement unit 113 (step S013).

振分部114は、例えば、直方体の対象物OBの体積に基づいて、収納先を振り分けることができる。振分部114は、具体的には、体積が1000[cm]以上か否かによって、直方体の対象物OBの収納先を自動的に振り分けることができる。 The distribution unit 114 can distribute the storage destination based on the volume of the rectangular parallelepiped object OB, for example. Specifically, the distribution unit 114 can automatically distribute the storage destination of the rectangular parallelepiped object OB depending on whether or not the volume is 1000 [cm 3 ] or more.

図8の場合、直方体の対象物OBの体積は、約1200[cm]になるため、振分部114は、直方体の対象物OBを倉庫Kに格納するように振り分ける。もし、直方体の対象物の体積が、950[cm]の場合には、振分部114は、倉庫Lに格納されるように、直方体の対象物OBの収納先を振り分ける。 In the case of FIG. 8, since the volume of the rectangular parallelepiped object OB is about 1200 [cm 3 ], the distribution unit 114 distributes the rectangular parallelepiped object OB so as to be stored in the warehouse K. If the volume of the rectangular parallelepiped object is 950 [cm 3 ], the distribution unit 114 distributes the storage destination of the rectangular parallelepiped object OB so as to be stored in the warehouse L.

また、振分部114は、例えば、直方体の対象物OBの高さに基づいて、収納先を振り分けることもできる。振分部114は、具体的には、直方体の対象物OBの高さが20[cm]以上か否かによって、直方体の対象物OBの収納先を自動的に振り分けることができる。 Further, the distribution unit 114 can also distribute the storage destination based on, for example, the height of the object OB of the rectangular parallelepiped. Specifically, the distribution unit 114 can automatically distribute the storage destination of the rectangular parallelepiped object OB depending on whether or not the height of the rectangular parallelepiped object OB is 20 [cm] or more.

図8の場合、直方体の対象物OBの高さは、約10[cm]であるため、振分部114は、直方体の対象物OBを倉庫Mに格納するように振り分ける。もし、直方体の対象物の体積が、25[cm]の場合には、振分部114は、倉庫Nに格納されるように、直方体の対象物OBの収納先を振り分ける。 In the case of FIG. 8, since the height of the rectangular parallelepiped object OB is about 10 [cm], the distribution unit 114 distributes the rectangular parallelepiped object OB so as to be stored in the warehouse M. If the volume of the rectangular parallelepiped object is 25 [cm], the distribution unit 114 distributes the storage destination of the rectangular parallelepiped object OB so as to be stored in the warehouse N.

振分部114は、直方体の対象物OBの収納先を振り分けると、図4に示す処理を終了する。 When the distribution unit 114 distributes the storage destination of the rectangular parallelepiped object OB, the process shown in FIG. 4 ends.

以上説明したように、本実施形態に係るモバイル端末100は、撮影部180と、深度センサ190と、取得部111と、抽出部112と、測定部113とを備えて構成されている。 As described above, the mobile terminal 100 according to the present embodiment includes a photographing unit 180, a depth sensor 190, an acquisition unit 111, an extraction unit 112, and a measurement unit 113.

取得部111は、撮影部180で撮影したマーカMKが付された直方体の対象物OBの撮影画像と、深度センサ190で測定した撮影部180から直方体の対象物OBまでの深度情報と、を取得する。抽出部112は、マーカMKが付された直方体の対象物OBの撮影画像と深度情報とに基づいて、撮影画像における直方体の対象物OBの四隅の座標(交点P1~P4)と、当該四隅の背面座標H1~H4とを抽出する。測定部113は、直方体の対象物OBの四隅の座標(交点P1~P4)と、当該四隅の背面座標H1~H4とに基づいて、直方体の対象物OBの物理的なサイズを測定する。 The acquisition unit 111 acquires the captured image of the rectangular parallelepiped object OB with the marker MK photographed by the imaging unit 180 and the depth information from the imaging unit 180 to the rectangular parallelepiped object OB measured by the depth sensor 190. do. The extraction unit 112 sets the coordinates (intersection points P1 to P4) of the four corners of the rectangular parallelepiped object OB in the captured image and the coordinates of the four corners of the four corners based on the captured image and the depth information of the rectangular parallelepiped object OB to which the marker MK is attached. The back coordinates H1 to H4 are extracted. The measuring unit 113 measures the physical size of the rectangular parallelepiped object OB based on the coordinates (intersection points P1 to P4) of the four corners of the rectangular parallelepiped object OB and the backside coordinates H1 to H4 of the four corners.

これにより、本実施形態に係るモバイル端末100は、マーカMKにより対象物OBの表面を認識して、撮影対象物の高さを測定することができる。 Thereby, the mobile terminal 100 according to the present embodiment can recognize the surface of the object OB by the marker MK and measure the height of the object to be photographed.

特に、取得部111、抽出部112、及び測定部113は、アプリケーション170として自動的に実行させることができるので、ユーザは、入力部150を操作して、撮影部180で撮影したマーカMKが付された直方体の対象物OBの撮影画像と、深度センサ190で測定した撮影部180から直方体の対象物OBまでの深度情報と、を取得するだけで、容易に、直方体の対象物OBの物理的なサイズを測定することができる。 In particular, since the acquisition unit 111, the extraction unit 112, and the measurement unit 113 can be automatically executed as the application 170, the user operates the input unit 150 to attach a marker MK photographed by the photographing unit 180. By simply acquiring the captured image of the rectangular parallelepiped object OB and the depth information from the photographing unit 180 measured by the depth sensor 190 to the rectangular parallelepiped object OB, the physical physical of the rectangular parallelepiped object OB can be easily obtained. Size can be measured.

なお、本実施形態では、モバイル端末100は、マーカMKが付された直方体の対象物OBを撮影するようになっていたが、例えば、対象物OBに図柄が付されている場合は、その図柄をマーカMKとみなしてもよい。 In the present embodiment, the mobile terminal 100 is designed to photograph a rectangular parallelepiped object OB to which the marker MK is attached. For example, when the object OB has a symbol, the symbol is attached. May be regarded as a marker MK.

これにより、モバイル端末100は、対象物OBに図柄が付されていれば、対象物OBの表面を認識して、撮影対象物の高さを測定することができる。なお、図柄は対象物OBの特徴点になり得るため、図柄が多いほど表面の検出精度が向上し、対象物OBの物理的なサイズの測定精度が向上する。 As a result, if the object OB has a pattern, the mobile terminal 100 can recognize the surface of the object OB and measure the height of the object to be photographed. Since the symbol can be a feature point of the object OB, the more symbols there are, the better the surface detection accuracy and the better the measurement accuracy of the physical size of the object OB.

また、本実施形態において、対象物OBに付されたマーカMKは、背景面200との関係で、対象物OBの表面を特定するようにしてもよい。 Further, in the present embodiment, the marker MK attached to the object OB may specify the surface of the object OB in relation to the background surface 200.

具体的には、背景面200に、ボーダー、ストライプ、市松模様などを設け、直方体の対象物OBの表面を無地とする。これにより、背景面200に載置された直方体の対象物OBは、背景面200によって直方体の対象物OBの表面が特定されるため、対象物OBの高さを測定することができる。この場合、直方体の対象物OBにおけるマーカMKは、無地によって構成される。 Specifically, a border, a stripe, a checkered pattern, or the like is provided on the background surface 200, and the surface of the rectangular parallelepiped object OB is made plain. As a result, in the rectangular parallelepiped object OB placed on the background surface 200, the surface of the rectangular parallelepiped object OB is specified by the background surface 200, so that the height of the rectangular parallelepiped object OB can be measured. In this case, the marker MK in the rectangular parallelepiped object OB is composed of a solid color.

同様に、背景面200を無地に設定し、対象物OBに付されるマーカMKを、ボーダー、ストライプ、市松模様などで構成するようにしてもよい。 Similarly, the background surface 200 may be set to a solid color, and the marker MK attached to the object OB may be composed of a border, a stripe, a checkered pattern, or the like.

また、マーカMKは、図柄、目印、無地、ボーダー、ストライプ、市松模様などに限定されるものではなく、背景面200に対し、反対色で構成されていてもよい。すなわち、本実施形態におけるマーカMKは、背景面200との関係で、対象物OBの表面を特定することができればよい。 Further, the marker MK is not limited to a pattern, a mark, a solid color, a border, a stripe, a checkered pattern, or the like, and may be configured in the opposite color to the background surface 200. That is, it is sufficient that the marker MK in the present embodiment can specify the surface of the object OB in relation to the background surface 200.

また、マーカMKは、直方体の対象物OBにおいて、表面に付されていたが、例えば、四隅のいずれか1つに配置するようにしてもよい。この場合、マーカMKが配置された隅において、高さZを測定することができるので、その高さZの測定精度を向上させることができる。 Further, although the marker MK is attached to the surface of the rectangular parallelepiped object OB, it may be arranged at any one of the four corners, for example. In this case, since the height Z can be measured at the corner where the marker MK is arranged, the measurement accuracy of the height Z can be improved.

また、マーカMKは、直方体の対象物OBの中央に配置されるようにしてもよい。例えば、直方体の対象物OBが空き箱で構成されている場合、空き箱の中央付近が凹むことが想定されるので、マーカMKを対象物OBである空き箱の中央付近に配置することにより、対象物OBの表面を特定する精度を向上させることができる。 Further, the marker MK may be arranged at the center of the rectangular parallelepiped object OB. For example, when the rectangular parallelepiped object OB is composed of an empty box, it is assumed that the vicinity of the center of the empty box is dented. Therefore, by arranging the marker MK near the center of the empty box which is the object OB, The accuracy of identifying the surface of the object OB can be improved.

100 モバイル端末
110 CPU
111 取得部
112 抽出部
113 測定部
114 振分部
120 記憶部
130 ROM
140 RAM
150 入力部
160 表示部
170 アプリケーション
180 撮影部
190 深度センサ
195 内部バス
OB 対象物(撮影対象物)
MK マーカ
100 mobile terminal 110 CPU
111 Acquisition unit 112 Extraction unit 113 Measurement unit 114 Distribution unit 120 Storage unit 130 ROM
140 RAM
150 Input section 160 Display section 170 Application 180 Shooting section 190 Depth sensor 195 Internal bus OB Object (shooting target)
MK marker

Claims (5)

マーカが付された直方体の対象物を撮影する撮影部と、
前記直方体の対象物までの深度情報を測定する深度センサと、
前記撮影部で撮影した前記マーカが付された直方体の対象物の撮影画像と、前記深度センサで測定した前記撮影部から前記直方体の対象物までの深度情報と、を取得する取得部と、
取得した前記撮影画像において、前記直方体の対象物の境界線を画像処理により複数抽出し、前記境界線同士が交差する交点を特定して前記直方体の対象物の四隅の座標を前記撮影部のモデル座標として特定し、
前記四隅の座標のそれぞれに対応する背面座標を前記撮影部のモデル座標として抽出し、
前記撮影画像の各画素のそれぞれに対応する前記深度情報を適用して、前記撮影部のモデル座標からワールド座標に変換し、3次元空間における前記直方体の対象物の四隅の座標と当該四隅の背面座標とをワールド座標として抽出する抽出部と、
前記抽出部で抽出した、前記直方体の対象物の四隅の座標と前記四隅の背面座標とに基づいて、前記直方体の対象物の物理的なサイズを測定する測定部と、
を備えることを特徴とするモバイル端末。
A shooting unit that shoots a rectangular parallelepiped object with a marker,
A depth sensor that measures depth information to the rectangular parallelepiped object,
An acquisition unit for acquiring a captured image of a rectangular parallelepiped object with the marker photographed by the imaging unit, and depth information from the imaging unit measured by the depth sensor to the rectangular parallelepiped object.
In the acquired captured image, a plurality of boundary lines of the rectangular parallelepiped object are extracted by image processing, intersections where the boundary lines intersect are specified, and the coordinates of the four corners of the rectangular parallelepiped object are set as a model of the imaging unit. Specified as coordinates,
The back coordinates corresponding to each of the coordinates of the four corners are extracted as the model coordinates of the photographing unit, and the coordinates are extracted.
The depth information corresponding to each pixel of the captured image is applied to convert the model coordinates of the photographing unit into world coordinates, and the coordinates of the four corners of the rectangular parallelepiped object in the three-dimensional space and the back surface of the four corners. An extractor that extracts coordinates as world coordinates,
A measuring unit that measures the physical size of the rectangular parallelepiped object based on the coordinates of the four corners of the rectangular parallelepiped object and the back coordinates of the four corners extracted by the extraction unit.
A mobile terminal characterized by being equipped with.
前記マーカは、前記対象物の表面を特定し、
前記抽出部は、
前記マーカにより、前記撮影画像における前記直方体の対象物の表面と背景面とを識別すると共に、前記深度情報に基づいて、前記四隅の背面座標を抽出する、
ことを特徴とする請求項1に記載のモバイル端末。
The marker identifies the surface of the object and
The extraction unit
The marker identifies the surface and the background surface of the rectangular parallelepiped object in the captured image, and extracts the back coordinates of the four corners based on the depth information.
The mobile terminal according to claim 1.
表示部をさらに備え、
前記表示部は、
前記測定部で測定した前記直方体の対象物の物理的なサイズを表示する、
ことを特徴とする請求項1または2に記載のモバイル端末。
With more display
The display unit is
The physical size of the rectangular parallelepiped object measured by the measuring unit is displayed.
The mobile terminal according to claim 1 or 2, wherein the mobile terminal is characterized in that.
前記測定部で測定した前記直方体の対象物の物理的なサイズに基づいて、当該直方体の対象物の収納先を振分する振分部を、さらに備える、
ことを特徴とする請求項1から3のいずれか1項に記載のモバイル端末。
Further, a distribution unit for distributing the storage destination of the object of the rectangular parallelepiped based on the physical size of the object of the rectangular parallelepiped measured by the measurement unit is provided.
The mobile terminal according to any one of claims 1 to 3, wherein the mobile terminal is characterized by the above.
撮影部で、マーカが付された直方体の対象物を撮影するステップと、
深度センサで、前記直方体の対象物までの深度情報を測定するステップと、
前記撮影部で撮影した前記マーカが付された直方体の対象物の撮影画像と、前記深度センサで測定した前記撮影部から前記直方体の対象物までの深度情報と、を取得するステップと、
取得した前記撮影画像において、前記直方体の対象物の境界線を画像処理により複数抽出するステップと、
前記境界線同士が交差する交点を特定して前記直方体の対象物の四隅の座標を前記撮影部のモデル座標として特定するとともに、前記四隅の座標のそれぞれに対応する背面座標を前記撮影部のモデル座標として抽出するステップと、
前記撮影画像の各画素のそれぞれに対応する前記深度情報を適用して、前記撮影部のモデル座標からワールド座標に変換し、3次元空間における前記直方体の対象物の四隅の座標と当該四隅の背面座標とをワールド座標として抽出するステップと、
抽出した、前記直方体の対象物の四隅の座標と前記四隅の背面座標とに基づいて、前記直方体の対象物の物理的なサイズを測定するステップと、
を含むモバイル端末を用いたサイズ測定方法。
In the shooting section, the step of shooting a rectangular parallelepiped object with a marker,
The step of measuring the depth information to the object of the rectangular parallelepiped with the depth sensor, and
A step of acquiring a captured image of a rectangular parallelepiped object with the marker taken by the photographing unit and depth information from the photographing unit to the rectangular parallelepiped object measured by the depth sensor.
In the acquired image, a step of extracting a plurality of boundary lines of the rectangular parallelepiped object by image processing and
The intersections where the boundary lines intersect are specified, the coordinates of the four corners of the rectangular parallelepiped object are specified as the model coordinates of the photographing unit, and the back coordinates corresponding to the coordinates of the four corners are the model of the photographing unit. Steps to extract as coordinates and
The depth information corresponding to each pixel of the captured image is applied to convert the model coordinates of the photographing unit into world coordinates, and the coordinates of the four corners of the rectangular parallelepiped object in the three-dimensional space and the back surface of the four corners. Steps to extract coordinates as world coordinates,
A step of measuring the physical size of the rectangular parallelepiped object based on the coordinates of the four corners of the rectangular parallelepiped object and the coordinates of the back of the four corners,
A size measurement method using a mobile terminal including.
JP2021150605A 2021-09-15 2021-09-15 Mobile terminals and size measurement methods using mobile terminals Active JP7034448B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021150605A JP7034448B1 (en) 2021-09-15 2021-09-15 Mobile terminals and size measurement methods using mobile terminals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021150605A JP7034448B1 (en) 2021-09-15 2021-09-15 Mobile terminals and size measurement methods using mobile terminals

Publications (2)

Publication Number Publication Date
JP7034448B1 true JP7034448B1 (en) 2022-03-14
JP2023043090A JP2023043090A (en) 2023-03-28

Family

ID=81213494

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021150605A Active JP7034448B1 (en) 2021-09-15 2021-09-15 Mobile terminals and size measurement methods using mobile terminals

Country Status (1)

Country Link
JP (1) JP7034448B1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013108933A (en) 2011-11-24 2013-06-06 Kddi Corp Information terminal device
JP2018112521A (en) 2017-01-13 2018-07-19 株式会社オプトエレクトロニクス Dimension measurement device, information reading device with measurement function, and dimension measurement method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010008352A (en) * 2008-06-30 2010-01-14 3D Media Co Ltd Size measuring method and size measuring device
JP2021025853A (en) * 2019-08-02 2021-02-22 オムロン株式会社 Size measuring device, size measuring method, and program
JP6798725B1 (en) * 2019-11-14 2020-12-09 Necプラットフォームズ株式会社 Luggage measuring device, luggage reception system, luggage measuring method, and program

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013108933A (en) 2011-11-24 2013-06-06 Kddi Corp Information terminal device
JP2018112521A (en) 2017-01-13 2018-07-19 株式会社オプトエレクトロニクス Dimension measurement device, information reading device with measurement function, and dimension measurement method

Also Published As

Publication number Publication date
JP2023043090A (en) 2023-03-28

Similar Documents

Publication Publication Date Title
CN108009675B (en) Goods packing method, device and system
JP6176598B2 (en) Dimension measurement program, dimension measurement apparatus, and dimension measurement method
JP5480777B2 (en) Object display device and object display method
JP6789624B2 (en) Information processing device, information processing method
US10204404B2 (en) Image processing device and image processing method
EP3178082B1 (en) Information processing apparatus and information processing method
JP2005326282A (en) Position and attitude measurement method and system
CN111353930B (en) Data processing method and device, electronic equipment and storage medium
CN110460835B (en) Image processing apparatus, control method thereof, and computer-readable storage medium
CN108830186B (en) Text image content extraction method, device, equipment and storage medium
JP2010008352A (en) Size measuring method and size measuring device
CN108074237B (en) Image definition detection method and device, storage medium and electronic equipment
US9269004B2 (en) Information processing terminal, information processing method, and program
US9921054B2 (en) Shooting method for three dimensional modeling and electronic device supporting the same
KR101703013B1 (en) 3d scanner and 3d scanning method
JP2013108933A (en) Information terminal device
US20240071016A1 (en) Mixed reality system, program, mobile terminal device, and method
JP5812550B1 (en) Image display device, image display method, and program
US20180158171A1 (en) Display apparatus and controlling method thereof
CN111598933A (en) Electronic device and object measuring method thereof
JP2007286715A (en) Image composition device and image composition program
JP7034448B1 (en) Mobile terminals and size measurement methods using mobile terminals
JP2004030408A (en) Three-dimensional image display apparatus and display method
TW201324436A (en) Method and system establishing 3D object
CN110211243B (en) AR equipment and entity labeling method thereof

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210916

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20210916

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20211130

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211227

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220217

R150 Certificate of patent or registration of utility model

Ref document number: 7034448

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150