Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Clear example for drawing lines & areas(polygons) in rtsp video frame with mouse
Forum Updated to NodeBB v4.3 + New Features

Clear example for drawing lines & areas(polygons) in rtsp video frame with mouse

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 352 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    RahibeMeryem
    wrote on last edited by
    #1

    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 ?

    jsulmJ 1 Reply Last reply
    0
    • R RahibeMeryem

      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 ?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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).

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      R 1 Reply Last reply
      0
      • jsulmJ jsulm

        @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).

        R Offline
        R Offline
        RahibeMeryem
        wrote on last edited by
        #3

        @jsulm is there any example that draws polygons / lines over frame captured image ? and than get the coords ?

        Best

        jsulmJ 1 Reply Last reply
        0
        • R RahibeMeryem

          @jsulm is there any example that draws polygons / lines over frame captured image ? and than get the coords ?

          Best

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @RahibeMeryem Did you actually read my previous post? Or why do you ask me same question again?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved