Qt QCamera Part-1 | Connect Camera With Application | Web Camera

แชร์
ฝัง
  • เผยแพร่เมื่อ 2 ต.ค. 2024

ความคิดเห็น • 50

  • @フンホアン
    @フンホアン 3 หลายเดือนก่อน

    Help me fix this bug
    D:\Qt\cayvcl\build\Desktop_Qt_6_7_1_MinGW_64_bit-Debug\ui_mainwindow.h:19: error: qcameraviewfinder.h: No such file or directory
    In file included from ..\..\mainwindow.cpp:2:
    ./ui_mainwindow.h:19:10: fatal error: qcameraviewfinder.h: No such file or directory
    19 | #include
    | ^~~~~~~~~~~~~~~~~~~~~
    Pls bro 🥺🥺🥺

    • @qtwithketan
      @qtwithketan  3 หลายเดือนก่อน

      Thanks for watching my video.
      QCameraViewfinder class in not available in Qt 6
      use QVideoWidget insted of QCameraViewFinder in Qt 6.7.1

  • @estilay
    @estilay 3 หลายเดือนก่อน

    Thanks for your videos, I really appreciate your work! Is it possible to connect ip camera with Qt and don't use other libraries such as opencv? I've read about QNetwotk, but it didn't help so much and I didn't find any solution without using libraries. 😔

    • @qtwithketan
      @qtwithketan  3 หลายเดือนก่อน

      Thanks for watching my video. Glad you like my video.
      Right now i don't have IP camera to check so i will not give you any wrong way or solution.
      Try to readout following links:
      doc.qt.io/qt-5/qmediacontent.html#details
      stackoverflow.com/questions/30494319/qt-stream-ip-camera-video

  • @failed_edits
    @failed_edits 11 หลายเดือนก่อน +2

    Finally we heard your voice thanks for these amazing lectures brother

    • @qtwithketan
      @qtwithketan  11 หลายเดือนก่อน

      Thanks for watching video.
      Glad you like my videos and voice.

  • @narwresbarhoumi2292
    @narwresbarhoumi2292 7 หลายเดือนก่อน +1

    i have a question ,imade like this importation library of multimedia (#include
    #include )
    it's correct ?

    • @qtwithketan
      @qtwithketan  7 หลายเดือนก่อน

      Thanks for watching my videos.
      Yes, You can also include library like this.

  • @RaviHedau-sj7wt
    @RaviHedau-sj7wt 4 หลายเดือนก่อน

    It too awesome solution sir. I have an Question: I have 3 (USB) different capture card connected to computer and i want to connect very specific as you told we have to change your camera from QCameraInfo::defaultcamera(). so how can i connect it from qt5 ++?

    • @qtwithketan
      @qtwithketan  4 หลายเดือนก่อน

      Thanks for watching my video.
      Glad you like my videos.
      To Connect any specific camera. you can use devicename of your camera.
      You can follow The below Code.
      for (const QCameraInfo &caminfo : QCameraInfo::availableCameras())
      {
      if (caminfo.deviceName() == "YOUR_DEVICE_NAME")
      {
      M_Camera.reset(new QCamera(caminfo));
      break;
      }
      }

  • @thirumalak2054
    @thirumalak2054 4 หลายเดือนก่อน

    THanks for the video streaming video sir. i have also written the code like this but not able to find the camera. how to find the carema by qt? please explain.

    • @qtwithketan
      @qtwithketan  4 หลายเดือนก่อน +1

      Thanks for watching my video.
      Glad you like my videos.
      Did you include the Qt Multimedia plugins in your application ?

    • @thirumala8065
      @thirumala8065 4 หลายเดือนก่อน

      Yes sir. I have added. I found the issue sir. Actually Ubuntu is not identifying the camera. Webcams options is not coming in virtual box. And this is my office laptop, so need admin permissions to change cam settings in ubuntu.

    • @qtwithketan
      @qtwithketan  4 หลายเดือนก่อน +1

      @@thirumala8065
      Okay You Are working with Ubuntu.
      Glad to hear you got the solution and understood the problem.

    • @thirumala8065
      @thirumala8065 4 หลายเดือนก่อน

      ​@@qtwithketan thank you sir. It is because of you I learned qt. Thanks alot.

    • @qtwithketan
      @qtwithketan  4 หลายเดือนก่อน

      @@thirumala8065
      Thanks for watching my video and your gental suppport
      Glad you like my videos.
      i hope my videos are helpful for you.

  • @cyril442
    @cyril442 8 หลายเดือนก่อน

    Thank you for video. Do you know how to connect IP-camera using URL-link?

    • @qtwithketan
      @qtwithketan  8 หลายเดือนก่อน +1

      Thanks for watching my video.
      I sugget you to use your camera SDK For it.
      And Also you can use Qt Network And Qt Multimedia Module classes for it.

  • @zergap1
    @zergap1 11 หลายเดือนก่อน

    Thank you so much. Studying Qt has been very helpful. I’m looking forward to more videos. Please let me know if there’s a way to develop in vscode.

    • @qtwithketan
      @qtwithketan  11 หลายเดือนก่อน

      Thanks for watching video.
      Glad you like my videos.
      VSCode Is source-code editor software which mostly used to write the code easily because of syntax highlighting, intelligent code completion, snippets, code refactoring functionality.

  • @herbirsey3174
    @herbirsey3174 11 หลายเดือนก่อน

    These are the codes I wrote; I have classes named btnitemdelegate, mainpage and update. The signal goes from the btnitemdelegate class to the mainpage class with a parameter. I send a signal from the mainpage class to the update class with a parameter. I want you to do this here; How can I include the .h files of these classes with each other? I also want to send a signal from the update class to the mainpage class again. How can I do that? What I really want is; Learning how to include .h files with each other?

    • @qtwithketan
      @qtwithketan  11 หลายเดือนก่อน

      Thanks for watching my video.
      if i am right you want to call signal and slot function across thi multiple class and you want to learn how to include .h file to fulfill this functionality.

    • @herbirsey3174
      @herbirsey3174 11 หลายเดือนก่อน

      @@qtwithketan Yes Please, The other situation is this; When the click event on class A is triggered, I want to pass a QModelIndex parameter to class B. I couldn't find how to do this. Thanks

    • @qtwithketan
      @qtwithketan  11 หลายเดือนก่อน

      just simply create signal in your Class A and emit The signal with your QModelIndex parameter on your click event, now just create and connect your class A signal with your any slot function with QModelIndex Parameter of class B, so whenever click event called that time you class B slot function is automatically called.

    • @herbirsey3174
      @herbirsey3174 11 หลายเดือนก่อน

      Thank you very much@@qtwithketan

    • @qtwithketan
      @qtwithketan  11 หลายเดือนก่อน

      I hope my video is helpfull for you.

  • @iem2012han
    @iem2012han 11 หลายเดือนก่อน

    Are you using Qt5 or Qt6? I have trouble promote QCameraviewfinder on qt6

    • @qtwithketan
      @qtwithketan  11 หลายเดือนก่อน

      Thanks for watching my videos.
      I am using Qt5 And Version is Qt 5.15

    • @AmanKumar-cz6ht
      @AmanKumar-cz6ht 11 หลายเดือนก่อน

      i am also facing the same issue of QCameraviewfinder in qt6. But works fine in qt5. But still not able to understand why QCameraviewfinder is not working in qt6 can you tell me bit about QCameraviewfinder what is main use of this. Thanks in advance

    • @qtwithketan
      @qtwithketan  10 หลายเดือนก่อน

      Thanks for watching my videos.
      In Qt6 You can develop this funtionality with use of QVideoWidget And QMediaCaptureSession.
      QCameraviewfinder is also Inherit by QVideoWidget.

    • @AmanKumar-cz6ht
      @AmanKumar-cz6ht 10 หลายเดือนก่อน

      Hey I want few sessions on qt6 related to multimedia that will be paid, could you give?

    • @qtwithketan
      @qtwithketan  10 หลายเดือนก่อน

      Thanks for watching my videos.
      To Discuss about private attention and sessions, Please message me on instagram or you can also send the Email.
      you can find all contact information in about section on my TH-cam Channel.

  • @ffilloux1897
    @ffilloux1897 11 หลายเดือนก่อน

    so cool wow

    • @qtwithketan
      @qtwithketan  11 หลายเดือนก่อน

      Thanks for watching video.
      Glad you like my videos.