System and method for calibrating a vehicle camera using an external smart sensor

By wirelessly receiving images and gyroscope measurements, combined with SLAM and PnP algorithms, the ground-truth orientation of the vehicle camera is updated, which solves the problem of mismatch between the camera orientation and the ground-truth orientation and improves the accuracy of the vehicle sensing module.

CN114866683BActive Publication Date: 2024-08-27GM GLOBAL TECHNOLOGY OPERATIONS LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111542218.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-02-04
Filing Date
2021-12-16
Publication Date
2024-08-27
Estimated Expiration
2041-12-16

Smart Images

  • Figure CN114866683B_ABST
    Figure CN114866683B_ABST
Patent Text Reader

Abstract

A camera of a vehicle has a field of view. A perception module of the vehicle is configured to determine a position of an object relative to the vehicle based on a model of the camera and a camera ground truth orientation of the camera. A calibration module is configured to: wirelessly receive an image from the camera; determine a vehicle camera target based on the image; determine a current orientation of the calibration module measured using a gyroscope of the calibration module when the vehicle camera target is aligned with a calibration module target on the calibration module; determine an updated camera ground truth orientation of the camera when at least one component of the current orientation of the calibration module is different from the at least one component of an expected orientation of the calibration module; and wirelessly send the updated ground truth orientation to the vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] The information provided in this section is for the purpose of generally presenting the background of the disclosure. To the extent described in this section, the work of the presently named inventors and aspects of the description that may not constitute prior art at the time of filing are neither explicitly nor implicitly admitted to be prior art to the present disclosure.

[0002] The present disclosure relates to vehicles and smart sensors and more particularly to calibration of vehicle cameras.

[0003] The vehicle includes one or more torque-generative devices, such as an internal combustion engine and / or an electric motor.Occupants of the vehicle ride in a passenger cabin (or passenger compartment) of the vehicle.

[0004] The vehicle may include one or more different types of sensors that sense the vehicle's surroundings. One example of a sensor that senses the vehicle's surroundings is a camera that is configured to capture images of the vehicle's surroundings. Examples of such cameras include forward-facing cameras, rear-facing cameras, and side-facing cameras. Another example of a sensor that senses the vehicle's surroundings includes a radar sensor that is configured to capture information about the vehicle's surroundings. Other examples of sensors that sense the vehicle's surroundings include sonar sensors and light detection and ranging (LIDAR) sensors that are configured to capture information about the vehicle's surroundings. Summary of the invention

[0005] In a feature, a camera calibration system includes: a camera of a vehicle having a field of view; a perception module of the vehicle, the perception module being configured to determine a position of an object relative to the vehicle based on a model of the camera and a camera ground truth orientation of the camera; a calibration module, which is configured to: wirelessly receive an image from the camera of the vehicle; determine a vehicle camera target based on the image from the camera of the vehicle; when the vehicle camera target is aligned with a calibration module target on the calibration module, determine a current orientation of the calibration module measured using a gyroscope of the calibration module; when at least one component of the current orientation of the calibration module is different from at least one component of an expected orientation of the calibration module, determine an updated camera ground truth orientation of the camera of the vehicle; and wirelessly send the updated ground truth orientation to the vehicle.

[0006] In further features, the calibration module includes a display and is configured to display the vehicle camera object and the calibration module object on the display.

[0007] In further features, the calibration module is configured to cause the vehicle camera target to move on the display as the calibration module moves.

[0008] In further features, the calibration module is configured to increase and decrease a size of the vehicle camera target on the display as the calibration module moves toward and away from the vehicle.

[0009] In further features, the calibration module includes an actuator configured to move the calibration module relative to the vehicle.

[0010] In further features, the calibration module target is secured to an exterior of the calibration module.

[0011] In further features, the current orientation of the calibration module includes a first three-dimensional (3D) pose and the expected orientation includes a second 3D pose.

[0012] In further features, the calibration module is configured to determine an updated ground truth orientation of the camera by performing simultaneous localization and mapping (SLAM) on a series of images acquired using the camera of the calibration module.

[0013] In further features, the calibration module is configured to determine an updated ground truth orientation of the camera by further performing a view-n-point (PnP) process using the SLAM-derived mapping.

[0014] In additional features, the camera calibration system further includes a perception module of the vehicle configured to determine a position of the object relative to the vehicle based on the model of the camera and the updated ground truth orientation of the camera.

[0015] In further features, the calibration module is configured to determine the expected orientation based on the model.

[0016] In further features, the calibration module target and the vehicle camera target comprise a checkerboard pattern.

[0017] In a feature, a camera calibration method includes: determining a position of an object relative to a vehicle based on a model of a camera of the vehicle and a camera ground truth orientation of the camera, the camera having a field of view; wirelessly receiving an image from the camera of the vehicle; determining a vehicle camera target based on the image from the camera of the vehicle; determining a current orientation of the calibration module measured using a gyroscope of the calibration module when the vehicle camera target is aligned with a calibration module target on the calibration module; determining an updated camera ground truth orientation of the camera of the vehicle when at least one component of the current orientation of the calibration module is different from at least one component of an expected orientation of the calibration module; and wirelessly sending the updated ground truth orientation to the vehicle.

[0018] In further features, the camera calibration method further comprises displaying, by the calibration module, the vehicle camera target and the calibration module target on a display of the calibration module.

[0019] In further features, the camera calibration method further comprises, via the calibration module, causing the vehicle camera target to move on the display as the calibration module moves.

[0020] In further features, the camera calibration method further comprises increasing and decreasing, by the calibration module, a size of the vehicle camera target on the display as the calibration module moves toward and away from the vehicle, respectively.

[0021] In further features, the camera calibration method further comprises moving the calibration module relative to the vehicle via one or more actuators of the calibration module.

[0022] In further features, the calibration module target is secured to an exterior of the calibration module.

[0023] In further features, the current orientation of the calibration module includes a first three-dimensional (3D) pose and the expected orientation includes a second 3D pose.

[0024] In further features, the camera calibration method further comprises determining a position of an object relative to the vehicle based on the model of the camera and the updated ground truth orientation of the camera.

[0025] The present invention also includes the following scheme:

[0026] Solution 1. A camera calibration system, comprising:

[0027] A camera of a vehicle having a field of view;

[0028] a perception module of the vehicle, the perception module configured to determine a position of an object relative to the vehicle based on a model of the camera and a ground truth camera orientation of the camera;

[0029] A calibration module is constructed to:

[0030] wirelessly receiving an image from the camera of the vehicle;

[0031] determining a vehicle camera target based on the image from the camera of the vehicle;

[0032] determining a current orientation of the calibration module measured using a gyroscope of the calibration module when the vehicle camera target is aligned with a calibration module target on the calibration module;

[0033] determining an updated camera ground truth orientation of the camera of the vehicle when at least one component of the current orientation of the calibration module is different from at least one component of an expected orientation of the calibration module; and

[0034] The updated ground truth orientation is wirelessly transmitted to the vehicle.

[0035] Option 2. The camera calibration system according to Option 1, wherein the calibration module includes a display and is configured to display the vehicle camera target and the calibration module target on the display.

[0036] Option 3. The camera calibration system of Option 2, wherein the calibration module is configured to cause the vehicle camera target to move on the display as the calibration module moves.

[0037] Option 4. The camera calibration system of Option 2, wherein the calibration module is configured to increase and decrease the size of the vehicle camera target on the display as the calibration module moves toward and away from the vehicle.

[0038] Embodiment 5. The camera calibration system according to Embodiment 1, wherein the calibration module includes an actuator configured to move the calibration module relative to the vehicle.

[0039] Embodiment 6. The camera calibration system according to Embodiment 1, wherein the calibration module target is fixed on the outside of the calibration module.

[0040] Embodiment 7. The camera calibration system of embodiment 1, wherein the current orientation of the calibration module comprises a first three-dimensional (3D) pose, and the expected orientation comprises a second 3D pose.

[0041] Embodiment 8. The camera calibration system of embodiment 1, wherein the calibration module is configured to determine the updated camera ground truth orientation by performing simultaneous localization and mapping (SLAM) on a series of images acquired using a camera of the calibration module.

[0042] Embodiment 9. The camera calibration system of embodiment 8, wherein the calibration module is configured to determine the updated camera ground truth orientation by further performing perspective-n-point (PnP) processing using a mapping derived from the SLAM.

[0043] Embodiment 10. The camera calibration system according to Embodiment 1 further comprises a perception module of the vehicle, the perception module being configured to determine a position of an object relative to the vehicle based on a model of the camera and the updated ground truth orientation of the camera.

[0044] Embodiment 11. A camera calibration system according to Embodiment 1, wherein the calibration module is configured to determine the expected orientation based on the model.

[0045] Embodiment 12. The camera calibration system of Embodiment 1, wherein the calibration module target and the vehicle camera target comprise a checkerboard pattern.

[0046] Solution 13. A camera calibration method, comprising:

[0047] determining a position of an object relative to the vehicle based on a model of a camera of the vehicle and a ground truth camera orientation of the camera, the camera having a field of view;

[0048] wirelessly receiving an image from the camera of the vehicle;

[0049] determining a vehicle camera target based on the image from the camera of the vehicle;

[0050] determining a current orientation of the calibration module measured using a gyroscope of the calibration module when the vehicle camera target is aligned with a calibration module target on the calibration module;

[0051] determining an updated camera ground truth orientation of the camera of the vehicle when at least one component of the current orientation of the calibration module is different from the at least one component of the expected orientation of the calibration module; and

[0052] The updated ground truth orientation is wirelessly transmitted to the vehicle.

[0053] Embodiment 14. The camera calibration method according to Embodiment 13 further comprises, by the calibration module, displaying the vehicle camera target and the calibration module target on a display of the calibration module.

[0054] Embodiment 15. The camera calibration method according to Embodiment 14 further comprises, as the calibration module moves, causing the vehicle camera target to move on the display via the calibration module.

