- 3D Printing with RepRap Cookbook
- Richard Salinas
- 512字
- 2021-07-16 11:30:34
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:
- Open DAVID Laserscanner. From the menu at the left-hand side of the window, choose Hardware Setup.
- At the top of the window, under Setup Type, click on the rollout-box. Choose Hand-Held Laser Setup.
- Under Camera, click on the rollout-box and choose your webcam. If you don't see it listed, try reconnecting it.
- 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.
- 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: - 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.
- Under the Camera shows option, select Live View from the rollout-box.
- 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.
- Now, select Cam Properties under Exposure.
- 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.
- 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 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
- More information about calibration can be found at http://wiki.david-3d.com/user_manual/camera_calibration
- 實時流計算系統(tǒng)設計與實現(xiàn)
- Hadoop 2.x Administration Cookbook
- 教父母學會上網(wǎng)
- Python Data Science Essentials
- RPA:流程自動化引領數(shù)字勞動力革命
- 精通特征工程
- Embedded Programming with Modern C++ Cookbook
- Windows游戲程序設計基礎
- 單片機C語言應用100例
- 走近大數(shù)據(jù)
- Photoshop行業(yè)應用基礎
- Silverlight 2完美征程
- 嵌入式Linux系統(tǒng)實用開發(fā)
- 手機游戲策劃設計
- 深度學習原理與 TensorFlow實踐