Clear example for drawing lines & areas(polygons) in rtsp video frame with mouse
-
Hi,
I could'nt find a complete example for drawing lines and polygons with mouse on the rtsp received video.
Later on I want to use this lines and area coordinates.
I want coulnt find an exmple
is there any ?
-
Hi,
I could'nt find a complete example for drawing lines and polygons with mouse on the rtsp received video.
Later on I want to use this lines and area coordinates.
I want coulnt find an exmple
is there any ?
@RahibeMeryem I doubt you will find a complete example.
You can put a transparent widget over the video widget and draw lines/polygons there in https://doc.qt.io/qt-6/qwidget.html#paintEvent using https://doc.qt.io/qt-6/qpainter.html (there is an example in last link). -
@RahibeMeryem I doubt you will find a complete example.
You can put a transparent widget over the video widget and draw lines/polygons there in https://doc.qt.io/qt-6/qwidget.html#paintEvent using https://doc.qt.io/qt-6/qpainter.html (there is an example in last link).@jsulm is there any example that draws polygons / lines over frame captured image ? and than get the coords ?
Best
-
@jsulm is there any example that draws polygons / lines over frame captured image ? and than get the coords ?
Best
@RahibeMeryem Did you actually read my previous post? Or why do you ask me same question again?