Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Gap while reloading image from webcam
Forum Updated to NodeBB v4.3 + New Features

Gap while reloading image from webcam

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 1 Posters 1.8k Views 1 Watching
  • 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.
  • F Offline
    F Offline
    f.vanalmetelevic.com
    wrote on last edited by
    #1

    I use QWebView to show images (jpg) from a webcam. The images are refreshed every ten seconds by calling the reload of the webview object. This works fine, except that, while loading the next image, the current image is already removed resulting in a gap of 1 or 2 seconds between consecutive images. Is there a way to avoid this ? A way to have smooth transitions from one image to the other ? A way to keep the current image visible while next is loading (in background?) ?

    (note : application runs on an embedded system with i.MX27 processor and 800 × 480 display)

    1 Reply Last reply
    0
    • F Offline
      F Offline
      f.vanalmetelevic.com
      wrote on last edited by
      #2

      From QWebView::load description :
      "Note: The view remains the same until enough data has arrived to display the new url".

      As I have a gap between two consecutive images, does that mean that it is displaying the image that takes time and causes the gap ? As it is removing the previous image, it has, according to the note, reveived enough data to display the new url...

      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