Questions tagged [raspberry-pi4]

PROGRAMMING QUESTIONS ONLY. Questions about general use should be asked on https://raspberrypi.stackexchange.com/

The Raspberry Pi 4B comes in three different models, the only difference being the amount of SDRAM (1GB, 2GB or 4GB).
The most notable spec improvements, compared to older models are:

  • 1.5GHz 64-bit quad-core Cortex-A72 ARM v8 CPU
  • 1GB, 2GB or 4GB LPDDR4-3200 SDRAM (depending on model)
  • Gigabit Ethernet
  • 2.4 / 5GHz 802.11ac Wireless LAN
  • Bluetooth 5.0 BLE
  • 2x USB 2.0, 2x USB 3.0
  • 2x micro HDMI ports (both support up to 4kp60)

Visit Raspberrypi-Stackexchange for general questions about the Raspberry Pi.
Also useful might be the original raspberry-pi tag info.

1309 questions
-1
votes
1 answer

PHP not showing sql query result but no error codes to highlight why

I'm trying to get data from a Microsoft SQL database using PHP which the PHP is based on a Raspberry PI running Apache2 and the database on a separate server. From the Raspberry PI I can connect to the server OK but when I try using PHP to get the…
-1
votes
1 answer

After openvino upgrades opencv, it cannot execute any program of cv2

I'm using raspberry pi 4 and installed openvino to use the recognition feature. I ignored that the cv2 version is 4.2.0-openvino, because the dnn function cannot be used, so I upgraded opencv. After the upgrade, my original code did not execute.…
Mr.wang
  • 1
  • 1
-1
votes
1 answer

Problem compare 2 photos and find differences in Python code

Can someone help what is wrong in code. I need code compare 2 PCB images and show where is differences. I'm new in code. Result must be to show differences in the image. I have tried everything and did not find solution. import cv2 import numpy as…
-1
votes
1 answer

Raspberry Pi 4: 2x UART device + display touch; I can't see TOUCH device

i have quite specific SW / HW problem probably related with serial communication... My project is based on Raspberry Pi 4 + 7" Touch screen + ESP32 microcontroller and i have problem with screen touch function. Project detailed architecture: on…
lukassliacky
  • 364
  • 7
  • 25
-1
votes
1 answer

Solar powered automatic bell system with smoke detection using raspberry pi

Guys I want to ask if possible to create a solar powered automatic bell system with smoke detection using raspberry pi? And I worries if the raspberry pi have real time clock? Because I need a RTC to execute the bell in exact alarm for certain…
-1
votes
1 answer

Embedded Rust on a pi 4

im a beginner in embedde rust on a raspberry pi. Need some help for loading code via toolchain on the pi 4. Tanks for helping i hope someone can help me with that or show me where i can get a guide
-1
votes
2 answers

(OpenCV , cv2) The cv2.error while capture the image through camera lens

Error (-215) size.width>0 && size.height>0 occurred when attempting to display an image using OpenCV I have the similar issue with this discussion, after I read it still don't have clue for how to address mine,that I post my case here I use…
j ton
  • 229
  • 9
-1
votes
1 answer

How to display fps of streaming video in gsteramer?

I'm using ov5647 MIPI sensor with Raspberry Pi 4 model B, to stream video I'm using gstreamer with v4l2 to stream command: gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! xvimagesink sync=false what modification do I need to do with…
-1
votes
1 answer

Creating RESTful server for raspbery pi 4 to display images

I got a task and have absolutely no clue on how to do it at the moment. I watched a couple of tutorials on REST API, but none of them are applicable for my application. I don't intend to use a localhost, but if it's required then sure. What is this…
sajid
  • 1
-1
votes
1 answer

How to implement the OpenGL API in a custom arm os

I'm developing an operating system targetting the ARM architecture, more specifically, a RaspberryPi 4B. For that I've already managed to use the "Mailbox Property Interface" to draw some shapes on the screen. Out of curiosity I would like to know…
-1
votes
1 answer

Where can I find documentation downloaded from Add/Remove software on Raspberry Pi 4

I have been playing around with the RPI4 and found that under Add/Remove software, that there is a section to download documentation. I installed a few of the packages that I thought would be interesting to read-up on, but I cannot find them…
Yeckminh
  • 9
  • 1
  • 1
-1
votes
2 answers

VLC Raspberry pi 4 how to send audio to HDMI 2 via command line?

I'm running Rasbian OS on a raspberry pi 4 with two HDMI ports and via terminal, I can run a video with audio working on HDMI 1 using sudo cvlc --alsa-audio-device default video.mp4 now the problem I'm facing is running a second video on HDMI 2 with…
rijotech
  • 356
  • 3
  • 17
-1
votes
1 answer

/opt/cmake/bin/cmake no file in the directory

I am installing Qt6 using this guide on my fresh raspberry pi 4 running the latest official 32bit OS https://www.tal.org/tutorials/building-qt-62-raspberry-pi and i am stuck in the Configure the Qt 6.2 build portion where it asks me to execute this…
DrakeJest
  • 225
  • 3
  • 13
-1
votes
1 answer

Raspberry Pi - change keyboard shortcuts

on RPI its possible to open the terminal with keyboard shortcut CTRL+ALT+T. Is there any way to change this shortcut to another combination or completely remove it?