![](/img/trans.png)
[英]I already have OpenCV C++ installed. Can I use its functions in Python without reinstalling the library?
[英]OpenCV not found when I have it installed?
我正在嘗試使用 cmake 從 dlib 庫編譯一個 cpp 文件。
當我使用命令cmake ..
它給了我這個錯誤OpenCV not found, so we won't build the webcam_face_pose_ex example.
我已經安裝了 OpenCV,並確保我剛剛使用brew install opencv
重新安裝了它
想要一些關於我還能做些什么的幫助?
下載opencv 源代碼並按照說明使用 make 構建和安裝項目。 這將允許 make 將 opencv 安裝到以后可以找到的位置。
完成后,使用 cmake 重新編譯 dlib 項目。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.