# 慈濟大學醫學資訊學系 智慧醫療工作坊(2024/04/11) ## 利用邊緣運算工具OpenVINO快速搭建智慧醫療應用(快速指令表) 講師:歐尼克斯實境互動工作室 許哲豪(Jack Hsu)博士    2024/04/11 整理製作 ### Intel OpenVINO常用網頁 1. [Intel OpenVINO Documents](https://docs.openvino.ai/) 2. [Intel OpenVINO Download](https://www.intel.com/content/www/us/en/developer/tools/openvino-toolkit/download.html ) 3. [Intel OpenVINO Notebooks Github](https://github.com/openvinotoolkit/openvino_notebooks) 4. [Intel OpenVINO Storage - Notebooks](https://storage.openvinotoolkit.org/repositories/openvino_notebooks/) 5. [Intel OpenVINO - Open Model Zoo](https://docs.openvino.ai/2024/documentation/legacy-features/model-zoo.html) (註:已停止維護但仍何使用) 6. [Intel DevCup - 2021 人氣票選區(實作組)](https://makerpro.cc/intel-devcup/popular-vote-for-practice-group/) 7. [Intel DevCup - 2022 人氣票選區(實作組)](https://makerpro.cc/intel-devcup/2022-popular-vote-for-practice-group/) 8. [Intel Case Studies - Health and Life Sciences](https://www.intel.com/content/www/us/en/internet-of-things/ai-in-production/success-stories.html) ### 安裝Intel OpenVINO Notebooks到本地端 (Windows版本) 參考網頁:https://github.com/openvinotoolkit/openvino_notebooks/wiki/Windows 1. Install Python 安裝3.8版以上64位元版本 2. Install Git 3. Install C++ Redistributable (For Python >3.8) 4. Install the Notebooks 5. 創建虛擬環境 python -m venv openvino_env 6. 啟動虛擬環境 openvino_env\Scripts\activate 7. 複製儲存庫並進入該路徑 git clone --depth=1 https://github.com/openvinotoolkit/openvino_notebooks.git cd openvino_notebooks 8. 更新Python安裝工具並安裝套件包(約數十分鐘,視網速而定) python -m pip install --upgrade pip wheel setuptools pip install -r requirements.txt 9. **新增環境變數,在Path下加入,以免程式執行時找不到相關DLL** X:\openvino_env\Lib\site-packages\openvino\libs\ 10. 執行Notebooks (全部範例都一起載入) jupyter lab notebooks ### 影像分類 * [影像標註工具 LableImg](https://github.com/HumanSignal/labelImg) * [練習用資料集-人臉、狗臉、貓臉](https://github.com/OmniXRI/Yolov4-tiny_Colab_User_Datasets/blob/main/my_dataset.zip ) * 免費資料集及模型庫 * [Papers with code](https://paperswithcode.com/) * [Kaggle](https://www.kaggle.com/) * [Roboflow](https://roboflow.com/) * [如何運行Intel OpenVINO Open Model Zoo(OMZ)範例於Google Colab上 ](https://omnixri.blogspot.com/2024/02/intel-openvino-open-model-zooomzgoogle.html) * [Colab範例程式](https://colab.research.google.com/github/OmniXRI/OpenVINO2023LTS_on_Colab_Samples/blob/main/OpenVINO_2023_LTS_Demo_Classification.ipynb) ### 物件偵測 * [物件偵測 - YOLOv8物件偵測範例 (Colab)](https://colab.research.google.com/github/openvinotoolkit/openvino_notebooks/blob/latest/notebooks/yolov8-optimization/yolov8-object-detection.ipynb) * [物件偵測 - 網路攝影機即時物件偵測範例 (本地端)](https://colab.research.google.com/github/openvinotoolkit/openvino_notebooks/blob/main/notebooks/401-object-detection-webcam/401-object-detection.ipynb) * [物件偵測 - 網路攝影機即時物件偵測範例 (Colab)](https://colab.research.google.com/github/openvinotoolkit/openvino_notebooks/blob/latest/notebooks/object-detection-webcam/object-detection.ipynb) ### 影像分割 * [語義分割 - Hello Image Segmentation (Colab)](https://colab.research.google.com/github/openvinotoolkit/openvino_notebooks/blob/latest/notebooks/hello-segmentation/hello-segmentation.ipynb) * [實例分割 - Convert and Optimize YOLOv8 instance segmentation model with OpenVINO™ (Colab)](https://colab.research.google.com/github/openvinotoolkit/openvino_notebooks/blob/latest/notebooks/yolov8-optimization/yolov8-instance-segmentation.ipynb) * [去背置換 - Image Background Removal with U^2-Net and OpenVINO™ (Colab)](https://colab.research.google.com/github/openvinotoolkit/openvino_notebooks/blob/latest/notebooks/vision-background-removal/vision-background-removal.ipynb) * [物件分割 - Object segmentations with FastSAM and OpenVINO (Colab)](https://colab.research.google.com/github/openvinotoolkit/openvino_notebooks/blob/latest/notebooks/fast-segment-anything/fast-segment-anything.ipynb) ### 大語言模型與智慧生成 - 文字生成 - [Text Prediction with OpenVINO™ <GPT-2/GPT-Neo/PersonaGPT> (Colab)](https://colab.research.google.com/github/openvinotoolkit/openvino_notebooks/blob/latest/notebooks/text-prediction/text-prediction.ipynb) - 影像生成 - [Image Generation with Tiny-SD and OpenVINO™ (Colab)](https://colab.research.google.com/github/openvinotoolkit/openvino_notebooks/blob/latest/notebooks/tiny-sd-image-generation/tiny-sd-image-generation.ipynb) - 音樂生成 - [Controllable Music Generation with MusicGen and OpenVINO (Colab)](https://colab.research.google.com/github/openvinotoolkit/openvino_notebooks/blob/latest/notebooks/music-generation/music-generation.ipynb) ### Intel OpenVINO學習資源 * [Intel OpenVINO Toolkit (YOUTUBE)](https://www.youtube.com/watch?v=kY9nZbX1DWM&list=PLg-UKERBljNxdIQir1wrirZJ50yTp4eHv) * [Intel OpenVINO Toolkit (Meduim)](https://medium.com/@openvino) * [歐尼克斯實境互動工作室─系列發文─OpenVINO](https://hackmd.io/@OmniXRI-Jack/series_articles#OpenVINO%E7%B3%BB%E5%88%97) * [MakerPRO─OpenVINO專欄](https://makerpro.cc/openvino-column/) * [Intel OpenVINO DevCup 2021精彩回顧(實作組)](https://makerpro.cc/intel-devcup/popular-vote-for-practice-group/) * [CAVEDU教育團隊技術部落格](https://blog.cavedu.com/?s=openvino) ### 延伸閱讀 * [Edge AI Taiwan邊緣智能交流區](https://www.facebook.com/groups/edgeaitw) * [NTUST Edge AI 人工智慧與邊緣運算實務](https://omnixri.blogspot.com/p/ntust-edge-ai.html) * [OmniXRI Github - OpenVINO2022_on_Colab_Samples](https://github.com/OmniXRI/OpenVINO2022_on_Colab_Samples) * [開南大學健康產業管理學系 健康產業應用課程](https://omnixri.blogspot.com/p/knu.html) * [OmniXRI’s Edge AI & TinyML小學堂YOUTUBE直播](https://www.youtube.com/@omnixri1784/streams) * [如何運行Intel OpenVINO Open Model Zoo(OMZ)範例於Google Colab上 ](https://omnixri.blogspot.com/2024/02/intel-openvino-open-model-zooomzgoogle.html) --- ###### tags: `OpenVION` `TCU`