Open lankoestee opened 2 weeks ago
Yes. I've tried something like that by streaming the frame as pngs to the PNG pane.
There is an unfinished tutorial here https://github.com/holoviz/panel/pull/6727. Look at the tutorial. It's probably more advanced than you n eed, but I hope you can find inspiration from it.
@MarcSkovMadsen Thanks! The tutorial you mentioned is very useful! However, the video display fps is very slow. When I use the cv2.imshow
method, I can reach a display frame rate of 15fps, but the frame rate is significantly lower when using the tutorial method. Is there any better way to solve this problem?
When I use the
VideoStream
class to get the network camera information, it can only get the video stream information of the local camera. If I want to use a remote network camera, such as a video stream transmitted through the rtmp or rtsp protocol, how should I display it in the panel?Using opencv can achieve the effect I want:
Is it possible to use Panel's
VideoStream
to achieve the above effect?