跳到主要內容
支援知識庫

是否可以使用 Microsoft* Visual Studio 2017 為 Windows 10 建立開放原始碼OpenVINO™工具組?

內容類型: 安裝與設定   |   文章 ID: 000088632   |   最近查看日期: 2022 年 02 月 02 日

環境

作業系統

Windows® 10, 64-bit*
Microsoft Visual Studio 2017

描述

未能與 Microsoft Visual Studio 2017 建立 Windows 10 的開放原始碼OpenVINO™。

解決方法

可在 Windows 10 上使用 Microsoft Visual Studio 2017 打造的最新版本 OpenVINO™工具組是 2021.2。

  1. 建立 開放原始碼OpenVINO™工具組:
    git clone https://github.com/openvinotoolkit/openvino.git
    cd openvino
    git checkout tags/
    git submodule update --init --recursive
    mkdir build && cd build
    cmake -G "Visual Studio 15 2017" -A x64 -DCMAKE_BUILD_TYPE=Release ..
    cmake --build . --config Release --verbose -j8
  2. 執行緒建構模組 (TBB) 和 OpenCV* 二進位檔案的路徑加入環境變數:
    openvino_repo\推斷引擎\temp\tbb\bin
    openvino_repo\inference-engine\temp\opencv_version\opencv\bin

相關產品

本文章適用 1 產品。

免責聲明

這個頁面的內容綜合了英文原始內容的人工翻譯譯文與機器翻譯譯文。本內容是基於一般資訊目的,方便您參考而提供,不應視同完整或準確的內容。如果這個頁面的英文版與譯文之間發生任何牴觸,將受英文版規範及管轄。 查看這個頁面的英文版。