Information processing apparatus, information processing system, information processing method, and program

The information processing device uses a combination of two-dimensional and three-dimensional position information to automate camera calibration, addressing the inefficiencies of manual alignment methods by minimizing trajectory distances between imaging devices.

JP2024136150AInactive Publication Date: 2024-10-04RICOH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2023047147
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-23
Publication Date
2024-10-04
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Conventional calibration methods for imaging devices require extensive manual adjustment to align camera positions and postures, which is time-consuming and inefficient.

Method used

An information processing device that utilizes a first imaging device mounted on a ceiling and a second imaging device on a moving object, combining two-dimensional and three-dimensional position information to automatically calibrate the camera positions and postures using a correction process to minimize distance between trajectories.

Benefits of technology

Facilitates easier and more efficient calibration of camera positions and postures, reducing the time and effort required for alignment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024136150000001_ABST
    Figure 2024136150000001_ABST
Patent Text Reader

Abstract

To provide an information processing apparatus, an information processing system, an information processing method, and a program for facilitating calibration work in a system for specifying the position of an object using an imaging device for imaging an object moved by a moving device and three-dimensional position information acquired by another means.SOLUTION: An information processing apparatus 100 is provided with: a first acquisition unit 402 for acquiring first object position information, which is two-dimensional position information of an object, from a first image captured by a first imaging device; a second acquisition unit 403 for acquiring three-dimensional position information of the object; a first calculation unit 404 for calculating second object position information, which is two-dimensional position information on the first image, from the three-dimensional position information of the object acquired by the second acquisition unit 403; a second calculation unit 405 for calculating a distance between a first locus of the object based on the first object position information and a second locus of the object based on the second object position information; and a correction unit 406 for performing correction processing for correcting the distance between the first locus and the second locus.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an information processing device, an information processing system, an information processing method, and a program. [Background technology]

[0002] 2. Description of the Related Art There is known an information processing device that processes position information of objects such as cargo or pallets transported by a mobile object such as a forklift (see, for example, Patent Document 1).

[0003] Also, an information processing device is known that stably obtains the position of a moving body based on the position of the moving body determined using a camera mounted on the moving body, such as a transport vehicle that transports an object, and the position of the moving body determined using a camera installed in a location where the moving body can be observed (see, for example, Patent Document 2). Summary of the Invention [Problem to be solved by the invention]

[0004] For example, as in the technology disclosed in Patent Document 2, when identifying the position of a moving object or the like using a camera mounted on the moving object and another camera installed in a place where the moving object can be observed, it is necessary to grasp the relationship between the position and attitude of the camera and the other camera in advance. Then, in order to grasp the relationship between the position and attitude of a plurality of imaging devices (cameras), a calibration work of the imaging devices (cameras) is required. In the past, the calibration work of the imaging device (camera) required adjusting the parameters of the imaging device (camera) by photographing a plane marker at various positions and attitudes with the imaging device (camera) to be calibrated, and trials and adjustments were continued until the desired state of the imaging device (camera) was set, which was a problem that it took a lot of time.

[0005] Note that such problems are not limited to cases where the position of a moving body is to be determined, but are common to various systems that determine the position of an object using, for example, an imaging device that images an object moved by a moving device that moves the object, and three-dimensional position information of the object obtained by another means.

[0006] One embodiment of the present invention has been made in consideration of the above-mentioned problems, and facilitates calibration work (correction) in a system that identifies the position of an object using an imaging device that images an object moved by a moving device and three-dimensional position information obtained by another means. [Means for solving the problem]

[0007] In order to solve the above problem, an information processing device according to one embodiment of the present invention is an information processing device capable of communicating with a first imaging device that captures an image of an object moved by a moving device, and includes a first acquisition unit that acquires first object position information, which is two-dimensional position information of the object, from a first image captured by the first imaging device, a second acquisition unit that acquires three-dimensional position information of the object, a first calculation unit that calculates second object position information, which is two-dimensional position information on the first image, from the three-dimensional position information of the object acquired by the second acquisition unit, a second calculation unit that calculates the distance between a first trajectory of the object based on the first object position information and a second trajectory of the object based on the second object position information, and a correction unit that executes a correction process to correct the distance between the first trajectory and the second trajectory. Effect of the Invention

[0008] According to one embodiment of the present invention, calibration work is facilitated in a system that identifies the position of an object using an imaging device that images an object moved by a moving device and three-dimensional position information obtained by another means. [Brief description of the drawings]

[0009] [Figure 1] 1 is a diagram illustrating an example of a system configuration of an information processing system according to a first embodiment. [Diagram 2] FIG. 2 is a diagram showing an image of a first image according to the first embodiment. [Diagram 3] FIG. 2 is a diagram illustrating an example of a hardware configuration of a computer according to an embodiment. [Figure 4] FIG. 1 is a diagram illustrating an example of a functional configuration of an information processing system according to an embodiment. [Diagram 5] FIG. 11 is a diagram illustrating another example of a functional configuration of an information processing system according to an embodiment. [Figure 6] 10 is a flowchart illustrating an example of a correction process according to an embodiment. [Figure 7] FIG. 11 is a diagram showing an image of reception timing of a captured image according to an embodiment. [Figure 8] FIG. 13 is a diagram showing an image of two trajectories according to an embodiment. [Figure 9] FIG. 13 is a diagram illustrating an image of distance minimization according to an embodiment. [Figure 10] 13 is a flowchart illustrating an example of a process for calculating a distance between two trajectories according to an embodiment. [Figure 11] 11 is a flowchart illustrating an example of a process for calculating a distance between a polygonal line and a point according to an embodiment. [Figure 12] FIG. 2 is a diagram for explaining first to third regions according to an embodiment. [Figure 13] FIG. 13 is a diagram for explaining a modified example. [Figure 14] FIG. 1 is a diagram for explaining a positional relationship between a second imaging device and an object according to the first embodiment. [Figure 15] FIG. 2 is a diagram for explaining a positional relationship between the second imaging device and an object according to the first embodiment. [Figure 16] FIG. 11 is a diagram illustrating an example of a system configuration of an information processing system according to a second embodiment. [Figure 17] FIG. 11 is a diagram illustrating an example of a system configuration of an information processing system according to a third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0010] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. In each drawing, the same components are given the same reference numerals, and duplicated explanations will be omitted.

