I'm trying to capture video from raspberry pi camera using OpenCV and display it without using gtk or x11. I noticed that raspivid displays camera output without using any window, I wonder if it's possible to use the same method to make opencv display video without using gtk.
Edit: I'm using raspbian lite without any desktop environment or GUI services, it's just a tty environment. I don't want to use any of their lightweight counterparts. How can I create a frame to display a picture/video on a tty environment and also use that approach to make OpenCV use it instead of regular windows generated by namedWindow() function?