Measuring device, measuring method, and program

The device uses a camera and distance sensor to display a superimposed reference image, enabling users to set accurate reference planes for height measurement, addressing inaccuracies in existing methods and ensuring precise dimension assessment.

JP2024153309APending Publication Date: 2024-10-29PANASONIC INTELLECTUAL PROPERTY MANAGEMENT CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023067117
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-17
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

Existing methods for measuring the height of an object inaccurately rely on incorrect height references, leading to incorrect measurements when the device mistakenly identifies the wrong surface as the reference point.

Method used

A measuring device and method that includes a camera and distance sensor to display a camera image with a superimposed reference setting image, allowing the user to set a correct reference plane for height measurement, using the output data of the distance sensor to accurately determine the object's height.

Benefits of technology

Enables accurate height measurement by allowing users to select the appropriate reference plane, reducing errors and ensuring precise dimension assessment even in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024153309000001_ABST
    Figure 2024153309000001_ABST
Patent Text Reader

Abstract

To provide a measuring device capable of precisely measuring the height of objects.SOLUTION: The measuring device includes: a camera image display unit for displaying camera images: a setting image display unit that displays a reference setting image overlapping the camera image; and a measurement unit that measures the height of a part of an object based on the corresponding reference setting image of the output data by a distance sensor.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a measurement device, a measurement method, and a program. [Background technology]

[0002] The delivery fee is determined by the size of the package, for example, the sum of the width (horizontal), height (vertical), and depth of the package, which has a rectangular shape. For this reason, the delivery company measures the width, height, and depth of the package, for example, using a tape measure. It would be convenient if the size of the package could be automatically measured using a sensor such as a camera or distance sensor of a mobile terminal such as a smartphone, rather than measuring the size using a tape measure.

[0003] Patent Document 1 proposes an object dimension measurement method that can achieve dimension measurement accuracy exceeding the resolution of a distance imaging camera simply by arranging the camera. Patent Document 2 proposes an object movement measurement device that can contribute to easily measuring the movement of an object at any location by accelerating data processing. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2011-196860 A [Patent Document 2] JP 2023-20071 A Summary of the Invention [Problem to be solved by the invention]

[0005] When measuring the height of an object, a height reference is necessary. Therefore, if the height reference of an object is incorrect in a device for measuring the height of an object, the height of the object will be measured incorrectly.

[0006] For example, when a stand is placed on a floor and an object to be measured is placed on the stand, the reference for measuring the height of the object is the top plate of the stand on which the object is placed. If a device for measuring the height of an object erroneously determines that the reference for the height of the object is the floor, the device will erroneously measure the height of the object.

[0007] Non-limiting examples of the present disclosure contribute to providing a measurement device, a measurement method, and a program that can accurately measure the height of an object. [Means for solving the problem]

[0008] A measuring device according to one embodiment of the present disclosure has a camera image display unit that displays a camera image, a setting image display unit that displays a reference setting image superimposed on the camera image, and a measurement unit that measures the height of an object based on a portion of the output data of a distance sensor that corresponds to the reference setting image.

[0009] A measurement method according to one embodiment of the present disclosure displays a camera image, displays a reference setting image superimposed on the camera image, and measures the height of an object based on a portion of the output data of a distance sensor that corresponds to the reference setting image.

[0010] A program according to one embodiment of the present disclosure causes a processor to execute a process of displaying a camera image, displaying a reference setting image superimposed on the camera image, and measuring the height of an object based on a portion of the output data of a distance sensor that corresponds to the reference setting image.

[0011] These comprehensive or specific aspects may be realized as a system, an apparatus, a method, an integrated circuit, a computer program, or a recording medium, or may be realized as any combination of a system, an apparatus, a method, an integrated circuit, a computer program, and a recording medium. Effect of the Invention

[0012] According to one embodiment of the present disclosure,

[0013] Further advantages and benefits of an embodiment of the present disclosure will become apparent from the specification and drawings, in which such advantages and / or benefits are provided by some of the embodiments and features described in the specification and drawings, respectively, but not necessarily all of which are provided to obtain one or more identical features. [Brief description of the drawings]

[0014] [Figure 1] A diagram showing an example of the measurement system configuration [Diagram 2] Diagram explaining the reference plane [Diagram 3] A diagram showing an example of the block configuration of a mobile terminal. [Figure 4] A diagram showing an example of a mobile device screen [Diagram 5] A diagram showing an example of a mobile device screen [Figure 6] A diagram showing an example of a mobile device screen [Figure 7] A diagram showing an example of a mobile device screen [Figure 8] Diagram explaining rule 1 [Figure 9] Diagram explaining rule 2 [Figure 10] Diagram explaining rule 3 [Figure 11] FIG. 1 is a diagram illustrating an example of extraction of a reference plane. [Figure 12] FIG. 1 is a diagram illustrating an example of extraction of a reference plane. [Figure 13] A flowchart showing an example of an operation for moving a reference plane setting image of a mobile terminal [Figure 14] A flowchart showing an example of a measurement operation of a mobile device with respect to a measurement target. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] Hereinafter, the embodiments of the present disclosure will be described in detail with reference to the drawings as appropriate. However, more detailed explanation than necessary may be omitted. For example, detailed explanation of already well-known matters or duplicate explanation of substantially the same configuration may be omitted. This is to avoid the following explanation becoming unnecessarily redundant and to facilitate understanding by those skilled in the art.

[0016] It should be noted that the accompanying drawings and the following description are provided to enable those skilled in the art to fully understand the present disclosure, and are not intended to limit the subject matter described in the claims.

[0017] <System configuration example> Fig. 1 is a diagram showing an example of the configuration of a measurement system. As shown in Fig. 1, the measurement system has a mobile terminal 1 and a server 2. In addition to the measurement system, Fig. 1 also shows a network 3, a measurement object A1a such as a parcel whose size is to be measured, and a stand A1b on which the measurement object A1a is placed.

