开发者

Is there a wpf webcam control with zoom feature?

开发者 https://www.devze.com 2023-01-23 07:16 出处:网络
I need a WPF control开发者_如何学Go with zooming enabled? I am currently using WPFmediakit and it works good but is there a way to do zoom using multiples of doubles.You should be able to use WPF\'s b

I need a WPF control开发者_如何学Go with zooming enabled? I am currently using WPFmediakit and it works good but is there a way to do zoom using multiples of doubles.


You should be able to use WPF's built-in ScaleTransform. WPF already has the built-in ability to scale anything, so you shouldn't need the VideoCaptureElement control from the media kit to provide any zooming support of its own.


I think you need to be more clear about what it exactly is you want. If you want to use the camera's (optionally) built-in zoom then that has nothing to do with WPF. If on the other hand you want to zoom in on the image-output (Framebuffer) of the camera, you can just use WPF's ScaleTransform.

0

精彩评论

暂无评论...
验证码 换一张
取 消