Important: Please read the Qt Code of Conduct -

QCamera focus over some area, suggestions.

  • HI, I'm developing a program in c++ for security camera for my neighbourhood that uses a webcam (I'm using my webcam to test).
    I'm using a QCameraFocus to zoom in and zoom out using the zoomTo() function, it works, but it just focuses in the center, and I would like to zoom over some area, like the corner in the view. I tried using setCustomFocusPoint but it didn't work. Also I would like to rotate some degrees.
    I would like to receive some suggestions to get zoom over any area and rotate some degrees.

  • Banned

    This post is deleted!

  • Lifetime Qt Champion


    Does your camera provider offer any API for that ?

  • @SGaist , I'm currently testing with my laptop webcam (according lsusb command Chicony Electronics is the information about my webcam), but for my project deploy I'm going to use a Logitech webcam c270. I've been looking for information about some API of my webcam, but I did not found something related with Qt.

  • Lifetime Qt Champion

    Qt cannot cover every possible APIs. By the way what OS are you running ? They do not all offer all the range of controls.

Log in to reply