View: 221|Reply: 1

Camera image frozen after starting webServer.py (on Pi car rover)

[Copy link]

1

Threads

1

Posts

7

Credits

Newbie

Rank: 1

Credits
7
Post time 2022-9-15 06:22:50 | Show all posts |Read mode
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




Capture.PNG
Reply

Use magic Report

0

Threads

1

Posts

4

Credits

Newbie

Rank: 1

Credits
4
Post time 2022-9-19 03:58:08 | Show all posts
Hi,

try another browser. It doesn't work with firefox, for me edge workes fine.
I think that's mentioned somewhere in the manual also.

BR
Reply

Use magic Report

You have to log in before you can reply Login | Sign Up

Points Rules