[0055] Embodiment 16. The camera calibration method according to Embodiment 14 further comprises increasing and decreasing the size of the vehicle camera target on the display by the calibration module as the calibration module moves toward and away from the vehicle respectively.

[0056] Embodiment 17. The camera calibration method according to Embodiment 13 further comprises moving the calibration module relative to the vehicle by means of one or more actuators of the calibration module.

[0057] Embodiment 18. The camera calibration method according to Embodiment 13, wherein the calibration module target is fixed on the outside of the calibration module.

[0058] Embodiment 19. The camera calibration method according to embodiment 13, wherein the current orientation of the calibration module comprises a first three-dimensional (3D) pose, and the expected orientation comprises a second 3D pose.

[0059] Option 20. The camera calibration method according to Option 13 further includes determining the position of an object relative to the vehicle based on the model of the camera and the updated camera ground truth orientation.

[0060] Further areas of applicability of the present disclosure will become apparent from the detailed description, claims and drawings.The detailed description and specific examples are intended for purposes of illustration only and are not intended to limit the scope of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] The present disclosure will be more fully understood from the detailed description and accompanying drawings, in which:

[0062] Figure 1 is a functional block diagram of an example vehicle system;

[0063] Figure 2 is a functional block diagram of a vehicle including various external cameras and sensors;

[0064] Figure 3 is a functional block diagram of an exemplary camera calibration system;

[0065] Figure 4 is a flow chart illustrating an exemplary method of calibrating a camera of a vehicle;

[0066] Figure 5 is a flow chart illustrating an exemplary method of determining a current camera ground truth orientation of a vehicle; and

[0067] Figure 6-Figure 8 are exemplary images showing a sequence of aligning a target on a calibration module with a target of a vehicle's camera.

[0068] In the drawings, reference numerals may be repeated to refer to similar and / or identical elements. DETAILED DESCRIPTION

[0069] The vehicle may include a camera configured to capture images within a predetermined field of view (FOV) around an exterior of the vehicle. The perception module may determine the location of objects near the vehicle based on one or more images from the camera and a stored ground truth orientation of the camera.

[0070] However, in some cases, the current camera orientation may be different from the camera ground truth orientation. For example, if the camera is touched by an object, a component to which the camera is fixed is to be replaced or repaired, and / or in one or more other cases, the current camera orientation may be different from the current camera ground truth orientation. When the current camera orientation is different from the camera ground truth orientation, the accuracy of the functions of the perception module (e.g., object position and orientation) may be reduced.

[0071] The present application includes a calibration module configured to communicate with a vehicle to determine whether to recalibrate the ground truth orientation of the camera. The calibration module can be actuated to align a target on the calibration module with a vehicle target. When the target is aligned with the vehicle target, the current calibration module orientation of the calibration module is collected and compared with the expected orientation. If the current calibration module orientation matches the expected orientation, it may not be necessary to calibrate the ground truth camera orientation again. If the current calibration module orientation does not match the expected orientation, the calibration module determines an updated ground truth orientation of the camera of the vehicle, for example, by using synchronous localization and feature matching (SLAM) and perspective-n-point (perspective-n-point) (PnP) to determine the updated ground truth orientation of the camera. The vehicle can update the stored ground truth orientation of the camera to the updated ground truth orientation of the camera determined by the calibration module in order to recalibrate the ground truth orientation of the camera.

[0072] Reference now Figure 1 , a functional block diagram of an exemplary vehicle system is presented. Although a vehicle system for a hybrid vehicle is shown and described, the present application is also applicable to non-hybrid vehicles, electric vehicles, fuel cell vehicles, and other types of vehicles. The present application is applicable to autonomous vehicles, semi-autonomous vehicles, non-autonomous vehicles, shared vehicles, non-shared vehicles, and other types of vehicles.

[0073] The engine 102 may combust an air / fuel mixture to produce drive torque. An engine control module (ECM) 106 controls the engine 102. For example, the ECM 106 may control actuation of engine actuators such as a throttle, one or more spark plugs, one or more fuel injectors, valve actuators, camshaft phasers, exhaust gas recirculation (EGR) valves, one or more boost devices, and other suitable engine actuators. In some vehicle types (e.g., electric vehicles), the engine 102 may be omitted.

[0074] The engine 102 may output torque to a transmission 110. A transmission control module (TCM) 114 controls operation of the transmission 110. For example, the TCM 114 may control gear selection and one or more torque-transmitting devices (eg, a torque converter, one or more clutches, etc.) within the transmission 110.

[0075] The vehicle system may include one or more electric motors. For example, the electric motor 118 may be implemented as Figure 1 The electric motor is within the transmission 110 shown in the example of . The electric motor can be used as a generator or as a motor at a given moment. When used as a generator, the electric motor converts mechanical energy into electrical energy. The electrical energy can be used, for example, to charge the battery 126 via a power control device (PCD) 130. When used as a motor, the electric motor generates torque, which can be used, for example, to supplement or replace the torque output by the engine 102. Although an example of an electric motor is provided, the vehicle may include zero or more electric motors.

[0076] A power inverter control module (PIM) 134 may control electric motor 118 and PCD 130. PCD 130 applies power from battery 126 to electric motor 118 based on a signal from PIM 134, and PCD 130 provides power output by electric motor 118 to, for example, battery 126. PIM 134 may, for example, include an inverter.

[0077] The steering control module 140 controls the steering / rotation of the vehicle's wheels, for example based on a driver turning a steering wheel within the vehicle and / or a steering command from one or more vehicle control modules. A steering wheel angle (SWA) sensor (not shown) monitors the rotational position of the steering wheel and generates SWA 142 based on the position of the steering wheel. As an example, the steering control module 140 can control vehicle steering via an electronic power steering (EPS) motor 144 based on SWA 142. However, the vehicle may include another type of steering system. An electronic brake control module (EBCM) 150 can selectively control (e.g., rub) the vehicle's brakes 154 based on one or more driver inputs (such as a brake pedal position (BPP) 170).

[0078] The modules of the vehicle can share parameters via a network 162, such as a controller area network (CAN). CAN may also be referred to as a car area network. For example, CAN 162 may include one or more data buses. A given control module may provide various parameters to other modules via network 162.

[0079] The driver input may include, for example, an accelerator pedal position (APP) 166 that may be provided to the ECM 106. The BPP 170 may be provided to the EBCM 150. The position 174 of the park, reverse, neutral, drive lever (PRNDL) may be provided to the TCM 114. The ignition state 178 may be provided to the body control module (BCM) 180. For example, the ignition state 178 may be input by the driver via an ignition key, button, or switch. At a given time, the ignition state 178 may be one of off, accessory, run, or crank.

[0080] The information module 183 may output various information via one or more output devices 184. The output device 184 may include, for example, one or more displays, one or more sets of virtual reality (VR) goggles, one or more sets of augmented reality (AR) goggles, one or more other suitable types of video output devices, one or more speakers, one or more haptic devices, and / or one or more other suitable types of output devices. In various embodiments, the goggles may include one or more video devices and one or more speakers.

[0081] The information module 183 may output video via the one or more displays, one or more sets of VR goggles, and / or one or more sets of AR goggles. The information module 183 may output sound via the one or more speakers. The information module 183 may output other feedback via one or more haptic devices. For example, a haptic device may be included at one or more seats, in one or more seat belts, in a steering wheel, and the like. Examples of displays may include, for example, one or more displays of a vehicle (e.g., on a front console), a head-up display (HUD) that displays information via a substrate (e.g., a windshield), one or more displays that droop or extend upward to form a panoramic view, and / or one or more other suitable displays.

[0082] The vehicle may include multiple external sensors and cameras, generally Figure 1 186. One or more actions may be taken based on the output from the external sensors and camera 186. For example, the information module 183 may display video, various views, and / or warnings on a display via input from the external sensors and camera 186 during driving.

[0083] As another example, based on input from external sensors and cameras 186, the perception module 187 senses objects around the vehicle and the position of the objects relative to the vehicle. The ECM 106 can adjust the torque output of the engine 102 based on the input from the perception module 187. Additionally or alternatively, the PIM 134 can control power flow to and / or from the electric motor 118 based on input from the perception module 187. Additionally or alternatively, the EBCM 150 can adjust braking based on input from the perception module 187. Additionally or alternatively, the steering control module 140 can adjust steering based on input from the perception module 187. For example, one or more actions can be taken to avoid the perceived object.

[0084] The vehicle may include one or more additional control modules not shown, such as a chassis control module, a battery pack control module, etc. The vehicle may omit one or more of the control modules shown and discussed.

[0085] Reference now Figure 2 , presents a functional block diagram of a vehicle including an example of an external sensor and a camera. The external sensor and camera 186 ( Figure 1 ) include various cameras positioned to capture images and video of the exterior (outside) of the vehicle and various types of sensors that measure parameters of the exterior (outside) of the vehicle. Examples of external sensors and cameras 186 will now be discussed. For example, a forward-facing camera 204 captures images and video of images within a predetermined field of view (FOV) 206 in front of the vehicle.

[0086] The front camera 208 may also capture images and video within a predetermined FOV 210 in front of the vehicle. The front camera 208 may capture images and video within a predetermined distance in front of the vehicle and may be located at the front of the vehicle (e.g., in a front fascia, grille, or bumper). However, the forward camera 204 may be located further back, such as where a rearview mirror is located at the windshield of the vehicle. The forward camera 204 may not be able to capture images and video of items within all or at least a portion of the predetermined FOV of the front camera 208, and may capture images and video beyond a predetermined distance in front of the vehicle. In various embodiments, only one of the forward camera 204 and the front camera 208 may be included.

[0087] The rear camera 212 collects images and videos behind the vehicle within a predetermined FOV 214. The rear camera 212 may be located at the rear of the vehicle, such as near the rear license plate.

