0

I'm trying to stream from two IP cameras and display them inside a single frame with one of them being the main camera (full screen) and the other as a smaller one on the lower right corner with both streaming real time. I already achieved this using Tkinter by placing 2 nested panels, however, I'm not happy with the framerate etc. probably due to GUI's own loop limiting the performance of my stream. That's why I'm trying to do it using only OpenCV but I wasn't able to find a solution so far. Really appreciate some help here.

Thanks!

Can Ozcivelek
  • 33
  • 1
  • 5
  • you can create one image with both frames and display it with OpenCV as in any tutorial. OpenCV gives you frames as numpy arrays so you can put values from one array to other array. – furas Feb 11 '20 at 13:50
  • 1
    Take a look at [Python OpenCV streaming from camera - multithreading, timestamps](https://stackoverflow.com/questions/55099413/python-opencv-streaming-from-camera-multithreading-timestamps/55131226), [How to capture multiple camera streams with OpenCV](https://stackoverflow.com/questions/58592291/how-to-capture-multiple-camera-streams-with-opencv), and [Video Streaming from IP Camera in Python Using OpenCV cv2.VideoCapture](https://stackoverflow.com/questions/55828451/video-streaming-from-ip-camera-in-python-using-opencv-cv2-videocapture/55838623) – nathancy Feb 11 '20 at 21:38
  • Hi, thanks for the tips! I actually got it working with the example you provided. Thank you very much! – Can Ozcivelek Feb 13 '20 at 06:59

0 Answers0