[0011] <System configuration> [First embodiment] Fig. 1 is a diagram showing an example of a system configuration of an information processing system according to the first embodiment. In the example of Fig. 1, the information processing system 1 includes a first imaging device 10, a mobile device 20, a second imaging device 21 mounted on the mobile device 20, an information processing device 100, and the like.

[0012] The first imaging device 10 is, for example, a fixed camera or the like that is installed on a ceiling 2 or the like, captures an image of an object 22 moving with the mobile device 20, and transmits the captured image (hereinafter referred to as a first image) to the information processing device 100. Note that the first imaging device 10 is not limited to being installed on the ceiling 2, and may be installed on, for example, a wall, a pillar, or a support. Here, the following description will be given assuming that the first imaging device 10 is installed on the ceiling 2 of, for example, a warehouse or the like.

[0013] The moving device 20 is, for example, a transport device such as a forklift that holds an object 22, such as a baggage or a pallet carrying the baggage, and transports the object 22 while holding the object 22. Note that the moving device 20 is not limited to a forklift, and may be, for example, a robot that moves the object 22, a drone, or the like. Here, the following description will be given assuming that the moving device 20 is a forklift that moves the object 22 in a warehouse or the like.

[0014] The second imaging device 21 is mounted on the mobile device 20 and includes one or more cameras that capture images of the surroundings of the mobile device 20, an object 22, and the like.

[0015] As an example, the mobile device 20 has a communication function such as wireless LAN (Local Area Network) communication and a computer configuration. Here, the "mobile device 20" includes the second imaging device 21, and the communication function and the computer configuration may be possessed by the second imaging device 21, or may be provided in a part of the mobile device 20 other than the second imaging device 21.

[0016] The mobile device 20 (or the second imaging device 21) measures three-dimensional position information indicating the position of the second imaging device 21 for each video frame from an image captured by the second imaging device 21 (hereinafter referred to as a second image) using, for example, a known Visual SLAM (Simultaneous Localization and Mapping) technique. In addition, the mobile device 20 (or the second imaging device 21) calculates three-dimensional position information of the object 22 from the three-dimensional position information of the second imaging device 21 and the positional relationship (relative position) between the second imaging device 21 and the object 22, and transmits the calculated three-dimensional position information of the object 22 to the information processing device 100.

[0017] Here, SLAM is a known technology that acquires three-dimensional position information of surrounding three-dimensional objects as point cloud information and estimates the position of itself and the surrounding three-dimensional objects. Visual SLAM (hereinafter, referred to as VSLAM) is a known technology that performs SLAM using an image captured by a camera. Note that the mobile device 20 may measure three-dimensional position information of the second imaging device 21 using other positioning technologies such as radio waves or ultrasonic waves.

[0018] As another example, the mobile device 20 (or the second imaging device 21) may have a communication function such as wireless LAN communication and transmit a second image captured by the second imaging device 21 to the information processing device 100. In this case, the information processing device 100 executes a position information calculation process to calculate three-dimensional position information of the object 22 based on the second image captured by the second imaging device 21.

[0019] The information processing device 100 is an information processing device having a computer configuration or a system including multiple computers. The information processing device 100 is communicably connected to the first imaging device 10 and the mobile device 20 (or the second imaging device 21) via, for example, a wireless LAN or the like.

[0020] The information processing device 100 executes a predetermined program to calibrate (correct) the relationship between the position and orientation of a first imaging device 10 and a second imaging device in a system that identifies the position of an object 22 using the first imaging device 10 and a second imaging device.

[0021] (Processing Overview) The information processing device 100 acquires two-dimensional position information of the object 22 (hereinafter referred to as first object position information) based on the first image captured by the first imaging device 10.

[0022] 2 is a diagram showing an image of a first image according to the first embodiment. For example, as shown in FIG. 2, a marker 210 is provided on the object 22 so as to appear in a first image 200 captured by the first imaging device 10. The information processing device 100 acquires two-dimensional position information (two-dimensional coordinates) of the object 22, for example, by taking a center position 211 of the marker 210 captured in the first image 200 as the position of the object 22 on the first image 200. Note that the information processing device 100 can specify the center position 211 of the marker 210 by using, for example, a known AR (Augmented Reality) marker technology or the like.

[0023] Furthermore, the information processing device 100 acquires three-dimensional position information (three-dimensional coordinates) of the object 22 based on the second image captured by the second imaging device 21. For example, the information processing device 100 acquires the three-dimensional position information of the object 22 calculated by the mobile device 20 (or the second imaging device 21) and transmitted to the information processing device 100. Note that the information processing device 100 may calculate the three-dimensional position information of the object 22 from the second image transmitted by the mobile device 20.

[0024] Furthermore, the information processing device 100 calculates two-dimensional position information (hereinafter referred to as second object position information) obtained by projecting the acquired three-dimensional position information of the object 22 into two dimensions. For example, the information processing device 100 converts the three-dimensional position information of the object 22 into the camera coordinates of the first imaging device 10 using external parameters indicating the position and attitude of the first imaging device 10. Furthermore, the information processing device 100 further converts the position information converted into the camera coordinates into second object position information, which is two-dimensional position information on the first image, using the internal parameters of the first imaging device 10. Note that the internal parameters of the first imaging device 10 are assumed to be known by performing calibration or the like in advance.

[0025] Next, the information processing device 100 executes a correction process to minimize the distance between the trajectory of the object 22 based on the first object position information (hereinafter referred to as the first trajectory) and the trajectory of the object 22 based on the second object position information (hereinafter referred to as the second trajectory). This calibrates the external parameters indicating the position and attitude of the first imaging device 10, and makes it possible to more accurately acquire, for example, two-dimensional position information on the first image from the three-dimensional position information of the object 22 acquired from the second image captured by the second imaging device 21.

[0026] By the above processing, the information processing system 1 can easily calibrate the relationship between the position and attitude of the first imaging device 10 and the second imaging device 21, for example, from images (first image and second image) of a moving device 20, such as a forklift, traveling.

