diff --git a/thirdparty/open_model_zoo b/thirdparty/open_model_zoo index 9af5099f0ab..af484a1471b 160000 --- a/thirdparty/open_model_zoo +++ b/thirdparty/open_model_zoo @@ -1 +1 @@ -Subproject commit 9af5099f0ab297080b4053f3d713813d5dd9e960 +Subproject commit af484a1471b3943a6712d03c53a7e9187bdf0970 diff --git a/tools/benchmark_tool/requirements.txt b/tools/benchmark_tool/requirements.txt index 0d7c7abb9ea..e02018eb87a 100644 --- a/tools/benchmark_tool/requirements.txt +++ b/tools/benchmark_tool/requirements.txt @@ -1,3 +1,4 @@ py-cpuinfo>=7.0.0 numpy>=1.16.6,<=1.23.1 -progress>=1.5 \ No newline at end of file +progress>=1.5 +opencv-python>=4.5 \ No newline at end of file diff --git a/tools/benchmark_tool/setup.py b/tools/benchmark_tool/setup.py index a0c333dc64b..30c8a33dbf9 100644 --- a/tools/benchmark_tool/setup.py +++ b/tools/benchmark_tool/setup.py @@ -8,9 +8,7 @@ Use this script to create a wheel with OpenVINO™ Python* tools: $ python setup.py sdist bdist_wheel """ -import importlib import pkg_resources -import warnings from setuptools import setup, find_packages with open('README.md', 'r', encoding='utf-8') as f: @@ -23,14 +21,6 @@ with open('requirements.txt') as requirements_txt: in pkg_resources.parse_requirements(requirements_txt) ] -try: - importlib.import_module('cv2') -except ImportError as opencv_import_error: - warnings.warn( - "Problem with cv2 import: \n{}\n opencv-python-headless will be added to requirements".format(opencv_import_error) - ) - reqs.append('opencv-python-headless==4.5.*') - setup( name='benchmark_tool', version='0.0.0',