[0018] The network 3 is configured by, for example, a wireless network such as a mobile phone network, the Internet, etc. The mobile terminal 1 and the server 2 are connected to the network 3 by wire or wirelessly. The mobile terminal 1 and the server 2 communicate with each other via the network 3.

[0019] The mobile terminal 1 is, for example, a smartphone or a tablet terminal. The mobile terminal 1 may also be called a terminal, an information processing device, or a measuring device. The mobile terminal 1 includes a camera having an imaging element and a distance sensor such as LiDAR (Light Detection And Ranging). The distance sensor may also be called a three-dimensional sensor. The camera and distance sensor of the mobile terminal 1 capture an image of a measurement target A1a such as a parcel in response to an operation of a user such as a parcel delivery person.

[0020] The mobile terminal 1 displays the subject captured by the camera on the display. For example, the mobile terminal 1 displays the measurement target A1a captured by the camera, the stand A1b, and the floor on which the stand A1b is placed, in an area A1c of the display shown in FIG.

[0021] The portable terminal 1 measures the width, height, and depth of the measurement object A1a based on the output data of the distance sensor. The portable terminal 1 displays the width, height, and depth of the measurement object A1a to be measured on a display. For example, the portable terminal 1 displays the width, height, and depth of the measurement object A1a in an area A1d of the display shown in Fig. 1. The output data of the distance sensor is, for example, three-dimensional coordinate data, and may be referred to as point cloud data, three-dimensional data, measurement points, or distance image data.

[0022] The mobile terminal 1 displays the reference plane setting image 1a on the display. For example, the mobile terminal 1 displays the reference plane setting image 1a in the shape of a rectangular frame, superimposed on the camera image displayed in the area A1c of the display.

[0023] The reference plane setting image 1a moves on the camera image displayed in the area A1c in response to a user's operation. For example, when the user touches and drags the reference plane setting image 1a, the reference plane setting image 1a moves on the camera image displayed in the area A1c in accordance with the user's drag operation.

[0024] The reference plane setting image 1a is an image for setting (specifying) a reference plane for measuring the height of the measurement target A1a. The reference plane is set, for example, by a user on the surface of an object on which the measurement target A1a is placed. In the example of FIG. 1, the reference plane setting image 1a is set (placed) by the user on the top plate of a stand A1b.

[0025] The mobile terminal 1 measures the height of the measurement object A1a using the surface on which the reference plane setting image 1a is set as the reference plane. For example, the mobile terminal 1 measures the height of the measurement object A1a (the height to the upper surface (top surface) of the measurement object A1a image-recognized by the distance sensor) from the top plate of the table A1b on which the reference plane setting image 1a is set (based on the top plate of the table A1b image-recognized by the distance sensor).

[0026] The server 2 is, for example, a server managed by a delivery company. The mobile terminal 1 transmits to the server 2, as necessary, the width and depth of the measurement object A1a measured based on the output data of the distance sensor, the height of the measurement object A1a measured based on the above-mentioned reference plane, and camera image data of the measurement object A1a.

[0027] As an example of how to use the mobile terminal 1, the user may place the reference plane setting image 1a at the edge of the area A1c of the display. For example, the user places the reference plane setting image 1a at the lower left edge of the area A1c of the display as shown in FIG. 1. The user adjusts the shooting direction of the mobile terminal 1 so that the measurement target A1a is reflected in the center of the area A1c of the display and the stand A1b on which the measurement target A1a is placed is reflected in the reference plane setting image 1a placed at the edge of the area A1c. In this case, the user does not need to move the reference plane setting image 1a while shooting the measurement target A1a.

[0028] <Reference plane> Fig. 2 is a diagram illustrating the reference plane. Fig. 2(A) shows a measurement object A2a, a stand A2b on which the measurement object A2a is placed, a floor A2c on which the stand A2b is placed, and the mobile terminal 1 described in Fig. 1. The dotted line A2d shown in Fig. 2(A) indicates the angle of view of the distance sensor of the mobile terminal 1.

[0029] Fig. 2B shows a measurement object A2e, a floor A2f on which the measurement object A2e is placed, and the mobile terminal 1 described in Fig. 1. A dotted line A2g shown in Fig. 2B indicates the angle of view of the distance sensor of the mobile terminal 1.

[0030] Fig. 2C, like Fig. 2A, shows a measurement object A2a, a stand A2b on which the measurement object A2a is placed, a floor A2c on which the stand A2b is placed, and the mobile terminal 1 described in Fig. 1. The dotted line A2j shown in Fig. 2C indicates the angle of view of the distance sensor of the mobile terminal 1. In Fig. 2C, a part of the stand A2b is not included in the angle of view of the distance sensor of the mobile terminal 1.

[0031] 2A, when a user uses the mobile terminal 1 to capture an image at the angle of view indicated by the dotted line A2d, the mobile terminal 1 obtains image data including the measurement object A2a, the table A2b, and the floor A2c. In this case, the top plate of the table A2b and the floor surface of the floor A2c exist as reference planes for measuring the height of the measurement object A2a.

[0032] As described in Fig. 1, the user can set a reference plane for measuring the height of the measurement object A2a by using the reference plane setting image 1a displayed on the screen of the mobile terminal 1. In the example of Fig. 2(A), the top plate of the table A2b on which the measurement object A2a is placed is set as the reference plane for measuring the height of the measurement object A2a.

[0033] The mobile terminal 1 compares the camera image data of the camera with the output data of the distance sensor, and identifies the output data of the distance sensor corresponding to the position of the reference plane setting image 1a set (placed) on the camera image data. In the case of the example of FIG. 2(A), as described above, the top plate of the table A2b on which the measurement object A2a is placed is set as the reference plane for measuring the height of the measurement object A2a. Therefore, the mobile terminal 1 identifies the top plate of the table A2b as the reference plane for measuring the height of the measurement object A2a. Then, the mobile terminal 1 measures the height of the measurement object A2a from the identified top plate of the table A2b. As a result, the mobile terminal 1 can accurately measure the height of the measurement object A2a by using the top plate of the table A2b on which the measurement object A2a is placed as the reference plane, without using the floor A2c as the reference plane.

[0034] 2B, when a user uses the mobile terminal 1 to capture an image at the angle of view indicated by the dotted line A2g, the mobile terminal 1 obtains image data including the measurement object A2e and the floor A2f. In this case, the horizontal plane (surface indicated by the arrow A2h) excluding the top surface of the measurement object A2e and the floor surface of the floor A2f exist as reference planes for measuring the height of the measurement object A2e.

[0035] As described in Fig. 1, the user can set a reference plane for measuring the height of the measurement object A2e using the reference plane setting image 1a displayed on the screen of the mobile terminal 1. In the example of Fig. 2(B), the floor surface of the floor A2f on which the measurement object A2e is placed is set as the reference plane for measuring the height of the measurement object A2e.

[0036] The mobile terminal 1 compares the camera image data of the camera with the output data of the distance sensor, and identifies the output data of the distance sensor corresponding to the position of the reference plane setting image 1a set (placed) on the camera image data. In the case of the example of FIG. 2B, as described above, the floor A2f on which the measurement object A2e is placed is set as the reference plane for measuring the height of the measurement object A2e. Therefore, the mobile terminal 1 identifies the floor surface of the floor A2f as the reference plane for measuring the height of the measurement object A2e. Then, the mobile terminal 1 measures the height of the measurement object A2e from the identified floor surface of the floor A2f. As a result, the mobile terminal 1 can accurately measure the height of the measurement object A2e by using the floor surface of the floor A2f on which the measurement object A2e is placed as the reference plane, without using the plane indicated by the arrow A2h of the measurement object A2e as the reference plane.

[0037] As shown in FIG. 2C, when a user uses the portable terminal 1 to capture an image at the angle of view indicated by the dotted line A2j, the portable terminal 1 obtains image data including the measurement target A2a and a part of the platform A2b. In this case, the end of the angle of view indicated by the arrow A2i in FIG. 2C is the image data (point cloud data) at the lowest position, and the portable terminal 1 recognizes that the object (platform A2b) exists based on the part of the point cloud data at the lowest position. Therefore, the portable terminal 1 recognizes the part of the point cloud data at the lowest position as the surface on which the object (platform A2b) is placed. Therefore, in the case of FIG. 2C, the surface at the end of the angle of view indicated by the arrow A2i and the top plate of the platform A2b exist as the reference surface for measuring the height of the measurement target A2a.

[0038] As described in Fig. 1, the user can set a reference plane for measuring the height of the measurement object A2a by using the reference plane setting image 1a displayed on the screen of the mobile terminal 1. In the example of Fig. 2(C), the top plate of the table A2b on which the measurement object A2a is placed is set as the reference plane for measuring the height of the measurement object A2a.

[0039] 2A, the mobile terminal 1 measures the height of the measurement object A2a from the top plate of the table A2b that the user has set as the reference plane. This allows the mobile terminal 1 to accurately measure the height of the measurement object A2a by using the top plate of the table A2b on which the measurement object A2a is placed as the reference plane, without using the portion of the table A2b indicated by the arrow A2i as the reference plane.

[0040] <Block configuration example> Fig. 3 is a diagram showing an example of a block configuration of the mobile terminal 1. As shown in Fig. 3, the mobile terminal 1 has a control unit 11, a communication unit 12, an input unit 13, a display unit 14, a camera 15, a distance sensor 16, and a storage unit 17.

[0041] The control unit 11 controls the entire mobile terminal 1. The control unit 11 may be configured with a processor such as a central processing unit (CPU) and a graphics processing unit (GPU), for example.

[0042] The control unit 11 realizes a function of measuring a measurement target such as a parcel. The control unit 11 has a camera image display unit 11a, a reference plane setting image display unit 11b, a measurement unit 11c, and an auxiliary image display unit 11d. The control unit 11 may realize each of the above-mentioned functions by executing a program stored in the storage unit 17, for example.

[0043] The camera image display unit 11a of the mobile terminal 1 displays the camera image of the camera 15 on the display. The reference plane setting image display unit 11b displays the reference plane setting image on the display by superimposing it on the camera image. The measurement unit 11c obtains the position of the reference plane from the data of the area of ​​the output data of the distance sensor 16 that corresponds to the reference plane setting image, and measures the height, width, and depth of the measurement object. The auxiliary image display unit 11d displays an auxiliary image showing the outline of the measurement object based on the width, height, and depth of the measurement object obtained from the measurement unit 11c, based on the output data of the distance sensor 16 and the data of the reference plane that corresponds to the reference plane setting image.

[0044] The communication unit 12 communicates with the server 2 via the network 3. The communication unit 12 may be composed of a transmitting unit and a receiving unit.

[0045] The input unit 13 receives signals from an input device such as a touch panel or a key input device, and outputs the signals to the control unit 11.

[0046] The display unit 14 displays an image on the display based on the data output from the control unit 11.

[0047] The camera 15 is, for example, a Complementary Metal Oxide Semiconductor (CMOS) image sensor or a Charge Coupled Devices (CCD) image sensor.

[0048] The distance sensor 16 is, for example, a distance sensor such as a LiDAR.

[0049] The storage unit 17 stores an operating system (OS) program and application programs executed by the control unit 11. The storage unit 17 also stores various data and measurement results required for processing by the control unit 11. The storage unit 17 may be, for example, a solid state drive (SSD), a random access memory (RAM), a flash memory, a read only memory (ROM), and / or a hard disk drive (HDD). There may be one storage unit 17 or multiple storage units 17.

