Vitis视觉库是一个FPGA加速视觉功能的集合,类似于OpenCV中的功能。
虽然这些内核的实现并不依赖于OpenCV,但许多视觉库的功能都提供了示例设计测试平台,使用OpenCV来演示加速内核的功能。
OpenCV 库安装可能非常复杂,具体取决于系统的性质。虽然赛灵思不支持使用Vitis HLS和Vitis Accelerated Libraries开发时安装OpenCV的具体方法,但本回答记录提供了几个公共资源,应该可以在安装过程中帮助客户。
<strong>解决方法</strong>
2020.x Vitis Vision Library示例设计是使用OpenCV 3.4版本进行验证的。
新版本的OpenCV也可以使用,但是库的功能会随着版本的变化而变化,因此,可能需要修改示例设计测试平台。
<strong>官方文档</strong>
https://docs.opencv.org/
<strong>Ubuntu</strong>
<p data-aura-rendered-by="57:221;a"><a target="_blank" href="https://www.learnopencv.com/install-opencv-3-4-4-on-ubuntu-16-04/">在 Ubuntu 16.04 上安装 OpenCV 3.4.4</a></p>
<p data-aura-rendered-by="57:221;a"><a target="_blank" href="https://www.learnopencv.com/install-opencv-3-4-4-on-ubuntu-18-04/">在 Ubuntu 18.04 上安装 OpenCV 3.4.4</a></p>
<strong>CentOS 7</strong>
<a target="_blank" href="https://www.learnopencv.com/install-opencv-3-4-4-on-centos-7/">在 CentOS 7 上安装 OpenCV 3.4.4</a>
<strong>Windows</strong>
<p data-aura-rendered-by="57:221;a"><a target="_blank" href="https://jeanvitor.com/cpp-opencv-windonws10-installing/">在 Windows 10 上安装和使用 OpenCV 3.3 或 3.4</a></p>
<p data-aura-rendered-by="57:221;a"><a target="_blank" href="https://www.learnopencv.com/install-opencv-3-4-4-on-windows/">在 Windows 上安装 OpenCV 3.4.4</a></p>
<strong>Anaconda 软件包</strong>
OpenCV 3.4.3
https://anaconda.org/loopbio/opencv (Linux)
https://anaconda.org/kitware-danesfield-cf/opencv (Linux)
https://anaconda.org/paulooliveirafiap/opencv (Win)
https://anaconda.org/paulorobertoliveira/opencv (Win)
<strong>Docker</strong>
<a target="_blank" href="https://www.learnopencv.com/install-opencv-docker-image-ubuntu-macos-wi… Ubuntu 或 Windows 上安装 OpenCV Docker 映像</a>