OpenCV集成《個人筆記》

第一:

ls

cd到項(xiàng)目路徑下

ls

執(zhí)行xcode-select install安裝軟件命令

這個時候報(bào)錯

xcode-select: error: invalid argument 'install'

Usage: xcode-select [options]

Print or change the path to the active developer directory. This directory

controls which tools are used for the Xcode command line tools (for example,

xcodebuild) as well as the BSD development commands (such as cc and make).

Options:

-h, --helpprint this help message and exit

-p, --print-pathprint the path of the active developer directory

-s , --switch set the path for the active developer directory

--installopen a dialog for installation of the command line developer tools

-v, --versionprint the xcode-select version

-r, --resetreset to the default command line tools path

錯誤原因可能是我是復(fù)制的命令而不是敲打的命令 有可能多復(fù)制了什么,少了兩個小橫線 - -;

退出桌面安裝

執(zhí)行

安裝命令xcode-select —install安裝命令

安裝的一些步驟,最后提示安裝成功。

測試是否安裝成功, 在次命令xcode-select --install

提示:xcode-select: error: command line tools are already installed, use "Software Update" to install updates

說明安裝成功了。

再次測試是否成功:

sudo xcodebuild -license

一直按空格

然后到最后遇到 “ey**” 這個單詞 打一下這個單詞 然后在回車 ,提示成功。

python官方.py 用到

https://www.python.org/

opencv2.framework導(dǎo)入項(xiàng)目中,在導(dǎo)入如圖想framework,8個;





注意

注意

添加私有設(shè)置的那個圖片中的如下圖

在添加的時候 有一個view controller-based******* N0; 這個是按照 openCV的數(shù)中 12 也的提示加的 ,為了以后不出問題 提前加上。

The status bar and fullscreen settings are stored in the app'sInfo.plistle. SelectCoolPig|CoolPig|Info.plistin the navigator pane. Now, in the editor area, note that theUIRequiresFullscreenandStatus bar is initially hiddenproperties both have theYESvalue. However, we still need to add another property to ensure that the status bar will not appear. Hover over the last item in the list, and click on the+button to insert a new property. EnterView controller-based status bar appearanceas the property's key and set its value toNO, as shown in the following screenshot:



只要簡單的設(shè)置,現(xiàn)在videoCamera已經(jīng)就緒了,只需要以下命令:

[self.videoCamera start];

[self.videoCamera stop];

進(jìn)行控制

c++ 三個錯誤 需要更改objective-c++


最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • Xcode 9 Release Notes See more downloads 關(guān)于Xcode Accessin...
    印林泉閱讀 4,730評論 7 3
  • afinalAfinal是一個android的ioc,orm框架 https://github.com/yangf...
    passiontim閱讀 15,889評論 2 45
  • 年紀(jì)漸長,發(fā)現(xiàn)自己開始喜歡一些顏色鮮艷的衣裳。衣櫥里不再是簡單的黑咖白,寶藍(lán),薄荷綠,橘紅,甚至有了之前從來不會碰...
    江南煙雨閱讀 983評論 3 4
  • 清寒的秋日 與你相遇 你那熟悉的笑臉 清澈的眸子 沒有轟轟烈烈 卻一見傾心 笑談之間 生命有了驚喜 我愿不眠 看你...
    山雨林夕閱讀 400評論 6 4
  • 請觀眾自覺打開音樂播放器找到一首《無情的溫柔》然后一邊聽,一邊我們可以繼續(xù)了… 何時起,我們開始愛了? 何時起,愛...
    陳小寶i閱讀 268評論 0 1

友情鏈接更多精彩內(nèi)容