[0050] <Screen example> Fig. 4 is a diagram showing an example of a screen of the mobile terminal 1. As shown in Fig. 4, a moving image captured by the camera 15 is displayed in an area A4a of the display of the mobile terminal 1. Information related to measurements by the distance sensor 16 is displayed in an area A4b of the display of the mobile terminal 1.

[0051] In the area A4a of the display, a camera image of a floor 21 and a measurement object 22, such as a cardboard box placed on the floor 21, is displayed. The mobile terminal 1 displays an auxiliary image 23 that indicates the shape (contour) of the measurement object 22 recognized based on the output data of the distance sensor 16. The auxiliary image 23 displayed on the display of the mobile terminal 1 allows the user to understand how the mobile terminal 1 judges (recognizes) the measurement object 22. Note that in the example of FIG. 4, the auxiliary image 23 is displayed with a dotted line, but is not limited to this. The auxiliary image 23 may be displayed with a solid line of a specific color, such as yellow.

[0052] A reference plane setting image 24 is displayed in area A4a of the display. As described in FIG. 1, the reference plane setting image 24 moves on the camera image by a user's operation. In the example of FIG. 4, the reference plane setting image 24 is set (placed) on the floor 21. Therefore, the mobile terminal 1 measures the height of the measurement target object 22 using the floor 21 as a reference plane. Note that, in the example of FIG. 4, the reference plane setting image 24 is displayed with a dashed line, but is not limited to this. The reference plane setting image 24 may be displayed with a solid line of a specific color, such as blue.

[0053] Area A4b of the display displays the size of the measurement object 22 to be measured by the mobile terminal 1. As shown in the measurement image 31 of Fig. 4, the mobile terminal 1 displays the width, height, depth, and total of the three sides of the measurement object 22 on the display.

[0054] In area A4b of the display, a button 32 labeled "Cardboard" and a button 33 labeled "Other than Cardboard" are displayed. When button 32 is pressed (tapped), the portable terminal 1 extracts the measurement object as a rectangular parallelepiped shape from the output data of the distance sensor 16. When button 33 is pressed, the portable terminal 1 extracts the measurement object as a rectangular parallelepiped shape or a non-rectangular parallelepiped shape (for example, see the shape of measurement object A2e shown in FIG. 2) from the output data of the distance sensor 16.

[0055] In area A4b of the display, a button 34 labeled "Confirm" and a button 33 labeled "Remeasure" are displayed.

[0056] When the measurement values ​​of the width, height, and depth of the measurement object 22 are obtained, the mobile terminal 1 displays the auxiliary image 23 and also highlights a button 34 labeled "Confirm." Note that the mobile terminal 1 may highlight and enable the button 34 to be pressed only after it has been confirmed that at least one of the measurement results of the width, height, and depth of the object 22 is stable (for example, a value is maintained within a predetermined error range for a certain period of time).

[0057] Measurements are performed periodically, and when the user recognizes that the auxiliary image 23 is appropriate as the contour of the measurement object 22, the user can press the button 34 to confirm the measurement results.

[0058] When the highlighted button 34 is pressed, the mobile terminal 1 stores in the memory unit 17 the still image of the camera 15 displayed in the display area A4a and the width, height, depth and total values ​​of the three sides of the measurement target object 22 displayed in the measurement image 31, and also transmits them to the server 2 as necessary. Transmission to the server 2 may be performed by an operation other than the button 34.

[0059] When button 35 displaying "Remeasure" is pressed, the mobile terminal 1 clears the display contents of auxiliary image 23 and measurement image 31, resumes measurement of the size of the object to be measured 22, and displays the width, height, depth, and total value of the three sides of the object to be measured 22 in the measurement image 31.

[0060] In the following, it is assumed that the button 32 is pressed and the mobile terminal 1 extracts the measurement object 22 as a rectangular parallelepiped shape.

[0061] Fig. 5 is a diagram showing an example of a screen of the mobile terminal 1. In Fig. 5, the same components as in Fig. 4 are given the same reference numerals.

[0062] In FIG. 5, a non-measurement object 22a such as a table placed on a floor 21 and a measurement object 22b such as a cardboard box placed on the non-measurement object 22a are displayed in an area A4a on the display of the mobile terminal 1.

[0063] The non-measurement object 22a refers to an object that is not the object of measurement by the user. The non-measurement object 22a may be a stand on which the measurement object 22b is placed. In other words, in FIG. 5, the user aims to measure the measurement object 22b placed on the non-measurement object 22a.

[0064] 5, the reference plane setting image 24 is set on the top surface of the non-measurement object 22a on which the measurement object 22b is placed. In this case, the mobile terminal 1 recognizes the measurement object 22b, the height of which is to be measured, using the top surface of the non-measurement object 22a on which the measurement object 22b is placed as a reference plane.

[0065] The portable terminal 1 recognizes, for example, the surface located at the highest position in the output data of the distance sensor 16 (the surface to be measured for height, i.e., the rectangular surface of the measurement target 22b), and generates a rectangular parallelepiped dotted line image reaching the reference surface from the recognized rectangular surface. The portable terminal 1 displays the generated rectangular parallelepiped dotted line image as the auxiliary image 23. Therefore, as shown in FIG. 5, the portable terminal 1 displays the auxiliary image 23 that follows the shape of the measurement target 22b. This allows the user to easily understand that the portable terminal 1 recognizes the size of the measurement target 22b, not the size of the non-measurement target 22a.

[0066] Fig. 6 is a diagram showing an example of a screen of the mobile terminal 1. In Fig. 6, the same components as in Fig. 5 are given the same reference numerals.

[0067] 6, the reference plane setting image 24 is set to surround the non-measurement object 22a and the measurement object 22b and to include the floor 21. In this case, the mobile terminal 1 sets, for example, the lowest plane (the plane of the floor 21) among a plurality of reference planes (the plane of the floor 21 and the non-measurement object 22a) as the reference plane (for example, see Rule 1 described later).

