File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
Assets/MediaPipeUnity/Samples/Scenes/Tasks/Pose Landmark Detection Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,10 @@ protected override IEnumerator Run()
6565 var transformationOptions = imageSource . GetTransformationOptions ( ) ;
6666 var flipHorizontally = transformationOptions . flipHorizontally ;
6767 var flipVertically = transformationOptions . flipVertically ;
68- var imageProcessingOptions = new Tasks . Vision . Core . ImageProcessingOptions ( rotationDegrees : ( int ) transformationOptions . rotationAngle ) ;
68+
69+ // Always setting rotationDegrees to 0 to avoid the issue that the detection becomes unstable when the input image is rotated.
70+ // https://github.com/homuler/MediaPipeUnityPlugin/issues/1196
71+ var imageProcessingOptions = new Tasks . Vision . Core . ImageProcessingOptions ( rotationDegrees : 0 ) ;
6972
7073 AsyncGPUReadbackRequest req = default ;
7174 var waitUntilReqDone = new WaitUntil ( ( ) => req . done ) ;
You can’t perform that action at this time.
0 commit comments