File: README.md

package info (click to toggle)
sight 25.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 42,180 kB
  • sloc: cpp: 289,476; xml: 17,257; ansic: 9,878; python: 1,379; sh: 144; makefile: 33
file content (23 lines) | stat: -rw-r--r-- 705 bytes parent folder | download | duplicates (2)
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)

```