{"action":"created","comment":{"url":"https://api.github.com/repos/opencv/opencv/pulls/comments/91255735","pull_request_review_id":11758640,"id":91255735,"diff_hunk":"@@ -0,0 +1,620 @@\n+Building OpenCV for Tegra with CUDA {#tutorial_building_tegra_cuda}\n+===================================\n+\n+This document is a basic guide to building the OpenCV libraries with CUDA support for use in the Tegra environment. It covers the basic elements of building the version 3.1.0 libraries from source code for three (3) different types of platforms:\n+\n+* NVIDIA DRIVE&trade; PX 2 (V4L)\n+* NVIDIA<sup>&reg;</sup> Tegra<sup>&reg;</sup> Linux Driver Package (L4T)\n+* Desktop Linux (Ubuntu 14.04 LTS and 16.04 LTS)\n+\n+This document is not an exhaustive guide to all of the options available when building OpenCV. Specifically, it covers the basic options used when building each platform but does not cover any options that are not needed (or are unchanged from their default values). Additionally, the installation of the CUDA toolkit is not covered here.\n+\n+This document is focused on building the 3.1.0 version of OpenCV, but the guidelines here may also work for building from the master branch of the git repository. There are differences in some of the CMake options for builds of the 2.4.13 version of OpenCV, which are summarized below in the @ref building_opencv_24X section.\n+\n+Most of the configuration commands are based on the system having CUDA 8.0 installed. In the case of the Jetson TK1, an older CUDA is used because 8.0 is not supported for that platform. These instructions may also work with older versions of CUDA, but are only tested with 8.0.\n+\n+Native Compilation vs. Cross-Compilation\n+----------------------------------------\n+\n+The OpenCV build system supports native compilation for all the supported platforms, as well as cross-compilation for platforms such as ARM and others. The native compilation process is simpler, whereas the cross-compilation is generally faster.\n+\n+At the present time, this document focuses only on native compilation.\n+\n+Getting the Source Code\n+-----------------------\n+\n+There are two (2) ways to get the OpenCV source code: \n+\n+* Direct download from the [OpenCV downloads](http://opencv.org/downloads.html) page\n+* Cloning the git repositories hosted on [GitHub](https://github.com/opencv)\n+\n+For this guide, the focus is on using the git repositories. This is because the 3.1.0 version of OpenCV will not build with CUDA 8.0 without applying a small upstream change from the git repository.\n+\n+### OpenCV\n+\n+Start with the `opencv` repository:\n+\n+    # Clone the opencv repository locally:\n+    $ git clone https://github.com/opencv/opencv.git\n+\n+To build the 3.1.0 version (as opposed to building the most-recent source), you must check out a branch based on the `3.1.0` tag:\n+\n+    $ cd opencv\n+    $ git checkout -b v3.1.0 3.1.0\n+\n+__Note:__ This operation creates a new local branch in your clone's repository.\n+\n+If you are building OpenCV with CUDA 8.0, you must execute one additional git command. This is to apply a fix for building specifically with the 8.0 version of CUDA that was not part of the 3.1.0 release. To do this, use the \"git cherry-pick\" command:\n+\n+    # While still in the opencv directory:\n+    $ git cherry-pick 10896\n+\n+You will see the following output from the command:\n+\n+    [v3.1.0 d6d69a7] GraphCut deprecated in CUDA 7.5 and removed in 8.0\n+     Author: Vladislav Vinogradov <vlad.vinogradov@itseez.com>\n+     1 file changed, 2 insertions(+), 1 deletion(-)\n+\n+This step is not needed if you are building with CUDA 7.0 or 7.5.\n+\n+### OpenCV Extra\n+\n+The `opencv_extra` repository contains extra data for the OpenCV library, including the data files used by the tests and demos. It must be cloned separately:\n+\n+    # In the same base directory from which you cloned OpenCV:\n+    $ git clone https://github.com/opencv/opencv_extra.git\n+\n+As with the OpenCV source, you must use the same method as above to set the source tree to the 3.1.0 version. When you are building from a specific tag, both repositories must be checked out at that tag.\n+\n+    $ cd opencv_extra\n+    $ git checkout -b v3.1.0 3.1.0\n+\n+You may opt to not fetch this repository if you do not plan on running the tests or installing the test-data along with the samples and example programs. If it is not referenced in the invocation of CMake, it will not be used.\n+\n+__Note:__ If you plan to run the tests, some tests expect the data to be present and will fail without it.\n+\n+Preparation and Prerequisites\n+-----------------------------\n+\n+To build OpenCV, you need a directory to create the configuration and build the libraries. You also need a number of 3rd-party libraries upon which OpenCV depends.\n+\n+### Prerequisites for Ubuntu Linux\n+\n+These are the basic requirements for building OpenCV for Tegra on Linux:\n+\n+* CMake 2.8.10 or newer\n+* CUDA toolkit 8.0 (7.0 or 7.5 may also be used)\n+* Build tools (make, gcc, g++)\n+* Python 2.6 or greater\n+\n+These are the same regardless of the platform (DRIVE PX 2, Desktop, etc.).\n+\n+A number of development packages are required for building on Linux:\n+\n+* libglew-dev\n+* libtiff5-dev\n+* zlib1g-dev\n+* libjpeg-dev\n+* libpng12-dev\n+* libjasper-dev\n+* libavcodec-dev\n+* libavformat-dev\n+* libavutil-dev\n+* libpostproc-dev\n+* libswscale-dev\n+* libeigen3-dev\n+* libtbb-dev\n+* libgtk2.0-dev\n+* pkg-config\n+\n+Some of the packages above are in the `universe` repository for Ubuntu Linux systems. If you have not already enabled that repository, you need to do the following before trying to install all of the packages listed above:\n+\n+    $ sudo apt-add-repository universe\n+    $ sudo apt-get update\n+\n+The following command can be pasted into a shell in order to install the required packages:\n+\n+    $ sudo apt-get install \\\n+        libglew-dev \\\n+        libtiff5-dev \\\n+        zlib1g-dev \\\n+        libjpeg-dev \\\n+        libpng12-dev \\\n+        libjasper-dev \\\n+        libavcodec-dev \\\n+        libavformat-dev \\\n+        libavutil-dev \\\n+        libpostproc-dev \\\n+        libswscale-dev \\\n+        libeigen3-dev \\\n+        libtbb-dev \\\n+        libgtk2.0-dev \\\n+        pkg-config\n+\n+(Line-breaks and continuation characters are added for readability.)\n+\n+If you want the Python bindings to be built, you will also need the appropriate packages for either or both of Python 2 and Python 3:\n+\n+* python-dev / python3-dev\n+* python-numpy / python3-numpy\n+* python-py / python3-py\n+* python-pytest / python3-pytest\n+\n+The commands that will do this:\n+\n+    $ sudo apt-get install python-dev python-numpy python-py python-pytest\n+    # And, optionally:\n+    $ sudo apt-get install python3-dev python3-numpy python3-py python3-pytest\n+\n+Once all the necessary packages are installed, you can configure the build.\n+\n+### Preparing the Build Area\n+\n+Software projects that use the CMake system for configuring their builds expect the actual builds to be done outside of the source tree itself. For configuring and building OpenCV, create a directory called \"build\" in the same base directory into which you cloned the git repositories:\n+\n+    $ mkdir build\n+    $ cd build\n+\n+You are now ready to configure and build OpenCV.\n+\n+Configuring OpenCV for Building\n+-------------------------------\n+\n+The CMake configuration options given below for the different platforms are targeted towards the functionality needed for Tegra. They are based on the original configuration options used for building OpenCV 2.4.13.\n+\n+The build of OpenCV is configured with CMake. If run with no parameters, it detects what it needs to know about your system. However, it may have difficulty finding the CUDA files if they are not in a standard location, and it may try to build some options that you might otherwise not want included, so the following invocations of CMake are recommended.\n+\n+In each `cmake` command listed in the following sub-sections, line-breaks and indentation are added for readability. Continuation characters are also added in examples for Linux-based platforms, allowing you to copy and paste the examples directly into a shell. When entering these commands by hand, enter the command and options as a single line. For a detailed explanation of the parameters passed to `cmake`, see the \"CMake Parameter Reference\" section.\n+\n+For the Linux-based platforms, the shown value for the `CMAKE_INSTALL_PREFIX` parameter is `/usr`. You can set this to whatever you want, based on the layout of your system.\n+\n+In each of the `cmake` invocations below, the last parameter, `OPENCV_TEST_DATA_PATH`, tells the build system where to find the test-data that is provided by the `opencv_extra` repository. When this is included, a `make install` installs this test-data alongside the libraries and example code, and a `make test` automatically provides this path to the tests that have to load data from it. If you did not clone the `opencv_extra` repository, do not include this parameter.\n+\n+### Vibrante V4L Configuration\n+\n+Supported platform: Drive PX 2\n+\n+    $ cmake \\\n+        -DCMAKE_BUILD_TYPE=Release \\\n+        -DCMAKE_INSTALL_PREFIX=/usr \\\n+        -DBUILD_PNG=OFF \\\n+        -DBUILD_TIFF=OFF \\\n+        -DBUILD_TBB=OFF \\\n+        -DBUILD_JPEG=OFF \\\n+        -DBUILD_JASPER=OFF \\\n+        -DBUILD_ZLIB=OFF \\\n+        -DBUILD_EXAMPLES=ON \\\n+        -DBUILD_opencv_java=OFF \\\n+        -DBUILD_opencv_python2=ON \\\n+        -DBUILD_opencv_python3=OFF \\\n+        -DENABLE_NEON=ON \\\n+        -DWITH_OPENCL=OFF \\\n+        -DWITH_OPENMP=OFF \\\n+        -DWITH_FFMPEG=ON \\\n+        -DWITH_GSTREAMER=OFF \\\n+        -DWITH_GSTREAMER_0_10=OFF \\\n+        -DWITH_CUDA=ON \\\n+        -DWITH_GTK=ON \\\n+        -DWITH_VTK=OFF \\\n+        -DWITH_TBB=ON \\\n+        -DWITH_1394=OFF \\\n+        -DWITH_OPENEXR=OFF \\\n+        -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-8.0 \\\n+        -DCUDA_ARCH_BIN=6.2 \\\n+        -DCUDA_ARCH_PTX=\"\" \\\n+        -DINSTALL_C_EXAMPLES=ON \\\n+        -DINSTALL_TESTS=OFF \\\n+        -DOPENCV_TEST_DATA_PATH=../opencv_extra/testdata \\\n+        ../opencv\n+\n+The configuration provided above builds the Python bindings for Python 2 (but not Python 3) as part of the build process. If you want the Python 3 bindings (or do not want the Python 2 bindings), change the values of `BUILD_opencv_python2` and/or `BUILD_opencv_python3` as needed. To enable bindings, set the value to `ON`, to disable them set it to `OFF`:\n+\n+    -DBUILD_opencv_python2=OFF\n+\n+### Jetson L4T Configuration\n+\n+Supported platforms:\n+\n+* Jetson TK1\n+* Jetson TX1\n+\n+Configuration is slightly different for the Jetson TK1 and the Jetson TX1 systems.\n+\n+#### Jetson TK1\n+\n+    $ cmake \\\n+        -DCMAKE_BUILD_TYPE=Release \\\n+        -DCMAKE_INSTALL_PREFIX=/usr \\\n+        -DCMAKE_CXX_FLAGS=-Wa,-mimplicit-it=thumb \\\n+        -DBUILD_PNG=OFF \\\n+        -DBUILD_TIFF=OFF \\\n+        -DBUILD_TBB=OFF \\\n+        -DBUILD_JPEG=OFF \\\n+        -DBUILD_JASPER=OFF \\\n+        -DBUILD_ZLIB=OFF \\\n+        -DBUILD_EXAMPLES=ON \\\n+        -DBUILD_opencv_java=OFF \\\n+        -DBUILD_opencv_python2=ON \\\n+        -DBUILD_opencv_python3=OFF \\\n+        -DENABLE_NEON=ON \\\n+        -DWITH_OPENCL=OFF \\\n+        -DWITH_OPENMP=OFF \\\n+        -DWITH_FFMPEG=ON \\\n+        -DWITH_GSTREAMER=OFF \\\n+        -DWITH_GSTREAMER_0_10=OFF \\\n+        -DWITH_CUDA=ON \\\n+        -DWITH_GTK=ON \\\n+        -DWITH_VTK=OFF \\\n+        -DWITH_TBB=ON \\\n+        -DWITH_1394=OFF \\\n+        -DWITH_OPENEXR=OFF \\\n+        -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-6.5 \\\n+        -DCUDA_ARCH_BIN=3.2 \\\n+        -DCUDA_ARCH_PTX=\"\" \\\n+        -DINSTALL_C_EXAMPLES=ON \\\n+        -DINSTALL_TESTS=OFF \\\n+        -DOPENCV_TEST_DATA_PATH=../opencv_extra/testdata \\\n+        ../opencv\n+\n+__Note:__ This uses CUDA 6.5, not 8.0.\n+\n+#### Jetson TX1\n+\n+    $ cmake \\\n+        -DCMAKE_BUILD_TYPE=Release \\\n+        -DCMAKE_INSTALL_PREFIX=/usr \\\n+        -DBUILD_PNG=OFF \\\n+        -DBUILD_TIFF=OFF \\\n+        -DBUILD_TBB=OFF \\\n+        -DBUILD_JPEG=OFF \\\n+        -DBUILD_JASPER=OFF \\\n+        -DBUILD_ZLIB=OFF \\\n+        -DBUILD_EXAMPLES=ON \\\n+        -DBUILD_opencv_java=OFF \\\n+        -DBUILD_opencv_python2=ON \\\n+        -DBUILD_opencv_python3=OFF \\\n+        -DENABLE_PRECOMPILED_HEADERS=OFF \\\n+        -DWITH_OPENCL=OFF \\\n+        -DWITH_OPENMP=OFF \\\n+        -DWITH_FFMPEG=ON \\\n+        -DWITH_GSTREAMER=OFF \\\n+        -DWITH_GSTREAMER_0_10=OFF \\\n+        -DWITH_CUDA=ON \\\n+        -DWITH_GTK=ON \\\n+        -DWITH_VTK=OFF \\\n+        -DWITH_TBB=ON \\\n+        -DWITH_1394=OFF \\\n+        -DWITH_OPENEXR=OFF \\\n+        -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-8.0 \\\n+        -DCUDA_ARCH_BIN=5.3 \\\n+        -DCUDA_ARCH_PTX=\"\" \\\n+        -DINSTALL_C_EXAMPLES=ON \\\n+        -DINSTALL_TESTS=OFF \\\n+        -DOPENCV_TEST_DATA_PATH=../opencv_extra/testdata \\\n+        ../opencv\n+\n+__Note:__ This configuration does not set the `ENABLE_NEON` parameter.\n+\n+### Ubuntu Desktop Linux Configuration\n+\n+Supported platforms:\n+\n+* Ubuntu Desktop Linux 14.04 LTS\n+* Ubuntu Desktop Linux 16.04 LTS\n+\n+The configuration options given to `cmake` below are targeted towards the functionality needed for Tegra. For a desktop system, you may wish to adjust some options to enable (or disable) certain features. The features enabled below are based on the building of OpenCV 2.4.13.\n+\n+    $ cmake \\\n+        -DCMAKE_BUILD_TYPE=Release \\\n+        -DCMAKE_INSTALL_PREFIX=/usr \\\n+        -DBUILD_PNG=OFF \\\n+        -DBUILD_TIFF=OFF \\\n+        -DBUILD_TBB=OFF \\\n+        -DBUILD_JPEG=OFF \\\n+        -DBUILD_JASPER=OFF \\\n+        -DBUILD_ZLIB=OFF \\\n+        -DBUILD_EXAMPLES=ON \\\n+        -DBUILD_opencv_java=OFF \\\n+        -DBUILD_opencv_python2=ON \\\n+        -DBUILD_opencv_python3=OFF \\\n+        -DWITH_OPENCL=OFF \\\n+        -DWITH_OPENMP=OFF \\\n+        -DWITH_FFMPEG=ON \\\n+        -DWITH_GSTREAMER=OFF \\\n+        -DWITH_GSTREAMER_0_10=OFF \\\n+        -DWITH_CUDA=ON \\\n+        -DWITH_GTK=ON \\\n+        -DWITH_VTK=OFF \\\n+        -DWITH_TBB=ON \\\n+        -DWITH_1394=OFF \\\n+        -DWITH_OPENEXR=OFF \\\n+        -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda-8.0 \\\n+        -DCUDA_ARCH_BIN='3.0 3.5 5.0 6.0 6.2' \\\n+        -DCUDA_ARCH_PTX=\"\" \\\n+        -DINSTALL_C_EXAMPLES=ON \\\n+        -DINSTALL_TESTS=OFF \\\n+        -DOPENCV_TEST_DATA_PATH=../opencv_extra/testdata \\\n+        ../opencv\n+\n+This configuration is nearly identical to that for V4L and L4T, except that the `CUDA_ARCH_BIN` parameter specifies multiple architectures so as to support a variety of GPU boards. For a desktop, you have the option of omitting this parameter, and CMake will instead run a small test program that probes for the supported architectures. However, the libraries produced might not work on Ubuntu systems with different cards.\n+\n+As with previous examples, the configuration given above builds the Python bindings for Python 2 (but not Python 3) as part of the build process.\n+\n+Building OpenCV\n+---------------\n+\n+Once `cmake` finishes configuring OpenCV, building is done using the standard `make` utility.\n+\n+### Building with `make`\n+\n+The only parameter that is needed for the invocation of `make` is the `-j` parameter for specifying how many parallel threads to use. This varies depending on the system and how much memory is available, other running processes, etc. The following table offers suggested values for this parameter:\n+\n+|Platform|Suggested value|Notes|\n+|--------|---------------|-----|\n+|DRIVE PX 2|6| |\n+|Jetson TK1|3|If the build fails due to a compiler-related error, try again with a smaller number of threads. Also consider rebooting the system if it has been running for a long time since the last reboot.|\n+|Jetson TX1|4| |\n+|Ubuntu Desktop|7|The actual value will vary with the number of cores you have and the amount of physical memory. Because of the resource requirements of compiling the CUDA code, it is not recommended to go above 7.|\n+\n+Based on the value you select, build (assuming you selected 6):\n+\n+    $ make -j6\n+\n+By default, CMake hides the details of the build steps. If you need to see more detail about each compilation unit, etc., you can enable verbose output:\n+\n+    $ make -j6 VERBOSE=1\n+\n+Testing OpenCV\n+--------------\n+\n+Once the build completes successfully, you have the option of running the extensive set of tests that OpenCV provides. If you did not clone the `opencv_extra` repository and specify the path to `testdata` in the `cmake` invocation, then testing is not recommended.\n+\n+### Testing under Linux\n+\n+To run the basic tests under Linux, execute:\n+\n+    $ make test\n+\n+This executes `ctest` to carry out the tests, as specified in CTest syntax within the OpenCV repository. The `ctest` harness takes many different parameters (too many to list here, see the manual page for CTest to see the full set), and if you wish to pass any of them, you can do so by specifying them in a `make` command-line parameter called `ARGS`:\n+\n+    $ make test ARGS=\"--verbose --parallel 3\"\n+\n+In this example, there are two (2) arguments passed to `ctest`: `--verbose` and `--parallel 3`. The first argument causes the output from `ctest` to be more detailed, and the second causes `ctest` to run as many as three (3) tests in parallel. As with choosing a thread count for building, base any choice for testing on the available number of processor cores, physical memory, etc. Some of the tests do attempt to allocate significant amounts of memory.\n+\n+### Known Issues with Tests\n+\n+At present, not all of the tests in the OpenCV test suite pass. There are tests that fail whether or not CUDA is compiled, and there are tests that are only specific to CUDA that also do not currently pass. \n+\n+__Note:__ There are no tests that pass without CUDA but fail only when CUDA is included.\n+\n+As the full lists of failing tests vary based on platform, it is impractical to list them here.\n+\n+Installing OpenCV\n+-----------------\n+\n+Installing OpenCV is very straightforward. For the Linux-based platforms, the command is:\n+\n+    $ make install\n+\n+Depending on the chosen installation location, you may need root privilege to install.\n+\n+Building OpenCV 2.4.X {#building_opencv_24X}","path":"doc/tutorials/introduction/building_tegra_cuda/building_tegra_cuda.markdown","position":401,"original_position":401,"commit_id":"f6f75f33c79803d95e2ed45e4c00de1ea6eb6ed7","original_commit_id":"f6f75f33c79803d95e2ed45e4c00de1ea6eb6ed7","user":{"login":"mshabunin","id":3304494,"avatar_url":"https://avatars.githubusercontent.com/u/3304494?v=3","gravatar_id":"","url":"https://api.github.com/users/mshabunin","html_url":"https://github.com/mshabunin","followers_url":"https://api.github.com/users/mshabunin/followers","following_url":"https://api.github.com/users/mshabunin/following{/other_user}","gists_url":"https://api.github.com/users/mshabunin/gists{/gist_id}","starred_url":"https://api.github.com/users/mshabunin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshabunin/subscriptions","organizations_url":"https://api.github.com/users/mshabunin/orgs","repos_url":"https://api.github.com/users/mshabunin/repos","events_url":"https://api.github.com/users/mshabunin/events{/privacy}","received_events_url":"https://api.github.com/users/mshabunin/received_events","type":"User","site_admin":false},"body":"Doxygen produces warning here, it is kind of a bug ([related discussion](http://stackoverflow.com/a/13953587)). To avoid it you should make top section headers one level higher (`--------` -> `========`).\r\n\r\nSince anchors are visible in the whole documentation, it is better to prefix them with the tutorial id (`building_opencv_24X` -> `tutorial_building_tegra_cuda_24X`, don't forget to update corresponding `@ref` command).\r\n\r\nTo make navigation easier I suggest adding a table of contents:\r\n- add `@tableofcontents` command to the beginning ([example](https://raw.githubusercontent.com/opencv/opencv/master/doc/tutorials/introduction/documenting_opencv/documentation_tutorial.markdown))\r\n- add anchors to each header you want see in the TOC\r\n  _example with 1-level headers only_:\r\n  ![image](https://cloud.githubusercontent.com/assets/3304494/20962269/b8ce970e-bc79-11e6-84b1-34730f70aa5a.png)\r\n","created_at":"2016-12-07T09:37:46Z","updated_at":"2016-12-07T09:58:39Z","html_url":"https://github.com/opencv/opencv/pull/7814#discussion_r91255735","pull_request_url":"https://api.github.com/repos/opencv/opencv/pulls/7814","_links":{"self":{"href":"https://api.github.com/repos/opencv/opencv/pulls/comments/91255735"},"html":{"href":"https://github.com/opencv/opencv/pull/7814#discussion_r91255735"},"pull_request":{"href":"https://api.github.com/repos/opencv/opencv/pulls/7814"}}},"pull_request":{"url":"https://api.github.com/repos/opencv/opencv/pulls/7814","id":96834066,"html_url":"https://github.com/opencv/opencv/pull/7814","diff_url":"https://github.com/opencv/opencv/pull/7814.diff","patch_url":"https://github.com/opencv/opencv/pull/7814.patch","issue_url":"https://api.github.com/repos/opencv/opencv/issues/7814","number":7814,"state":"open","locked":false,"title":"Contribute a tutorial on building for NVIDIA Tegra","user":{"login":"rjray-nvidia","id":22756777,"avatar_url":"https://avatars.githubusercontent.com/u/22756777?v=3","gravatar_id":"","url":"https://api.github.com/users/rjray-nvidia","html_url":"https://github.com/rjray-nvidia","followers_url":"https://api.github.com/users/rjray-nvidia/followers","following_url":"https://api.github.com/users/rjray-nvidia/following{/other_user}","gists_url":"https://api.github.com/users/rjray-nvidia/gists{/gist_id}","starred_url":"https://api.github.com/users/rjray-nvidia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjray-nvidia/subscriptions","organizations_url":"https://api.github.com/users/rjray-nvidia/orgs","repos_url":"https://api.github.com/users/rjray-nvidia/repos","events_url":"https://api.github.com/users/rjray-nvidia/events{/privacy}","received_events_url":"https://api.github.com/users/rjray-nvidia/received_events","type":"User","site_admin":false},"body":"### This pullrequest changes\r\n\r\nDelivers a tutorial on building OpenCV 3.1.0 on NVIDIA Tegra systems with CUDA 8.0.","created_at":"2016-12-07T00:12:46Z","updated_at":"2016-12-07T09:58:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bf6edf931caedd3254457fae42caeb534d2290ca","assignee":{"login":"vpisarev","id":2110786,"avatar_url":"https://avatars.githubusercontent.com/u/2110786?v=3","gravatar_id":"","url":"https://api.github.com/users/vpisarev","html_url":"https://github.com/vpisarev","followers_url":"https://api.github.com/users/vpisarev/followers","following_url":"https://api.github.com/users/vpisarev/following{/other_user}","gists_url":"https://api.github.com/users/vpisarev/gists{/gist_id}","starred_url":"https://api.github.com/users/vpisarev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpisarev/subscriptions","organizations_url":"https://api.github.com/users/vpisarev/orgs","repos_url":"https://api.github.com/users/vpisarev/repos","events_url":"https://api.github.com/users/vpisarev/events{/privacy}","received_events_url":"https://api.github.com/users/vpisarev/received_events","type":"User","site_admin":false},"assignees":[{"login":"vpisarev","id":2110786,"avatar_url":"https://avatars.githubusercontent.com/u/2110786?v=3","gravatar_id":"","url":"https://api.github.com/users/vpisarev","html_url":"https://github.com/vpisarev","followers_url":"https://api.github.com/users/vpisarev/followers","following_url":"https://api.github.com/users/vpisarev/following{/other_user}","gists_url":"https://api.github.com/users/vpisarev/gists{/gist_id}","starred_url":"https://api.github.com/users/vpisarev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpisarev/subscriptions","organizations_url":"https://api.github.com/users/vpisarev/orgs","repos_url":"https://api.github.com/users/vpisarev/repos","events_url":"https://api.github.com/users/vpisarev/events{/privacy}","received_events_url":"https://api.github.com/users/vpisarev/received_events","type":"User","site_admin":false},{"login":"mshabunin","id":3304494,"avatar_url":"https://avatars.githubusercontent.com/u/3304494?v=3","gravatar_id":"","url":"https://api.github.com/users/mshabunin","html_url":"https://github.com/mshabunin","followers_url":"https://api.github.com/users/mshabunin/followers","following_url":"https://api.github.com/users/mshabunin/following{/other_user}","gists_url":"https://api.github.com/users/mshabunin/gists{/gist_id}","starred_url":"https://api.github.com/users/mshabunin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mshabunin/subscriptions","organizations_url":"https://api.github.com/users/mshabunin/orgs","repos_url":"https://api.github.com/users/mshabunin/repos","events_url":"https://api.github.com/users/mshabunin/events{/privacy}","received_events_url":"https://api.github.com/users/mshabunin/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/opencv/opencv/pulls/7814/commits","review_comments_url":"https://api.github.com/repos/opencv/opencv/pulls/7814/comments","review_comment_url":"https://api.github.com/repos/opencv/opencv/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opencv/opencv/issues/7814/comments","statuses_url":"https://api.github.com/repos/opencv/opencv/statuses/f6f75f33c79803d95e2ed45e4c00de1ea6eb6ed7","head":{"label":"rjray-nvidia:cuda_tegra_tutorial","ref":"cuda_tegra_tutorial","sha":"f6f75f33c79803d95e2ed45e4c00de1ea6eb6ed7","user":{"login":"rjray-nvidia","id":22756777,"avatar_url":"https://avatars.githubusercontent.com/u/22756777?v=3","gravatar_id":"","url":"https://api.github.com/users/rjray-nvidia","html_url":"https://github.com/rjray-nvidia","followers_url":"https://api.github.com/users/rjray-nvidia/followers","following_url":"https://api.github.com/users/rjray-nvidia/following{/other_user}","gists_url":"https://api.github.com/users/rjray-nvidia/gists{/gist_id}","starred_url":"https://api.github.com/users/rjray-nvidia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjray-nvidia/subscriptions","organizations_url":"https://api.github.com/users/rjray-nvidia/orgs","repos_url":"https://api.github.com/users/rjray-nvidia/repos","events_url":"https://api.github.com/users/rjray-nvidia/events{/privacy}","received_events_url":"https://api.github.com/users/rjray-nvidia/received_events","type":"User","site_admin":false},"repo":{"id":75431808,"name":"opencv","full_name":"rjray-nvidia/opencv","owner":{"login":"rjray-nvidia","id":22756777,"avatar_url":"https://avatars.githubusercontent.com/u/22756777?v=3","gravatar_id":"","url":"https://api.github.com/users/rjray-nvidia","html_url":"https://github.com/rjray-nvidia","followers_url":"https://api.github.com/users/rjray-nvidia/followers","following_url":"https://api.github.com/users/rjray-nvidia/following{/other_user}","gists_url":"https://api.github.com/users/rjray-nvidia/gists{/gist_id}","starred_url":"https://api.github.com/users/rjray-nvidia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjray-nvidia/subscriptions","organizations_url":"https://api.github.com/users/rjray-nvidia/orgs","repos_url":"https://api.github.com/users/rjray-nvidia/repos","events_url":"https://api.github.com/users/rjray-nvidia/events{/privacy}","received_events_url":"https://api.github.com/users/rjray-nvidia/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rjray-nvidia/opencv","description":"Open Source Computer Vision Library","fork":true,"url":"https://api.github.com/repos/rjray-nvidia/opencv","forks_url":"https://api.github.com/repos/rjray-nvidia/opencv/forks","keys_url":"https://api.github.com/repos/rjray-nvidia/opencv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rjray-nvidia/opencv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rjray-nvidia/opencv/teams","hooks_url":"https://api.github.com/repos/rjray-nvidia/opencv/hooks","issue_events_url":"https://api.github.com/repos/rjray-nvidia/opencv/issues/events{/number}","events_url":"https://api.github.com/repos/rjray-nvidia/opencv/events","assignees_url":"https://api.github.com/repos/rjray-nvidia/opencv/assignees{/user}","branches_url":"https://api.github.com/repos/rjray-nvidia/opencv/branches{/branch}","tags_url":"https://api.github.com/repos/rjray-nvidia/opencv/tags","blobs_url":"https://api.github.com/repos/rjray-nvidia/opencv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rjray-nvidia/opencv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rjray-nvidia/opencv/git/refs{/sha}","trees_url":"https://api.github.com/repos/rjray-nvidia/opencv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rjray-nvidia/opencv/statuses/{sha}","languages_url":"https://api.github.com/repos/rjray-nvidia/opencv/languages","stargazers_url":"https://api.github.com/repos/rjray-nvidia/opencv/stargazers","contributors_url":"https://api.github.com/repos/rjray-nvidia/opencv/contributors","subscribers_url":"https://api.github.com/repos/rjray-nvidia/opencv/subscribers","subscription_url":"https://api.github.com/repos/rjray-nvidia/opencv/subscription","commits_url":"https://api.github.com/repos/rjray-nvidia/opencv/commits{/sha}","git_commits_url":"https://api.github.com/repos/rjray-nvidia/opencv/git/commits{/sha}","comments_url":"https://api.github.com/repos/rjray-nvidia/opencv/comments{/number}","issue_comment_url":"https://api.github.com/repos/rjray-nvidia/opencv/issues/comments{/number}","contents_url":"https://api.github.com/repos/rjray-nvidia/opencv/contents/{+path}","compare_url":"https://api.github.com/repos/rjray-nvidia/opencv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rjray-nvidia/opencv/merges","archive_url":"https://api.github.com/repos/rjray-nvidia/opencv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rjray-nvidia/opencv/downloads","issues_url":"https://api.github.com/repos/rjray-nvidia/opencv/issues{/number}","pulls_url":"https://api.github.com/repos/rjray-nvidia/opencv/pulls{/number}","milestones_url":"https://api.github.com/repos/rjray-nvidia/opencv/milestones{/number}","notifications_url":"https://api.github.com/repos/rjray-nvidia/opencv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rjray-nvidia/opencv/labels{/name}","releases_url":"https://api.github.com/repos/rjray-nvidia/opencv/releases{/id}","deployments_url":"https://api.github.com/repos/rjray-nvidia/opencv/deployments","created_at":"2016-12-02T21:20:39Z","updated_at":"2016-12-02T21:20:53Z","pushed_at":"2016-12-07T00:09:34Z","git_url":"git://github.com/rjray-nvidia/opencv.git","ssh_url":"git@github.com:rjray-nvidia/opencv.git","clone_url":"https://github.com/rjray-nvidia/opencv.git","svn_url":"https://github.com/rjray-nvidia/opencv","homepage":"opencv.org","size":430939,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"opencv:master","ref":"master","sha":"300f92397e93fab638944630b37257a4e2f4a616","user":{"login":"opencv","id":5009934,"avatar_url":"https://avatars.githubusercontent.com/u/5009934?v=3","gravatar_id":"","url":"https://api.github.com/users/opencv","html_url":"https://github.com/opencv","followers_url":"https://api.github.com/users/opencv/followers","following_url":"https://api.github.com/users/opencv/following{/other_user}","gists_url":"https://api.github.com/users/opencv/gists{/gist_id}","starred_url":"https://api.github.com/users/opencv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencv/subscriptions","organizations_url":"https://api.github.com/users/opencv/orgs","repos_url":"https://api.github.com/users/opencv/repos","events_url":"https://api.github.com/users/opencv/events{/privacy}","received_events_url":"https://api.github.com/users/opencv/received_events","type":"Organization","site_admin":false},"repo":{"id":5108051,"name":"opencv","full_name":"opencv/opencv","owner":{"login":"opencv","id":5009934,"avatar_url":"https://avatars.githubusercontent.com/u/5009934?v=3","gravatar_id":"","url":"https://api.github.com/users/opencv","html_url":"https://github.com/opencv","followers_url":"https://api.github.com/users/opencv/followers","following_url":"https://api.github.com/users/opencv/following{/other_user}","gists_url":"https://api.github.com/users/opencv/gists{/gist_id}","starred_url":"https://api.github.com/users/opencv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencv/subscriptions","organizations_url":"https://api.github.com/users/opencv/orgs","repos_url":"https://api.github.com/users/opencv/repos","events_url":"https://api.github.com/users/opencv/events{/privacy}","received_events_url":"https://api.github.com/users/opencv/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opencv/opencv","description":"Open Source Computer Vision Library","fork":false,"url":"https://api.github.com/repos/opencv/opencv","forks_url":"https://api.github.com/repos/opencv/opencv/forks","keys_url":"https://api.github.com/repos/opencv/opencv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opencv/opencv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opencv/opencv/teams","hooks_url":"https://api.github.com/repos/opencv/opencv/hooks","issue_events_url":"https://api.github.com/repos/opencv/opencv/issues/events{/number}","events_url":"https://api.github.com/repos/opencv/opencv/events","assignees_url":"https://api.github.com/repos/opencv/opencv/assignees{/user}","branches_url":"https://api.github.com/repos/opencv/opencv/branches{/branch}","tags_url":"https://api.github.com/repos/opencv/opencv/tags","blobs_url":"https://api.github.com/repos/opencv/opencv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opencv/opencv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opencv/opencv/git/refs{/sha}","trees_url":"https://api.github.com/repos/opencv/opencv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opencv/opencv/statuses/{sha}","languages_url":"https://api.github.com/repos/opencv/opencv/languages","stargazers_url":"https://api.github.com/repos/opencv/opencv/stargazers","contributors_url":"https://api.github.com/repos/opencv/opencv/contributors","subscribers_url":"https://api.github.com/repos/opencv/opencv/subscribers","subscription_url":"https://api.github.com/repos/opencv/opencv/subscription","commits_url":"https://api.github.com/repos/opencv/opencv/commits{/sha}","git_commits_url":"https://api.github.com/repos/opencv/opencv/git/commits{/sha}","comments_url":"https://api.github.com/repos/opencv/opencv/comments{/number}","issue_comment_url":"https://api.github.com/repos/opencv/opencv/issues/comments{/number}","contents_url":"https://api.github.com/repos/opencv/opencv/contents/{+path}","compare_url":"https://api.github.com/repos/opencv/opencv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opencv/opencv/merges","archive_url":"https://api.github.com/repos/opencv/opencv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opencv/opencv/downloads","issues_url":"https://api.github.com/repos/opencv/opencv/issues{/number}","pulls_url":"https://api.github.com/repos/opencv/opencv/pulls{/number}","milestones_url":"https://api.github.com/repos/opencv/opencv/milestones{/number}","notifications_url":"https://api.github.com/repos/opencv/opencv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opencv/opencv/labels{/name}","releases_url":"https://api.github.com/repos/opencv/opencv/releases{/id}","deployments_url":"https://api.github.com/repos/opencv/opencv/deployments","created_at":"2012-07-19T09:40:17Z","updated_at":"2016-12-07T08:41:51Z","pushed_at":"2016-12-07T09:54:04Z","git_url":"git://github.com/opencv/opencv.git","ssh_url":"git@github.com:opencv/opencv.git","clone_url":"https://github.com/opencv/opencv.git","svn_url":"https://github.com/opencv/opencv","homepage":"opencv.org","size":1089400,"stargazers_count":12392,"watchers_count":12392,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10043,"mirror_url":null,"open_issues_count":1026,"forks":10043,"open_issues":1026,"watchers":12392,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opencv/opencv/pulls/7814"},"html":{"href":"https://github.com/opencv/opencv/pull/7814"},"issue":{"href":"https://api.github.com/repos/opencv/opencv/issues/7814"},"comments":{"href":"https://api.github.com/repos/opencv/opencv/issues/7814/comments"},"review_comments":{"href":"https://api.github.com/repos/opencv/opencv/pulls/7814/comments"},"review_comment":{"href":"https://api.github.com/repos/opencv/opencv/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opencv/opencv/pulls/7814/commits"},"statuses":{"href":"https://api.github.com/repos/opencv/opencv/statuses/f6f75f33c79803d95e2ed45e4c00de1ea6eb6ed7"}}}}
{"actor":{"display_login":"mshabunin"}}