[0088] The right camera 216 collects images and videos within a predetermined FOV 218 to the right of the vehicle. The right camera 216 can collect images and videos within a predetermined distance to the right of the vehicle and can be located, for example, below the right rearview mirror. In various embodiments, the right rearview mirror can be omitted and the right camera 216 can be located near where the right rearview mirror would normally be located.

[0089] The left camera 220 captures images and videos within a predetermined FOV 222 to the left of the vehicle. The left camera 220 can capture images and videos within a predetermined distance to the left of the vehicle, and can be located, for example, below the left rearview mirror. In various embodiments, the left rearview mirror can be omitted, and the left camera 220 can be located near where the left rearview mirror would normally be. Although an exemplary FOV is shown for illustrative purposes, the present application is also applicable to other FOVs. In various embodiments, the FOVs can overlap, for example, for more accurate and / or more comprehensive stitching.

[0090] The external sensors and cameras 186 may additionally or alternatively include various other types of sensors, such as ultrasonic sensors, radar sensors, and the like. For example, the vehicle may include one or more forward ultrasonic sensors such as forward ultrasonic sensors 226 and 230, one or more rearward ultrasonic sensors such as rearward ultrasonic sensors 234 and 238. The vehicle may also include one or more right ultrasonic sensors such as right ultrasonic sensor 242 and one or more left ultrasonic sensors such as left ultrasonic sensor 246. The locations of the cameras and ultrasonic sensors are provided only as examples and different locations may be used. The ultrasonic sensors output ultrasonic signals around the vehicle.

[0091] The external sensors and cameras 186 may additionally or alternatively include one or more other types of sensors, such as one or more sonar sensors, one or more radar sensors, and / or one or more light detection and ranging (LIDAR) sensors.

[0092] In various embodiments, as discussed further below, the calibration module 280 communicates with the vehicle to calibrate one or more of the vehicle's cameras. The calibration module 280 may be implemented, for example, in a mobile device (e.g., a smartphone, a tablet device, an Android device, or another suitable type of device) executing an application.

[0093] Figure 3300 includes a communication module 304 and one or more antennas 308. The communication module 304 communicates wirelessly using one or more communication protocols, such as according to the IEEE 802.11 communication protocol, the Bluetooth communication protocol, and / or one or more other suitable wireless communication protocols. The communication module 304 may include one or more transceivers.

[0094] The calibration module 280 includes a communication module 312 that communicates wirelessly using the one or more communication protocols (such as according to the IEEE 802.11 communication protocol, the Bluetooth communication protocol, and / or the one or more other suitable wireless communication protocols) via one or more antennas 316. The communication module 312 may include one or more transceivers.

[0095] The vehicle 300 includes a camera 320, such as one of the cameras discussed above. The perception module 187 performs object recognition and confirmation based on the image from the camera 320. The perception module 187 can determine the position of the object relative to the vehicle by using the image from the camera 320, the eigenmodel 322, and the stored ground truth orientation 324 of the camera 320. The ground truth orientation 324 and the eigenmodel 322 can be stored in a memory.

[0096] The calibration module 280 communicates with the vehicle 300 to determine whether the ground truth orientation 324 should be updated. If so, the calibration module 280 communicates with the vehicle 300 to determine the updated ground truth orientation 324 of the camera 320 and stores the updated ground truth orientation as the ground truth orientation 324 for use by the perception module 187 and / or the camera 320.

[0097] The calibration module 280 includes a gyroscope 328 that determines the current orientation of the calibration module 280. The orientation may include roll, pitch and yaw or other appropriate orientation parameters. In various embodiments, the gyroscope 328 may be implemented in an inertial measurement unit (IMU) module. The calibration module 280 also includes a processor module 332 and may include a display 336. The calibration module 280 exhibits a calibration module target 340 for calibrating the ground truth orientation 324. For example, the calibration module target 340 may be attached to the calibration module 280 or displayed on the display 336. In various embodiments, the calibration module 280 may include one or more actuators 344 that are configured to actuate the calibration module 280 (such as forward and backward, left and right) and adjust the current orientation of the calibration module 280.

[0098] Calibration module 280 also includes camera 348, which is used to update / calibrate ground truth orientation 324 in some cases, as further described below.

[0099] Figure 4 is a flow chart illustrating an exemplary method of calibrating a camera 320. A calibration module 280 (showing a calibration module target 340) is positioned in the field of view of the camera 320. At 404, the communication module 304 of the vehicle 300 sends the model 322, the image (frame) from the camera 320, and the ground truth camera orientation 324 of the camera 320 to the calibration module 280.

[0100] At 408, the processor module 332 determines the vehicle target based on the image. More specifically, the processor module 332 detects the calibration module target 340 as the vehicle target in the image from the vehicle. The processor module 332 also determines the expected orientation of the calibration module 280, such as based on the model 322 and the ground truth camera orientation 324 of the camera.

[0101] The processor module 332 can actuate one or more of the actuators 344 to actuate the calibration module 280 so as to align the calibration module target 340 with the vehicle target. In various embodiments, the processor module 332 can display the vehicle target and the calibration module target 340 on the display 336, and the user can move the calibration module 280 so as to align the calibration module target 340 with the vehicle target. Figure 6-Figure 8 A schematic illustration of a vehicle target 604 and a calibration module target 340 is included, such as when displayed on the display 336. Although an example of a checkerboard (alternating black and white squares) target is provided, the present application is applicable to other types of targets as well.