[0027] 1 is an example of the system configuration of the information processing system 1. For example, the information processing system 1 may have a plurality of first imaging devices 10. In this case, the information processing device 100 performs the same calibration for each of the plurality of first imaging devices 10.

[0028] <Hardware configuration> The information processing device 100 includes, for example, the hardware configuration of a computer 300 as shown in Fig. 3. Alternatively, the information processing device 100 includes a plurality of computers 300.

[0029] (Computer hardware configuration) Fig. 3 is a diagram showing an example of a hardware configuration of a computer according to an embodiment. For example, as shown in Fig. 3, a computer 300 includes a CPU (Central Processing Unit) 301, a ROM (Read Only Memory) 302, a RAM (Random Access Memory) 303, a HD (Hard Disk) 304, a HDD (Hard Disk Drive) controller 305, a display 306, an external device connection I / F (Interface) 307, a network I / F 308, a keyboard 309, a pointing device 310, a DVD-RW (Digital Versatile Disk Rewritable) drive 312, a media I / F 314, and a bus line 315.

[0030] Of these, the CPU 301 controls the overall operation of the computer 300. The ROM 302 stores, for example, a startup file or other program used to start up the computer 300, data, etc. The RAM 303 is used, for example, as a work area for the CPU 301, etc.

[0031] The HD 304 stores, for example, programs such as an OS (Operating System), applications, and device drivers, as well as various data. The HDD controller 305 controls the reading and writing of various data from and to the HD 304 under the control of the CPU 301. The HD 304 and the HDD controller 305 are examples of storage devices included in the computer 300.

[0032] The display 306 displays various information such as a cursor, a menu, a window, characters, or an image. The display 306 may be provided outside the computer 300. The external device connection I / F 307 is an interface for connecting various external devices such as an external memory to the computer 300. The network I / F 308 is an interface for performing data communication using a communication network N or the like. The network I / F 308 is an example of a communication device provided in the computer 300.

[0033] The keyboard 309 is a type of input means having a plurality of keys for inputting characters, numbers, various instructions, etc. The pointing device 310 is a type of input means for selecting and executing various instructions, selecting a processing target, moving a cursor, etc. The keyboard 309 and the pointing device 310 may be provided outside the computer 300.

[0034] The DVD-RW drive 312 controls reading and writing of various data from and to a DVD-RW 311, which is an example of a removable recording medium. The DVD-RW 311 is not limited to a DVD-RW, and may be another removable recording medium. The media I / F 314 controls reading and writing (storing) of data from and to a medium 313 such as a flash memory. The bus line 315 includes an address bus, a data bus, various control signals, and the like for electrically connecting the above components.

[0035] 3 is an example of the configuration of the computer 300. The computer 300 may have any configuration as long as it has, for example, a CPU 301, a ROM 302, a RAM 303, a storage device, a communication device, and a bus line 315.

[0036] Furthermore, in the case where the mobile device 20 (or the second imaging device) is equipped with a computer, the computer is assumed to have, for example, a CPU 301, a ROM 302, a RAM 303, a storage device, a communication device, a bus line 315, and the like.

[0037] <Functional configuration> Fig. 4 is a diagram showing an example of a functional configuration of an information processing system according to an embodiment. In the example of Fig. 4, an information processing device 100 is communicably connected to a first imaging device 10 and a mobile device 20 via a communication network N such as a LAN.

[0038] (Functional configuration of mobile device) The mobile device 20 realizes, for example, a communication unit 411, an imaging unit 412, and a position information calculation unit 413 by executing a predetermined program by a computer included in the mobile device 20 (or the second imaging device 21). Furthermore, the mobile device 20 realizes a memory unit 414 by a storage device or the like included in the mobile device 20 (or the second imaging device 21). Note that each of the above functional configurations may be included in the mobile device 20 including the second imaging device 21. For example, some or all of the functional configurations of the mobile device 10 shown in FIG. 4 may be included in the second imaging device 21.

[0039] The communication unit 411 uses a communication device (eg, a wireless LAN device) included in the mobile device 20 to connect the mobile device 20 to the communication network N and executes communication processing for communicating with the information processing device 100.

[0040] The imaging section 412 executes imaging processing for capturing a second captured image of the surroundings of the mobile device 20 using the second imaging device 21, for example.

[0041] The position information calculation unit 413 executes a position information calculation process to calculate three-dimensional position information indicating the position of the object 22, based on the second image captured by the imaging unit 412. For example, the position information calculation unit 413 calculates three-dimensional position information of the object 22 for each frame, based on the second image (moving image) captured by the imaging unit 412.

[0042] As a suitable example, the position information calculation unit 413 uses a known VSLAM technique to measure three-dimensional position information indicating the position of the second imaging device 21 for each video frame. In addition, the position information calculation unit 413 calculates three-dimensional position information of the object 22 from the three-dimensional position information of the second imaging device 21 and the relative positions between the second imaging device 21 and the object 22 acquired in advance.

[0043] In addition, the position information calculation unit 413 may measure three-dimensional position information of the second imaging device 21 using other positioning technologies such as radio waves or ultrasound, and calculate the three-dimensional position information of the object 22 from the relative positions between the second imaging device 21 and the object 22 acquired in advance.

[0044] Furthermore, the position information calculation unit 413 transmits the calculated three-dimensional position information of the object 22 to the information processing device 100 via the communication unit 411.

[0045] The storage unit 414 stores, for example, a program executed by the mobile device 20, data required for calculating three-dimensional position information of the object 22, and the like.

[0046] (Functional configuration of information processing device) The information processing device 100 realizes a communication unit 401, a first acquisition unit 402, a second acquisition unit 403, a first calculation unit 404, a second calculation unit 405, a correction unit 406, and the like, for example, by executing a predetermined program in the CPU 301. Note that at least a part of the above-mentioned functional configurations may be realized by hardware.

[0047] Furthermore, the information processing device 100 realizes a storage unit 407 by, for example, the program executed by the CPU 301, the HD 304, the HDD controller 305, and the like.