[0068] The mobile terminal 1 recognizes, for example, the surface located at the highest position in the output data of the distance sensor 16 (the surface to be measured for height, i.e., the rectangular surface of the measurement target 22b), and generates a rectangular dotted line image reaching the reference surface from the recognized rectangular surface. The mobile terminal 1 displays the generated rectangular dotted line image as the auxiliary image 23. Therefore, the mobile terminal 1 displays the auxiliary image 23 shown in FIG. 6 in the area A4a of the display.

[0069] The auxiliary image 23 shown in Fig. 6 includes a non-measurement object 22a that is not a measurement object. This allows the user to recognize that the setting of the reference plane setting image 24 is inappropriate. A user who recognizes that the setting of the reference plane setting image 24 is inappropriate, for example, reduces the size of the reference plane setting image 24 as shown in Fig. 5, and sets the reduced reference plane setting image 24 on the top surface of the non-measurement object 22a on which the measurement object 22b is placed.

[0070] Fig. 7 is a diagram showing an example of a screen of the mobile terminal 1. In Fig. 7, the same components as in Fig. 6 are denoted by the same reference numerals.

[0071] 7, the reference plane setting image 24 is set on the floor 21. In this case, the mobile terminal 1 sets the surface of the floor 21 as the reference plane.

[0072] The mobile terminal 1 recognizes, for example, the surface located at the highest position in the output data of the distance sensor 16 (the surface to be measured for height, i.e., the rectangular surface of the measurement target 22b), and generates a rectangular dotted line image reaching the reference surface from the recognized rectangular surface. The mobile terminal 1 displays the generated rectangular dotted line image as the auxiliary image 23. Therefore, the mobile terminal 1 displays the auxiliary image 23 shown in FIG. 7 in the area A4a of the display.

[0073] The auxiliary image 23 shown in Fig. 7 includes a non-measurement object 22a that is not a measurement object. This allows the user to recognize that the setting of the reference plane setting image 24 is inappropriate. A user who recognizes that the setting of the reference plane setting image 24 is inappropriate moves the setting of the reference plane setting image 24 to above the top surface of the non-measurement object 22a on which the measurement object 22b is placed, as shown in Fig. 5. Alternatively, the user changes the shooting direction of the mobile terminal 1 so that the reference plane setting image 24 is located above the top surface of the non-measurement object 22a on which the measurement object 22b is placed.

[0074] <Example of reference plane selection rules> The reference plane setting image may include multiple planes depending on, for example, the shooting direction of the camera 15 relative to the user's measurement object or the setting position of the reference plane setting image on the camera image of the display. For example, the reference plane setting image may include a floor surface and a top plate of a table on which the measurement object is placed. In such a case, the mobile terminal 1 may select a reference plane from the multiple planes included in the reference plane setting image based on the following rules.

[0075] Rule 1 The mobile terminal 1 selects the lowest plane among the multiple planes included in the reference plane setting image as the reference plane.

[0076] Fig. 8 is a diagram for explaining rule 1. In Fig. 8, the same components as in Fig. 4 are denoted by the same reference numerals.

[0077] 8, the reference plane setting image 24 includes the top surface of the measurement object 22 and the floor surface of the floor 21. In the case of rule 1, the mobile terminal 1 selects the floor surface at the lowest position among the multiple surfaces included in the reference plane setting image 24 as the reference plane.

[0078] This reduces the effort required of the user to set the reference plane setting image 24. For example, even if the reference plane setting image 24 includes a reference plane not intended by the user (the top surface of the measurement target 22) due to the shooting direction of the user's camera 15 or the setting position of the reference plane setting image 24, the mobile terminal 1 selects the floor surface of the floor 21 as the reference plane based on rule 1. Therefore, the user does not need to move the reference plane setting image 24 to the part of the floor 21.

[0079] Rule 2 The mobile terminal 1 selects the highest plane from among the multiple planes included in the reference plane setting image as the reference plane.

[0080] Fig. 9 is a diagram for explaining rule 2. In Fig. 9, the same components as in Fig. 5 are denoted by the same reference numerals.

[0081] 9, the reference plane setting image 24 includes the top surface of the non-measurement object 22a and the floor surface of the floor 21. In the case of rule 2, the mobile terminal 1 selects, as the reference plane, the top surface of the non-measurement object 22a that is located at the highest position among the multiple surfaces included in the reference plane setting image 24.

[0082] This reduces the effort required of the user to set the reference plane setting image 24. For example, even if the reference plane setting image 24 includes a reference plane not intended by the user (floor surface of the floor 21) due to the shooting direction of the user's camera 15 or the setting position of the reference plane setting image 24, the mobile terminal 1 selects the top surface of the non-measurement object 22a as the reference plane based on rule 2. Therefore, the user does not need to move the reference plane setting image 24 so that the floor surface of the floor 21 is not included in the reference plane setting image 24. In addition, since the mobile terminal 1 selects the top surface of the non-measurement object 22a as the reference plane based on rule 2, the measurement object 22b placed on the top surface of the non-measurement object 22a can be properly recognized as shown in the auxiliary image 23.

[0083] Rule 3 The mobile terminal 1 selects, as the reference plane, the plane with the largest area from among the multiple planes included in the reference plane setting image.

[0084] Fig. 10 is a diagram for explaining rule 3. In Fig. 10, the same components as in Fig. 5 are denoted by the same reference numerals.

[0085] 10, the reference plane setting image 24 includes the floor surface of the floor 21 and the top surface of the non-measurement object 22a. In the case of rule 3, the mobile terminal 1 selects, as the reference plane, the top surface of the non-measurement object 22a, which has the largest area, from among the multiple surfaces included in the reference plane setting image 24.

[0086] This reduces the effort required of the user to set the reference plane setting image 24. For example, even if the reference plane setting image 24 includes a reference plane not intended by the user (floor surface of the floor 21) due to the shooting direction of the user's camera 15 or the setting position of the reference plane setting image 24, the mobile terminal 1 selects the top surface of the non-measurement object 22a as the reference plane based on rule 3. Therefore, the user does not need to move the reference plane setting image 24 so that the floor surface of the floor 21 is not included in the reference plane setting image 24. In addition, since the mobile terminal 1 selects the top surface of the non-measurement object 22a as the reference plane based on rule 3, the measurement object 22b placed on the top surface of the non-measurement object 22a can be properly recognized as shown in the auxiliary image 23.

[0087] Rule 4 The mobile terminal 1 extracts a plurality of planes included in the reference plane setting image as reference plane candidates. The mobile terminal 1 prompts the user to select a reference plane from the extracted reference plane candidates.

[0088] Like the other rules, rule 4 can reduce the user's effort in setting the reference plane setting image 24. However, rule 4 requires the user to select a reference plane.

[0089] The mobile terminal 1 may receive from the user which rule to apply among the above rules 1 to 4. For example, the user may select rule 1 when placing a measurement object on a floor to measure its size. For example, the user may select rule 2 when placing a measurement object on a table to measure its size. For example, the user may select rule 3 when taking a photograph of the measurement object away from the measurement object.

[0090] <Example of reference plane extraction> Fig. 11 is a diagram for explaining an example of extraction of a reference plane. The point cloud shown in Fig. 11 indicates point cloud data (measurement points) of the distance sensor 16. The point cloud surrounded by a frame A11a shown in Fig. 11 indicates a point cloud of a portion (a portion surrounded by a rectangular frame of the reference plane setting image) corresponding to a reference plane setting image set on the screen (on the camera image) of the display of the mobile terminal 1. The mobile terminal 1 extracts the point cloud of the portion corresponding to the reference plane setting image.

[0091] For example, as shown in Fig. 5, when the reference plane setting image 24 is set on the top surface of the non-measured object 22a, the points surrounded by the frame A11a shown in Fig. 11 correspond to the top surface portion of the non-measured object 22a surrounded by the reference plane setting image 24 in Fig. 5. The mobile terminal 1 extracts the points of the top surface portion of the non-measured object 22a surrounded by the reference plane setting image 24, that is, the points surrounded by the frame A11a.

[0092] Fig. 12 is a diagram for explaining an example of extraction of a reference plane. The solid line A12a shown in Fig. 12 shows the state of an actual plane set as a reference plane by a user using a reference plane setting image, as viewed from the horizontal direction. For example, the solid line A12a shows the state of the part surrounded by the reference plane setting image 24 shown in Fig. 5, as viewed from the horizontal direction.

[0093] The point group shown in Fig. 12 indicates measurement points (measurement points of a portion corresponding to the reference plane setting image) extracted by the mobile terminal 1. Since the measurement points acquired by the distance sensor 16 contain noise, as shown by the solid line A12a in Fig. 12, even if the surface set as the reference plane is actually flat, the measurement points extracted by the mobile terminal 1 will be distorted up and down. Therefore, the mobile terminal 1 averages the measurement points on the reference plane set by the user.

[0094] For example, the mobile terminal 1 divides the area of ​​measurement points in the portion corresponding to the reference plane setting image into several groups in the height direction. For example, the mobile terminal 1 divides it into three groups, A, B, and C, as shown in FIG. 12. The mobile terminal 1 averages the measurement points of the group that contains the most measurement points in the height direction to obtain the reference plane. In the example of FIG. 12, the mobile terminal 1 averages the measurement points of group B in the height direction to obtain the reference plane. This allows the mobile terminal 1 to obtain the accurate height of the reference plane and accurately measure the height of the measurement object.

[0095] The mobile terminal 1 does not have to divide the measurement points into groups. The mobile terminal 1 may not group the measurement points, but may average the measurement points in the height direction in a portion corresponding to the reference plane setting image to set the reference plane.

[0096] Furthermore, when selecting a reference plane from the multiple planes included in the reference plane-setting image based on the above rules 1 to 4, the mobile terminal 1 may extract the multiple planes included in the reference plane-setting image using the above averaging process. The mobile terminal 1 may select a reference plane from the multiple planes extracted using the averaging process based on the above rules 1 to 4.

[0097] <Example of mobile device operation> Fig. 13 is a flowchart showing an example of an operation in moving a reference plane setting image of the mobile terminal 1. When an application for measuring the size of a measurement target such as a parcel is started, the mobile terminal 1 periodically executes the process of the flowchart shown in Fig. 13.

[0098] The mobile terminal 1 displays on the display a camera image (moving image) captured by the camera 15 and a reference plane setting image in the form of a rectangular frame (S1).

[0099] The mobile terminal 1 determines, for example, whether or not the reference plane setting image has been touched and dragged (S2).

[0100] When it is determined that the reference plane setting image has been touched and dragged (Yes in S2), the mobile terminal 1 moves the reference plane setting image in response to the drag operation (S3).

[0101] When the mobile terminal 1 does not determine that the reference plane setting image has been touched and dragged (No in S2), the mobile terminal 1 ends the process of this flowchart.

[0102] Fig. 14 is a flowchart showing an example of a measurement operation of the mobile terminal 1 on a measurement object. When an application for measuring the size of a measurement object such as a parcel is started, the mobile terminal 1 periodically executes the process of the flowchart shown in Fig. 14. The mobile terminal 1 executes the process of the flowchart shown in Fig. 13 and the process of the flowchart shown in Fig. 14 in parallel.

[0103] The mobile terminal 1 acquires a measurement point from the distance sensor 16 (S11).

