The Composable Video Pipeline
To demonstrate the benefits of the composable overlay, we are providing a composable video pipeline that you can use out-of-the-box. An overview of the composable video pipeline is shown in the image below.
This version implements several standard vision functions. The most common
functions are implemented in the static region, these account for 6 functions.
The composable overlay also provides 12 dynamic functions implemented across
4 DFX regions, note that pr_0
and pr_1
provide pairs of functions.
Static IP |
---|
colorthresholding |
filter2d |
gray2rgb |
lut |
rgb2gray |
rgb2hsv |
Dynamic IP |
DFX Region |
---|---|
absdiff |
pr_join |
add |
pr_join |
bitwise_add |
pr_join |
cornerHarris |
pr_1 |
dilate |
pr_0 & pr_1 |
duplicate |
pr_fork |
erode |
pr_0 & pr_1 |
fast |
pr_0 |
fifo |
pr_0 & pr_1 |
filter2d |
pr_0 |
rgb2xyz |
pr_fork |
subtract |
pr_join |
You can rebuild the video pipeline by running make
in the
Pynq-Z2
folder
You can also rebuild the composable overlay for Pynq-ZU and Kria KV260
The Composable Video Pipeline also uses the following python modules:
pynq_composable.libs
- Drivers to control the vision IP cores.
pynq_composable.video
- Drivers to control video sources and sinks.
pynq_composable.apps
- API for higher level applications and pre-configured applications.