|
Hello,
TLDR - when I start the webServer.py, the camera image in the Web Controller is frozen.
I recently assembled and configured the Pi Mars Rover.
Following the tutorials, I arrived at the point where the camera is setup and is supposed to send an image stream to the web page hosted by the Raspberry Pi: "Lesson 11 Transmit Image in Real Time"
When I follow instructions in section "11.2 Transmitting via Flask-Video-Streaming", and run app.py from folder flask-video-streaming, then I can see live images when I call the PI IP's address from a browser.
Then, going to section "11.5 Real-time video display on the web page", I try to have live images on the web controller.
But when webServer.py is started, I can only see the first image, then the camera images are frozen. The shell gives this feedback (see attached image).
I am confused about the reason why live images are not transmitted.
The camera is correctly powered (red LED on), and each time I re-run webServer.py, there is a new image taken by the camera, but only one.
I guess I am not sure what should contain the files "app.py", "base_camera.py" and "camera_opencv.py" that are in the folder adeept_picar-b/server. Should they be modified or stay as they are when the repo is cloned?
Thanks a lot for reading,
Francesco
|
-
|