[0102] Processor module 332 can keep calibration module target 340 fixed on display 336. As calibration module 280 moves, processor module 332 can change the orientation of vehicle target 604 on display 336 (in the image from the vehicle). Figure 6 340. In the image of the camera of the vehicle 300, the vehicle target 604 appears smaller than the calibration module target 340. As the calibration module 280 moves toward the vehicle 300 (and as the size of the calibration module target 340 increases in the image of the camera of the vehicle), the processor module 332 can increase the size of the vehicle target 604. As the calibration module 280 moves left and right, respectively, the processor module 332 can similarly move the vehicle target 604 left and right. As the calibration module 280 moves up and down, respectively, the processor module 332 can similarly move the vehicle target 604 up and down. In various embodiments, the opposite can be true with respect to the left, right, up, and down movements of the calibration module 280.

[0103] Figure 7An example is shown in which the calibration module 280 has moved toward the vehicle 300. The calibration module 280 has also moved toward Figure 7 The vehicle target 604 in FIG. 1 is aligned with the calibration module target 340 and moves upward and to the left. The calibration module target 340 and the vehicle target 604 partially overlap. However, in Figure 7 In the example of FIG. 6 , the calibration module target 340 is still not fully aligned with the vehicle target 604 . Figure 8 An example is shown where the calibration module target 340 is aligned to the vehicle target 604 .

[0104] Return to reference Figure 4 At 412, the processor module 332 determines whether the calibration module target 340 is aligned with the vehicle target. If 412 is true, control continues to 416. If 412 is false, control may return to 408 to continue aligning the calibration module target 340 with the vehicle target.

[0105] At 416, the processor module 332 acquires the current calibration module orientation of the calibration module 280 measured by the gyroscope 328. The calibration module orientation includes a 3-dimensional (3D) orientation dimension (e.g., rotation) measured by the gyroscope 329. At 420, the processor module 332 determines whether the current orientation of the calibration module 280 is within a predetermined range of the expected orientation (when the calibration module target 340 is aligned with the vehicle target). For example, the processor module 332 may determine whether a first dimension of the current orientation is within a predetermined range of dimensions associated with the expected orientation, whether a second dimension of the current orientation is within a predetermined range of dimensions associated with the expected orientation, and whether a third dimension of the current orientation is within a predetermined range of dimensions associated with the expected orientation. If 420 is yes, control may end and the calibration module 280 may leave the ground truth orientation 324 in the vehicle 300 unchanged. If 420 is no, control may transfer to 424.

[0106] At 424, the processor module 332 determines the current camera ground truth orientation (of the camera 320), as described below in conjunction with Figure 5 At 428, the communication module 312 of the calibration module 280 communicates the current camera ground truth orientation to the vehicle 300. At 432, the perception module 187 stores the received current camera ground truth orientation in memory as the ground truth orientation 324. This calibrates the camera 320 (and the ground truth orientation 324) for use taking into account the current orientation and positioning of the camera 320.

[0107] Figure 5is a flow chart illustrating an exemplary method of determining a current camera ground truth orientation (of the camera 320). Control begins at 504, where the communication module 312 requests and receives a current orientation (e.g., 6 degrees of freedom or 3 degrees of freedom pose) of the camera 320 (such as relative to the vehicle 300) from the vehicle 300. The perception module 187 may determine the current orientation of the camera 320, for example, based on the position of a component on which the camera 320 is located or attached, the current orientation of the vehicle 300 (e.g., roll, pitch, and yaw), and / or one or more other parameters. The perception module 187 may update the current orientation of the camera 320 at a predetermined rate, for example, to account for any movement of the camera 320 during calibration.

[0108] At 508-516, the processor module 332 may perform a positioning and mapping algorithm, such as a simultaneous positioning and mapping (SLAM) algorithm. At 508, the processor module 332 may perform feature extraction and feature matching using a series of images from the camera 348 using a feature extraction and feature matching algorithm. For example, the processing module 332 may identify corners of the vehicle 300, etc.

[0109] At 512, the processor module may update the position and orientation of the calibration module 280 relative to the vehicle 300 (e.g., the camera 320). At 516, the processor module generates a map of the vehicle 300 based on the position of the calibration module 280, the orientation of the calibration module 280, and the extracted and matched features on a series of images of the vehicle acquired by using the camera 348 of the calibration module 280 and processing the accelerometer and gyroscope signals. If the map of the vehicle 300 has been stored in the memory of the calibration module 280, the processor module 332 may update the map. If the map has not been stored in the memory of the calibration module 280, the processor module 332 may store the map in the memory. In various embodiments, 508 and 512 may be performed in parallel (e.g., simultaneously).

[0110] At 520, the processor module 332 determines the current camera ground truth orientation based on the mapping (from 516) and the current orientation (from 504) of the camera 320. The processor module 332 may determine the current camera ground truth orientation, for example, by using a perspective-n-point (PnP) algorithm or another suitable type of algorithm for determining orientation.

[0111] The above description is essentially illustrative only and is in no way intended to limit the present disclosure, its application or use. The broad teachings of the present disclosure can be implemented in various forms. Therefore, although the present disclosure includes specific examples, the true scope of the present disclosure should not be limited thereto, because once the drawings, the specification and the appended claims are studied, other modifications will be apparent. It should be understood that one or more steps in the method can be performed in different orders (or simultaneously) without changing the principles of the present disclosure. Further, although each embodiment is described as having certain features above, any one or more of these features described in any embodiment of the present disclosure can be implemented in the features of any one of the other embodiments and / or implemented in combination with the features of any one of the other embodiments, even if such a combination is not explicitly described. In other words, the embodiments are not mutually exclusive, and the replacement of one or more embodiments with each other falls within the scope of the present disclosure.

[0112] Various terms are used, including "connected," "engaged," "coupled," "adjacent," "next to," "on top of," "above," "below," and "disposed on," to describe spatial and functional relationships between elements (e.g., between modules, circuit elements, semiconductor layers, etc.). Unless explicitly described as "directly," when describing a relationship between a first and a second element in the above disclosure, the relationship can be a direct relationship with no other intervening elements between the first and second elements, but can also be an indirect relationship with one or more intervening elements (spatially or functionally) between the first and second elements. As used herein, the phrase at least one of A, B, and C should be construed to mean a logical (A or B or C), using a non-exclusive logical OR, and should not be construed to mean "at least one of A, at least one of B, and at least one of C."

[0113] In the drawings, the direction of the arrows, as shown by the arrows, generally indicates the flow of information (such as data or instructions) of interest to the illustration. For example, when element A and element B exchange various information but the information transmitted from element to element B is related to the illustration, the arrow may point from element A to element B. This unidirectional arrow does not imply that no other information is transmitted from element B to element A. Further, for information sent from element A to element B, element B may send an information request to element A or receive an information confirmation.

[0114] In this application, including the following definitions, the term "circuit" may be used instead of the term "module" or the term "controller". The term "module" may refer to, be a part of, or include: an application specific integrated circuit (ASIC); a digital, analog, or mixed analog / digital discrete circuit; a digital, analog, or mixed analog / digital integrated circuit; a combinational logic circuit; a field programmable gate array (FPGA); a processor circuit (shared, dedicated, or grouped) that executes code; a memory circuit (shared, dedicated, or grouped) that stores code executed by the processor circuit; other suitable hardware components that provide the described functionality; or a combination of some or all of the above, such as in a system on a chip.

[0115] The module may include one or more interface circuits. In some examples, the interface circuit may include a wired or wireless interface connected to a local area network (LAN), the Internet, a wide area network (WAN), or a combination thereof. The functionality of any given module of the present disclosure may be distributed among multiple modules connected via interface circuits. For example, multiple modules may allow for load balancing. In further examples, a server (also known as a remote or cloud) module may perform some functions on behalf of a client module.

[0116] The term code as used above may include software, firmware and / or microcode, and may relate to programs, routines, functions, classes, data structures and / or objects. The term shared processor circuit includes a single processor circuit that executes some or all of the code from multiple modules. The term grouped processor circuit includes a processor circuit that is combined with additional processor circuits to execute some or all of the code from one or more modules. Reference to multiple processor circuits includes multiple processor circuits on discrete dies, multiple processor circuits on a single die, multiple cores of a single processor circuit, multiple threads of a single processor circuit, or a combination of the above. The term shared memory circuit includes a single memory circuit that stores some or all of the code from multiple modules. The term grouped memory circuit includes a memory circuit that is combined with additional memory to store some or all of the code from one or more modules.

[0117] The term memory circuit is a subset of the term computer-readable medium. The term computer-readable medium as used herein does not include transient electronic or electromagnetic signals propagated through a medium (e.g., on a carrier wave); the term computer-readable medium may therefore be considered tangible and non-transitory. Non-limiting examples of non-transitory tangible computer-readable media are non-volatile memory circuits (e.g., flash memory circuits, erasable programmable read-only memory circuits, or mask read-only memory circuits), volatile memory circuits (e.g., static random access memory circuits or dynamic random access memory circuits), magnetic storage media (e.g., analog or digital magnetic tape or hard drive), and optical storage media (e.g., CD, DVD, or Blu-ray disc).

[0118] The apparatus and method described in the present application can be partially or completely implemented by a special-purpose computer generated by configuring a general-purpose computer to perform one or more specific functions implemented by a computer program. The above-mentioned functional blocks, flow chart components and other elements are used as software instructions, which can be converted into a computer program through routine work of a technician or programmer.

[0119] The computer program includes processor executable instructions stored on at least one non-transitory tangible computer readable medium. The computer program may also include or rely on stored data. The computer program may include a basic input / output system (BIOS) that interacts with the hardware of the special-purpose computer, device drivers that interact with specific devices of the special-purpose computer, one or more operating systems, user applications, background services, background applications, etc.

[0120] A computer program may include: (i) declarative text to be parsed, such as HTML (Hypertext Markup Language), XML (Extensible Markup Language), or JSON (JavaScript Object Notation), (ii) assembly code, (iii) object code generated by a compiler from a source code, (iv) source code executed by an interpreter, (v) source code compiled and executed by a just-in-time compiler, etc. By way of example only, the source code may be written using a syntax formed by a language including C, C++, C#, Objective-C, Swift, Haskell, Go, SQL, Lisp, Java®, Fortran, Perl, Pascal, Curl, OCaml, Javascript®, HTML5 (Hypertext Markup Language Fifth Edition Revision), Ada, ASP (Active Server Pages), PHP (PHP: Hypertext Preprocessor), Scala, Eiffel, Smalltalk, Erlang, Ruby, Flash®, Visual Basic®, Lua, MATLAB, SIMULINK, and Python®.

Claims

1. A camera calibration system, comprising: A camera of a vehicle having a field of view; a perception module of the vehicle, the perception module configured to determine a position of an object relative to the vehicle based on a model of the camera and a ground truth camera orientation of the camera; A calibration module is constructed to: wirelessly receiving an image from the camera of the vehicle; determining a vehicle camera target based on the image from the camera of the vehicle; determining a current orientation of the calibration module measured using a gyroscope of the calibration module when the vehicle camera target is aligned with a calibration module target on the calibration module; determining an updated camera ground truth orientation of the camera of the vehicle when at least one component of the current orientation of the calibration module is different from at least one component of an expected orientation of the calibration module; as well as The updated ground truth orientation is wirelessly transmitted to the vehicle. 2 . The camera calibration system of claim 1 , wherein the calibration module includes a display and is configured to display the vehicle camera target and the calibration module target on the display. 3 . The camera calibration system of claim 2 , wherein the calibration module is configured to cause the vehicle camera target to move on the display as the calibration module moves. 4 . The camera calibration system of claim 2 , wherein the calibration module is configured to increase and decrease the size of the vehicle camera target on the display as the calibration module moves toward and away from the vehicle. 5 . The camera calibration system of claim 1 , wherein the calibration module includes an actuator configured to move the calibration module relative to the vehicle.

6. The camera calibration system of claim 1, wherein the calibration module target is fixed on an exterior of the calibration module. 7 . The camera calibration system of claim 1 , wherein the current orientation of the calibration module comprises a first three-dimensional (3D) pose and the expected orientation comprises a second 3D pose.

8. The camera calibration system of claim 1, wherein the calibration module is configured to determine the updated camera ground truth orientation by performing simultaneous localization and mapping (SLAM) on a series of images acquired using a camera of the calibration module. 9 . The camera calibration system of claim 8 , wherein the calibration module is configured to determine the updated camera ground truth orientation by further performing a perspective-n-point (PnP) process using a mapping derived from the SLAM.

10. The camera calibration system of claim 1, further comprising a perception module of the vehicle, the perception module configured to determine a position of an object relative to the vehicle based on a model of the camera and the updated ground truth orientation of the camera.

11. The camera calibration system of claim 1, wherein the calibration module is configured to determine the expected orientation based on the model.

12. The camera calibration system of claim 1, wherein the calibration module target and the vehicle camera target comprise a checkerboard pattern.

13. A camera calibration method, comprising: determining a position of the object relative to the vehicle based on a model of a camera of the vehicle and a ground truth camera orientation of the camera, the camera having a field of view; wirelessly receiving an image from the camera of the vehicle; determining a vehicle camera target based on the image from the camera of the vehicle; determining a current orientation of the calibration module measured using a gyroscope of the calibration module when the vehicle camera target is aligned with a calibration module target on the calibration module; determining an updated camera ground truth orientation of the camera of the vehicle when at least one component of the current orientation of the calibration module is different from the at least one component of the expected orientation of the calibration module; as well as The updated ground truth orientation is wirelessly transmitted to the vehicle. 14 . The camera calibration method of claim 13 , further comprising, by the calibration module, displaying the vehicle camera target and the calibration module target on a display of the calibration module.

15. The camera calibration method of claim 14, further comprising, as the calibration module moves, causing the vehicle camera target to move on the display via the calibration module.

16. The camera calibration method of claim 14, further comprising increasing and decreasing, by the calibration module, a size of the vehicle camera target on the display as the calibration module moves toward and away from the vehicle, respectively. 17 . The camera calibration method of claim 13 , further comprising moving the calibration module relative to the vehicle via one or more actuators of the calibration module.

18. The camera calibration method of claim 13, wherein the calibration module target is fixed on the exterior of the calibration module.

19. The camera calibration method of claim 13, wherein the current orientation of the calibration module comprises a first three-dimensional (3D) pose and the expected orientation comprises a second 3D pose.

20. The camera calibration method of claim 13, further comprising determining a position of an object relative to the vehicle based on a model of the camera and the updated ground truth orientation of the camera.