使用Leaf程式設計AI/安裝
由於Leaf是開源的,因此他的必需軟體應用程式和雜項檔案並不都在同一個地方。 獲取所有所需安裝內容可能需要一些時間,但非常值得。 下面您將找到所需軟體的網路地址以及安裝說明。
重要的是要注意,Leaf 有幾個選項可供選擇,即使您不打算使用其中一個或多個選項,您仍然必須安裝支援所有選項的軟體。 這唯一的例外是,如果您不打算給您的 Leaf 一個動畫頭部,您不需要安裝 CU 動畫軟體。
注意:此安裝不包括 x10 軟體或 CU 動畫面部。
1. 下載
1.1 下載並安裝最新版本的 Lispworks,從
http://www.lispworks.com/downloads/ take all defaults offered.
1.5 下載並安裝 Microsoft Speech SDK 5.1 (SpeechSDK51.exe),接受所有預設值。
http://www.microsoft.com/downloads/details.aspx?FamilyID=5e86ec97-40a7-453f-b0ee-6583171b4530&DisplayLang=enLeaf Directory
1.2 下載並解壓縮 “Nav and Control exe 5-3-09.zip”
http://www.leafproject.org/software/n_c/Nav%20and%20Control%20exe%205-3-09.zip
1.3 下載並解壓縮 rcomm.dll 檔案
http://www.leafproject.org/software/rcomm/rcomm.zip
1.4 下載並解壓縮 Leaf lisp 程式碼
http://www.leafproject.org/software/Lisp/Leaf%2001-01-07z.zip
2. 安裝
2.1 在您的計算機上建立一個 Leaf 目錄
C:\Program Files\Leaf
並將以下檔案和資料夾移動到其中
LISP files : Leaf.lisp Test.lisp, and LeafInterfaces.lisp.
Folders : LeafFaces, LeafFeelings, LeafSetting, LeafSounds, Sequences, and AnimationImages.
Note: LeafSounds can be found in the Files section of the group site.
Misc. files : speech.xml, server.tcl, vcredist_x86.exe, "Nav and Control.exe" and sysinfo.exe
Ini files : RoboChat.ini, Animation.ini, NavAndControl.ini, MicroConfig.ini, MicroController.ini, Sensors.ini,
2.2 將以下檔案移動(不要複製)到 System32 目錄 => C:\Windows\System32
DLL files: lwsapi5.dll, lwcuanim.dll, Phidget.dll, LeafX10.dll, LeafWiFiClient.dll, FaceRecog.dll, FTD2XX.dll, and RComm.dll.
3. 設定
3.1 如果您還沒有,請將麥克風插入您的 PC。 建議使用高質量的麥克風。
注意:此安裝不包括 x10 軟體或 CU 動畫面部。
1. 下載
1.1 下載並安裝最新版本的 Lispworks,從
http://www.lispworks.com/downloads/ take all defaults offered.
(不要安裝 Microsoft Speech SDK。Speech SDK 安裝僅適用於 Windows XP)
1.2 下載並解壓縮 “Nav and Control exe 5-3-09.zip”
http://www.leafproject.org/software/n_c/Nav%20and%20Control%20exe%205-3-09.zip
1.3 下載並解壓縮 rcomm.dll 檔案
http://www.leafproject.org/software/rcomm/rcomm.zip
1.4 下載並解壓縮 Leaf lisp 程式碼
http://www.leafproject.org/software/Lisp/Leaf%2001-01-07z.zip
2. 安裝
2.1 在您的計算機上建立一個 Leaf 目錄
32 bit PC: C:\Program Files\Leaf
64 bit PC: C:\Program Files (x86)\Leaf
並將以下檔案和資料夾移動到其中
LISP files : Leaf.lisp Test.lisp, and LeafInterfaces.lisp.
Folders : LeafFaces, LeafFeelings, LeafSetting, LeafSounds, Sequences, and AnimationImages.
Misc. files : speech.xml, server.tcl, vcredist_x86.exe, "Nav and Control.exe" and sysinfo.exe
Ini files : RoboChat.ini, Animation.ini, NavAndControl.ini, MicroConfig.ini, MicroController.ini, Sensors.ini,
2.2 將以下檔案移動(不要複製)到 System32 目錄 => C:\Windows\SysWOW64
DLL files: lwsapi5.dll, lwcuanim.dll, Phidget.dll, LeafX10.dll, LeafWiFiClient.dll, FaceRecog.dll, FTD2XX.dll, and RComm.dll.
2.3 SAPI DLL 的特殊解決方法說明
Leaf 01-01-07 資料夾中的原始 lwsapi5.dll 在 Win7 PC 上無法正常工作。 您需要從 Leaf 組下載更新的 2007 dll。 使用列出的“Sapi 5 dll for Windows 7-64”。 它將適用於 Windows 的 32 位和 64 位版本。
登入 Leaf Yahoo Group 並從此處下載更新的 lwsapi5.dll
http://tech.groups.yahoo.com/group/leaf_an_AI_robot/files/
and put it into:
32 bit PC: C:\Program Files\Leaf
64 bit PC: C:\Program Files (x86)\Leaf
接下來建立一個資料夾
32 bit PC:
C:\Program Files\Leaf\LeafSettings
64 bit PC:
C:\Program Files (x86)\Leaf\LeafSettings
安裝完成。
3. 設定
3.1 如果您還沒有,請將麥克風插入您的 PC。 建議使用高質量的麥克風。
3.2 如果您還沒有,請將耳機插入您的 PC。
3.3 使用至少一個會話訓練您的語音識別軟體。 這可以透過您的控制面板完成,然後選擇語音。
3.2 如果您還沒有,請將耳機插入您的 PC。
3.3 使用至少一個會話訓練您的語音識別軟體。 這可以透過您的控制面板完成,然後選擇語音。
X10 Household lamp and appliance control software:
http://www.x10.com/
CU Animate Face
CU Animate Face seems to not work with Windows7 very well. Leaf works fine without the face.