Capture Images from Camera
Function
This Step is used to obtain color images, depth maps, and point clouds from a real camera or local data.
|
When this Step is used to connect a camera in the DEEP-GL or LSR series, the output color image is a 2D image (depth source). To adjust this 2D image (depth source), adjust the 2D Image (Depth Source) Exposure Mode and 2D Image (Depth Source) Exposure Time parameters in Mech-Eye Viewer. |
Usage Scenario
This Step is usually the first Step in a Mech-Vision project. It is used to acquire data from a Mech-Eye Industrial 3D Camera or a third-party camera, or to read locally saved image data in Virtual Mode.
Input and Output
Output
| Output port | Data type | Description |
|---|---|---|
Camera Depth Map |
Image/Depth |
Original depth map of the object. |
Camera Color Image |
Image/Color |
Original color image of the object. |
Point Cloud |
PointCloud/XYZ |
Object point cloud without normals. |
Colored Point Cloud |
PointCloud/XYZRGB |
Colored point cloud of the object. |
|
By default, the colored point cloud output by the “Capture Images from Camera” Step is used as the scene point cloud in the project. If the default scene point cloud is used in the project, images will still be captured even when the “Capture Images from Camera” Step is not connected to any subsequent Step. |
Parameter Description
| Parameter | Description |
|---|---|
Virtual Mode |
Description: When enabled, this step can be connected to a virtual camera; when disabled, it can be connected to a real camera. Default value: Disabled |
Parameters related to virtual cameras and real cameras will be introduced below.
Use a Real Camera
| Parameter | Description | ||
|---|---|---|---|
Camera ID |
Description: This parameter is used to connect the camera and select the calibration parameter group. Instruction: Follow these steps: — . Click Select camera to open the Choose the camera and calibration parameter group to use window. . Select the camera to connect, then click the "Connect" button |
||
Calibration Parameter Group |
Description: This parameter is used to specify the calibration parameter group of the camera. Default value: Null Tuning recommendation: After the camera is successfully connected, the default calibration parameter group is automatically retrieved. When using the camera, ensure that the latest calibrated parameter group is applied to guarantee accurate reference frame transformation relationships in subsequent steps.
|
||
Configuration Parameter Group |
Description: This parameter is used to select the configuration parameter group of the camera. The camera will capture the data according to the parameters in this parameter group. Default value: Null Instruction: After the camera is successfully connected, the default parameter group is automatically retrieved. You can select the parameter group template corresponding to this camera model in the drop-down list. TIP: You can manage parameter groups in Mech-Eye Viewer. |
||
IP Address |
Description: After the camera is connected successfully, the IP address will be obtained automatically. Do not change the IP address, as this may cause the camera to disconnect. Default value: Null |
||
Timeout |
Description: This parameter specifies the maximum time, in milliseconds (ms), from when the camera receives a request to when it returns data to the client. A timeout can occur in either of the following cases:
Default value: 10000 ms |
||
Num of Reconnection Attempts |
Description: This parameter is used to specify the maximum number of attempts to reconnect the camera if the camera fails to be connected within the timeout period. Default value: 3 |
||
Camera Model |
Description: This parameter is only used to display the model of the currently connected camera. |
||
2D Image Type |
Description: This parameter is used to set the 2D image type output by the camera. Value list:
Default value: External Color Image
|
||
Rectify to Depth Map |
Description: This parameter is used to rectify the reference frame of the captured external color image to the reference frame of the depth map. It can be adjusted only when 2D Image Type is set to External Color Image for LSR and DEEP-GL series cameras. Default setting: Unselected Tuning instructions:
|
||
Max Capture Attempts |
Description: This parameter is used to specify the total number of attempts to capture the image if the camera fails to capture any image within the timeout period. Default value: 3 Recommended value: 3 |
||
Robot Name Used in Communication Configuration |
Description: This parameter specifies the robot service name. It must match the name and model of the robot connected in the robot communication settings. Default value: Null. |
Use a Virtual Camera
| Parameter | Description |
|---|---|
Calibration Parameter Group |
Instruction: Once the data path is selected, the calibration parameter group will be automatically populated. If multiple calibration parameter groups exist under the data path, you can select the desired camera calibration parameter group from the drop-down list. |
Data Path |
Description: This parameter is used to select the folder where images, intrinsic parameters, and extrinsic parameters are stored. |
Play Back Mode |
Description: This parameter is used to specify the order to read the images. Value list: Sequential, Repeat one, Repeat all, Random
|
Current Frame Name |
Description: This parameter displays the number or time of the currently read image. Default value: Null |
Image Name Type |
Description: This parameter is used to select the type of image name output by the Color Image Path port. Value list: Complete Path, File Name, Base Name Default value: Complete Path. |
FAQs
-
Failed to Find or Open Image Data in Virtual Mode of Step “Capture Images from Camera”
-
Changes Ineffective for Parameter “Play Back Mode” of Step “Capture Images from Camera”
-
Incorrect Camera Model Displayed in Step "Capture Images from Camera"
-
Step “Capture Images from Camera” Failed to Acquire Depth Map or 2D Image
-
Step “Capture Images from Camera” Could Not Load Calibration Parameter Group
-
Step “Capture Images from Camera” Could Not Load Configuration Parameter Group
|
For other issues related to camera connection and image acquisition, refer to Troubleshooting. |