uwp uvc camera focus unsupported
The code below does not apply.
mediaCapture.VideoDeviceController.FocusControl.Configure(new FocusSettings { Mode = FocusMode.Auto });
await mediaCapture.VideoDeviceController.FocusControl.FocusAsync();
var focusControl = mediaCapture.VideoDeviceController.FocusControl;
if (focusControl.Supported) {
messagetext.Text = "ok";
} else {
messagetext.Text = "not";
}
The code above shows that it is not supported. Are there any other APIs besides focusControl? The current platform is Windows 11 and the development language is C#.
https://github.com/microsoft/Windows-universal-samples/tree/main/Samples/CameraManualControls ->I tested the example here, but my USB camera was not supported.
Camera focus control is easy in opencvsharp. How do I do this in uwp?