1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
# sight::io::opencv
Library containing helper classes for data conversion between OpenCV and Sight.
## Classes:
- **Camera**: copies the intrinsic matrix, the image size and the distortion coefficients from a Sight camera.
- **FrameTL**: manages conversion from/to OpenCV to/from data::frame_tl buffer.
- **image**: manages conversion from/to OpenCV to/from data::image.
- **Matrix**: converts data::matrix4 to opencv Mat.
- **PointList**: manages conversion from/to OpenCV cv::Point2d to/from data::point and data::point_list.
- **Type**: manages type conversion from/to OpenCV to/from Sight.
## How to use it
### CMake
```cmake
target_link_libraries( my_target <PUBLIC|PRIVATE> io_opencv)
```
|