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. Collect a simple still image from USB camera
Forum Updated to NodeBB v4.3 + New Features

Collect a simple still image from USB camera

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 86 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.
  • J Offline
    J Offline
    jso111
    wrote last edited by
    #1

    I'm having tremendous difficulty in simply capturing one image from the USB camera I use as a webcam using C++. I see the camera example code, but this is so complex as to make it very challenging to figure out how to easily use the camera.

    Chat GPT seems quite helpful, but it is pulling code from QT5, using functions that no longer exist.

    Anybody know of simple C++ code to just get one camera image?

    thanks!

    1 Reply Last reply
    0
    • W Offline
      W Offline
      wenter
      wrote last edited by
      #2

      Refer to these classes for <QCamera>、<QCameraViewfinder>、<QCameraImageCapture>, which should solve your problem

      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