Open
Description
OS Platform and Distribution
Windows 11
Compiler version
MSVC 19.29.30158 for x64
Programming Language and version
C++17
Installed using virtualenv? pip? Conda?(if python)
No
MediaPipe version
v0.10.21
Bazel version
6.5.0
XCode and Tulsi versions (if iOS)
N/A
Android SDK and NDK versions (if android)
N/A
Android AAR (if android)
None
OpenCV version (if running on desktop)
3.4.10
Describe the problem
bazel-6.5.0 build --verbose_failures -c opt --define MEDIAPIPE_DISABLE_GPU=1 --define=xnn_enable_avxvnniint8=false --shell_executable="C:\msys64\usr\bin\bash.exe" --repo_env=HERMETIC_PYTHON_VERSION=3.11 -- //mediapipe/examples/desktop/hand_tracking:hand_tracking_cpu
Constant CAP_PROP_ORIENTATION_AUTO
was introduced in OpenCV 3.4.12
opencv/opencv@f0271e5#diff-702e7efcf6bd7a4c265fcdbc0cc4c4e47e8ea12325bf28d18524c194c9ab4759R181
It was used in MediaPipe in v0.10.21 226e37a
The web documentation and opencv_windows.BUILD
must reflect this requirement.
Complete Logs
mediapipe/calculators/video/opencv_video_decoder_calculator.cc(116): error C2039: 'CAP_PROP_ORIENTATION_AUTO': is not a member of 'cv'
external/windows_opencv/include\opencv2/videoio.hpp(71): note: see declaration of 'cv'
mediapipe/calculators/video/opencv_video_decoder_calculator.cc(116): error C2065: 'CAP_PROP_ORIENTATION_AUTO': undeclared identifier
Target //mediapipe/examples/desktop/hand_tracking:hand_tracking_cpu failed to build
P.S. Please fix the issue creation form: it creates a single-line text input for the problem description, which forces editing the issue after creating it to enrich it with necessary details.