View: 922|Reply: 1

Rasp Tank picam error

[Copy link]

1

Threads

1

Posts

5

Credits

Newbie

Rank: 1

Credits
5
Post time 2021-5-18 21:45:31 | Show all posts |Read mode
webServer.py gives error:

VIDEOIO ERROR: V4L2: Pixel format of incoming image is unsupported by OpenCV
Reply

Use magic Report

0

Threads

1

Posts

4

Credits

Newbie

Rank: 1

Credits
4
Post time 2021-7-12 01:39:36 | Show all posts
The error is caused by installation opencv.

In file setup.py, comment the line of install opencv-contrib-python

Install open-cv from --> https://pysource.com/2018/10/31/ ... tallation-tutorial/

if opencv not run with user "root" and opencv run with user "pi" then --> sudo pip3 install opencv-python
Reply

Use magic Report

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

Points Rules