I just finished assembling the pidog robot, and everything is ok, but the camera does not work properly. When I try to stream it, it just sends the first image and then freezes.
What I have done:
- I assembled the Pidog with a Raspberry Pi 4 Model B with 4 GB RAM, and with the recent os version: Linux 13, “Trixie”, Debian full version 13.1
- I install vilib version “0.3.18”, as appear in /vilib/vilib/version.py.
- I notice that it does not work properly when trying to run /pidog/examples/7_face_track.py, it just responds to sound but not to faces.
- I test the camera using rpicam-hello, rpicam-still, and rpicam-vid, from the terminal, and the results are fine. I can obtain a video on screen, an image, and a video file, respectively.
- Then I test with /vilib/examples/display.py and no error shows in the terminal, just as is included in quotes below,
“”"
agepidog@agepidog:~/vilib/examples $ python3 display.py
vilib 0.3.18 launching …
picamera2 0.3.31
Imgshow start …
Web display on:
http://<ip_address>:9000/mjpg
Starting web streaming …
press Ctrl+C to exit
- Serving Flask app ‘vilib.vilib’
- Debug mode: off
“”“”
And when I try to access http://<ip_address>:9000/mjpg in a web browser as is indicated, I can see a still image, not a stream, and it looks like it is the first image taken when the server was up.(Obviously for <ip_address>, I use my real local IP)
Please help, and thanks in advance
