March 17, 2013

OpenCV on iOS working again

I just updated the OpenCV on iOS Xcode project to use the git repo as a submodule for OpenCV.  I've also fixed the SURF demo.  Take a look!

(The git mirror that I had created for OpenCV's svn is now gone.)

Note: If you've cloned a previous version, use git submodule init and git submodule update after pulling the latest rev to pull the correct version of OpenCV. If you get build errors, you probably need to do this.

May 27, 2011

OpenCV on iOS revvvvved

I just updated the OpenCV on iOS Xcode project to use the latest svn trunk of openCV. Speaking of which, the git mirror that I created for OpenCV's svn is also on github. It is automatically updated every day on a cron job on a server at dreamhost. While it's automatically updated each day, the git submodule for the OpenCV on iOS is not. I'll update that manually on an occasional basis.

I'm looking for someone (cough. I'm lazy.) who will take on the project of writing a step-by-step for integrating OpenCV static libs into a new iOS project. The examples directory has a SURF example that will automatically build all of OpenCV using cross-project dependency in Xcode that can be used as a basis for this. Any takers? Go ahead and fork me (heh) and issue a pull request.

Thanks to Nathan de Vries (@atnan) for improving the submodule checkout foo in the readme file.

Note: If you've cloned a previous version, use git submodule update after pulling the latest rev to pull the correct version of OpenCV. If you get build errors, you probably need to do this.

May 02, 2011

Simplified building of OpenCV on iOS is here

Check this out. Instead of several steps, some ugly CMake voodoo, and some work in the shell, now all you have to do is pull down a git repo to make OpenCV work on iOS. A couple of people have tried it out and found it functional. Let me know at "my first name at this domain dot calm" whether it works for you. If anyone would like to use the example project to make instructions on how to make it work in a new project or even generate some project templates, get in touch or give it a go and submit a pull request on github.

April 19, 2011

NyARToolkit Augmented Reality on iOS

In preparation for the Augmented Reality class that Jonathan Blocksom and I taught at the recent iPhone / iPad devcon, Using AVFoundation video capture, we modernized and completed the example found at morethantechnical.com using NyARToolkit (GPL) on iOS. It's a great example of the kinds of things we can do now that we have fast devices with cameras to play with.

You can view a shaky video of the example running on an iPad 2 here.
You can get the code from github here.

Be aware that this code is GPL, which (among other things) means that you have to release any changes you make to the code under GPL and that this code cannot be used in a commercial project. There is also some speculation that the terms of using the App Store preclude GPL licensed projects as well. Caveat Coder.

Simplified building of OpenCV on iOS is coming soon

During Jonathan Blocksom's iPhone/iPad Devcon Computer Vision talk, for which I was honored to play guest artist, I mentioned that I would create and release an Xcode project that makes building OpenCV on iOS a simpler affair. I'm working on it and it's coming along nicely. Get in touch if you would like to test what I have so far at an email address that is easy to figure out using "my first name at this domain dot calm". Otherwise, stay tuned!

March 14, 2011

Slides for the upcoming iPhone iPad Devcon Talks

I'm talking at the upcoming iPhone iPad Devcon in Boston from April 4 through 6 and today is the day we all get to share our slides! I'm honored to be talking with Noah Gift and Jonathan Blocksom again. This time, Jonathan and I are doing a full day on Augmented Reality!

The latest version of the slides for the Augmented Reality Full day class is here. (Last Mod: 20110314)
There will be a whole packet of code and other goodness given out on the day of the class.

The latest version of the Open Source UI talk is here. (Last Mod: 20110314)

The latest version of the Caching and performance talk is here. (Last Mod: 20110314)

The latest version of the touchengine talk is here. (Last Mod: 20110314)

January 03, 2011

The E46 (penultimate) BMW M3 just might be the perfect car for you, too.

I have always loved driving fast cars. I drove a blue '71 Mustang Mach 1 through most of college and a pretty red '93 Ford Escort wagon got me to and from teaching gigs and concerts. I have motor oil in my blood. I needed two cars to satisfy the "carry my stuff around without breaking the bank... or the car" and the "get me someplace fast and in style" requirements.


Fast forward (ahem... cough... already?) years and I've lately had the pleasure of driving a Silver 2003 BMW M3. This is a machine that laps the Nüburgring in 8:22, gets from "naught to sixty" in 4.6 seconds. You wouldn't expect it, but the back seat is actually usable for two non-American-sized people and they both fold down to reveal almost station-wagon-like cargo space, passing through to the trunk. No kidding. I brought a 6' wire shelf home the other night. In real - world driving, it gets just barely less than 30 miles / gallon on the highway, which is waaay better than the latest M3, which, while it has 414 HP and obviously flies, gets about 20 MPG on the highway. That's worse than my E46 city numbers of 23 MPG or so, even though I drive with occasional (ahem) spirit. The engine redlines at 8000 RPM and the peak horsepower and torque both live very near that (around 7000), which means you have to grow accustomed to keeping the car above about 3000 RPM if you want any kind of torque. Oddly, that's a good thing. When you want to drive conservatively, it's easy to do so as the car has relatively little low-end power. If you want to throw it around a bit, keep the revs up. Simple. Very girlfriend friendly driving down low, grins up high.


(Over the break for pics and more)

Continue reading "The E46 (penultimate) BMW M3 just might be the perfect car for you, too." »