|
Hello,
You can try the following methods to solve this problem:
1. Only connect Raspberry Pi, Robot HAT, and Camera
2. Run "sudo python3 adept_raspclaws/setup. py" from the Raspberry Pi command line to install the dependency libraries.
3. After installation, Raspberry Pi will restart. After successful configuration, Raspberry Pi will automatically run the webServer. py program, which needs to be manually terminated in order to proceed with the following steps.
Run "sudo kill python3" on the Raspberry Pi command line to terminate the automatically running program.
4. Enter the command: "raspistill-t 1000- o image.jpg". Under normal circumstances, Raspberry Pi will take a photo named image.jpg, which can be viewed through "ls". If an error occurs during operation, please check if the camera is installed correctly until this command can run successfully.
5. Then run "sudo python3 adept_raspclaws/server/webServer. py"
6.If there are no errors when running the program, please use Google Chrome to enter the web control interface through "Raspberry Pi IP address"+": 5000". At this time, you can see the Raspberry Pi camera screen on the web control interface. For example: 192.168.1.98:5000
7. If there is an error during operation, please provide a picture of the error message so that we can accurately solve your problem
If the above method does not work, please modify line 411 of the "camera_opencv. py" file in "adeept_raspclaws/server" to read "camera=cv2. VideoCapture (Camera. videos_source)" instead of "camera=cv2. VideoCapture (-1)"
Trying the above steps.
Best!
------------------------------------------
Adeept Tech Support Team
Adeept Technology Co., Ltd.
E-mail: support@adeept.com
Web: www.adeept.com
|
|