I try to cross-compile openCV for Raspberry Pi4, I’ve used the guide here Open-CV cross-compile guide. The Raspberry Pi4 runs Alpine and I don’t want any installed libraries or packages there. OpenCV is cross-compiled successfully, but when I try to use it in my apk, I get some errors. My main.cpp code: #include <opencv2/opencv.hpp> #include ..
I am currently working on a project to calculate the true bearing of a particular object. So far I have been able to calculate the magnetic declination using a C++ library and code, by manually plugging in the latitude and longitude values. extract latitude, longitude and altitude from a GPS module using a python library ..
I would like to know if there is a way to get the raspberry pi’s CPU temperature in C++ code, I’m using a Raspberry Pi 4b. Any help is really appreciated! Source: Windows Que..
I am currently working on a school project. It’s written in C++, we are running it on a Raspberry Pi 4 Model B, with the Raspberry Camera Module v2. When I change the default resolution (which is 640×480 pixels) to any other value (I tried HD, FHD and 3280×2464) I get no input from camera. ..
I’m writing my own video player for Raspberry Pi 4. Right now I have a working version that is capable of very fast HW decoding (up to 50 fps) but the rendering part is not fast enough (around 24 fps). I’m using OpenGL ES 3.0 and the program runs as a Wayland client. The way ..
I’m programming a software in C++ with Qt5.15.2. I need to deploy it on a Raspberry Pi 4 and installed Qt Creator and Qt5.15.2 on the Raspberry (I know I can also do a cross-compile but I keep it for later). When I try to run the the software from QtCreator I get the error ..
I written test code in Raspberry Pi 4 with OpenCV and C++ and I’m tried to get 1640×1232 40 FPS but just get 5-6 FPS. And CPU usage up to %70-%80. I’m tried to get 1640×1232 40 FPS with Raspivid. And I did. Also the CPU usage up to %1. So what could be the ..
I am trying to open a webcam for video streaming on my raspberry pi 4 with OpenCV 4. The VideoCapture constructor in OpenCV takes the index/address of the location of the device. Using ‘lsusb’ I get this: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 046d:08c5 Logitech, ..
An motor driver that is written in C ++ but cannot be connected to the Qt. We also talked to the manufacturer, but to no avail. But the Library works in Raspberry Pi and has example. Is there a way for the Qt program to connect and exchange data with the program running the engine ..
i developed an application using pyqt5 and pyqtgraph. The app works fine on Raspberry Pi4 but it crashes on Windows. My app contains 4 graph widgets,the content of the graphs changes every 1ms (using Qtimer to update data). When i disabled 3 graphs it worked fine. does this make any sens ? Could you please ..