List
좌우 반전된 TrackingVideo
Posted Date: 2023-07-05 1:22     Edited Date: 2023-07-11 1:35     Writer: bones11201008

Please provide your development details as below;

1. SDK Version: 6.0.1
2. Development Environment: (eg. Unity-Android, Unity-iOS, Native Android, Native iOS) 
3. Tracker/Scanner:
4. License Type(Free / Pro-One Time Fee / Pro-Subscription / Enterprise):
5. Target Device(Optional):

Video Tracker 구현 시에

동작해 보면 Tracking Video 가 좌우 반전되어 보입니다.

Sample Scene 에 포함된 흑백 동영상은 문제가 없는 거 같아서

Unity videoplayer 자체의 문제일 수도 있겠지만,

혹시 해결 방법을 알고 계신가요?

확인해 보니 mp4 파일 제체에서 수정할 수 있는 property 는 없습니다.

Posted Date: 2023-07-05 2:16     Edited Date: 2023-07-05 2:16     Writer: sejin

MAXST AR SDK에 관심을 가져주셔서 감사합니다. 

 

반전 현상은 스크립트에 아래 함수를 추가하시면 해결됩니다. 

CameraDevice.GetInstance().FlipVideo(CameraDevice.FlipDirection.HORIZONTAL, true);

CameraDevice.GetInstance().FlipVideo(CameraDevice.FlipDirection.VERTICAL, true);

https://developer.maxst.com/d/APIRef/v5.0.x/Unity/classmaxst_a_r_1_1_camera_device.html#a51ea226988c38ef56e7d55537299f867

 

추가적인 질문이 있으시면 언제든지 문의주세요.

 

 

Best regards

Shelden

MAXST Support Team

Posted Date: 2023-07-11 1:35     Edited Date: 2023-07-11 1:35     Writer: bones11201008

말씀해 주신 내용으로 해결했습니다.

도움 감사합니다.