In this technical tutorial, we walk through the process of wiring up the iPhone's camera to CoreML using Vision Kit, allowing us to run machine learning models against the camera input. We outline the necessary steps in creating a new Xcode project; capturing video frames; using AVFoundation, Vision, and CoreML; and dissecting the video frames using Vision magic. We also illustrate the process of running our Vision requests and displaying the expected outputs.
In today's blog post, I successfully turned my Raspberry Pi into an iBeacon using a Bluetooth dongle and following an Adafruit tutorial. I had to go under the hood a bit to make sure my dongle was recognized, but after adding some udev rules, it was good to go. Then, with a string of terminal commands, I was able to set it up as an iBeacon broadcasting a specific UUID. Testing it out with a basic iOS app, I was able to detect the signal strength from the beacon! While it wasn't the flashiest project, it was definitely satisfying to...
In this blog, we're diving into the details of setting up and using iCloud's NSUbiquitousKeyValueStore to help persist settings in the new universal app version of Sudoku Grab. We'll look at how to enable cloud syncing for your app, handle updates from iCloud, and persist changes, allowing us to keep user settings consistent across devices. Note, this storage method is meant for small amounts of data with particular quotas - so keep an eye on your usage. For hands-on experience, there's a simple demo project on GitHub ready for you to experiment with!
Wrestled with UIImagePickerControllerCropRect today for cropping images. Some of the codes out there were ridiculously long winded, so I took a stab at whittling it down myself. Safely arrived at a streamlined solution that dealt with the size of image, the crop rect and graphics context. Also worked in a neat bit on image orientation. Law of parsimony victorious!
We are excited to announce that our newly developed game, Tanks! Mayhem, is now available for download on iPhone, iPod touch, and iPad platforms. This action-packed game offers an exciting outlet for you to enjoy at a minimal cost of $0.99. Don't miss out on the mayhem!
I've made a triumphant return to the blogosphere with the release of my new game, 'Tanks!' developed for Palm Pre/Pixie and soon for iPhone devices. The game, an experiment to learn OpenGLES 2.0, is a testament to the feasibility of porting C++ or C code from iOS to Palm PDK, despite minor challenges with UI interaction and audio. So gear up, folks! Download 'Tanks!', step onto the battlefield and let the mayhem begin! Next stop on my coding odyssey - Android!