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

  1. 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.

    unchecked frequently used properties
  2. Change the value of Remove Background by Depth in the Background Removal Settings from “False” to “True”, as shown below.

    checked remove background by depth
  3. Click the edit button icon_edit next to Depth Background Image File to open the Set Background tool, as shown below.

    use depth background
  4. The Set Background tool includes 4 sections: Camera Connection, Image Viewer, Log Messages, and Image Saving, as shown below.

    set background tool
  5. 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.

    capture and save depth background