> For the complete documentation index, see [llms.txt](https://idminer.gitbook.io/robotis/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://idminer.gitbook.io/robotis/part-3.-robotis-op3-ren-xing-ji-qi-ren/2.-kuai-su-ru-men/2.2.-zhi-hang-nei-jian-demo-cheng-shi/2.2.5.-vision-processing-shi-jiao-chu-li-mo-shi.md).

# 2.2.5. Vision Processing 視覺處理模式

ROBOTIS OP3 的新視覺處理演示是 “人臉檢測和跟踪”。ROBOTIS OP3 是使用 ROS 開發的。因此，諸如 face detecting 人臉檢測的各種 ROS 套件，都可以應用於視覺處理模式，來跟踪機器人前方的已識別目標人臉。請參考以下網站連接。&#x20;

Face detecting 人臉檢測：[**https://github.com/phil333/face\_detection**](https://github.com/phil333/face_detection)

* 啟動 Vision Processing Mode&#x20;
  * 按 **MODE** 按鈕，直到LED 2（綠色）亮起。ROBOTIS OP3 將口說 “Vision processing mode”。
  * 按 **START** 按鈕開始。ROBOTIS OP3 將口說 “Start vision processing demonstration” 並站起來。&#x20;
  * 目標人臉應距離 ROBOTIS OP3 約 90 cm（36 inch）。如果 ROBOTIS OP3檢測到目標人臉，則胸部 LED 將以白色點亮，而如果 ROBOTIS OP3 未檢測到人臉，則 LED 會不亮。ROBOTIS OP3 將跟踪第一個識別出的目標人臉。

<div align="left"><img src="https://3058168660-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LkXc5k_SFaP9gK2gsU8%2F-LmNICxBdH8ylzzEb5xH%2F-LmNJ-y_mRjR2-bt9ABm%2Fop3_018_rev2.png?alt=media&amp;token=849a1c8b-0549-4a69-ad69-daa707b6cd04" alt=""></div>

* 停止 Vision Processing Mode&#x20;
  * 按住 **MODE** 按鈕至少 2 秒鐘，ROBOTIS-OP3 將返回 demonstration-ready mode。
* 其他事項
  * 修改 'face\_detection' 套件的參數可能會改善對臉部的識別。有關更多詳細信息，請參考以下的網站。&#x20;
  * face\_detection 套件：[**https://github.com/ROBOTIS-GIT/face\_detection**](https://github.com/ROBOTIS-GIT/face_detection)&#x20;
  * usb\_cam 套件：[**http://wiki.ros.org/usb\_cam**](http://wiki.ros.org/usb_cam)
