|
Hi,
I followed the instructions in this tutorial:
https://www.adeept.com/video/static1/itemsfile/511343Tutorial.pdf
I downloaded the repo to my raspberry pi 4:
git clone https://github.com/adeept/Adeept_AWR.git
then I did: sudo python3 Adeept_AWR/setup.py
Then shutdown, connecting the camera and the HAT and reboot - but I can't open the web page http://192.168.x.xxx:5000/
Manually running
sudo python3 webServer.py
shows:
mpu6050 disconnected, ARM MODE ON
......................pause..........................
Starting camera thread.
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (1824) handleMessage OpenCV | GStreamer warning: Embedded video playback halted; module v4l2src0 reported: Failed to allocate required memory.
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (914) open OpenCV | GStreamer warning: unable to start pipeline
[ WARN:0] global ../modules/videoio/src/cap_gstreamer.cpp (501) isPipelinePlaying OpenCV | GStreamer warning: GStreamer: pipeline have not been created
Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 892, in run
self._target(*self._args, **self._kwargs)
File "/home/axl/Adeept_AWR/server/base_camera.py", line 94, in _thread
for frame in frames_iterator:
File "/home/axl/Adeept_AWR/server/camera_opencv.py", line 448, in frames
yield cv2.imencode('.jpg', img)[1].tobytes()
cv2.error: OpenCV(4.5.1) ../modules/imgcodecs/src/loadsave.cpp:934: error: (-215:Assertion failed) !image.empty() in function 'imencode'
|
|