[0048] The communication unit 401 connects the information processing device 100 to the communication network N using, for example, the network I / F 308 or the like, and executes communication processing for communicating with the first imaging device 10, the mobile device 20, etc. For example, the communication unit 401 receives the first image transmitted by the first imaging device 10, three-dimensional position information of the object 22 transmitted by the mobile device 20, etc.

[0049] The first acquisition unit 402 executes a first acquisition process to acquire first object position information, which is two-dimensional position information of the object 22, based on the first image captured by the first imaging device 10. For example, the first acquisition unit 402 acquires, as the first object position information, the two-dimensional coordinates of the center position 211 of a marker 210 captured in a first image 200 as shown in FIG.

[0050] The second acquisition unit 403 executes a second acquisition process for acquiring three-dimensional position information of the object 22 by a means different from the first acquisition unit 402. As an example, the second acquisition unit 403 acquires three-dimensional position information of the object calculated based on the second image captured by the second imaging device 21. For example, the second acquisition unit 403 acquires the three-dimensional position information of the object 22 transmitted by the mobile device 20 via the communication unit 401. Specifically, as described above, the mobile device 20 measures three-dimensional position information indicating the position of the second imaging device 21 for each video frame using a known VSLAM technique. In addition, the mobile device 20 calculates the three-dimensional position information of the object 22 from the three-dimensional position information of the second imaging device 21 and the relative positions of the second imaging device 21 and the object 22 acquired in advance. However, the present invention is not limited to this, and the mobile device 20 may calculate the three-dimensional position information of the object 22 by using other positioning techniques such as radio waves or ultrasonic waves.

[0051] The first calculation unit (projection unit) 404 executes a first calculation process for calculating second object position information obtained by projecting three-dimensional position information of the object 22 acquired by the second acquisition unit 403 into two dimensions. For example, the first calculation unit 404 converts the three-dimensional position information of the object 22 into the camera coordinates of the first imaging device 10 using external parameters indicating the position and orientation of the first imaging device 10. In addition, the first calculation unit 404 converts the position information converted into the camera coordinates into two-dimensional position coordinates on the first image using internal parameters of the first imaging device 10 stored in advance in the storage unit 407 or the like.

[0052] A second calculation section (distance calculation section) 405 executes a second calculation process for calculating the distance between a first trajectory of the object 22 based on the first object position information and a second trajectory of the object 22 based on the second object position information.

[0053] The correction unit 406 executes a correction process to correct the distance between the first trajectory and the second trajectory. For example, the correction unit 406 corrects external parameters indicating the position and orientation of the first imaging device 10, or the second object position, etc., so as to minimize the distance between the first trajectory and the second trajectory. Furthermore, the correction unit 406 resets the position and orientation of the first imaging device 10 based on the execution result of the correction process, as necessary. Note that the specific processing content of the correction process will be described later.

[0054] The storage unit 407 stores various data and information, such as a first image, first object position information, three-dimensional position information of the object 22, internal parameters and external parameters of the first imaging device 10, or second object position information.

[0055] 4 is just an example. For example, the information processing system 1 may have a functional configuration as shown in FIG.

[0056] Fig. 5 is a diagram showing another example of the functional configuration of the information processing system according to an embodiment. In the example of Fig. 5, the second imaging device 21 is configured to transmit the captured second image to the information processing device 100 via the communication network N. In addition, the information processing device 100 realizes a position information calculation unit 413 that calculates three-dimensional position information of the object 22 from the second image captured by the second imaging device 21, for example, by executing a predetermined program in the CPU 301. In this case, the second acquisition unit 403 acquires the three-dimensional position information of the object 22 from the position information calculation unit 413.

[0057] <Processing flow> Next, a process flow of the information processing method according to the first embodiment will be described.

[0058] (Correction process) Fig. 6 is a flowchart showing an example of a correction process according to an embodiment. This process shows an example of a correction process in which the information processing device 100 having the functional configuration shown in Fig. 4 corrects external parameters indicating the position and orientation of the first imaging device 10.

[0059] In step S601, the first acquisition unit 402 acquires first object position information, which is two-dimensional position information of the object 22, based on the first image captured by the first imaging device 10. For example, the first acquisition unit 402 acquires first object position information indicating the center position 211 of the marker 210 for each frame from a series of images captured at multiple times by the first imaging device 10, and stores the acquired first object position information in the storage unit 407 or the like in association with the imaging time.

[0060] In step S602, the second acquisition unit 403 acquires three-dimensional position information of the object 22 calculated based on the second image captured by the second imaging device 21. For example, the second acquisition unit 403 stores, in the storage unit 407 or the like, the three-dimensional position information of the object 22 calculated by the position information calculation unit 413 of the mobile device 20 from a series of images captured at multiple times by the second imaging device 21 and the imaging times (or calculation times).

[0061] In step S603, the correction unit 406 initializes with arbitrary values ​​the position and orientation of the first imaging device 10. For example, if the approximate position and orientation of the first imaging device 10 are known, the correction unit 406 may initialize the external parameters indicating the position and orientation of the first imaging device 10 using those values.

[0062] In step S604, the first calculation unit 404 calculates second object position information obtained by projecting the three-dimensional position information of the object 22 acquired by the second acquisition unit 403 into two dimensions. For example, the first calculation unit 404 converts the three-dimensional position information of the object 22 into the camera coordinates of the first imaging device 10 using external parameters indicating the position and orientation of the first imaging device 10. In addition, the first calculation unit 404 further converts the position information converted into the camera coordinates into second object position information, which is two-dimensional position information on the first image, using internal parameters of the first imaging device 10. Note that the information processing device 100 stores internal parameters such as the focal length, image center, and distortion characteristics of the first imaging device 10 in advance in the storage unit 407, etc.

[0063] In step S605, the second calculation unit 405 executes a distance calculation process to calculate the distance between the first trajectory of the object 22 based on the first object position information and the second trajectory of the object 22 based on the second object position information. The distance calculation process will be described later.

[0064] In step S606, the correction unit 406 determines whether the distance between the first trajectory and the second trajectory has been minimized. For example, if the distance between the first trajectory and the second trajectory has converged to a minimum value, the correction unit 406 determines that the distance between the first trajectory and the second trajectory has been minimized. If the distance between the first trajectory and the second trajectory has not been minimized, the correction unit 406 shifts the process to step S607. On the other hand, if the distance between the first trajectory and the second trajectory has been minimized, the correction unit 406 ends the correction process.

