microsoft / opencv

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

Support for other modules #16

Closed ghost closed 9 years ago

ghost commented 9 years ago

Hello , are there any plans in the future to support other modules for windows phone ( highgui, contrib, ...) ? Thanks for reply.

stammen commented 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?

ghost commented 9 years ago

It would be awesome if you will support especially highui and contrib module. I would need these moduels use in Face Detection Application.

stammen commented 9 years ago

What portions of highgui do you use?

ghost commented 9 years ago

I have in my mind Reading and Writing Images , Video functions, trackbar functions and from contrib module FaceRecognizers.

mkostin commented 9 years ago

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.

ghost commented 9 years ago

Thanks and are there any samples of FaceRegognizers ?

mkostin commented 9 years ago

Samples do not utilize this kind of logic now. We would appreciate if you decide to contribute.

mkostin commented 9 years ago

@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.

mkostin commented 9 years ago

@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.

danglingneuron commented 9 years ago

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.

mkostin commented 9 years ago

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.

mkostin commented 9 years ago

Also check out these blog posts that showcase the samples referred above

mkostin commented 9 years ago

@xfackovecm1, @danglingneuron

Support for highguimodule 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!