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?
Can you make a really simple program that does the same thing? That we could test?
Try to make it as small as possible. With a few external dependencies as possible to make it easy to reproduce.
Thank you for response. I'll do that.