[0065] In step S607, the correction unit 406 corrects the position and orientation (position and orientation) of the first image capture device 10. For example, the correction unit 406 resets external parameters indicating the position and orientation of the first image capture device 10 based on a known nonlinear optimization method such as the conjugate gradient method, and returns the process to step S604.

[0066] Through the processing in FIG. 6, the information processing device 100 can correct the external parameters indicating the position and orientation of the first imaging device 10.

[0067] (About distance calculation process) 7 is a diagram showing an image of imaging timing according to an embodiment. This diagram shows an image of an example of imaging timing of the first imaging device 10 and imaging timing of the second imaging device 21. In the example of FIG. 7, the first imaging device 10 captures a first image at times t11, t12, t13, . . . and the second imaging device 21 captures a second image at times t21, t22, t23, . . . Also, it shows that the information processing device 100 receives the first image from the first imaging device 10 at times T1, T2, T3, . . .

[0068] 7, the imaging timing of the first imaging device 10 and the imaging timing of the second imaging device 21 generally do not match due to differences in frame rates, a time lag in image transfer, etc. As a result, when the mobile device 20 is moving, for example, the position of the object 22 differs between when the first imaging device 10 images the mobile device 20 at time t11 and when the second imaging device 21 images the mobile device 20 at time t21.

[0069] Therefore, in conventional calibration methods, for example, the mobile device 20 was stopped at a certain location to capture a first image and a second image, and then the mobile device 20 was stopped at another location to capture the first image and the second image, and this was repeated.

[0070] Therefore, in this embodiment, by calculating the distance between the trajectory of the object 22 based on the first object position information and the trajectory of the object 22 based on the second object position information, calibration can be performed using the first image and the second image captured by the mobile device 20 while it is traveling.

[0071] Fig. 8 is a diagram showing an image of two trajectories according to an embodiment. In Fig. 8, black circles 811a, 811b, 811c, ... indicate the position of the object 22 according to first object position information, which is two-dimensional position information based on a first image captured by the first imaging device 10. Also, white circles 821a, 821b, 821c, ... indicate the position of the object 22 according to second object position information, which is two-dimensional position information based on a second image captured by the second imaging device 21.

[0072] As shown in FIG. 8, when calibration is not completed, a first trajectory 810 of the object 22 based on the first object position information and a second trajectory 820 of the object 22 based on the second object position information are misaligned.

[0073] The information processing device 100 according to this embodiment corrects external parameters indicating the position and orientation of the first imaging device 10 so as to minimize the distance between a first trajectory 810 of the object 22 based on the first object position information and a second trajectory 820 of the object 22 based on the second object position information. As a result, for example, as shown in Fig. 9, the second object position information can be corrected so that the first trajectory 810 and the second trajectory 820 substantially overlap. Note that the distance between the first trajectory and the second trajectory can be calculated by, for example, the processes shown in Figs. 10 and 11.

[0074] (Distance calculation process) Fig. 10 is a flowchart showing an example of a distance calculation process between two trajectories according to an embodiment. This process shows an example of a distance calculation process in which the second calculation unit 405 calculates the distance between the first trajectory of the object 22 based on the first object position information and the second trajectory of the object 22 based on the second object position information in step S605 in Fig. 6.

[0075] In this specification, the black circles 811a, 811b, 811c, ... shown in Figure 8, which indicate the position of object 22 based on the first object position information, will be referred to as first points, and the white circles 821a, 821b, 821c, ..., which indicate the position of object 22 based on the second object position information, will be referred to as second points.

[0076] In step S1001, second calculation unit 405 executes the processes of steps S1002 to S1004 for each of the first points.

[0077] In step S1002, the second calculation unit 405 selects a second point captured within a predetermined time (for example, within ±3 seconds) from the image capture time of the first point. Here, the predetermined time is set so that a plurality of second points are included within the predetermined time. When the number of the plurality of second points is three or more, the three or more second points become a broken line with continuous line segments having each of the second points as an end point. Note that, by selecting a second point within the predetermined time, the information processing device 100 can avoid calculating an erroneous distance to a trajectory even when the object 22 passes the same position at different times.

[0078] In step S1003, the second calculation unit 405 calculates the distance between the first point and a broken line connecting the selected second points. For example, the second calculation unit 405 executes a calculation process of the distance between the broken line and the points, which will be described later with reference to FIG.

[0079] In step S1004, the second calculation unit 405 records the calculated distance between the first point and the broken line in, for example, the storage unit 407, the RAM 303, or the like.

[0080] In step S1005, second calculation section 405 executes the processes of steps S1002 to S1004 for each of the first points, and then transitions to step S1006.

[0081] In step S1006, second calculation unit 405 determines the sum of the distances between the recorded first points and the broken line as the distance between the two loci.

[0082] (Calculation of distance between a broken line and a point) 11 is a flowchart showing an example of a process for calculating a distance between a polygonal line and a point according to an embodiment. This process shows an example of a process for calculating a distance between a polygonal line connecting selected second points and a first point, which is executed by the second calculation unit 405 in step S1003 in FIG. 10.

[0083] In step S1101, the second calculation unit 405 executes the processes of steps S1102 to S1106 for each of the line segments connecting the second points selected in step S1002 of FIG.

[0084] In step S1102, the second calculation unit 405 branches the process depending on the position of the first point relative to the line segment. For example, as shown in FIG. 12, the second calculation unit 405 divides the plane into a first region, a second region, and a third region by two lines 1202 and 1203 that pass through two adjacent second points (white circles 821-1 and 821-2) and are perpendicular to a line segment 1201. If the first point is in the first region, the second calculation unit 405 shifts the process to step S1103. If the first point is in the second region, the second calculation unit 405 shifts the process to step S1104. If the first point is in the third region, the second calculation unit 405 shifts the process to step S1105.

[0085] In step S1103, the second calculation unit 405 calculates a distance 1204 between the first point (black circle 811) and the second point (white circle 821-1) as shown in FIG.

[0086] In step S1104, the second calculation unit 405 calculates the length 1205 of the perpendicular line drawn from the first point (black circle 811) to the line segment 1201, as shown in FIG.

[0087] In step S1105, the second calculation unit 405 calculates a distance 1206 between the first point (black circle 811) and the second point (white circle 821-2) as shown in FIG.

[0088] In step S1106, the second calculation unit 405 records the calculated distance in, for example, the storage unit 407, the RAM 303, or the like.

[0089] In step S1107, when the second calculation unit 405 completes the processes of steps S1102 to S1106 for each of the line segments connecting the second points selected in step S1002 of FIG. 10, for example, the second calculation unit 405 shifts the process to step S1108.

[0090] In step S1108, the second calculation unit 405 determines the minimum value of the distances recorded in step S1106 as the distance between the first point and the line segment connecting the second points.

[0091] 10 and 11, the second calculation section 405 can calculate the distance between the first trajectory of the object 22 based on the first object position information and the second trajectory of the object 22 based on the second object position information.

[0092] (Modification) In the description of Figs. 10 and 11, the black circles 811a, 811b, 811c, ... indicating the position of the object 22 according to the first object position information shown in Fig. 8 are set as first points, and the white circles 821a, 821b, 821c, ... indicating the position of the object 22 according to the second object position information are set as second points. However, this is not limited thereto, and the second calculation unit 405 may execute the processing of Figs. 10 and 11 by setting the black circles indicating the position of the object 22 according to the first object position information as second points and the white circles indicating the position of the object 22 according to the second object position information as first points. For example, when the first imaging device 10 has a higher frame rate, it is desirable that the second calculation unit 405 calculates the distance between the first trajectory 810 and the second trajectory 820 by setting the white circles 821 as first points and the black circles 811 as second points, as shown in Fig. 13.

[0093] (Regarding the positional relationship between the second imaging device and the object) As described above, the position information calculation unit 413 calculates three-dimensional position information of the object 22 from the three-dimensional position information of the second imaging device 21 calculated by the VSLAM technique or the like and the previously acquired relative position between the second imaging device 21 and the object 22. Therefore, in order for the position information calculation unit 413 to calculate the three-dimensional position information of the object 22, it is necessary to previously acquire the relative position between the second imaging device 21 and the object 22.

[0094] 14, the position information calculation unit 413 calculates the relative position between the second imaging device 21 and the object 22 from an image of the marker 210 provided on the object 22 captured by the second imaging device 21. For example, the position information calculation unit 413 captures an image of the marker 210 provided on the object 22 by the second imaging device 21, and acquires the coordinates of the outer diameter of the marker 210. In addition, the position information calculation unit 413 calculates the center position 211 of the marker 210 in the camera coordinate system of the second imaging device 21 from the acquired coordinates of the outer diameter of the marker 210 and the actual size of the marker 210.

[0095] In addition, if the marker 210 placed on the object 22 cannot be imaged from the position of the second imaging device 21, the position information calculation unit 413 can calculate the center position 211 of the marker 210 in the camera coordinate system of the second imaging device 21 using an auxiliary marker.

[0096] 15(B), an auxiliary marker 1501 that is an AR marker fixed to the top of a rod 1502 is prepared, and a distance L from a center 1503 of the auxiliary marker 1501 to the bottom end of the rod 1502 is measured in advance. Also, for example, as shown in FIG. 15(A), the bottom end of the rod 1502 is brought into contact with the center of the marker 210, and the auxiliary marker 1501 is imaged by the second imaging device 21 so that the entire auxiliary marker 1501 is included in the imaging range of the second imaging device 21.

[0097] The position information calculation unit 413 determines, from the captured image, the center 1503 of the auxiliary marker 1501 in a three-dimensional coordinate system based on the second imaging device 21, and a three-dimensional vector indicating the vertical and horizontal directions of the marker on the plane of the auxiliary marker 1501. In addition, the position information calculation unit 413 can calculate, as the center position of the marker 210, a point moved downward from the position of the center 1503 of the auxiliary marker 1501 by the length L of the rod 1502 measured in advance.

[0098] As described above, according to the first embodiment, in a system that identifies the position of an object using a first imaging device 10 that captures an image of an object 22 moved by a mobile device 20, and a second imaging device 21 mounted on the mobile device, calibration work can be facilitated.

[0099] [Second embodiment] In the first embodiment, the moving device 20 that moves the object 22 has been described as being a moving body such as a forklift. However, the present embodiment is not limited to this, and can also be applied to, for example, a robot system that images a workpiece supplied to a work area from above with the first imaging device 10 and recognizes the position of the workpiece to perform work.

[0100] Fig. 16 is a diagram showing an example of a system configuration of an information processing system according to the second embodiment. In the example of Fig. 16, an information processing system 1600 includes a first imaging device 10, a moving device 1611, a second imaging device 21 mounted on the moving device 1611, an information processing device 100, and the like.

[0101] The first imaging device 10 is installed on, for example, a ceiling 1601 in a factory or the like, captures an image of an object 1602 such as a workpiece moved by a moving device 1611 , and transmits the captured first image to the information processing device 100 .

[0102] 16, the moving device 1611 is, for example, a five-axis vertical articulated robot that is installed on a floor 1612 of a factory or the like and moves an object 1602. The moving device 1611 has, for example, a fixed base 1613 installed on the floor 1612, and a first arm 1615 rotatably provided on the fixed base 1613 around a first joint shaft 1614. The moving device 1611 also has a second arm 1617 rotatably provided on the tip of the first arm 1615 by a second joint shaft 1616, and a third arm 1619 rotatably provided on the tip of the second arm 1617 by a third joint shaft 1618. Furthermore, the moving device 1611 has a wrist 1621 rotatably provided at the tip of the third arm 1619 by a fourth joint shaft 1620, and an end effector 1623 replaceably attached to the wrist 1621 and rotatably about a fifth joint shaft 1622. As a result, the end effector 1623 attached to the wrist 1621 is configured to rotate by the fourth joint shaft 1620, which is the joint shaft of the wrist 1621.

