官术网_书友最值得收藏!

Calibrating DAVID Laserscanner

In this recipe, we will set up our webcam to work with DAVID Laserscanner and learn how to calibrate it.

Getting ready

Connect your web camera to your computer and make sure that the camera drivers are installed.

How to do it...

We will proceed as follows:

  1. Open DAVID Laserscanner. From the menu at the left-hand side of the window, choose Hardware Setup.
  2. At the top of the window, under Setup Type, click on the rollout-box. Choose Hand-Held Laser Setup.
    How to do it...
  3. Under Camera, click on the rollout-box and choose your webcam. If you don't see it listed, try reconnecting it.
  4. Click on the rollout-box option, Choose video format. There should be a listing of screen resolutions and frames per second (fps). Choose 640 x 480, 30 fps, or if you have a HD webcam, choose 800 x 600, 30 fps. If you do not see anything listed, select the Camera Format icon at the bottom-right side of the window. From the Properties window, you can make a selection.
  5. From the side menu, choose Camera Calibration. At the top of the window, select V3 pattern, and enter the measurement you took of the scale on your calibration panel. In this case, its 120.0 mm, as shown in the following screenshot:
    How to do it...
  6. At the top of your workspace, there is another menu section. Under Visibility, make sure that the Calibration panel visibility and Camera visibility icons are selected. The icon's field will turn red.
    How to do it...
  7. Under the Camera shows option, select Live View from the rollout-box.
  8. Under the Exposure option, adjust the brightness so that you can see the calibration corner clearly. Now, take time to adjust the camera setup so that the calibration corner fills the screen and is centered.
  9. Now, select Cam Properties under Exposure.
  10. Depending on your particular webcam, you'll have a set of properties to choose in order to make your webcam view better. First, if your webcam can be focused, make sure that the camera is set to manual and focused on the calibration corner. Secondly, make sure that the Gain option is set as low as possible. Adjust the Contrast until the calibration corner has no mid tones and is sharp.
  11. Now, select Calibrate from the side menu. If everything goes well, you should get a pop-up message confirming a successful calibration. Don't move anything!
    How to do it...

How it works...

It's very likely that you'll get a failed calibration the first time. Don't let this frustrate you if it takes several or more attempts. Sometimes, just tweaking the webcam's position slightly will be enough for a successful calibration. Also, adjusting the exposure, focus, and lighting conditions will help.

DAVID Laserscanner works by triangulating the laser line and projecting the rays back to the camera. For this to work properly, the camera's view must first be calibrated so that the laser's line can be accurately positioned and oriented in space. Pointing the camera's lens as close as possible along the bisecting plane of the 90-degree calibration corner will assure success.

See also

主站蜘蛛池模板: 贞丰县| 库车县| 古浪县| 宝应县| 呼伦贝尔市| 乐陵市| 城固县| 武平县| 葫芦岛市| 兰考县| 贡嘎县| 麻江县| 于都县| 五家渠市| 建水县| 莱西市| 沁水县| 丘北县| 崇信县| 马山县| 邓州市| 三都| 博兴县| 丰城市| 南雄市| 泰州市| 且末县| 五家渠市| 颍上县| 久治县| 治县。| 福州市| 定日县| 贵州省| 乌拉特后旗| 宜宾市| 乡宁县| 甘孜县| 金沙县| 河间市| 金门县|