We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c713e49 commit d80fa43Copy full SHA for d80fa43
version.py
@@ -122,7 +122,11 @@ def non_free_opencv_algorithms_present():
122
#####################################################################
123
124
print("Available CPU Optimizations (*: build enabled; ?: not CPU supported):")
125
-print("... " + cv2.getCPUFeaturesLine())
126
-print()
+try:
+ print("... " + cv2.getCPUFeaturesLine())
127
+ print()
128
+except BaseException:
129
+ print("... [ CPU feature check not available in this version ]")
130
131
132
0 commit comments