[0103] Here, the end effector 1623 holds the object 1602 with, for example, a suction nozzle, a hand, or a gripper. The first to fifth joint axes 1614, 1616, 1618, 1620, and 1622 are each driven by a servo motor. This allows the moving device 1611 to move the object 1602 with five degrees of freedom. A second imaging device 21 is provided on the wrist 1621 of the moving device 1611 to image the object 1602, which is a workpiece supplied to the working area.

[0104] With the above configuration, the moving device 1611 moves the object 1602, on which the marker 210 is printed, with the object 1602 attached to the end effector 1623. In addition, the second imaging device 21 transmits a second image obtained by capturing an image of the periphery of the moving device 1611 to the information processing device 100.

[0105] The information processing device 100 can calibrate the relationship between the position and orientation of the first imaging device 10 and the second imaging device 21 based on the first image received from the first imaging device 10 and the second image received from the second imaging device 21, in a manner similar to the first embodiment.

[0106] In this way, the mobile device 20 only needs to be a device that moves the object 1602, and the mobile device 20 itself does not necessarily need to be capable of moving.

[0107] (Third embodiment) The first and second embodiments have been described on the assumption that there is a difference between the imaging time of the first image captured by the first imaging device 10 and the imaging time of the second image captured by the second imaging device 21. In the third embodiment, as another solution, a method of eliminating the difference between the imaging time of the first image captured by the first imaging device 10 and the imaging time of the second image captured by the second imaging device 21 will be described.

[0108] Fig. 17 is a diagram showing an example of a system configuration of an information processing system according to a third embodiment. In the example of Fig. 17, an information processing system 1700 has a system configuration similar to that of the information processing system 1 according to the first embodiment described in Fig. 1. In addition, an information processing device 100 according to the third embodiment has a function of simultaneously transmitting a trigger signal that instructs the first imaging device 10 and the second imaging device 21 to capture images. As a specific example, the information processing device 100 can transmit a trigger signal via a communication network N by using a software trigger function of a camera interface standard such as GigE Vision.

[0109] With the above configuration, in the information processing system 1 according to the third embodiment, the first imaging device 10 and the second imaging device 21 capture images almost simultaneously. Note that even if a slight delay difference occurs due to differences in network configuration, for example, the error may be ignored if it is sufficiently small relative to the moving speed of the moving device 20 (for example, the position error of the moving device 20 due to the delay difference is about 1 mm).

[0110] According to the third embodiment, it is possible to calibrate the relationship between the positions and orientations of the first imaging device 10 and the second imaging device 21 using a conventional calibration method, without having to stop the moving device 20.

[0111] As described above, according to each embodiment of the present invention, calibration work is facilitated in a system that identifies the position of an object using a first imaging device 10 that captures an image of an object moved by a moving device, and a second imaging device 21 mounted on the moving device.

[0112] <Supplementary Information> Each function of each embodiment described above can be realized by one or more processing circuits. Here, the term "processing circuit" in this specification includes a processor programmed to execute each function by software, such as a processor implemented by an electronic circuit, and a device such as an ASIC (Application Specific Integrated Circuit), a DSP (digital signal processor), an FPGA (field programmable gate array), or a conventional circuit module designed to execute each function described above.

[0113] Moreover, the devices described in the examples are merely one of a number of computing environments for implementing the embodiments disclosed herein. In one embodiment, the information processing device 100 includes a number of computing devices, such as a server cluster. The computing devices are configured to communicate with each other via any type of communication link, including a network, shared memory, and the like, and perform the processes disclosed herein.

[0114] In addition, each functional configuration of the information processing device 100 may be integrated into one device or may be divided into multiple devices. Furthermore, at least a part of each functional configuration of the information processing device 100 may be included in the mobile device 20 (or the second imaging device 21).

[0115] <Additional Notes> This specification discloses the following information processing device, information processing system, information processing method, and program. (Section 1) An information processing device capable of communicating with a first imaging device that captures an image of an object moved by a moving device, a first acquisition unit that acquires first object position information, which is two-dimensional position information of the object, from a first image captured by the first imaging device; A second acquisition unit that acquires three-dimensional position information of the object; a first calculation unit that calculates second object position information, which is two-dimensional position information on the first image, from the three-dimensional position information of the object acquired by the second acquisition unit; a second calculation unit that calculates a distance between a first trajectory of the object based on the first object position information and a second trajectory of the object based on the second object position information; a correction unit that executes a correction process to correct a distance between the first locus and the second locus; having Information processing device. (Section 2) The information processing device according to claim 1 , wherein the correction unit resets a position and an orientation of the first imaging device based on a result of the correction process. (Section 3) The information processing device described in paragraph 1, wherein the second calculation unit calculates the distance between the first trajectory and the second trajectory based on the distance between a line segment connecting the position of the object according to the first object position information and a point indicating the position of the object according to the second object position information. (Section 4) The information processing device described in paragraph 1, wherein the second calculation unit calculates the distance between the first trajectory and the second trajectory based on the distance between a line segment connecting the position of the object according to the second object position information and a point indicating the position of the object according to the first object position information. (Section 5) 5. The information processing device according to any one of claims 1 to 4, wherein the correction unit corrects the second object position information so as to minimize a distance between the first trajectory and the second trajectory. (Section 6) the first calculation unit calculates the second object position information by projecting three-dimensional position information of the object onto the first image using external parameters indicating a position and an orientation of the first imaging device; 5. The information processing device according to any one of claims 1 to 4, wherein the correction unit corrects the external parameters so as to minimize a distance between the first trajectory and the second trajectory. (Section 7) the information processing device is capable of communicating with a second imaging device mounted on the mobile device; 7. The information processing device according to any one of claims 1 to 6, wherein the second acquisition unit acquires three-dimensional position information of the object based on a second image captured by the second imaging device. (Section 8) An information processing system including the information processing device according to claim 7 and a second imaging device mounted on a mobile device, The information processing system includes: a position information calculation unit that calculates three-dimensional position information of the object from three-dimensional position information of the mobile device and a relative position between the mobile device and the object, the three-dimensional position information being acquired based on the second image captured by the second imaging device; Information processing system. (Section 9) the second imaging device captures an image of a marker provided on the object; The calculation unit calculates a relative position between the moving device and the object from an image of the marker. 9. An information processing system according to claim 8. (Section 10) the second imaging device captures an image of an auxiliary marker that is disposed so that a relative position from a center position of a marker provided on the object is constant; The calculation unit calculates a relative position between the moving device and the object from an image of the auxiliary marker. 9. An information processing system according to claim 8. (Section 11) an information processing device capable of communicating with a first imaging device that captures an image of an object moved by a moving device, a first acquisition process for acquiring first object position information, which is two-dimensional position information of the object, from a first image captured by the first imaging device; A second acquisition process for acquiring three-dimensional position information of the object; a first calculation process for calculating second object position information, which is two-dimensional position information on the first image, from the three-dimensional position information of the object acquired in the second acquisition process; a second calculation process for calculating a distance between a first trajectory of the object based on the first object position information and a second trajectory of the object based on the second object position information; a correction process for correcting a distance between the first locus and the second locus; Execute Information processing methods. (Section 12) A computer capable of communicating with a first imaging device that captures an image of an object moved by a moving device, a first acquisition process for acquiring first object position information, which is two-dimensional position information of the object, from a first image captured by the first imaging device; A second acquisition process for acquiring three-dimensional position information of the object; a first calculation process for calculating second object position information, which is two-dimensional position information on the first image, from the three-dimensional position information of the object acquired in the second acquisition process; a second calculation process for calculating a distance between a first trajectory of the object based on the first object position information and a second trajectory of the object based on the second object position information; a correction process for correcting a distance between the first locus and the second locus; Execute the program.

