Skip to content

Conversation

@definability
Copy link

@definability definability commented Mar 2, 2025

Update the required OpenCV version to 3.4.12.
The project uses the CAP_PROP_ORIENTATION_AUTO constant that was introduced in OpenCV 3.4.12. Thus, is not accessible in OpenCV 3.4.10
opencv/opencv@f0271e5

Using of OpenCV 3.4.10 leads to a build error

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

Update the required OpenCV version to 3.4.12.
The project uses `CAP_PROP_ORIENTATION_AUTO` contant that was introduced in OpenCV 3.4.12,
thus is not accesible in OpenCV 3.4.10
opencv/opencv@f0271e5

Using of OpenCV 3.4.10 leads to a build error
```
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
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant