Cách thêm các OpenVINO phụ thuộc vào dòng lệnh PyInstaller để tạo ra một tệp .exe chức năng từ một lệnh OpenVINO python mới nhất.
- Thực hiện dòng lệnh này để tạo tệp build.exe từ một lệnh OpenVINO python:
pyinstaller --onefile --add-data "D:\person-detection-retail-0013.xml;." Social_Distancing_MQTT.py - Chạy .exe kết quả và nhận một trang trắng mà không có gì xảy ra.
Trong dòng lệnh pyinstaller , cung cấp các tệp phụ thuộc cho iecore() hoạt động. Trong dòng lệnh này, plugins.xml giúp mẫu tải các trình cắm bắt buộc.
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
Nguồn các OpenVINO biến môi trường mới trước khi chạy tệp .exe kết quả.