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

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

主站蜘蛛池模板: 黄龙县| 剑阁县| 辽宁省| 陇川县| 留坝县| 仁寿县| 兖州市| 定远县| 临泽县| 安乡县| 盘山县| 景宁| 万年县| 永康市| 雅安市| 侯马市| 武穴市| 沧源| 湘乡市| 南和县| 遂溪县| 太湖县| 台山市| 阳东县| 奉节县| 固原市| 财经| 舒城县| 文昌市| 哈巴河县| 长葛市| 营口市| 清原| 拉萨市| 罗定市| 绿春县| 商水县| 寿光市| 昌邑市| 花莲县| 英山县|