# OpenCV Samples for IntelĀ® RealSenseā¢ cameras Examples in this folder are designed to complement existing [SDK examples](../../examples) and demonstrate how Intel RealSense cameras can be used together with `opencv` in domain of computer-vision. > RealSense examples have been designed and tested with OpenCV 3.4, > Working with latest OpenCV 4 requires minor code changes ## List of Samples: 1. [ImShow](./imshow) - Minimal OpenCV application for visualizing depth data 2. [GrabCuts](./grabcuts) - Simple background removal using the GrabCut algorithm 3. [Latency-Tool](./latency-tool) - Basic latency estimation using computer vision 4. [DNN](./dnn) - Intel RealSense camera used for real-time object-detection 5. [Depth Filter](./depth-filter) - Depth Filtering for Collision Avoidance 6. [Rotate](./rotate-pointcloud) - Rotate point cloud before visualization ## Getting Started: This page is certainly **not** a comprehensive guide to getting started with OpenCV and CMake, but it can help get on the right track. * [Windows Installation](#windows) * [Linux Installation](#linux) ### Windows This section describes how to use CMake to generate a VisualStudio project to build the OpenCV library and a VisualStudio project to build the OpenCV samples. First, download and install `CMake` from [cmake.org/download](https://cmake.org/download/) #### Building the OpenCV library VisualStudio project 1. Clone or download OpenCV sources from [github.com/opencv/opencv/tree/3.4](https://github.com/opencv/opencv/tree/3.4) into a local directory (`C:/git/opencv-3.4`) 2. Run `cmake-gui`, input source code and binaries locations: