{"action":"created","issue":{"url":"https://api.github.com/repos/cargomedia/puppet-packages/issues/1434","repository_url":"https://api.github.com/repos/cargomedia/puppet-packages","labels_url":"https://api.github.com/repos/cargomedia/puppet-packages/issues/1434/labels{/name}","comments_url":"https://api.github.com/repos/cargomedia/puppet-packages/issues/1434/comments","events_url":"https://api.github.com/repos/cargomedia/puppet-packages/issues/1434/events","html_url":"https://github.com/cargomedia/puppet-packages/pull/1434","id":170387968,"number":1434,"title":"Experiments: added opencv and cuda modules skeleton","user":{"login":"kris-lab","id":1843523,"avatar_url":"https://avatars.githubusercontent.com/u/1843523?v=3","gravatar_id":"","url":"https://api.github.com/users/kris-lab","html_url":"https://github.com/kris-lab","followers_url":"https://api.github.com/users/kris-lab/followers","following_url":"https://api.github.com/users/kris-lab/following{/other_user}","gists_url":"https://api.github.com/users/kris-lab/gists{/gist_id}","starred_url":"https://api.github.com/users/kris-lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kris-lab/subscriptions","organizations_url":"https://api.github.com/users/kris-lab/orgs","repos_url":"https://api.github.com/users/kris-lab/repos","events_url":"https://api.github.com/users/kris-lab/events{/privacy}","received_events_url":"https://api.github.com/users/kris-lab/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cargomedia/puppet-packages/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-08-10T10:49:33Z","updated_at":"2016-08-10T13:39:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cargomedia/puppet-packages/pulls/1434","html_url":"https://github.com/cargomedia/puppet-packages/pull/1434","diff_url":"https://github.com/cargomedia/puppet-packages/pull/1434.diff","patch_url":"https://github.com/cargomedia/puppet-packages/pull/1434.patch"},"body":"(notes)\r\nCurrently, this is for documentation purpose only... If really needed we can add custom DEB for OpenCV with GPU acceleration.\r\n\r\nHow to revert changes on bulldogs:\r\n```\r\nSOME NVIDIA DERIVERS HAS BEEN REMOVED FROM BULLDOG - TRANSITION TO CUDA\r\n\r\n----------------------------------------------------------------------\r\n\r\nThe following extra packages will be installed:\r\n  cuda-7-5 cuda-command-line-tools-7-5 cuda-core-7-5 cuda-cublas-7-5 cuda-cublas-dev-7-5 cuda-cudart-7-5 cuda-cudart-dev-7-5 cuda-cufft-7-5\r\n  cuda-cufft-dev-7-5 cuda-curand-7-5 cuda-curand-dev-7-5 cuda-cusolver-7-5 cuda-cusolver-dev-7-5 cuda-cusparse-7-5 cuda-cusparse-dev-7-5\r\n  cuda-documentation-7-5 cuda-driver-dev-7-5 cuda-drivers cuda-license-7-5 cuda-misc-headers-7-5 cuda-npp-7-5 cuda-npp-dev-7-5\r\n  cuda-nvrtc-7-5 cuda-nvrtc-dev-7-5 cuda-runtime-7-5 cuda-samples-7-5 cuda-toolkit-7-5 cuda-visual-tools-7-5 freeglut3 freeglut3-dev\r\n  libcuda1-352 libxmu-dev libxmu-headers libxt-dev nvidia-352 nvidia-352-dev nvidia-352-uvm nvidia-modprobe nvidia-opencl-icd-352\r\n  nvidia-settings\r\nSuggested packages:\r\n  libxt-doc\r\nThe following packages will be REMOVED:\r\n  libcuda1-346 nvidia-346 nvidia-opencl-icd-346\r\nThe following NEW packages will be installed:\r\n  cuda cuda-7-5 cuda-command-line-tools-7-5 cuda-core-7-5 cuda-cublas-7-5 cuda-cublas-dev-7-5 cuda-cudart-7-5 cuda-cudart-dev-7-5\r\n  cuda-cufft-7-5 cuda-cufft-dev-7-5 cuda-curand-7-5 cuda-curand-dev-7-5 cuda-cusolver-7-5 cuda-cusolver-dev-7-5 cuda-cusparse-7-5\r\n  cuda-cusparse-dev-7-5 cuda-documentation-7-5 cuda-driver-dev-7-5 cuda-drivers cuda-license-7-5 cuda-misc-headers-7-5 cuda-npp-7-5\r\n  cuda-npp-dev-7-5 cuda-nvrtc-7-5 cuda-nvrtc-dev-7-5 cuda-runtime-7-5 cuda-samples-7-5 cuda-toolkit-7-5 cuda-visual-tools-7-5 freeglut3\r\n  freeglut3-dev libcuda1-352 libxmu-dev libxmu-headers libxt-dev nvidia-352 nvidia-352-dev nvidia-352-uvm nvidia-modprobe\r\n  nvidia-opencl-icd-352\r\nThe following packages will be upgraded:\r\n  nvidia-settings\r\n1 upgraded, 40 newly installed, 3 to remove and 5 not upgraded.\r\n\r\n----------------------------------------------------------------------\r\n\r\nDKMS: install completed.\r\nSetting up nvidia-352-uvm (352.39-0ubuntu1) ...\r\nSetting up nvidia-352-dev (352.39-0ubuntu1) ...\r\nSetting up nvidia-modprobe (352.39-0ubuntu1) ...\r\nSetting up nvidia-settings (352.39-0ubuntu1) ...\r\nSetting up libcuda1-352 (352.39-0ubuntu1) ...\r\nSetting up nvidia-opencl-icd-352 (352.39-0ubuntu1) ...\r\nSetting up cuda-drivers (352.39-1) ...\r\nSetting up cuda-runtime-7-5 (7.5-18) ...\r\nSetting up cuda-7-5 (7.5-18) ...\r\n```"},"comment":{"url":"https://api.github.com/repos/cargomedia/puppet-packages/issues/comments/238869171","html_url":"https://github.com/cargomedia/puppet-packages/pull/1434#issuecomment-238869171","issue_url":"https://api.github.com/repos/cargomedia/puppet-packages/issues/1434","id":238869171,"user":{"login":"kris-lab","id":1843523,"avatar_url":"https://avatars.githubusercontent.com/u/1843523?v=3","gravatar_id":"","url":"https://api.github.com/users/kris-lab","html_url":"https://github.com/kris-lab","followers_url":"https://api.github.com/users/kris-lab/followers","following_url":"https://api.github.com/users/kris-lab/following{/other_user}","gists_url":"https://api.github.com/users/kris-lab/gists{/gist_id}","starred_url":"https://api.github.com/users/kris-lab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kris-lab/subscriptions","organizations_url":"https://api.github.com/users/kris-lab/orgs","repos_url":"https://api.github.com/users/kris-lab/repos","events_url":"https://api.github.com/users/kris-lab/events{/privacy}","received_events_url":"https://api.github.com/users/kris-lab/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T13:39:19Z","updated_at":"2016-08-10T13:39:19Z","body":"Results:\r\n- Ubuntu 15.04 with CUDA 7.5 and Nvidia driver 352 is compilable\r\n- OpenCV 3.0.0 is compilable (took more than 1h)\r\n- OpenCV GPU sample are working properly - some \"stereo matching\" example - **very high frame rate (depends on disparity level)** , quality of provided images is pretty bad, but it still works...\r\n\r\n```bash\r\nDISPLAY=:0 XAUTHORITY=/home/admin/.Xauthority \\\r\n  ./bin/gpu-example-stereo_match \\\r\n  --left ../samples/data/right.jpg \\\r\n  --right ../samples/data/left.jpg \\\r\n  --method BM \\\r\n  --ndisp 256\r\n```\r\n\r\nI have provided left and right image:\r\n![right](https://cloud.githubusercontent.com/assets/1843523/17555362/4042890a-5f07-11e6-9199-a1ebf6f671a2.jpg)\r\n\r\nResults of 3D depth:\r\n<img width=\"838\" alt=\"screen shot 2016-08-10 at 14 27 21\" src=\"https://cloud.githubusercontent.com/assets/1843523/17555379/4e562074-5f07-11e6-96ef-9ddfde45926c.png\">\r\n\r\n- it would work much better with higher resolution\r\n- it would work much better without green background "}}
{"actor":{"display_login":"kris-lab"}}