Closed ghost closed 9 years ago
Yes. We will be providing support for highgui. Do you have a list of modules that you would like to see implemented?
It would be awesome if you will support especially highui and contrib module. I would need these moduels use in Face Detection Application.
What portions of highgui do you use?
I have in my mind Reading and Writing Images , Video functions, trackbar functions and from contrib module FaceRecognizers.
Meanwhile you could take a look at this sample. It makes use of imread (it has been moved to imgcodecs
from highgui
in OCV master). Please mind that this is experimental branch.
Thanks and are there any samples of FaceRegognizers ?
Samples do not utilize this kind of logic now. We would appreciate if you decide to contribute.
@xfackovecm1, imgcodecs
WinRT support contribution has just been merged into the main OCV codebase.imread
and imwrite
are now available on WinRT as well as sample code demonstrating its usage.
@xfackovecm1, videoio
module has just been merged into OCV repo along with the sample app. You might also find FaceDetection sample useful for your purposes.
That said trackbar is the only bit missing from the set of tools you have listed. It should be possible to implement it on WinRT app level using current API set.
Hope this helps. Please let me know if you've been able to make use of contributed API mentioned on this thread.
How do we show an image on screen after reading it? imshow("quadrilateral", quad); doesnt work in WinRT also waitKey() doesnt work... so the c style main func doesnt exit
//Edit Never mind.. found answers to both. Checked face detection sample and noticed I dont need any c style main function and do all via main.xaml page. and of course dont need waitKey() now. I have to say though.. for a .Net developer.. just copying the OpenCV image data to a XAML image looks complicated (UpdateImage function), even though I have worked with the WriteableBitmap.PixelBuffer in .Net. What would really help is helper methods like UpdateImage kind of mini HowTo's otherwise a .Net developer like myself would be completely lost at how to utilize all this great OpenCV goodness.
hi @danglingneuron, good to hear that you've resolved it. Both FaceDetection and VideoCaptureXAML samples should provide required information on UI interaction.
Interacting with XAML does require some additional wiring. This is the reason why we provide it within samples to save time for developers. highgui
module is not yet supported though this is a work in progress and should eventually simplify the process.
Also check out these blog posts that showcase the samples referred above
@xfackovecm1, @danglingneuron
Support for highgui
module has been added to OpenCV master repo with MS-OCV #56 (OCV#4155). That said WinRT now provides support for all the features listed on this thread. I'm going to close this one and please do not hesitate to open other tickets if there are some other features that you'd like to see supported on WinRT. Thanks for you interest!
Hello , are there any plans in the future to support other modules for windows phone ( highgui, contrib, ...) ? Thanks for reply.