我试着从源代码编译它,但结果发现很多库都丢失了,比如Nonfree。建议使用dnf安装它吗?我有Fedora 23
sudo dnf install opencv opencv-devel
在fedora上,您可以通过以下方式安装Opencv:
[root@localhost ML]# dnf install opencv
Failed to synchronize cache for repo 'Dropbox', disabling.
Last metadata expiration check: 1:24:09 ago on Mon 27 Nov 2017
04:56:00 PM IST.
Dependencies resolved.
Total download size: 1.6 M
Installed size: 10 M
Is this ok [y/N]:
我想最好的方法是
dnf install opencv
因为软件包在官方存储库中。