- 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
- 網(wǎng)上沖浪
- Hands-On Neural Networks with Keras
- 電腦上網(wǎng)直通車
- Docker Quick Start Guide
- 21天學(xué)通Visual C++
- Mastering pfSense
- 單片機(jī)技術(shù)項(xiàng)目化原理與實(shí)訓(xùn)
- 手機(jī)游戲策劃設(shè)計
- Photoshop CS4數(shù)碼照片處理入門、進(jìn)階與提高
- Eclipse全程指南
- 從機(jī)器學(xué)習(xí)到無人駕駛
- Oracle 11g基礎(chǔ)與提高
- 歐姆龍PLC應(yīng)用系統(tǒng)設(shè)計實(shí)例精解
- Mastering Machine Learning with R
- Flash CS3動畫制作融會貫通