Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • L laser_plane_scanner
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Cmíral Jakub
  • laser_plane_scanner
  • Wiki
  • simple setup

simple setup · Changes

Page history
cmirajak deleted page: laser_pos_est authored Jan 20, 2018 by Cmíral Jakub's avatar Cmíral Jakub
Hide whitespace changes
Inline Side-by-side
simple-setup.md
View page @ 26519d1e
......@@ -2,21 +2,30 @@
## Requirements for LPRF
* Python 2.7
* pyhton YAML
* OpenCV3 compiled with GUI and ChAruCo optional packages (ROS version can be used)
* PylonForPython --> https://gitlab.ciirc.cvut.cz/cmirajak/PylonForPython
### PylonForPython
Copy GitHub link to CameraManager and follow the project the README to install the package.
Copy GitHub link to CameraManager and follow the project the README to install the package. You must be logged in in order to clone package.
```
git clone git@gitlab.ciirc.cvut.cz:cmirajak/PylonForPython.git
```
## Choosing the calibration pattern
Two calibration pattern are available, the chessboard and ChAruCo (chessboard with position tags), both of which can be combined to calibrate the whole system. We will use the ChAruCo board for camera calibration and chessboard for laser position calibration.
## Generating ChAruCo board
**GenerateBoardCharuco.py** generates the ChAruCo board and saves it as .png file. You can configure the board generation by setting the number of columns, rows, size of the squares, size of the markers and specify the dictionary of markers. The generated picture of the board is printed in 1:1 ratio and glued to a flat surface.
The setting is later used in the other files. The setting of these files must be changed accordingly to this setting.
**GenerateBoardCharuco.py** generates the ChAruCo board and saves it as .png file. You can configure the board generation by setting the number of columns, rows, size of the squares, size of the markers and specify the dictionary of markers. Setup example:
```python
dictionary = aruco.DICT_4X4_1000
rows = 7
columns = 8
square_length = 0.020 # metres
marker_length = 0.012 # metres
```
The generated picture of the board is printed in 1:1 ratio and glued to a flat surface. The setting is later used in the other files. The setting of these files must be changed accordingly to this setting.
## Camera calibration
**CameraCalibrationLiveCharuco.py** is a python script for file camera calibration using the ChAruCo calibration pattern. The script must be set up accordingly for the board generated above. The output file path is specified as a variable **path_out=''**. The configuration file name is params_internal.yaml.
Clone repository
  • estimate_laser_plane
  • find_camera_mtx
  • Home
  • laser_trace
  • new_base_coords
  • rotation_table
  • simple setup