Instant OpenCV for iOS
By Alexander Shishkov, Kirill Kornyakov
Publisher: Packt Publishing
Released: August 2013
Pages: 96

In Detail

Computer vision on mobile devices is becoming more and more popular. Personal gadgets are now powerful enough to process high-resolution images, stitch panoramas, and detect and track objects. OpenCV, with its decent performance and wide range of functionality, can be an extremely useful tool in the hands of iOS developers.

Instant OpenCV for iOS is a practical guide that walks you through every important step for building a computer vision application for the iOS platform. It will help you to port your OpenCV code, profile and optimize it, and wrap it into a GUI application. Each recipe is accompanied by a sample project or an example that helps you focus on a particular aspect of the technology.

Instant OpenCV for iOS starts by creating a simple iOS application and linking OpenCV before moving on to processing images and videos in real-time. It covers the major ways to retrieve images, process them, and view or export results. Special attention is also given to performance issues, as they greatly affect the user experience.Several computer vision projects will be considered throughout the book. These include a couple of photo filters that help you to print a postcard or add a retro effect to your images. Another one is a demonstration of the facial feature detection algorithm. In several time-critical cases, the processing speed is measured and optimized using ARM NEON and the Accelerate framework.

OpenCV for iOS gives you all the information you need to build a high-performance computer vision application for iOS devices.

Approach

Filled with practical, step-by-step instructions and clear explanations for the most important and useful tasks. This book uses a very practical approach, with each recipe and their associated sample projects or examples focusing on a particular aspect of the technology.

Who this book is for

This book is intended for OpenCV developers who are interested in porting their applications to the iOS platform. Basic experience with OpenCV, computer vision, Objective C, and other iOS tools is encouraged.

Product Details
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillyInstant OpenCV for iOS
 
5.0

(based on 2 reviews)

Ratings Distribution

  • 5 Stars

     

    (2)

  • 4 Stars

     

    (0)

  • 3 Stars

     

    (0)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

Reviewed by 2 customers

Sort by

Displaying reviews 1-2

Back to top

 
5.0

Great book!

By Bruce

from SF, CA

Pros

  • Accurate
  • Concise
  • Easy to understand
  • Helpful examples
  • Well-written

Cons

    Best Uses

    • Intermediate
    • Novice

    Comments about oreilly Instant OpenCV for iOS:

    Packt Publishing is the only editor I know that has several books about OpenCV. This one is a great introduction to the programming of computer vision and demonstrates how you can quickly build applications for computers to "see". Book encompassed theory, basis, implementation and detailed explanations. I was able to get up and running with the framework quickly, and built simple and sophisticated vision applications.

    Written by two OpenCV specialists, the recipe approach of the book had me gradually build (essentially) a library of projects and augmented with more complex projects.

    Each recipe had a short task description and approach overview with corresponding code and step-by-step instructions. What I really liked was each recipe gave suggestions of additional applications and more advanced steps you could build on your own if you wanted.

    I already had a strong computer background in other areas and found the book easy to understand for a beginner to OpenCV.

     
    5.0

    A great iOS guide to OpenCV

    By Drew

    from Spokane, WA

    About Me Developer, Maker

    Verified Reviewer

    Pros

    • Accurate
    • Concise
    • Easy to understand
    • Helpful examples
    • Well-written

    Cons

      Best Uses

      • Intermediate

      Comments about oreilly Instant OpenCV for iOS:

      OpenCV is a great framework for image recognition and manipulation. It is available on many platforms, including iOS. While the flexibility is great, it also can make learning how to use this powerful tool on a specific platform more difficult. There are many resources available on the web for learning how to use OpenCV, but most of them are either generic in nature or written for other platforms besides iOS. The iOS resources that do exist on the web only provide a small introduction. As a result, once you are past the "hello world" stage, you are forced to dig into generic documentation or resources that are written for other platforms. For me, this has led to some interesting issues in the past where what may make sense for a desktop or android system is not the best approach for iOS.

      Instant OpenCV for iOS fills this void very well. It starts off with a similar introduction to what can be found on the OpenCV website, but goes much deeper. It also gives some great general guidance for image processing and recognition on iOS. While the reader is expected to have a knowledge of iOS development, the book does start off from the beginning, showing all of the steps that are necessary to successfully integrate the framework into a new project.

      The book flows very nicely. It is written around just under twenty individual small projects, where the next project can be built off of the previous project when it makes sense. Difficulty levels for each project are provided as well, which I found to be nice guidance for planning if I should jump into the next chapter right away or block off time for later. Source code is also available online for each project, which I found to be helpful at times when I needed to troubleshoot my setup.

      Because the book is written specifically for iOS, the author also had the flexibility to provide extra guidance for when OpenCV's implementation should be treated differently or may not even be a good fit when compared to other platforms. For example, some face recognition tools are already provided with iOS. The book does have a project showing how to do this using OpenCV, but then also shows how to do it using Apple's native tools. This type of guidance is just not available in the generic resources, and having this extra insight is helpful for optimizing performance.

      The book was written before iOS7 and Xcode5, but I would not expect much to change as a result of these newer tools beyond some newer screenshots and maybe some mention of the enhanced face recognition tools that Apple recently provided. I was using Xcode5 and iOS7 when I went through the book and found no issues.

      When I started reading the book, I was hoping to see a little more on how to recognize custom images, but after reading the book I am glad that they approached it the way that they did. Creating custom files to recognize custom images is somewhat out of the scope of the problem that the book is meant to solve, but great links to resources that help you do that are provided in the appropriate sections. I found that this is true for all of the items in the book, which is peppered with useful links throughout the book that take you even farther if you wish to dig deeper.

      Overall, Instant OpenCV for iOS is a great resource for anyone who wants or needs to dive into image recognition and manipulation on iOS without having to fight through the language barriers that come with a framework that is written for many platforms. I would highly recommend it to anyone who is looking to play with these amazing tools on such an amazing mobile platform. Furthermore, I plan to keep the book close by as a reference for may projects to come.

      Displaying reviews 1-2

      Back to top

       
      Buy 2 Get 1 Free Free Shipping Guarantee
      Buying Options
      Immediate Access - Go Digital what's this?
      Ebook: $12.99
      Formats:  ePub, Mobi, PDF