OpenVINO开发小组
直播中

硬件工程师1

9年用户 1524经验值
擅长:可编程逻辑
私信 关注
[问答]

如何为PyInstaller命令行添加OpenVINO依赖性,从OpenVINO python脚本生成功能 .exe文件?


  • 执行此命令行以从 OpenVINO python 脚本创建 build.exe 文件:
    pyinstaller --onefile --add-data "D:\person-detection-retail-0013.xml;." Social_Distancing_MQTT.py
  • 运行生成的 .exe 并接收一个出现任何情况的空白页面。
   
            

回帖(1)

洪茗苞

2023-8-15 11:28:46
在 pcorestaller 命令行中 提供 iecore() 工作的依赖性文件。在此命令行中,plugins.xml 可帮助样品加载所需的插件。
pyinstaller --onefile --add-data "C:\Program Files (x86)\IntelSWTools\openvino_2020.3.194\deployment_tools\inference_engine\bin\intel64\Release\plugins.xml;." demo_sample.py
在运行生成的 .exe 文件之前,OpenVINO环境变量。
举报

更多回帖

发帖
×
20
完善资料,
赚取积分