[0104] The mobile terminal 1 extracts the measurement points of the portion corresponding to the reference plane setting image from the measurement points acquired in S11 (S12).

[0105] The mobile terminal 1 extracts a surface from the measurement points extracted in S12 based on a rule (any one of rules 1 to 4) set by the user (S13). At this time, the mobile terminal 1 extracts the surface by averaging the measurement points as described in FIG.

[0106] The portable terminal 1 determines the height of the object to be measured using the surface extracted in S13 as a reference surface (S14). For example, the portable terminal 1 determines the surface at the highest position based on the measurement points acquired from the distance sensor 16, and determines the determined surface as the top surface of the object to be measured. The portable terminal 1 then determines the distance between the determined top surface and the reference surface extracted in S13 as the height of the object to be measured.

[0107] The mobile terminal 1 determines the width and depth of the measurement object from the measurement points acquired in S11 (S15). Note that the process of S15 may be executed after S11.

[0108] The mobile terminal 1 displays the determined width, height, and depth of the measurement object on the display as information related to the measurement of the measurement object (S16), and then the mobile terminal 1 ends the process of this flowchart.

[0109] <Summary of the embodiment> The camera image display unit 11a of the mobile terminal 1 displays the camera image of the camera 15 on the display. The reference plane setting image display unit 11b displays the reference plane setting image on the display by superimposing it on the camera image. The measurement unit 11c measures the height of the measurement object using the surface of the part of the output data of the distance sensor 16 that corresponds to the reference plane setting image as a reference plane. This enables the mobile terminal 1 to accurately measure the height of the object. For example, if the reference plane setting image includes an appropriate reference plane of the measurement object, the mobile terminal 1 measures the height of the measurement object based on the appropriate reference plane, making it possible to accurately measure the height of the object.

[0110] In addition, in this embodiment, since the surface corresponding to the reference surface setting image can be set as the reference surface, there is no need to obtain information on the reference surface in advance when nothing is placed thereon, or to precisely align the camera with the reference surface. This makes it possible to accurately measure the dimensions of the measurement target even in situations where it is difficult to predict the environment in which the measurement will be performed, such as when collecting parcels from a general home, or where items other than the measurement target are present.

[0111] In addition, in this embodiment, a frame-shaped image is used as the shape of the reference plane setting image. This is because the possibility of accurately estimating the height of the reference plane increases if multiple point groups corresponding to the reference plane can be used when estimating the height of the reference plane. When there are few point groups available, if an outlier due to an error in the distance sensor or the like is included, the outlier is likely to be reflected in the estimated height of the reference plane. Therefore, in this embodiment, a frame-shaped range that is likely to include multiple point groups is used as the reference plane setting image, making it possible to estimate an accurate height with reduced influence of errors and the like.

[0112] <Modification> Variation 1 The size of the reference plane setting image may be changed. For example, the size of the reference plane setting image may be changed by a pinch-out or pinch-in operation.

[0113] The position of the reference plane setting image on the screen may be set by inputting a numerical value instead of a drag operation. Also, the size of the reference plane setting image may be changed by inputting a numerical value instead of a pinch-out and pinch-in operation.

[0114] If the reference plane setting image is too large, the point cloud constituting the surface other than the reference plane is likely to be included within the frame of the reference plane setting image, and the point cloud of the surface other than the reference plane will affect the estimation of the height of the reference plane. If the reference plane setting image is too small, the point cloud included within the frame of the reference plane setting image will be fewer, and will be more likely to be reflected in the height of the reference plane. If the size of the reference plane setting image can be changed, the user can set a reference plane setting image within a range suitable for setting the reference plane at their discretion, and these problems can be solved.

[0115] The shape of the reference plane setting image is not limited to a rectangular frame. The shape of the reference plane setting image may be a circular frame or a dot. When the reference plane setting image is a dot, the mobile terminal 1 may determine the reference plane within a certain range centered on the dot.

[0116] Variation 2 When the measurement object is a parcel, the mobile terminal 1 may display on the display a parcel fee according to the total value of the three sides. This allows the parcel company to easily know the parcel fee.

[0117] Variation 3 Although the mobile terminal 1 measures the width, height, and depth of the measurement object in the above embodiment, the present invention is not limited to this. The mobile terminal 1 may measure only the height of the measurement object.

[0118] Variation 4 Although the mobile terminal 1 displays a moving image of the camera 15 on the display and accepts an operation from the user to move the reference plane setting image on the moving image, this is not limited to the above. For example, the mobile terminal 1 may display a still image of the camera 15 including the measurement object on the display in response to a shutter operation by the user, and accept an operation from the user to move the reference plane setting image on the still image. The mobile terminal 1 measures the height of the measurement object on the still image of the distance sensor 16 based on a reference plane corresponding to the reference plane setting image.

[0119] Variation 5 In the above embodiment, the distance sensor has been described as being a LiDAR. However, the distance sensor may be another sensor capable of measuring distance. For example, the distance sensor may be a stereo camera or a sensor that uses sound waves.

[0120] Variation 6 In the above-described embodiment, an example has been described in which a series of operations is realized by cooperation between the functions of the mobile terminal 1 and the server 2. However, whether each function is realized by the mobile terminal 1 or the server 2 may be arbitrarily changed. For example, when the processing power of the mobile terminal 1 is low, the mobile terminal 1 may only acquire camera image data and output data from the distance sensor, and the server 2 may use this data to calculate the height of the object to be measured and generate an image to be output to the mobile terminal 1.

[0121] In addition, when the communication environment between the mobile terminal 1 and the server 2 is poor, it is not necessary to immediately communicate between the mobile terminal 1 and the server 2. The mobile terminal 1 may store data and transmit the data to the server 2 when the communication environment improves.

