How can I preview and capture image from rear camera on tablet? RRS feed

  • Question

  • Hi all,

    Now, I am really desperate. I ve spent 10days searching a testing for suitable library, that allows me to prreview and capture image from rear camera on tablet. Unfortunatelly I HAVE TO use WPF.. I got working solution in UWP, but cuz of EntityFramework I can not use UWP. I know that u can access MediaCapture class in WPF, when u edit project file and add:




    with adding references to System.Runtime, System.Runtime.Windows.Runtime and System.Runtime.Interop...

    I can capture image like that.. but I cannot preview image for user

    I have tryied various libs like WPF MediaKit based on DirectShow still with no luck..

    Please, is there any option how to achieve this? It started to be a matter of life. Seriously.

    I wonder why Microsoft allowed for developers in WPF  to use MediaCapture class, but did not provide any control to capture preview..

    Wednesday, January 25, 2017 4:08 PM