Set Static Background for Project¶
Setting a static background and obtaining a depth map of it can avoid the interference of the background in following Steps and facilitate the calculation of the object height.
Instructions for Setting Static Background¶
Open Mech-Vision project and select the Step Capture Images from Camera. Then right-click on the empty space in the Parameter section and uncheck Only list frequently used parameters as shown below.
Change the value of Remove Background by Depth in the Background Removal Settings from “False” to “True”, as shown below.
Click the edit button next to Depth Background Image File to open the Set Background tool, as shown below.
The Set Background tool includes 4 sections: Camera Connection, Image Viewer, Log Messages, and Image Saving, as shown below.
To set the background, double click the camera number or select the camera and click Connect Camera to connect it. Click Capture Once or Capture Live to take photos after the connection is done, and click OK to save the picture after obtaining the background image, as shown below.