adeept / adeept_picarpro

MIT License
7 stars 13 forks source link

OpenCV error #9

Open WillCodesThings opened 2 years ago

WillCodesThings commented 2 years ago

Whenever I run the python script webServer.py, it stops and throws error:

image

The camera is installed correctly, and I am using the recomended version of the raspberry pi OS.

adeept commented 2 years ago

Hello, The Raspberry Pi will automatically run the program webServer.py when it is turned on. The webServer.py program will occupy the camera. If the program related to the camera is run again, the program will report an error. When you need to run the program manually, you need to stop the automatic running program.

  1. Enter on the Raspberry Pi command line: sudo killall python3 (to abort the autorun program)
  2. Enter the Raspberry Pi photo command: "raspistill -t 1000 -o image.jpg", under normal circumstances, the Raspberry Pi will take a photo named image.jpg, which can be viewed by entering "ls". If the operation reports an error, please check whether the camera is installed correctly until the command can run successfully. Or the camera has been damaged. Note: The Raspberry Pi needs to be powered off when plugging and unplugging the camera cable, otherwise the camera may be damaged.
  3. Enter "sudo python3 adeept_picarpro/server/webServer.py" in the Raspberry Pi.
  4. If there is no error when running the program, please use Google Chrome to enter the web control interface through "Raspberry Pi IP address" + ":5000", and you can see the Raspberry Pi camera screen on the web control interface. For example: "192.168.3.98:5000".
  5. If an error is reported, please provide a picture of the error message so that we can accurately solve your problem.

Best!

Technical Support @.***

---- Replied Message ---- From @.>Date 6/30/2022 07:40To @.>Cc @.***>Subject [adeept/adeept_picarpro] OpenCV error (Issue #9)

Whenever I run the python script webServer.py, it stops and throws error:

The camera is installed correctly, and I am using the recomended version of the raspberry pi OS. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>