Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better OpenCV integration #853

Merged
merged 20 commits into from Nov 26, 2017
Merged

Conversation

dorodnic
Copy link
Contributor

This PR includes:

  1. New CMake flag to build set of dedicated computer-vision demos (-DBUILD_CV_EXAMPLES)
  2. Details instructions for building the SDK with OpenCV on Windows and Linux
  3. A small set of simple computer-vision related examples


## Implementation Details

Unline the other samples, this demo requires access to the exact depth values. We generate a matrix of floating point values (in meters) using the following helper function:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unline Unlike

# minimum required cmake version: 3.1.0
cmake_minimum_required(VERSION 3.1.0)

project(RealSenseGrabCutsExample)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong project name

# minimum required cmake version: 3.1.0
cmake_minimum_required(VERSION 3.1.0)

project(RealSenseGrabCutsExample)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wrong project name again ...

//cfg.enable_stream(RS2_STREAM_INFRARED, 640, 480, RS2_FORMAT_Y8);
//cfg.enable_stream(RS2_STREAM_INFRARED, 1280, 720, RS2_FORMAT_Y8);
```
You can add more then one stream to check how multiple streams are affecting each other. The demo will however just use the first frame out of every frame-set.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

more then - more than

@dorodnic dorodnic merged commit 58cd4f0 into IntelRealSense:development Nov 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants