Skip to content

Qengineering/Qt5-OpenCV-Raspberry-Pi-Jetson-Nano

Repository files navigation

Qt5-OpenCV-Raspberry-Pi

Native build of Qt5 creator on Raspberry Pi 4 or Jetson Nano with OpenCV support

A live camera C++ example on a Raspberry Pi 4 / Jetson Nano with Qt5 GUI using OpenCV

License

see Qt5 where this example is explored.

Dependencies.

To run the application, you have to:


Running the app.

To run the application load the project file Viewer.pro in the Qt5 Creators.

Select the OS you are using in myvideocapture.cpp at line 30.

Bullseye

    //  Raspberry Pi Bullseye
    mVideoCap.open(pipeline, cv::CAP_GSTREAMER);

Buster

    //  Raspberry Pi Buster or Jetson Nano
    mVideoCap.open( ID_CAMERA );



paypal