Ask Your Question

Windows 8 Metro apps

asked 2012-07-23 12:21:37 -0600

Andrew gravatar image

updated 2012-07-24 06:22:05 -0600

Andrey Pavlenko gravatar image


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

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted

answered 2012-07-24 06:21:46 -0600

Andrey Pavlenko gravatar image

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

edit flag offensive delete link more


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 ( 2012-07-24 22:32:33 -0600 )edit

Any updates?

makhand gravatar imagemakhand ( 2012-12-08 21:03:08 -0600 )edit

Any Updates? We are waiting for the release

steve gravatar imagesteve ( 2013-03-21 08:56:42 -0600 )edit

Any Updates ?

Solfu gravatar imageSolfu ( 2013-07-31 08:00:05 -0600 )edit

Any updates, and for windows phone 8 also

Sakher gravatar imageSakher ( 2014-03-30 09:29:45 -0600 )edit

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

Andrey Pavlenko gravatar imageAndrey Pavlenko ( 2014-03-31 11:10:19 -0600 )edit

answered 2013-01-02 19:23:03 -0600

rasharm_msft gravatar image

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

edit flag offensive delete link more

answered 2012-08-17 20:49:31 -0600

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

edit flag offensive delete link more


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 ( 2012-08-18 14:54:15 -0600 )edit

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

gogoqaz gravatar imagegogoqaz ( 2012-12-13 06:14:53 -0600 )edit

answered 2012-11-23 01:50:16 -0600

Yan Cheng Cheok gravatar image

updated 2012-11-23 01:51:25 -0600

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.

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. :)

edit flag offensive delete link more


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 ( 2012-12-13 06:03:51 -0600 )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 : 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 ( 2013-01-11 02:17:02 -0600 )edit

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

niths gravatar imageniths ( 2013-03-21 08:47:16 -0600 )edit

Question Tools


Asked: 2012-07-23 12:21:37 -0600

Seen: 8,294 times

Last updated: Jan 02 '13