[0122] Also, either the camera or the distance sensor may be separated from the mobile terminal 1. Also, only the camera and the distance sensor may be mounted on a mobile device, and other functions of the mobile terminal 1 may be implemented in a device that is not intended to be carried, such as a desktop PC. In other words, as long as a series of operations of this embodiment is realized, the type and number of devices used do not matter, and it does not matter in which device each function is implemented.

[0123] Variation 7 In the above-described embodiment, the user confirms the measurement result by pressing the button 34 labeled "Confirm." However, the measurement result may be automatically confirmed if at least one of the height and depth measurement results is stable (e.g., a value within a predetermined error range is maintained for a certain period of time).

[0124] Variation 8 In the above-described embodiment, an example has been described in which a measurement object placed on a table is used as the reference surface, and the surface of the table is used as the reference surface. However, the reference surface does not necessarily have to be the surface of the table. For example, when multiple measurement objects are stacked, the surface of the measurement object in the lower layer may be used as the reference surface. In the above-described embodiment, the reference surface is set based on a reference surface setting image, so that the surface of any object can be set as the reference surface according to the user's selection.

[0125] Variation 9 In the above-described embodiment, the position of the reference plane setting image on the screen may be set not to change unless the user performs an operation to change the position of the reference plane setting image on the screen. In other words, the position of the reference plane setting image on the screen of the mobile terminal 1 may be set not to change even if the position or angle of the camera 15 or the distance sensor 16 changes. In this case, the camera image and the point cloud included in the reference plane setting image can be changed by changing the position or angle of the camera 15 or the distance sensor by moving the mobile terminal 1. This allows the user to easily adjust the reference plane setting image to the position of the desired reference plane in the camera image data by first setting the reference plane setting image at a position on the screen that is less likely to be an obstacle (for example, the edge of the screen) and then moving the camera 15 or the distance sensor.

[0126] Although the embodiments have been described above with reference to the drawings, the present disclosure is not limited to such examples. It is clear that a person skilled in the art can come up with various modified or altered examples within the scope of the claims. It is understood that such modified or altered examples also belong to the technical scope of the present disclosure. In addition, the components in the embodiments may be arbitrarily combined within the scope of the present disclosure.

[0127] In the above-described embodiments, the notation "... part" used for each component may be replaced with other notations such as "... circuit", "... assembly", "... device", "... unit", or "... module".

[0128] The present disclosure can be realized by software, hardware, or software in cooperation with hardware. Each functional block used in the description of the above embodiment may be realized partially or entirely as an LSI, which is an integrated circuit, and each process described in the above embodiment may be controlled partially or entirely by one LSI or a combination of LSIs. The LSI may be composed of individual chips, or may be composed of one chip that includes some or all of the functional blocks. The LSI may have input and output of data. Depending on the degree of integration, the LSI may be called an IC, a system LSI, a super LSI, or an ultra LSI.

[0129] The method of integration is not limited to LSI, but may be realized by a dedicated circuit, a general-purpose processor, or a dedicated processor. Also, after LSI manufacturing, a programmable FPGA (Field Programmable Gate Array) or a reconfigurable processor that can reconfigure the connections and settings of circuit cells inside the LSI may be used. The present disclosure may be realized as digital processing or analog processing.

[0130] Furthermore, if a new integrated circuit technology that can replace LSI appears due to the progress of semiconductor technology or a derivative technology, it is possible to integrate the functional blocks using that technology. The application of biotechnology is also a possibility. [Industrial Applicability]

[0131] The present disclosure is useful for measuring the size of a measurement target such as a parcel. [Explanation of symbols]

[0132] 1. Mobile devices 1a Reference plane setting image 2 Server A1a Measurement object A1b units 21 Beds 22 Measurement Object 22a Non-measurement objects 22b Measurement object 23 Auxiliary Images 24 Reference plane setting image

Claims

1. a camera image display unit for displaying a camera image; a setting image display unit that displays a reference setting image by superimposing it on the camera image; a measurement unit that measures the height of an object based on a portion of the output data of the distance sensor that corresponds to the reference setting image; A measuring device having

2. the reference setting image is a frame-shaped image, the measurement unit measures the height of the object based on output data of a portion of the distance sensor that is included in the frame-shaped image.

2. The measuring device of claim 1.

3. the setting image display unit moves the reference setting image in response to a user operation.

3. The measuring device according to claim 2.

4. The position of the reference setting image on the screen on which the camera image is displayed does not change even if the position or angle of the camera or the distance sensor that captures the camera image changes.

4. The measuring device according to claim 3.

5. the setting image display unit changes the size of the reference setting image in response to a user operation.

3. The measuring device according to claim 2.

6. When a plurality of faces exist in a portion corresponding to the reference setting image in the output data of the distance sensor, the measurement unit measures the height of the object based on any one of the face at the lowest position, the face at the highest position, the face with the largest area, and a face selected by a user.

2. The measuring device of claim 1.

7. the measurement unit averages output data of the distance sensor of the portion corresponding to the reference setting image in a height direction of the object, and extracts a position of a surface of the portion corresponding to the reference setting image; 2. The measuring device of claim 1.

8. The measurement unit measures a width, a height, and a depth of the object based on output data of the distance sensor.

2. The measuring device of claim 1.

9. The method further includes an auxiliary image display unit that displays an auxiliary image showing a contour of the object based on the width, height, and depth of the object measured by the measurement unit.

2. The measuring device of claim 1.

10. Display the camera image, displaying a reference setting image superimposed on the camera image; measuring the height of the object based on a portion of the output data of the distance sensor that corresponds to the reference setting image; Measurement method.

11. To the processor, Display the camera image, displaying a reference setting image superimposed on the camera image; measuring the height of the object based on a portion of the output data of the distance sensor that corresponds to the reference setting image; A program that executes a process.

Citation Information

Patent Citations

  • Object dimension measuring method and object dimension measuring device using distance image camera

    JP2011196860A

  • Object movement measurement apparatus, system, method, and program

    JP2023020071A