microsoft / opencv

Open Source Computer Vision Library
opencv.org
Apache License 2.0
144 stars 92 forks source link

Request for sample Winmd component #54

Open danglingneuron opened 9 years ago

danglingneuron commented 9 years ago

Hi, It would really help us .Net developers with minimal working experience of C++/CX to have a sample that shows how to create Winmd components to cover a tiny surface area of OpenCV. This would enable us to do our own winmd components for the functionality we need in OpenCV.

e.g. Facedetection sample would be a great candidate.

  1. Load image into an XAML control in the C# project.
  2. Pass image data/buffer on through the winmd component to OpenCV to run face detection 3a. Get back detection results from winmd into C# calling code - so caller can decide how to present that info i.e. put squares in XAML over detected regions 3b. Get back processed image data/buffer from Winmd component - with the detected "squares" on it AND then set that data/buffer as source of the XAML image control

I think this would really help us create our own Winmd components so we can still do as much as possible in .Net while reach out to teh performant C++/CX for OpenCV.