Ask Your Question

Revision history [back]

VideoCapture returns black image, when linked with tensorflow lib

My application uses tensorflow for object detection. When I'm using video file as input, all works just fine. But when I'm trying to open wecam, it returns black frames.

The problem is only happen, when the application is beeing linked with tensorflow dynamic library. If I comment detection code and disable linking, VideoCapture works with webcam too.

Setup: Ubuntu 16.04 opencv 3.2.0 (3.3.0 was also tried) tensorflow 1.2.1 bazel 5.4

Does anyone deal with smth. similar?