<h5 dir="auto">System information (version)</h5>

<ul dir="auto">
<li>OpenCV =&gt; 4.1.0</li>
<li>Operating System / Platform =&gt; Windows 64 bit</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import cv2
cap = cv2.VideoCapture(0)
while True:
    ret, frame = cap.read()
    #print(ret)
    print(frame)"><pre class="notranslate"><code class="notranslate">import cv2
cap = cv2.VideoCapture(0)
while True:
    ret, frame = cap.read()
    #print(ret)
    print(frame)
</code></pre></div>
<p dir="auto">It prints the 3 channel array values as zero.<br>
I want to take the array values real time and process them into my function.<br>
I know that ret is True and that my camera is reading the values because when I print frame.sum(), it gives me the sum of array values but for some reason I can't see it in an array form and hence my function reads the frame as a set of 0's.<br>
Any help about how I can read the array values would be very useful.</p>
<p dir="auto">Thanks!</p>
<h5 dir="auto">Steps to reproduce</h5>
<h5 dir="auto">System information (version)</h5>

<ul dir="auto">
<li>OpenCV =&gt; 3.4.x</li>
<li>Operating System / Platform =&gt; Ubuntu 16.04</li>
<li>Compiler =&gt; gcc 5.4.0</li>
</ul>
<h5 dir="auto">Detailed description</h5>
<p dir="auto">With OpenVINO 2019R1:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/opt/intel/openvino_2019.1.094/deployment_tools/inference_engine/lib/intel64/libinference_engine.so: undefined reference to `tbb::interface7::internal::task_arena_base::internal_max_concurrency(tbb::interface7::task_arena const*)'
collect2: error: ld returned 1 exit status
modules/dnn/CMakeFiles/opencv_perf_dnn.dir/build.make:208: recipe for target 'bin/opencv_perf_dnn' failed
make[2]: *** [bin/opencv_perf_dnn] Error 1
CMakeFiles/Makefile2:2452: recipe for target 'modules/dnn/CMakeFiles/opencv_perf_dnn.dir/all' failed
make[1]: *** [modules/dnn/CMakeFiles/opencv_perf_dnn.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs...."><pre class="notranslate"><code class="notranslate">/opt/intel/openvino_2019.1.094/deployment_tools/inference_engine/lib/intel64/libinference_engine.so: undefined reference to `tbb::interface7::internal::task_arena_base::internal_max_concurrency(tbb::interface7::task_arena const*)'
collect2: error: ld returned 1 exit status
modules/dnn/CMakeFiles/opencv_perf_dnn.dir/build.make:208: recipe for target 'bin/opencv_perf_dnn' failed
make[2]: *** [bin/opencv_perf_dnn] Error 1
CMakeFiles/Makefile2:2452: recipe for target 'modules/dnn/CMakeFiles/opencv_perf_dnn.dir/all' failed
make[1]: *** [modules/dnn/CMakeFiles/opencv_perf_dnn.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ ldd /opt/intel/openvino_2019.1.094/deployment_tools/inference_engine/lib/intel64/libinference_engine.so

linux-vdso.so.1 =&gt;  (0x00007ffc4c170000)
libtbb.so.2 =&gt; /opt/intel/opencl/libtbb.so.2 (0x00007f5757ab0000)
libpthread.so.0 =&gt; /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5757893000)
libdl.so.2 =&gt; /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f575768f000)
libstdc++.so.6 =&gt; /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f575730d000)
libm.so.6 =&gt; /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5757004000)
libgcc_s.so.1 =&gt; /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f5756dee000)
libc.so.6 =&gt; /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5756a24000)
librt.so.1 =&gt; /lib/x86_64-linux-gnu/librt.so.1 (0x00007f575681c000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5758398000)"><pre class="notranslate"><code class="notranslate">$ ldd /opt/intel/openvino_2019.1.094/deployment_tools/inference_engine/lib/intel64/libinference_engine.so

linux-vdso.so.1 =&gt;  (0x00007ffc4c170000)
libtbb.so.2 =&gt; /opt/intel/opencl/libtbb.so.2 (0x00007f5757ab0000)
libpthread.so.0 =&gt; /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5757893000)
libdl.so.2 =&gt; /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f575768f000)
libstdc++.so.6 =&gt; /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f575730d000)
libm.so.6 =&gt; /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5757004000)
libgcc_s.so.1 =&gt; /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f5756dee000)
libc.so.6 =&gt; /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5756a24000)
librt.so.1 =&gt; /lib/x86_64-linux-gnu/librt.so.1 (0x00007f575681c000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5758398000)
</code></pre></div>
<p dir="auto">TBB from OpenCL is used instead of <code class="notranslate">/opt/intel/openvino_2019.1.094/deployment_tools/inference_engine/external/tbb/lib/libtbb.so.2</code></p>
<h5 dir="auto">Steps to reproduce</h5>