quickstart:mycnc-quick-start:cnc-vision-setup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
quickstart:mycnc-quick-start:cnc-vision-setup [2019/06/20 10:05] – ivan | quickstart:mycnc-quick-start:cnc-vision-setup [2019/07/02 12:41] – ivan | ||
---|---|---|---|
Line 5: | Line 5: | ||
In order to set up the camera to work properly, you must go into the **CNC Settings > Camera**. The screen presented to you will be the one shown below: | In order to set up the camera to work properly, you must go into the **CNC Settings > Camera**. The screen presented to you will be the one shown below: | ||
- | {{: | + | {{: |
**Camera Interface** allows to choose between a camera connected through a USB cord or through LAN. If the camera is connected through LAN, the **Initialization line** must list the correct IP address of the camera, while the USB channel is used if the camera is connected through a USB cord. | **Camera Interface** allows to choose between a camera connected through a USB cord or through LAN. If the camera is connected through LAN, the **Initialization line** must list the correct IP address of the camera, while the USB channel is used if the camera is connected through a USB cord. | ||
- | **Region of interest** (in pixels) signifies the area in which the camera | + | **IP Camera Initialization line** lists the camera |
- | {{: | + | **Pattern |
- | + | ||
- | **Marker | + | |
{{: | {{: | ||
- | **Pixel to length coefficient** is used to convert the pixels travelled into the actual physical distance moved, in mm. You are able to calibrate this for both the x- and the y-axes. In order to set up the correct coefficient for your camera, | + | **Region of interest** (in pixels) signifies the area in which the camera is actively looking for markers, and should usually be set to be equal or slightly smaller than the actual resolution of the camera. It is set automatically in the newer software versions during the calibration process. |
+ | |||
+ | **Pixel to length coefficient** is used to convert the pixels travelled into the actual physical distance moved, in mm. You are able to calibrate this for both the x- and the y-axes. In order to set up the correct coefficient for your camera, | ||
+ | |||
+ | **Camera Shift** describes the distance the machine will move by if it does not locate a marker after it has been instructed to look for one. This can happen when the marker is not fully within the region of interest, and then the camera will keep on moving around until it either finds the marker or reaches the end of this specified Camera Shift. It is set automatically in the newer software versions during the calibration process. | ||
- | **Tool number** is usually assigned to be 99, however other tool numbers can be used if necessary. | + | **Tool number** is usually assigned to be 10, however other tool numbers can be used if necessary. |
**Camera offset** values are used to specify the distance from the camera to the working tool in the xy-plane. | **Camera offset** values are used to specify the distance from the camera to the working tool in the xy-plane. | ||
- | **Camera length** value is used to specify the distance from the camera to the working tool tip in the z-axis. | + | **Camera |
**Ignore decoder errors** flag is set to OFF by default. | **Ignore decoder errors** flag is set to OFF by default. | ||
- | **Camera | + | **Shift |
- | **Shift Speed** describes the speed with which the machine | + | **Pattern Match Level** describes the level of parity |
- | ====Setting up the pixel to length coefficients==== | + | **Image sensor correction** corrects for sensors with different aspect ratios. Use this if the marker image appears distorted or stretched when viewed through the Camera tab in myCNC software. |
- | The pixel to length coefficient is necessary for the camera to know how many millimeters it had moved after having traversed a certain number of pixel to the left/ | + | ====Running the calibration==== |
+ | *Go to the Camera tab of myCNC software by opening the Settings panel from the main screen | ||
+ | *Select an appropriate marker (pattern) size and click the Record button | ||
+ | |||
+ | {{: | ||
+ | |||
+ | *Click Calibrate. The software will automatically move a set distance in both the x- and the y-axes to determine the pixel to length coefficients. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | The calibration process should be complete after the camera has moved in both the positive and the negative directions in both axes, and the results should be registered in Settings > Config > Camera: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ====Setting up the pixel to length coefficients (older software versions)==== | ||
+ | |||
+ | The pixel to length coefficient is necessary for the camera to know how many millimeters it had moved after having traversed a certain number of pixel to the left/ | ||
In order to do so: | In order to do so: | ||
Line 64: | Line 82: | ||
5. Input the new coefficient into the **CNC Settings > Camera > Pixel to length coefficient** and press **Save** | 5. Input the new coefficient into the **CNC Settings > Camera > Pixel to length coefficient** and press **Save** | ||
- | + | ||
- | {{: | + | {{: |
6. Repeat the procedure for the other axis. | 6. Repeat the procedure for the other axis. | ||
Line 108: | Line 126: | ||
NOTE: The program will not begin the main cutting process unless all the markers that were expected to be adjusted for have been located. | NOTE: The program will not begin the main cutting process unless all the markers that were expected to be adjusted for have been located. | ||
- | |||
- | |||
quickstart/mycnc-quick-start/cnc-vision-setup.txt · Last modified: 2024/02/26 14:50 by ivan