Skip to content

Commit 71e2910

Browse files
Update README.md
1 parent a813c7b commit 71e2910

1 file changed

Lines changed: 19 additions & 3 deletions

File tree

README.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ GPIO_example.py brings an example of control of the pins of the nano jetson allo
3939
```
4040
sudo apt install v4l-utils
4141
```
42-
## Install pip2 for python2 package installation
42+
## Install pip for python2 package installation
4343
```
4444
sudo apt update
4545
sudo apt install python-pip
4646
```
47-
## Install v4l2 package for python 2.7.17 (preinstalled in the Jetson image)
47+
## Install v4l2 package for python2
4848

4949
```
50-
pip2 install v4l2
50+
pip install v4l2
5151
```
5252

5353
## Run script
@@ -63,3 +63,19 @@ It is also possible to change the format to take picture in Y10 or GRAY8. Y10 im
6363
# Video display with matplolib
6464

6565
video_flux_and_capture_numpy_matplotlib.py provides an example of streaming the video flux using matplotlib, you can also see in the code how to put the images in a numpy array. This codes provides really bad streaming performances with a maxmum of 5/10 fps this is due to the usage of matplotlib, it hasn't been develop for video streaming, we are using it only to show how to use the driver with numpy.
66+
67+
Prerequies:
68+
```
69+
sudo apt-get install libfreetype6-dev pkg-config libpng-dev pkg-config
70+
```
71+
```
72+
pip install numpy
73+
```
74+
```
75+
pip install matplotlib
76+
```
77+
78+
Start the example:
79+
```
80+
python video_flux_and_capture_numpy_matplotlib.py
81+
```

0 commit comments

Comments
 (0)