Hallo!
Bahnhof !!!
Anyway, ich habe mal versucht was aufzusetzen.
Python
from picamera.array import PiRGBArray
from picamera import PiCamera
import time
import cv2
camera = PiCamera()
rawCapture = PiRGBArray(camera)
time.sleep(0.1)
camera.capture(rawCapture, format="bgr")
image = rawCapture.array
cv2.imshow("Image", image)
cv2.waitKey(0)
Alles anzeigen
Ich erhalte dann die Fehlermeldung:
ZitatAlles anzeigenpi@raspberrypi:~/forumtest/palt-tilt-cam $ nano test_image.py
pi@raspberrypi:~/forumtest/palt-tilt-cam $ python3 test_image.py
/usr/lib/python3/dist-packages/picamera/encoders.py:544: PiCameraResolutionRounded: frame size rounded up from 1680x1050 to 1696x1056
width, height, fwidth, fheight)))
Unable to init server: Could not connect: Connection refused
(Image:893): Gtk-WARNING **: 13:25:25.990: cannot open display:
Habe ich damit "den" Fehler bewiesen oder einen neuen erschaffen ??