[0116] Although an embodiment of the present invention has been described above, the present invention is not limited to such a specific embodiment, and various modifications and applications are possible within the scope of the gist of the present invention described in the claims. [Explanation of symbols]

[0117] 1, 1600, 1700 Information Processing Systems 10 First imaging device 20, 1611 Mobile device 21 Second imaging device 22, 1602 Object 100 Information processing device 402 First Acquisition Section 403 Second Acquisition Section 404 First Calculation Section 405 Second Calculation Section 406 Correction Section 407 Storage section 413 Location information calculation unit 414 Storage section [Prior art documents] [Patent documents]

[0118] [Patent Document 1] JP 2022-130032 A [Patent Document 2] JP 2019-125354 A

Claims

1. An information processing device capable of communicating with a first imaging device that captures an image of an object moved by a moving device, a first acquisition unit that acquires first object position information, which is two-dimensional position information of the object, from a first image captured by the first imaging device; A second acquisition unit that acquires three-dimensional position information of the object; a first calculation unit that calculates second object position information, which is two-dimensional position information on the first image, from the three-dimensional position information of the object acquired by the second acquisition unit; a second calculation unit that calculates a distance between a first trajectory of the object based on the first object position information and a second trajectory of the object based on the second object position information; a correction unit that executes a correction process to correct a distance between the first trajectory and the second trajectory; having Information processing device.

2. The information processing device according to claim 1 , wherein the correction unit resets a position and an orientation of the first imaging device based on a result of the execution of the correction process.

3. 2. The information processing device according to claim 1, wherein the second calculation unit calculates a distance between the first trajectory and the second trajectory based on a distance between a line segment connecting the positions of the object according to the first object position information and a point indicating the position of the object according to the second object position information.

4. 2. The information processing device according to claim 1, wherein the second calculation unit calculates a distance between the first trajectory and the second trajectory based on a distance between a line segment connecting the positions of the object according to the second object position information and a point indicating the position of the object according to the first object position information.

5. The information processing apparatus according to claim 1 , wherein the correction unit corrects the second object position information so as to minimize a distance between the first trajectory and the second trajectory.

6. the first calculation unit calculates the second object position information by projecting three-dimensional position information of the object onto the first image using external parameters indicating a position and an orientation of the first imaging device; The information processing apparatus according to claim 1 , wherein the correction unit corrects the external parameters so as to minimize a distance between the first trajectory and the second trajectory.

7. the information processing device is capable of communicating with a second imaging device mounted on the mobile device; The information processing apparatus according to claim 1 , wherein the second acquisition unit acquires three-dimensional position information of the object based on a second image captured by the second imaging device.

8. An information processing system including the information processing device according to claim 7 and a second imaging device mounted on a mobile device, The information processing system includes: a position information calculation unit that calculates three-dimensional position information of the object from three-dimensional position information of the mobile device and a relative position between the mobile device and the object, the three-dimensional position information being acquired based on the second image captured by the second imaging device; Information processing system.

9. the second imaging device captures an image of a marker provided on the object; The calculation unit calculates a relative position between the moving device and the object from an image of the marker. The information processing system according to claim 8.

10. the second imaging device captures an image of an auxiliary marker that is disposed so that a relative position from a center position of a marker provided on the object is constant; The calculation unit calculates a relative position between the moving device and the object from an image of the auxiliary marker. The information processing system according to claim 8.

11. an information processing device capable of communicating with a first imaging device that captures an image of an object moved by a moving device; a first acquisition process for acquiring first object position information, which is two-dimensional position information of the object, from a first image captured by the first imaging device; A second acquisition process for acquiring three-dimensional position information of the object; a first calculation process for calculating second object position information, which is two-dimensional position information on the first image, from three-dimensional position information of the object acquired in the second acquisition process; a second calculation process for calculating a distance between a first trajectory of the object based on the first object position information and a second trajectory of the object based on the second object position information; a correction process for correcting a distance between the first trajectory and the second trajectory; Execute Information processing methods.

12. A computer capable of communicating with a first imaging device that images an object moved by a moving device, a first acquisition process for acquiring first object position information, which is two-dimensional position information of the object, from a first image captured by the first imaging device; A second acquisition process for acquiring three-dimensional position information of the object; a first calculation process for calculating second object position information, which is two-dimensional position information on the first image, from three-dimensional position information of the object acquired in the second acquisition process; a second calculation process for calculating a distance between a first trajectory of the object based on the first object position information and a second trajectory of the object based on the second object position information; a correction process for correcting a distance between the first trajectory and the second trajectory; Execute the program.

Citation Information

Patent Citations

  • Information processor, system, method, and program

    JP2019125354A

  • Information processor, information processing system, method for processing information, and program

    JP2022130032A