First time here? Check out the FAQ!

Ask Your Question
2

Windows 8 Metro apps

asked Jul 23 '12

Andrew gravatar image

updated Jul 24 '12

Andrey Pavlenko gravatar image

Hi,

I am doing some metro app development for school using Windows 8 tablets. I would like to use OpenCV for image processing, particularly with augmented reality, but in Metro apps you can't run native code. So wrappers would not work. You can use C++ to write apps/libraries, but it can't have any native library dependencies.

So will OpenCV be ported or made available for Metro apps? Is there a way to get the existing code to work without any major rewrites?

Thanks, Andrew

Preview: (hide)

4 answers

Sort by » oldest newest most voted
7

answered Jul 24 '12

Andrey Pavlenko gravatar image

OpenCV team has Win8 support in plans, but no particular dates are known for now.

Preview: (hide)

Comments

well +1 for a user who'd like to see it :) If it was ported it would also support windows phone 8, which doesn't have much of a market share. but I could see Win 8 tablets becoming popular. we have a couple samsung series 7s with win 8 and so far they seem to have a lot of potential.

Andrew gravatar imageAndrew (Jul 25 '12)edit
2

Any updates?

makhand gravatar imagemakhand (Dec 9 '12)edit

Any Updates? We are waiting for the release

steve gravatar imagesteve (Mar 21 '13)edit

Any Updates ?

Solfu gravatar imageSolfu (Jul 31 '13)edit

Any updates, and for windows phone 8 also

Sakher gravatar imageSakher (Mar 30 '14)edit

OpenCV has WinRT support, no plans for Win Phone 8 for today.

Andrey Pavlenko gravatar imageAndrey Pavlenko (Mar 31 '14)edit
1

answered Jan 3 '13

rasharm_msft gravatar image

I have posted about this in the below mentioned stackoverflow post:

http://stackoverflow.com/questions/14065370/using-opencv-in-a-windows-8-store-app-with-visual-c-2012

Preview: (hide)
0

answered Aug 18 '12

See this demo. He actually uses OpenCV libraries for a Windows 8 app:

http://channel9.msdn.com/Events/TechEd/NorthAmerica/2012/DEV322

Preview: (hide)

Comments

He shows that he created an extension sdk based on OpenCV, but he created himself and doesn't share how he did that. Metro can run native code, so using OpenCV is possible, but it looks like the library would need code changed / revision

Andrew gravatar imageAndrew (Aug 18 '12)edit

that's what I want! really want to know how he did this!

gogoqaz gravatar imagegogoqaz (Dec 13 '12)edit
1
-6

answered Nov 23 '12

Yan Cheng Cheok gravatar image

updated Nov 23 '12

Hi, we manage to make OpenCV face detection run on Metro app. And yes, you are right, there are some tweaks needed. So far, we only manage to make it runs on x86 and x64 platforms, but not ARM.

http://answers.opencv.org/question/4431/plan-to-make-opencv-available-on-windows-8-rt-arm/

Since this is a closed source project, I cannot to share the source code with you. However, I am willing to share the knowledge with you. If you can have a more specific question, then I may provide a more specific answer. :)

Preview: (hide)

Comments

hey Yan, Could I ask your help for how to write an WinRT component using openCV? Now I create a WinRT component and javascript project, I want to let the javescript project can reference it. after I add some opencv lib to component and export opencv api to javascript. and compiler it. When I use javascript try to initialize a class object which is from opencv component, the program got an exception " The specified module could not be found!" why? Did I miss something?. ps: the opencv version is 2.4.9 , and I can run it successfully on vs 2012 desktop. Thanks!!

gogoqaz gravatar imagegogoqaz (Dec 13 '12)edit

My experience is using WinRT C++. I use C# too for UI layer. But, C# just talk to my WinRT C++. It never touch the OpenCV part. Here are some of the details : http://stackoverflow.com/questions/12907538/how-to-get-feedback-from-mediacapture-api-in-windows-8 But, we never use JavaScript. We thought that is very risky :) But, from my experience, using OpenCV in Windows 8 is a no-joy-task. Too much restrictions being placed by Windows 8.

Yan Cheng Cheok gravatar imageYan Cheng Cheok (Jan 11 '13)edit
2

Not a better option to suggest. Minutes delay between the process. Hate this.

niths gravatar imageniths (Mar 21 '13)edit

Question Tools

Stats

Asked: Jul 23 '12

Seen: 8,382 times

Last updated: Jan 02 '13