WP7 Hack 001: Raw Video Feed and Augmented Reality

Posted by: Clarity Blogs: ASP.NET, on 18 Nov 2010 | View original | Bookmarked: 0 time(s)

Just like title says its using the methods in Microsoft.Phone.Media.Extended to access the raw camera feed and process some augmented reality markers.  FYI, the video sucks. I took longer to record this than I did to get everything working. It does actually work much better when Im not trying to line up a web cam filming a phone showing video of a piece of paper in front of a monitor. 

 

Thanx to this thread, @ChrisWalshie and the SLARToolkit for doing 97.5% of the work. I tried invoking the non-public and native dlls awhile back but who knew you needed this empty WPInteropManifest.xml file? After seeing Chriss tweets it gave me some motivation to try getting the camera and compass to work.  Ideally this would be accessible to everyone somewhere between now and really soon. Sometimes I think Microsoft doesnt want developers to have fun on this platform.

And why does LG get access to this, but no one else does officially? Raw camera access and the compass are two of the 4-5*things you need to make some awesome phone apps like video chat, Facebook augmented reality view of places/friends, shiba inu mobile puppy cams, etc.  Instead all we get is LG Scan Search? Come on now, thats ridiculous. LG should be on double secret app certification probation until they can build a phone that goes over 50fps** and renders colors within several shades of the hex values you specify.

Seriously, everyone needs to write a letter to their local Microsoft representative and demand some access  to all he cool APIs blocked for 3rd party apps.  That or whine about it on Twitter.

*coffee and cigarettes are right up there in the top 3 

**For real.  Check it yourself.  No way you will ever hit 60fps like windows phones are supposed to on a LG unless you solder on another GPU.

Category: XML | Other Posts: View all posts by this blogger | Report as irrelevant | View bloggers stats | Views: 1008 | Hits: 7

Similar Posts

  • Engage the Customer at the Point-of-Sale Part II more
  • FeedBurner move to Google, MyBrand and 404 errors hooray! more
  • WCF RSS Sample more
  • You gotta love SeeWindowsVista more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD