How can I get the front of the camera to work properly?
Please provide your development details as below;
Currently I have completed the modification from Vuforia to Maxst.
However, there is a problem with the camera setting.
The rear camera's display is good, while the front camera is turned upside down.
Have you ever resolved it?
maxstCameraDevice.FlipVideo(CameraDevice.FlipDirection.VERTICAL,true);
I tried this but it does not work at all.
[ Current code ]
private AbstractConfigurationScriptableObject configuration;
private CameraDevice maxstCameraDevice;
void Awake()
{
configuration = AbstractConfigurationScriptableObject.GetInstance();
maxstCameraDevice = CameraDevice.GetInstance();
}
public void CameraRotationClickListener()
{
cameraRotated = !cameraRotated;
maxstCameraDevice.Stop();
configuration.CameraType = cameraRotated ? CameraDevice.CameraType.Face : CameraDevice.CameraType.Rear;
maxstCameraDevice.Start();
}
This is the code for the current camera rotation.
Please let me know what I missed or if I should add it. please
Thanks.
1. SDK Version: 4.1
2. Development Environment: Unity-Android / Unity-iOS
3. Tracker/Scanner:
4. License Type(Free / Pro-One Time Fee / Pro-Subscription / Enterprise): Free
5. Target Device(Optional):Galaxy S9+
We can assist better if you attach screenshots of issues.
We now know that our flip function does not work, and we will fix and redistribute it.
Leo
Maxst Support Team
Thank you Leo.
I'm looking forward to another version coming soon.
You're welcome. Good luck to you.
Leo
Maxst Support Team