Hello,
I am using the WebCam Control in WinForms (latest Version) and placed it on an empty form. Then I tested this "program" on a Test device (CAT T20 Win10 Tablet). The preview picture in the control does not match the orientation of the device. (depending on which side of the device is at top the visible picture is rotated 90/180 degrees).
For testing purposes I installed the WinForms Example application on the same tablet device with the same results.
How to sync the captured picture to the orientation of the device? In the WPF documentation of the WebCamControl I found a Videoflip method, which is not available in WinForms.
Best regards,
Stefan
Hi, Damien,
I am glad that you have found a suitable solution for your case.
Thank you for sharing the code snippet that achieves the desired result. Make sure that you cast your vote for the item in order to increase its priority.
Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik
Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.
Hey Stefan,
Have you had a play with the roll settings of the camera? I recently received a prototype kiosk and the image from the front-facing camera was upside down, setting roll to 0 was the correct orientation (both up the right way and the right to left so that text was readable if I held something up to it), by default I think it was/is set to 3 for my camera.
I added the following code (thanks to the support team) after initialization and before I called Start...
FieldInfo fi = typeof(RadWebCam).GetField("player", BindingFlags.Instance | BindingFlags.NonPublic);
Hello, Stefan,
Currently, RadWebCam doesn't support video rotation. However, it seems to be a reasonable request: https://docs.microsoft.com/en-us/windows/win32/medfound/mf-mt-video-rotation
I have logged it in our feedback portal by making this thread public on your behalf. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.
I have also updated your Telerik points.
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik